Skip to content

Commit

Permalink
Update i18n.js
Browse files Browse the repository at this point in the history
  • Loading branch information
andreabenedetti committed Nov 20, 2024
1 parent 0997c31 commit 495766d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/i18n.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const messages = require('./messages.json');
const languages = ['en', 'de', 'it', 'gr', 'ro', 'ee', 'cz', 'pt', 'es', 'ua'];
const languages = ['en', 'de', 'it', 'gr', 'ro', 'ee', 'cz', 'pt', 'es', 'hr'];

const getString = (lang, key) => {
if (!(key in messages[lang])) console.error(`untranslated key in lang ${lang}: ${key}`);
Expand Down

0 comments on commit 495766d

Please sign in to comment.