forked from MapComplete/MapComplete
Merge branch 'develop' into feature/studio
This commit is contained in:
commit
c229b92221
133 changed files with 1056 additions and 2081 deletions
|
@ -108,7 +108,7 @@
|
|||
</div>
|
||||
</LoginToggle>
|
||||
|
||||
{#if $comment.length >= 3}
|
||||
{#if $comment?.length >= 3}
|
||||
<SubtleButton on:click={uploadNote}>
|
||||
<img slot="image" src="./assets/svg/addSmall.svg" class="mr-4 h-8 w-8" />
|
||||
<Tr slot="message" t={Translations.t.notes.createNote} />
|
||||
|
|
|
@ -26,15 +26,22 @@ export class Translation extends BaseUIElement {
|
|||
if (!translations.hasOwnProperty(translationsKey)) {
|
||||
continue
|
||||
}
|
||||
if (translationsKey === "_context" || translationsKey === "_meta") {
|
||||
if (
|
||||
translationsKey === "_context" ||
|
||||
translationsKey === "_meta" ||
|
||||
translationsKey === "special"
|
||||
) {
|
||||
continue
|
||||
}
|
||||
|
||||
count++
|
||||
if (typeof translations[translationsKey] != "string") {
|
||||
console.error(
|
||||
"Non-string object at",
|
||||
context,
|
||||
"in translation: ",
|
||||
`for language`,
|
||||
translationsKey,
|
||||
`in translation: `,
|
||||
translations[translationsKey],
|
||||
"\n current translations are: ",
|
||||
translations
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue