Skip to content

Commit a1ba141

Browse files
authored
Merge branch 'lang-ja' into translate-styleguide-c
2 parents f83ec18 + 4c87ee3 commit a1ba141

File tree

88 files changed

+2286
-1689
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+2286
-1689
lines changed

.github/workflows/che-tsumi.yaml

Lines changed: 0 additions & 34 deletions
This file was deleted.

.github/workflows/ja.yaml

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,18 @@
1-
name: Lint
1+
name: textlint
22

33
on: [push]
44

5-
defaults:
6-
run:
7-
shell: bash
8-
95
jobs:
106
textlint:
117

128
runs-on: ubuntu-latest
139

14-
strategy:
15-
matrix:
16-
node-version: [12.x]
17-
1810
steps:
19-
- uses: actions/checkout@v1
20-
- name: Use Node.js ${{ matrix.node-version }}
21-
uses: actions/setup-node@v1
11+
- uses: actions/checkout@v2
12+
- uses: actions/setup-node@v2
2213
with:
23-
node-version: ${{ matrix.node-version }}
24-
- name: Lint
25-
run: |
26-
yarn
27-
yarn lint
28-
env:
29-
CI: true
14+
node-version: '14'
15+
- name: Install deps
16+
run: yarn
17+
- name: Run textlint
18+
run: yarn lint

.github/workflows/ryu-cho.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: ryu-cho
2+
3+
on:
4+
schedule:
5+
- cron: '*/5 * * * *'
6+
7+
jobs:
8+
ryu-cho:
9+
name: Ryu Cho
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: vuejs-jp/ryu-cho@v1
13+
with:
14+
access-token: ${{ secrets.CHE_TSUMI_ACCESS_TOKEN }}
15+
username: ${{ secrets.CHE_TSUMI_USER_NAME }}
16+
email: ${{ secrets.CHE_TSUMI_USER_EMAIL }}
17+
upstream-repo: https://github.com/vuejs-jp/ja.vuejs.org.git
18+
upstream-repo-branch: lang-ja
19+
head-repo: https://github.com/vuejs/docs
20+
head-repo-branch: master
21+
track-from: adf9be4de3aba6618be4dc0add6f14b404ab47d6
22+
path-starts-with: src/
23+
workflow-name: ryu-cho

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v14.17.1

.textlintrc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"rules": {
3+
"preset-vuejs-jp": {
4+
"no-mix-dearu-desumasu": {
5+
"strict": false
6+
}
7+
}
8+
},
9+
"filters": {
10+
"allowlist": {
11+
"allow": [
12+
"->"
13+
]
14+
}
15+
}
16+
}

package.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,17 @@
33
"@vuepress/plugin-pwa": "^1.5.4",
44
"sass": "^1.32.0",
55
"sass-loader": "^8.0.2",
6-
"shelljs": "^0.8.4",
7-
"textlint": "^11.7.6",
8-
"textlint-checker-for-vuejs-jp-docs": "git+https://github.com/vuejs-jp/textlint-checker-for-vuejs-jp-docs.git",
9-
"textlint-plugin-jtf-style": "^1.0.1",
10-
"textlint-rule-detect-bad-chars": "^1.0.2",
11-
"textlint-rule-no-mix-dearu-desumasu": "^4.0.1",
6+
"textlint": "^12.0.0",
7+
"textlint-filter-rule-allowlist": "^2.0.1",
8+
"textlint-rule-preset-vuejs-jp": "git+https://github.com/vuejs-jp/textlint-rule-preset-vuejs-jp.git",
129
"vuepress": "^1.5.4"
1310
},
1411
"scripts": {
1512
"dev": "yarn serve",
1613
"serve": "vuepress dev src",
1714
"build": "vuepress build src",
1815
"test": "npm run lint",
19-
"lint": "node -e \"var shell=require('shelljs');var files=shell.find(['./src/**/*.md']).filter(function(file){return !file.endsWith('/guide/team.md')}).join(' ');if(shell.exec('textlint --rulesdir ./node_modules/textlint-checker-for-vuejs-jp-docs/rules/textlint-rule-vue-jp-docs -f pretty-error '+files).code!==0){shell.exit(1)};\"",
20-
"lint:single": "textlint --rulesdir ./node_modules/textlint-checker-for-vuejs-jp-docs/rules/textlint-rule-vue-jp-docs -f pretty-error"
16+
"lint": "textlint --format pretty-error src/**"
2117
},
2218
"dependencies": {
2319
"@docsearch/css": "^1.0.0-alpha.27",

src/.textlintrc

Lines changed: 0 additions & 24 deletions
This file was deleted.

src/.vuepress/config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ const sidebar = {
203203
'/guide/migration/slots-unification',
204204
'/guide/migration/suspense',
205205
'/guide/migration/transition',
206+
'/guide/migration/transition-as-root',
206207
'/guide/migration/transition-group',
207208
'/guide/migration/v-on-native-modifier-removed',
208209
'/guide/migration/v-model',
5.67 KB
Loading
Binary file not shown.
Lines changed: 18 additions & 0 deletions
Loading

src/.vuepress/theme/data/patreon-sponsors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default {
3636
},
3737
{
3838
"url": "https://www.storyblok.com",
39-
"img": "storyblok.png",
39+
"img": "storyblok.svg",
4040
"name": "Storyblok"
4141
}
4242
],

src/api/application-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ const myDirective = app.directive('my-directive')
124124
このオブジェクトは、以下のプロパティを持ちます。
125125

126126
- `instance`: ディレクティブが使われているコンポーネントのインスタンス。
127-
- `value`: ディレクティブの値。例えば `v-my-directive="1 + 1"` の場合、 value は `2`となります。
127+
- `value`: ディレクティブの値。例えば `v-my-directive="1 + 1"` の場合、 value は `2` となります。
128128
- `oldValue`: 以前の値であり、 `beforeUpdate` および `updated` でのみ利用できます。値が変更されているかを判別できます。
129129
- `arg`: 引数がある場合はそれを含むオブジェクト。例えば `v-my-directive:foo` の場合、 arg は `"foo"` となります。
130130
- `modifiers`: 修飾子がある場合はそれを含むオブジェクト。例えば `v-my-directive.foo.bar` の場合、 modifiers オブジェクトは `{ foo: true, bar: true }` となります。
@@ -299,7 +299,7 @@ setTimeout(() => app.unmount(), 5000)
299299

300300
Vue.js プラグインをインストールします。プラグインが Object の場合は `install` メソッドが必要となります。関数の場合は、それ自体をインストールメソッドとして適用します。
301301

302-
インストールメソッドはアプリケーションを第一引数に受け取って実行されます。`use` に渡されたあらゆるy `options` は、第二引数以降に渡されます。
302+
インストールメソッドはアプリケーションを第一引数に受け取って実行されます。`use` に渡されたあらゆる y `options` は、第二引数以降に渡されます。
303303

304304
同じプラグインに対してこのメソッドが複数回呼び出された場合、プラグインは一度だけインストールされます。
305305

0 commit comments

Comments
 (0)