Skip to content

Commit 6562f56

Browse files
committed
Translate Partials
1 parent c0363e0 commit 6562f56

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README-ja-jp.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ _このドキュメントは[AngularJS in Patterns](https://github.com/mgechev/a
88

99
* [要旨](#要旨)
1010
* [はじめに](#はじめに)
11-
* [AngularJS overview](#angularjs-overview)
12-
* [Partials](#partials)
11+
* [AngularJSの概要](#AngularJSの概要)
12+
* [パーシャル](#パーシャル)
1313
* [Controllers](#controllers)
1414
* [Scope](#scope)
1515
* [Directives](#directives)
@@ -75,29 +75,29 @@ SPAとは一度ロードされたら以後ページの全要素を再読込す
7575

7676
これらのコンポーネントはそれぞれのモジュールの中でグループ化することができるので、高度な抽象化がやりやすくなりますし、複雑な処理も扱いやすくなっています。それぞれのコンポーネントはアプリケーションの必要なロジックを隠蔽します。
7777

78-
### Partials
78+
### パーシャル
7979

80-
The partials are HTML strings. They may contain AngularJS expressions inside the elements or their attributes. One of the distinctions between AngularJS and the others frameworks is the fact that AngularJS' templates are not in an intermediate format, which needs to be turned into HTML (which is the case with mustache.js and handlebars, for example).
80+
パーシャルはHTMLの文字列です。パーシャルはエレメントまたはアトリビュートの中にAngularJSのエクスプレッションを含むことがあります。AngularJSとその他のフレームワークの違いの1つは、AngularJSのテンプレートがHTMLに変換される前の中間的なフォーマット(例えば、mustache.jsやhandlebarsのようなもの)ではないということです。
8181

82-
Initially each SPA loads `index.html` file. In the case of AngularJS this file contains a set of standard and custom HTML attributes, elements and comments, which configure and bootstrap the application. Each sub-sequenced user action requires only load of another partial or change of the state of the application, for example through the data binding provided by the framework.
82+
SPAは最初に `index.html` ファイルを読み込みます。AngularJSの場合、このファイルに標準のHTMLアトリビュート、エレメント、コメントに加えカスタムのものも含みます。この段階で、アプリケーションの設定と準備をします。これに続くユーザのアクションは、例えば、フレームワークによって提供されるデータ・バインディングを通すなどして、アプリケーションの他のパーシャルの読み込みや、状態の変更のみで対応します。
8383

84-
**Sample partial**
84+
**パーシャルのサンプル**
8585

8686
```HTML
8787
<html ng-app>
88-
<!-- Body tag augmented with ngController directive -->
88+
<!-- BodyタグはngControllerディレクティブによって機能追加されます -->
8989
<body ng-controller="MyController">
9090
<input ng-model="foo" value="bar">
91-
<!-- Button tag with ng-click directive, and
92-
string expression 'buttonText'
93-
wrapped in "{{ }}" markup -->
91+
<!-- ng-clickディレクティブ付きのButtonタグと
92+
"{{ }}"マークアップで囲われた 'buttonText'
93+
エクスプレッションです -->
9494
<button ng-click="changeFoo()">{{buttonText}}</button>
9595
<script src="angular.js"></script>
9696
</body>
9797
</html>
9898
```
9999

100-
With AngularJS expressions partials define what kind of actions should be performed for handling different user interactions. In the example above the value of the attribute `ng-click` states that the method `changeFoo` of the current *scope* will be invoked.
100+
AngularJSのエクスプレッションでパーシャルはユーザとの対話の中でどのアクションを実行すべきかを定義します。上記の例では、 `ng-click` の値は、現在の *scope*`changeFoo` メソッドが実行されることを表しています。
101101

102102
### Controllers
103103

0 commit comments

Comments
 (0)