aboutsummaryrefslogtreecommitdiffstats
path: root/doc/i18n-technical.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/i18n-technical.md')
-rw-r--r--doc/i18n-technical.md2
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`.)