Skip to content

Commit 8fe5269

Browse files
committed
Translate Filters
1 parent 7e82033 commit 8fe5269

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README-ja-jp.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ _このドキュメントは[AngularJS in Patterns](https://github.com/mgechev/a
1313
* [コントローラ](#コントローラ)
1414
* [スコープ](#スコープ)
1515
* [ディレクティブ](#ディレクティブ)
16-
* [Filters](#filters)
16+
* [フィルタ](#フィルタ)
1717
* [Services](#services)
1818
* [AngularJS Patterns](#angularjs-patterns)
1919
* [Services](#services-1)
@@ -196,11 +196,11 @@ myModule.directive('alertButton', function () {
196196

197197
このドキュメントの意図はAngularJSの完全なAPIの解説をすることを意図しているわけではないので、ディレクティブの説明はこの辺りでやめておきます。
198198

199-
### Filters
199+
### フィルタ
200200

201-
The filters in AngularJS are responsible for encapsulating logic required for formatting data. Usually filters are used inside the partials but they are also accessible in the controllers, directives, *services* and other filters through Dependency Injection.
201+
AngularJSのフィルタはデータをフォーマットするために必要なロジックをカプセル化する責務を負っています。普通、フィルタはパーシャルの中で利用されますが、コントローラやディレクティブ、 *サービス* 、また依存性の注入を用いて他のフィルタの中で利用することも可能です。
202202

203-
Here is a definition of a sample filter, which changes the given string to uppercase:
203+
与えられた文字列を全て大文字にするサンプルフィルタの定義です。
204204

205205
```JavaScript
206206
myModule.filter('uppercase', function () {
@@ -210,13 +210,13 @@ myModule.filter('uppercase', function () {
210210
});
211211
```
212212

213-
Inside a partial this filter could be used using the Unix's piping syntax:
213+
パーシャルの中ではUnixのパイプ記法でこのフィルタを使うことができます:
214214

215215
```HTML
216216
<div>{{ name | uppercase }}</div>
217217
```
218218

219-
Inside a controller the filter could be used as follows:
219+
コントローラの中では次のように利用します:
220220

221221
```JavaScript
222222
function MyCtrl(uppercaseFilter) {

0 commit comments

Comments
 (0)