Skip to content

Commit

Permalink
Apply sinatra#1025 for translations [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
Zachary Scott committed Jan 24, 2016
1 parent c4c6e2a commit 866ff85
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 20 deletions.
6 changes: 3 additions & 3 deletions README.de.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,9 @@ end
Routen-Muster können auch mit optionalen Parametern ausgestattet werden:

```ruby
get '/posts.?:format?' do
# passt auf "GET /posts" sowie jegliche Erweiterung
# wie "GET /posts.json", "GET /posts.xml" etc.
get '/posts/:format?' do
# passt auf "GET /posts/" sowie jegliche Erweiterung
# wie "GET /posts/json", "GET /posts/xml" etc.
end
```

Expand Down
6 changes: 3 additions & 3 deletions README.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ end
Los patrones de ruta pueden contener parámetros opcionales:

```ruby
get '/posts.?:formato?' do
# coincide con "GET /posts" y además admite cualquier extensión, por
# ejemplo, "GET /posts.json", "GET /posts.xml", etc.
get '/posts/:formato?' do
# coincide con "GET /posts/" y además admite cualquier extensión, por
# ejemplo, "GET /posts/json", "GET /posts/xml", etc.
end
```

Expand Down
4 changes: 2 additions & 2 deletions README.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@ end
Les routes peuvent aussi comporter des paramètres optionnels :

```ruby
get '/articles.?:format?' do
# répond à "GET /articles" ou avec une extension "GET /articles.json", "GET /articles.xml" etc...
get '/articles/:format?' do
# répond à "GET /articles/" ou avec une extension "GET /articles/json", "GET /articles/xml" etc...
end
```

Expand Down
4 changes: 2 additions & 2 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ end
ルーティングパターンは、オプショナルパラメータを取ることもできます。

```ruby
get '/posts.?:format?' do
# "GET /posts" と "GET /posts.json", "GET /posts.xml" の拡張子などにマッチ
get '/posts/:format?' do
# "GET /posts/" と "GET /posts/json", "GET /posts/xml" の拡張子などにマッチ
end
```

Expand Down
4 changes: 2 additions & 2 deletions README.ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ end
라우터 패턴에는 선택적인(optional) 매개변수도 올 수 있습니다.

```ruby
get '/posts.?:format?' do
# "GET /posts" 는 물론 "GET /posts.json", "GET /posts.xml" 와 같은 어떤 확장자와도 매칭
get '/posts/:format?' do
# "GET /posts/" 는 물론 "GET /posts/json", "GET /posts/xml" 와 같은 어떤 확장자와도 매칭
end
```

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,8 @@ end
Route patterns may have optional parameters:

```ruby
get '/post/:format?' do
# matches "GET /post/" and any extension "GET /posts/json", "GET /posts/xml" etc
get '/posts/:format?' do
# matches "GET /posts/" and any extension "GET /posts/json", "GET /posts/xml" etc
end
```

Expand Down
4 changes: 2 additions & 2 deletions README.pt-br.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ end
Padrões de rota podem contar com parâmetros opcionais:

```ruby
get '/posts.?:formato?' do
# corresponde a "GET /posts" e qualquer extensão "GET /posts.json", "GET /posts.xml", etc.
get '/posts/:formato?' do
# corresponde a "GET /posts/" e qualquer extensão "GET /posts/json", "GET /posts/xml", etc.
end
```

Expand Down
4 changes: 2 additions & 2 deletions README.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,8 @@ end
Шаблоны маршрутов могут иметь необязательные параметры:

```ruby
get '/posts.?:format?' do
# соответствует "GET /posts", "GET /posts.json", "GET /posts.xml" и т.д.
get '/posts/:format?' do
# соответствует "GET /posts/", "GET /posts/json", "GET /posts/xml" и т.д.
end
```

Expand Down
4 changes: 2 additions & 2 deletions README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ end
路由范式可以包含可选参数:

```ruby
get '/posts.?:format?' do
# 匹配 "GET /posts" 和任意扩展 "GET /posts.json"、"GET /posts.xml" 等
get '/posts/:format?' do
# 匹配 "GET /posts/" 和任意扩展 "GET /posts/json"、"GET /posts/xml" 等
end
```

Expand Down

0 comments on commit 866ff85

Please sign in to comment.