fix: use string type for all translation formatting
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
"Autoselect device": "Selección automática",
|
"Autoselect device": "Selección automática",
|
||||||
"Chapters": "Capítulos",
|
"Chapters": "Capítulos",
|
||||||
"Default": "Por defecto",
|
"Default": "Por defecto",
|
||||||
|
"Default %s": "Por defecto %s",
|
||||||
"Delete file & Next": "Eliminar archivo y siguiente",
|
"Delete file & Next": "Eliminar archivo y siguiente",
|
||||||
"Delete file & Prev": "Eliminar archivo y anterior",
|
"Delete file & Prev": "Eliminar archivo y anterior",
|
||||||
"Delete file & Quit": "Eliminar archivo y salir",
|
"Delete file & Quit": "Eliminar archivo y salir",
|
||||||
@@ -40,9 +41,10 @@
|
|||||||
"Stream quality": "Calidad del flujo",
|
"Stream quality": "Calidad del flujo",
|
||||||
"Subtitles": "Subtítulos",
|
"Subtitles": "Subtítulos",
|
||||||
"Track": "Pista",
|
"Track": "Pista",
|
||||||
|
"Track %s": "Pista %s",
|
||||||
"Utils": "Utilidades",
|
"Utils": "Utilidades",
|
||||||
"Video": "Vídeo",
|
"Video": "Vídeo",
|
||||||
"channels": "canales",
|
"%s channels": "%s canales",
|
||||||
"default": "por defecto",
|
"default": "por defecto",
|
||||||
"drive": "unidad",
|
"drive": "unidad",
|
||||||
"external": "externo",
|
"external": "externo",
|
||||||
|
@@ -7,6 +7,7 @@
|
|||||||
"Autoselect device": "Sélection automatique",
|
"Autoselect device": "Sélection automatique",
|
||||||
"Chapters": "Chapitres",
|
"Chapters": "Chapitres",
|
||||||
"Default": "Par défaut",
|
"Default": "Par défaut",
|
||||||
|
"Default %s": "Par défaut %s",
|
||||||
"Delete file & Next": "Supprimer le fichier et Suivant",
|
"Delete file & Next": "Supprimer le fichier et Suivant",
|
||||||
"Delete file & Prev": "Supprimer le fichier et Précédent",
|
"Delete file & Prev": "Supprimer le fichier et Précédent",
|
||||||
"Delete file & Quit": "Supprimer le fichier et Quitter",
|
"Delete file & Quit": "Supprimer le fichier et Quitter",
|
||||||
@@ -40,9 +41,10 @@
|
|||||||
"Stream quality": "Qualité du flux",
|
"Stream quality": "Qualité du flux",
|
||||||
"Subtitles": "Sous-titres",
|
"Subtitles": "Sous-titres",
|
||||||
"Track": "Piste",
|
"Track": "Piste",
|
||||||
|
"Track %s": "Piste %s",
|
||||||
"Utils": "Outils",
|
"Utils": "Outils",
|
||||||
"Video": "Vidéo",
|
"Video": "Vidéo",
|
||||||
"channels": "canaux",
|
"%s channels": "%s canaux",
|
||||||
"default": "par défaut",
|
"default": "par défaut",
|
||||||
"drive": "lecteur",
|
"drive": "lecteur",
|
||||||
"external": "externe",
|
"external": "externe",
|
||||||
|
@@ -106,14 +106,14 @@ function create_select_tracklist_type_menu_opener(menu_title, track_type, track_
|
|||||||
end
|
end
|
||||||
if track['demux-fps'] then h(string.format('%.5gfps', track['demux-fps'])) end
|
if track['demux-fps'] then h(string.format('%.5gfps', track['demux-fps'])) end
|
||||||
h(track.codec)
|
h(track.codec)
|
||||||
if track['audio-channels'] then h(t('%d channels', track['audio-channels'])) end
|
if track['audio-channels'] then h(t('%s channels', track['audio-channels'])) end
|
||||||
if track['demux-samplerate'] then h(string.format('%.3gkHz', track['demux-samplerate'] / 1000)) end
|
if track['demux-samplerate'] then h(string.format('%.3gkHz', track['demux-samplerate'] / 1000)) end
|
||||||
if track.forced then h(t('forced')) end
|
if track.forced then h(t('forced')) end
|
||||||
if track.default then h(t('default')) end
|
if track.default then h(t('default')) end
|
||||||
if track.external then h(t('external')) end
|
if track.external then h(t('external')) end
|
||||||
|
|
||||||
items[#items + 1] = {
|
items[#items + 1] = {
|
||||||
title = (track.title and track.title or t('Track') .. ' ' .. track.id),
|
title = (track.title and track.title or t('Track %s', track.id)),
|
||||||
hint = table.concat(hint_values, ', '),
|
hint = table.concat(hint_values, ', '),
|
||||||
value = track.id,
|
value = track.id,
|
||||||
active = track.selected,
|
active = track.selected,
|
||||||
|
Reference in New Issue
Block a user