Skip to content

Commit 84278b7

Browse files
authored
fix table formatting
1 parent f356b4d commit 84278b7

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ php artisan nova-lang:publish de,ru --force
3333
```
3434

3535
#### Aliases
36-
The language codes chosen for the files in this repository may not match the preferences for your project. You can use the `--alias` option to publish locales using a different filename.
36+
The language codes chosen for the files in this repository may not match the preferences for your project. You can use the `‑‑alias` option to publish locales using a different filename.
3737

3838
* Publish translations for one language with an alias, using the simple format `{alias}`:
3939
```bash
@@ -56,12 +56,13 @@ php artisan nova-lang:publish de,ru,fr --alias=de:de-DE,ru:ru-RU
5656
You do not need to supply an alias for every locale that is to be published, only those that you wish to override.
5757

5858
* There are also some predefined option flags (case-sensitive) for common use cases:
59-
| Option | Explanation | Affected Languages | When Enabled | Default |
60-
| --- | --- | --- | --- | --- |
61-
| `‑‑zhHan` | Use Chinese scripts instead of regions. | Chinese (Simplified)<br>Chinese (Traditional) | `zh‑Hans`<br>`zh‑Hant` | `zh‑CN`<br>`zh‑TW` |
62-
| `‑‑ptBR` | Prefer Brazilian Portuguese as default. | Portuguese (Brazil)<br>Portuguese (Portugal) | `pt`<br>`pt‑PT` | `pt‑BR`<br>`pt` |
63-
| `‑‑srLatn` | Prefer Serbian in Latin script as default. | Serbian (Cyrillic)<br>Serbian (Latin) | `sr‑Cyrl`<br>`sr` | `sr`<br>`sr‑Latn` |
64-
| `‑U` or `‑‑underscore` | Use underscore separator instead of hyphen. | _(any)_ | _e.g._ `zh_CN` | _e.g._ `zh‑CN` |
59+
60+
| Option | Explanation | Affected Languages | When Enabled | Default |
61+
| --- | --- | --- | --- | --- |
62+
| `‑‑zhHan` | Use Chinese scripts instead of regions. | Chinese (Simplified)<br>Chinese (Traditional) | `zh‑Hans`<br>`zh‑Hant` | `zh‑CN`<br>`zh‑TW` |
63+
| `‑‑ptBR` | Prefer Brazilian Portuguese as default. | Portuguese (Brazil)<br>Portuguese (Portugal) | `pt`<br>`pt‑PT` | `pt‑BR`<br>`pt` |
64+
| `‑‑srLatn` | Prefer Serbian in Latin script as default. | Serbian (Cyrillic)<br>Serbian (Latin) | `sr‑Cyrl`<br>`sr` | `sr`<br>`sr‑Latn` |
65+
| `‑U` or `‑‑underscore` | Use underscore separator instead of hyphen. | _(any)_ | _e.g._ `zh_CN` | _e.g._ `zh‑CN` |
6566

6667
These can all be used alone or in combination with each other and the `--alias` option.
6768

0 commit comments

Comments
 (0)