We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c36ae5 commit e4f527aCopy full SHA for e4f527a
1 file changed
src/v3/src/util/locUtil.ts
@@ -37,7 +37,7 @@ export const loc = (
37
// If there are no plural forms for current language,
38
// don't fallback to plural forms in default language
39
const hasPluralForms = count !== undefined && bundleName === 'login'
40
- && Object.keys(Bundles.login).findIndex((k) => k.startsWith(`${k}_`)) > 0;
+ && Object.keys(Bundles.login).findIndex((k) => k.startsWith(`${key}_`)) > 0;
41
const localizedText: string = odysseyTranslate(`${bundleName}:${key}`, {
42
...paramsObj,
43
count: hasPluralForms ? count : undefined,
0 commit comments