Skip to content

Commit 8e5b62b

Browse files
Fix unordered list formatting in docs (#274)
* Fix unordered list formatting in docs * format Co-authored-by: Yosuke Ota <[email protected]>
1 parent 9c65059 commit 8e5b62b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/started.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,17 +79,15 @@ See [the rule list](../rules/)
7979
### `settings['vue-i18n']`
8080

8181
- `localeDir` ... You can specify a string or an object or an array.
82-
8382
- String option ... A glob for specifying files that store localization messages of project.
8483
- Object option
8584
- `pattern` (`string`) ... A glob for specifying files that store localization messages of project.
8685
- `localeKey` (`'file' | 'path' | 'key'`) ... Specifies how to determine the locale for localization messages.
8786
- `'file'` ... Determine the locale name from the filename. The resource file should only contain messages for that locale. Use this option if you use `vue-cli-plugin-i18n`. This option is also used when String option is specified.
8887
- `'path'` ... Determine the locale name from the path. In this case, the locale must be had structured with your rule on the path. It can be captured with the regular expression named capture. The resource file should only contain messages for that locale.
8988
- `'key'` ... Determine the locale name from the root key name of the file contents. The value of that key should only contain messages for that locale. Used when the resource file is in the format given to the `messages` option of the `VueI18n` constructor option.
90-
- `localePattern` ... Specifies how to determine pattern the locale for localization messages. This option means, when `localeKey` is `'path'`, you will need to capture the locale using a regular expression. You need to use the locale capture as a named capture `?<locale>`, so it’s be able to capture from the path of the locale resources. If you omit it, it will be captured from the resource path with the same regular expression pattern as `vue-cli-plugin-i18n`.
91-
92-
- Array option ... An array of String option and Object option. Useful if you have multiple locale directories.
89+
- `localePattern` ... Specifies how to determine pattern the locale for localization messages. This option means, when `localeKey` is `'path'`, you will need to capture the locale using a regular expression. You need to use the locale capture as a named capture `?<locale>`, so it’s be able to capture from the path of the locale resources. If you omit it, it will be captured from the resource path with the same regular expression pattern as `vue-cli-plugin-i18n`.
90+
- Array option ... An array of String option and Object option. Useful if you have multiple locale directories.
9391
- `messageSyntaxVersion` (Optional) ... Specify the version of `vue-i18n` you are using. If not specified, the message will be parsed twice. Also, some rules require this setting.
9492

9593
::: warn NOTE

0 commit comments

Comments
 (0)