Merge branch 'develop' into feature/studio

This commit is contained in:
Pieter Vander Vennet 2023-06-20 22:50:47 +02:00
commit c229b92221
133 changed files with 1056 additions and 2081 deletions

View file

@ -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} />

View file

@ -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