1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Translate paging phrase

This commit is contained in:
ferferga 2020-03-19 00:40:17 +01:00
parent d791da07e3
commit e383c3dee1
4 changed files with 6 additions and 4 deletions

View file

@ -109,7 +109,7 @@ define(['loading', 'apphost', 'dialogHelper', 'connectionManager', 'imageLoader'
html += '<span style="margin-right: 10px;">'; html += '<span style="margin-right: 10px;">';
var startAtDisplay = totalRecordCount ? startIndex + 1 : 0; var startAtDisplay = totalRecordCount ? startIndex + 1 : 0;
html += startAtDisplay + '-' + recordsEnd + ' of ' + totalRecordCount; html += globalize.translate("ListPaging").replace("{0}", startAtDisplay + '-' + recordsEnd).replace("{1}", totalRecordCount);
html += '</span>'; html += '</span>';

View file

@ -83,7 +83,7 @@ define(["userSettings"], function (userSettings) {
if (html += '<div class="listPaging">', showControls) { if (html += '<div class="listPaging">', showControls) {
html += '<span style="vertical-align:middle;">'; html += '<span style="vertical-align:middle;">';
html += (totalRecordCount ? startIndex + 1 : 0) + "-" + recordsEnd + " of " + totalRecordCount; html += Globalize.translate("ListPaging").replace("{0}", (totalRecordCount ? startIndex + 1 : 0) + "-" + recordsEnd).replace("{1}", totalRecordCount);
html += "</span>"; html += "</span>";
} }

View file

@ -1470,5 +1470,6 @@
"Yes": "Yes", "Yes": "Yes",
"Yesterday": "Yesterday", "Yesterday": "Yesterday",
"PathNotFound": "The path could not be found. Please ensure the path is valid and try again.", "PathNotFound": "The path could not be found. Please ensure the path is valid and try again.",
"WriteAccessRequired": "Jellyfin Server requires write access to this folder. Please ensure write access and try again." "WriteAccessRequired": "Jellyfin Server requires write access to this folder. Please ensure write access and try again.",
"ListPaging": "{0} of {1}"
} }

View file

@ -1478,5 +1478,6 @@
"AskAdminToCreateLibrary": "Solo un administrador puede crear librerías.", "AskAdminToCreateLibrary": "Solo un administrador puede crear librerías.",
"AllowFfmpegThrottling": "Acelerar transcodificación", "AllowFfmpegThrottling": "Acelerar transcodificación",
"PathNotFound": "No se encontró la ruta especificada. Asegúrate de que existe e inténtalo de nuevo.", "PathNotFound": "No se encontró la ruta especificada. Asegúrate de que existe e inténtalo de nuevo.",
"WriteAccessRequired": "Jellyfin requiere de permisos de escritura en esta carpeta. Asegúrate de que existe este permiso e inténtalo de nuevo." "WriteAccessRequired": "Jellyfin requiere de permisos de escritura en esta carpeta. Asegúrate de que existe este permiso e inténtalo de nuevo.",
"ListPaging": "{0} de {1}"
} }