Skip to content

Commit 92bb185

Browse files
committed
Improve comments
1 parent b2cd78b commit 92bb185

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

demo/with-api.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
.then(res => res.json());
2626

2727
// You can manually add locales. English will be used as a fallback if keys are missing.
28-
// You can force browser language detection by setting the `i18nextLng` property to a locale key (ex: 'ru') in the localStorage.
28+
// You can force browser language detection with: `window.localStorage['i18nextLng'] = 'ru'` and reloading the page.
2929
window.bracketsViewer.addLocale('ru', {
3030
"common": {
3131
"round-name": "раунд {{roundNumber}}",
@@ -59,4 +59,4 @@
5959
</script>
6060
</body>
6161

62-
</html>
62+
</html>

demo/with-local-storage.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
console.log(data);
3535

3636
// You can manually add locales. English will be used as a fallback if keys are missing.
37-
// You can force browser language detection by setting the `i18nextLng` property to a locale key (ex: 'ru') in the localStorage.
37+
// You can force browser language detection with: `window.localStorage['i18nextLng'] = 'ru'` and reloading the page.
3838
window.bracketsViewer.addLocale('ru', {
3939
"common": {
4040
"round-name": "раунд {{roundNumber}}",
@@ -68,4 +68,4 @@
6868
</script>
6969
</body>
7070

71-
</html>
71+
</html>

0 commit comments

Comments
 (0)