diff options
| author | Adam Soltys <[email protected]> | 2022-08-22 15:49:08 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-08-22 15:49:08 -0700 |
| commit | 0ebb60f986682ad8d3538c2fd1d708a861e0b1fb (patch) | |
| tree | 7a824114c5fd70fe42758d35d215fefdec8a7599 /doc | |
| parent | b1843d46dd406f6f7a657ab680407644f096e2c3 (diff) | |
| download | coinos-ui-0ebb60f986682ad8d3538c2fd1d708a861e0b1fb.tar.gz coinos-ui-0ebb60f986682ad8d3538c2fd1d708a861e0b1fb.zip | |
migrate to sveltekit-i18n
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/i18n-technical.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/i18n-technical.md b/doc/i18n-technical.md index c1746162..b59934ae 100644 --- a/doc/i18n-technical.md +++ b/doc/i18n-technical.md @@ -37,7 +37,7 @@ Each locale in `coinos-ui-v2` is defined by a JSON file in `src/locales`. Its na Strings are internationalized by simply using `svelte-i18n`'s [`$format`](https://github.com/kaisermann/svelte-i18n/blob/96a5adab7560249c8881e0612454e01c09273400/docs/Formatting.md) function. A localized string looks like this: ``` -{$_('stringID')} +{$t('stringID')} ``` (`$_` is a convenient alias for `$format`.) |
