forked from MapComplete/MapComplete
Small fix: remove undefined from untranslated strings
This commit is contained in:
parent
e31c87feab
commit
16aedfec4a
1 changed files with 2 additions and 2 deletions
|
@ -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}",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue