diff --git a/src/l10n.js b/src/l10n.js index 2e29718822..e3421b44e9 100644 --- a/src/l10n.js +++ b/src/l10n.js @@ -9,7 +9,7 @@ TRANSLATIONS.forEach((lang) => { for (const key in lang.translations) { // Plural - if (lang.translations[key].plural) { + if (lang.translations[key].pluralId) { translations[key] = { msgid: key, msgid_plural: lang.translations[key].pluralId, diff --git a/webpack.common.js b/webpack.common.js index 0a164df4ef..997047257a 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -39,7 +39,6 @@ const translations = fs // Plural if ('msgid_plural'in json.translations[''][key]) { translations[json.translations[''][key].msgid] = { - plural: true, pluralId: json.translations[''][key].msgid_plural, msgstr: json.translations[''][key].msgstr }