Skip to content

Commit

Permalink
[fr+ja+pt+sr] follow cakephp#1453
Browse files Browse the repository at this point in the history
Fix capitalization of header for is('ajax')
  • Loading branch information
cake17 committed Jul 6, 2014
1 parent d5d19f5 commit 0b85d93
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion fr/controllers/request-response.rst
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ Vous pouvez utiliser plusieurs détecteurs intégrés:
* ``is('head')`` Vérifie si la requête courante est un HEAD.
* ``is('options')`` Vérifie si la requête courante est OPTIONS.
* ``is('ajax')`` Vérifie si la requête courante vient d'un
X-Requested-with = XmlHttpRequest.
X-Requested-With = XMLHttpRequest.
* ``is('ssl')`` Vérifie si la requête courante est via SSL.
* ``is('flash')`` Vérifie si la requête courante a un User-Agent
de Flash.
Expand Down
2 changes: 1 addition & 1 deletion ja/controllers/request-response.rst
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ CakeRequestはまたアプリケーションのパスについての役立つ情
* ``is('delete')`` 現在のリクエストがDELETEかどうかを調べます。
* ``is('head')`` 現在のリクエストがHEADかどうかを調べます。
* ``is('options')`` 現在のリクエストがOPTIONSかどうかを調べます。
* ``is('ajax')`` 現在のリクエストが X-Requested-with = XmlHttpRequestに由来するものかどうかを調べます
* ``is('ajax')`` 現在のリクエストが X-Requested-With = XMLHttpRequestに由来するものかどうかを調べます
* ``is('ssl')`` リクエストがSSL経由かどうかを調べます。
* ``is('flash')`` リクエストにFlashのUser-Agentがあるかどうかを調べます。
* ``is('mobile')`` リクエストがモバイルエージェントの共通リストに由来しているかどうかを調べます。
Expand Down
2 changes: 1 addition & 1 deletion pt/controllers/request-response.rst
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ Existem vários detectores inclusos no Cake que você já pode usar:
* ``is('head')`` Verifica se a requisição corrente é do tipo HEAD.
* ``is('options')`` Verifica se a requisição corrente é do tipo OPTIONS.
* ``is('ajax')`` Verifica se a requisição corrente acompanha o cabeçalho
X-Requested-with = XmlHttpRequest.
X-Requested-With = XMLHttpRequest.
* ``is('ssl')`` Verifica se a requisição corrente é via SSL.
* ``is('flash')`` Verifica se a requisição foi feita por um objeto do Flash.
* ``is('mobile')`` Verifica se a requisição veio de uma lista comum de
Expand Down
2 changes: 1 addition & 1 deletion sr/controllers/request-response.rst
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ There are several built-in detectors that you can use:
* ``is('head')`` Checks if the current request is HEAD.
* ``is('options')`` Checks if the current request is OPTIONS.
* ``is('ajax')`` Checks if the current request came with
X-Requested-with = XmlHttpRequest.
X-Requested-With = XMLHttpRequest.
* ``is('ssl')`` Checks if the current request is via SSL
* ``is('flash')`` Checks if the current request has a User-Agent of Flash
* ``is('mobile')`` Checks if the current request came from a common list
Expand Down

0 comments on commit 0b85d93

Please sign in to comment.