fix(docs): missing ' in translator.add docs (#675)

* feat: add types to nebula serve

* chore: add docs

* fix(docs): missing ' in translator.add docs

Co-authored-by: caele <tsm@qlik.com>
This commit is contained in:
Li Kang
2021-09-16 08:35:32 +02:00
committed by GitHub
parent d43e38e692
commit 885135ab2f

View File

@@ -824,8 +824,8 @@ translator.add({
id: 'company.hello_user', id: 'company.hello_user',
locale: { locale: {
'en-US': 'Hello {0}', 'en-US': 'Hello {0}',
'sv-SE': 'Hej {0} 'sv-SE': 'Hej {0}',
} },
}); });
translator.get('company.hello_user', ['John']); // Hello John translator.get('company.hello_user', ['John']); // Hello John
``` ```