translations: Clean up indentation for initialization code.

This commit is contained in:
Tim Abbott 2018-05-30 09:14:20 -07:00
parent d9347dea3e
commit 3f0a1e7c54
1 changed files with 14 additions and 15 deletions

View File

@ -3,8 +3,7 @@ import i18next from 'i18next';
window.i18n = i18next; window.i18n = i18next;
i18next i18next.init({
.init({
lng: 'lang', lng: 'lang',
resources: { resources: {
lang: { lang: {
@ -18,7 +17,7 @@ i18next
suffix: "__", suffix: "__",
}, },
returnEmptyString: false, // Empty string is not a valid translation. returnEmptyString: false, // Empty string is not a valid translation.
}); });
// garbage collect all old-style i18n translation maps in localStorage. // garbage collect all old-style i18n translation maps in localStorage.
$(function () { $(function () {