Skip to content

Commit cf140e1

Browse files
committed
docs: translate keycode modifier migration guide
1 parent 60cda86 commit cf140e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/guide/migration/keycode-modifiers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ Vue.config.keyCodes = {
5858

5959
キーコードを利用している場合は、ケバブケースでの命名に変更することを推奨します。
6060

61-
The keys for some punctuation marks can just be included literally. e.g. For the `,` key:
61+
一部の句読点のキーは、文字のまま含めることができます。例えば、`,` キーでは:
6262

6363
```html
6464
<input v-on:keypress.,="commaPress">
6565
```
6666

67-
Limitations of the syntax prevent certain characters from being matched, such as `"`, `'`, `/`, `=`, `>`, and `.`. For those characters you should check `event.key` inside the listener instead.
67+
構文の制限のため `"``'``/``=``>``.` といった特定の文字はマッチしません。それらの文字については、代わりにリスナの中で `event.key` をチェックする必要があります。
6868

6969
[移行ビルドのフラグ:](migration-build.html#compat-の設定)
7070

0 commit comments

Comments
 (0)