-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update origin * original to original * original to original * update aio app code * migrate content/marketing * migrate small changes * migrate * add workflow * textlint fix * add missing link
- Loading branch information
Showing
61 changed files
with
1,082 additions
and
475 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# angular.io のオリジナルコンテンツを更新する方法 | ||
|
||
## 事前準備 | ||
|
||
- node_modules の準備 | ||
- Git submodule の準備 | ||
|
||
## Workflow | ||
|
||
1. `update-origin.sh` を編集する | ||
|
||
`aioHash` を最新の angular.io のフッターから取得します。 | ||
|
||
![image](./docs/aio-origin-hash.png) | ||
|
||
```sh | ||
aioHash="4bc0084" | ||
``` | ||
|
||
2. `update-origin.sh` を実行します | ||
|
||
3. 変更をマイグレーションします | ||
|
||
|
||
## マイグレーション | ||
|
||
### Pattern 1. オリジナルからオリジナル | ||
|
||
- `foobar.md` (not translated) | ||
- `contributors.json` | ||
- `resouces.json` | ||
- `presskit.html` | ||
|
||
翻訳済みファイルが存在しないものは、そのまま適用します。 | ||
|
||
### Pattern 2. 翻訳済みのオリジナルファイル | ||
|
||
- `foobar.en.md` | ||
- `index.en.html` | ||
|
||
#### 変更が小さい場合 | ||
|
||
変更点に再翻訳の必要があれば翻訳済みファイルへ反映します。 | ||
|
||
#### 変更が大きい場合 | ||
|
||
1. 未翻訳状態のまま、翻訳済みファイルの該当箇所へオリジナルのテキストをコピーし、日英混在の状態にします。 | ||
2. 未翻訳の部分について翻訳を募集するIssueを作成します。 | ||
|
||
### Pattern 3. aio アプリケーションコード | ||
|
||
angular.io のアプリケーションを改変するためにいくつかのファイルが変更されていますが、gitの更新によってその変更が消されてしまいます。 | ||
|
||
- `navigation.model.ts` | ||
- `nav-item.component.html` | ||
- `doc-viewer.component.ts` | ||
- `githubLinks.html` | ||
|
||
これらのファイルについては、必要な変更はそのままにし、それ以外の変更があれば手動でマージします。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.