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

Translate role sentences (and removed dead code)

This commit is contained in:
ferferga 2020-03-24 22:27:01 +01:00
parent 1ec4ce0dfa
commit cbe3cbe221
3 changed files with 5 additions and 7 deletions

View file

@ -993,11 +993,7 @@ define(['datetime', 'imageLoader', 'connectionManager', 'itemHelper', 'focusMana
if (options.showPersonRoleOrType) { if (options.showPersonRoleOrType) {
if (item.Role) { if (item.Role) {
lines.push('as ' + item.Role); lines.push(globalize.translate('PersonRole', item.Role));
} else if (item.Type) {
lines.push(globalize.translate('' + item.Type));
} else {
lines.push('');
} }
} }
} }

View file

@ -1471,5 +1471,6 @@
"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}" "ListPaging": "{0} of {1}",
"PersonRole": "as {0}"
} }

View file

@ -1479,5 +1479,6 @@
"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}" "ListPaging": "{0} de {1}",
"PersonRole": "como {0}"
} }