added some missing translations

This commit is contained in:
Mirjan Hoffmann 2022-03-09 08:40:01 +01:00
parent 9be2ce0286
commit 8740a97fd2
3 changed files with 11 additions and 6 deletions

View file

@ -9,10 +9,12 @@
"LABEL_CREATOR_LAST_NAME": "Nachname",
"LABEL_CREATOR_REMOVE": "Autor entfernen",
"LABEL_DESCRIPTION": "Zusammenfassung",
"LABEL_GENERATE": "Generieren",
"LABEL_IMAGE_URL": "Vorschaubild URL",
"LABEL_IMPORT": "Import",
"LABEL_IMPORT_DATA_PLACEHOLDER": "Zu importierende Daten hier einfügen",
"LABEL_IMPORT_ERROR_MSG": "Daten konnten nicht importiert werden",
"LABEL_INVALID_LICENSE": "keine gültige CC Lizenz",
"LABEL_KEYWORDS": "Schlagworte",
"LABEL_KEYWORDS_PLACEHOLDER": "Komma getrennte Liste von Schlagworten",
"LABEL_LANGUAGE": "Sprache",
@ -31,5 +33,6 @@
"LABEL_STATUS_PUBLISHED": "Veröffentlicht",
"LABEL_SUBJECT": "Fach",
"LABEL_TITLE": "Titel",
"LABEL_URL": "URL"
"LABEL_URL": "URL",
"LABEL_YAML_METADATA": "YAML Metadaten"
}

View file

@ -9,10 +9,12 @@
"LABEL_CREATOR_LAST_NAME": "Lastname",
"LABEL_CREATOR_REMOVE": "remove Author",
"LABEL_DESCRIPTION": "Abstract",
"LABEL_GENERATE": "Generate",
"LABEL_IMAGE_URL": "Thumbnail URL",
"LABEL_IMPORT": "Import",
"LABEL_IMPORT_DATA_PLACEHOLDER": "Insert data to be imported here",
"LABEL_IMPORT_ERROR_MSG": "Data could not be imported",
"LABEL_INVALID_LICENSE": "no valid CC license",
"LABEL_KEYWORDS": "Keywords",
"LABEL_KEYWORDS_PLACEHOLDER": "Comma separated list of keywords",
"LABEL_LANGUAGE": "Language",
@ -31,5 +33,6 @@
"LABEL_STATUS_PUBLISHED": "Published",
"LABEL_SUBJECT": "Subject",
"LABEL_TITLE": "Title",
"LABEL_URL": "URL"
"LABEL_URL": "URL",
"LABEL_YAML_METADATA": "YAML Metadata"
}

View file

@ -217,11 +217,10 @@
</div>
</div>
<button type="button" onclick="generate()" class="btn btn-primary"><i class="fa fa-arrow-down"></i> Generieren
<button type="button" onclick="generate()" class="btn btn-primary"><i class="fa fa-arrow-down"></i> <span data-i18n="LABEL_GENERATE">Generieren</span>
</button>
<!-- <button type="button" onclick="read()" class="btn btn-primary"><i class="fa fa-arrow-up"></i>Einlesen</button> -->
<div class="form-group">
<label for="comment">YAML Metadaten</label>
<label for="comment" data-i18n="LABEL_YAML_METADATA">YAML Metadaten</label>
<textarea class="form-control" rows="15" id="comment"></textarea>
</div>
</form>
@ -399,7 +398,7 @@
break;
default:
color = "grey"
document.getElementById("choosenLicense").innerText = "keine gültige CC Lizenz"
document.getElementById("choosenLicense").innerText = i18next.t("LABEL_INVALID_LICENSE")
document.getElementById("licenseUrl").value = ""
by.disabled = false;
sa.disabled = false;