Small fix: remove undefined from untranslated strings

This commit is contained in:
Pieter Vander Vennet 2023-01-06 03:40:55 +01:00
parent e31c87feab
commit 16aedfec4a

View file

@ -66,7 +66,7 @@ class TranslatorsPanelContent extends Combine {
"missingLayers:", "missingLayers:",
missingLayers missingLayers
) )
return [ return Utils.NoNull([
hasMissingTheme hasMissingTheme
? new Link( ? new Link(
"themes:" + layout.id + ".* (zen mode)", "themes:" + layout.id + ".* (zen mode)",
@ -86,7 +86,7 @@ class TranslatorsPanelContent extends Combine {
(context) => (context) =>
new Link(context, LinkToWeblate.hrefToWeblate(language, context), true) new Link(context, LinkToWeblate.hrefToWeblate(language, context), true)
), ),
] ])
} }
// "translationCompleteness": "Translations for {theme} in {language} are at {percentage}: {translated} out of {total}", // "translationCompleteness": "Translations for {theme} in {language} are at {percentage}: {translated} out of {total}",