Minor language stuff

This commit is contained in:
Anthony Stirling 2023-05-13 13:26:28 +01:00
parent 9009317f83
commit a2926b8fe9
9 changed files with 25 additions and 10 deletions

View file

@ -21,6 +21,9 @@ false=\u062E\u0637\u0623
unknown=\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641
save=\u062D\u0641\u0638
close=\u0625\u063A\u0644\u0627\u0642
filesSelected = الملفات المحددة
noFavourites = لم تتم إضافة أي مفضلات
bored = الانتظار بالملل؟
#############
# HOME-PAGE #

View file

@ -17,7 +17,9 @@ false=Fals
unknown=Desconegut
save=Desa
close=Tanca
filesSelected=fitxers seleccionats
noFavourites=No s'ha afegit cap favorit
bored=Avorrit esperant?
#############
# HOME-PAGE #
#############

View file

@ -17,7 +17,9 @@ false=Falsch
unknown=Unbekannt
save=Speichern
close=Schließen
filesSelected=Dateien ausgewählt
noFavourites=Keine Favoriten hinzugefügt
bored=Gelangweiltes Warten?
#############
# HOME-PAGE #
#############

View file

@ -17,7 +17,9 @@ false=False
unknown=Unknown
save=Save
close=Close
filesSelected=files selected
noFavourites=No favourites added
bored=Bored Waiting?
#############
# HOME-PAGE #
#############

View file

@ -17,7 +17,9 @@ false=Falso
unknown=Desconocido
save=Guardar
close=Cerrar
filesSelected=archivos seleccionados
noFavourites=No se agregaron favoritos
bored=¿Aburrido de esperar?
#############
# HOME-PAGE #
#############

View file

@ -21,7 +21,9 @@ false=Faux
unknown=Inconnu
save=Enregistrer
close=Fermer
filesSelected=fichiers sélectionnés
noFavourites=Aucun favori ajouté
bored=Ennuyé d'attendre ?
#############
# HOME-PAGE #
#############

View file

@ -17,7 +17,9 @@ false=False
unknown=未知
save=保存
close=关闭
filesSelected=\u9009\u62E9\u7684\u6587\u4EF6
noFavourites=\u6CA1\u6709\u6DFB\u52A0\u6536\u85CF\u5939
bored=\u65E0\u804A\u7B49\u5F85\uFF1F
#############
# HOME-PAGE #
#############

View file

@ -543,7 +543,7 @@ document.addEventListener("DOMContentLoaded", function () {
if (fileNames.length === 1) {
$(inputElement).siblings(".custom-file-label").addClass("selected").html(fileNames[0]);
} else if (fileNames.length > 1) {
$(inputElement).siblings(".custom-file-label").addClass("selected").html(fileNames.length + " files selected");
$(inputElement).siblings(".custom-file-label").addClass("selected").html(fileNames.length + " " + [[#{filesSelected}]]);
} else {
$(inputElement).siblings(".custom-file-label").addClass("selected").html([[#{pdfPrompt}]]);
}

View file

@ -364,7 +364,7 @@ function compareVersions(version1, version2) {
</div>
</div>
<script>
<script th:inline="javascript">
function updateFavoritesDropdown() {
@ -396,7 +396,7 @@ function compareVersions(version1, version2) {
if(!hasFavorites){
var defaultItem = document.createElement('a');
defaultItem.className = 'dropdown-item';
defaultItem.textContent = 'No favourites added';
defaultItem.textContent = [[#{noFavourites}]]
dropdown.appendChild(defaultItem);
}
}
@ -442,7 +442,7 @@ function compareVersions(version1, version2) {
<div class="form-group">
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="boredWaiting">
<label class="custom-control-label" for="boredWaiting">Bored Waiting? :)</label>
<label class="custom-control-label" for="boredWaiting" th:text="#{bored}"></label>
</div>
</div>
</div>