diff --git a/src/components/cardbuilder/cardBuilder.js b/src/components/cardbuilder/cardBuilder.js index 7f562f1fd0..a6ee8fab6d 100644 --- a/src/components/cardbuilder/cardBuilder.js +++ b/src/components/cardbuilder/cardBuilder.js @@ -993,11 +993,7 @@ define(['datetime', 'imageLoader', 'connectionManager', 'itemHelper', 'focusMana if (options.showPersonRoleOrType) { if (item.Role) { - lines.push('as ' + item.Role); - } else if (item.Type) { - lines.push(globalize.translate('' + item.Type)); - } else { - lines.push(''); + lines.push(globalize.translate('PersonRole', item.Role)); } } } diff --git a/src/strings/en-us.json b/src/strings/en-us.json index f3e7756f5e..5e5984b34c 100644 --- a/src/strings/en-us.json +++ b/src/strings/en-us.json @@ -1471,5 +1471,6 @@ "Yesterday": "Yesterday", "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.", - "ListPaging": "{0} of {1}" + "ListPaging": "{0} of {1}", + "PersonRole": "as {0}" } diff --git a/src/strings/es.json b/src/strings/es.json index 138d19f86c..58ca9d623a 100644 --- a/src/strings/es.json +++ b/src/strings/es.json @@ -1479,5 +1479,6 @@ "AllowFfmpegThrottling": "Acelerar transcodificación", "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.", - "ListPaging": "{0} de {1}" + "ListPaging": "{0} de {1}", + "PersonRole": "como {0}" }