Skip to content

Commit

Permalink
Improve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Drarig29 committed Apr 9, 2023
1 parent b2cd78b commit 92bb185
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions demo/with-api.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
.then(res => res.json());

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

</html>
</html>
4 changes: 2 additions & 2 deletions demo/with-local-storage.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
console.log(data);

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

</html>
</html>

0 comments on commit 92bb185

Please sign in to comment.