Styling and translations

This commit is contained in:
okbel committed 2018-03-26 12:06:38 -03:00
1 parent 2cf047a393
commit f8fbedd727
4 files changed
+71 -16

No files matched your search

+1
View File
@@ -136,6 +136,7 @@ export function t(key, ...replacements) {
replacements.forEach((str, i) => {
translation = translation.replace(new RegExp(`\\{${i}\\}`, 'g'), str);
});
return translation;
} else {
console.warn(`${lang}.${key} and en.${key} language key not set`);