Make duration plurals naming consistent
This commit is contained in:
parent
85e16afaa0
commit
27fc0d5900
|
@ -76,7 +76,7 @@ public class VideoAudioSettingsFragment extends BasePreferenceFragment {
|
|||
displayedDurationValues.add(durationsValue);
|
||||
try {
|
||||
displayedDescriptionValues.add(String.format(
|
||||
res.getQuantityString(R.plurals.dynamic_seek_duration_description,
|
||||
res.getQuantityString(R.plurals.seconds,
|
||||
currentDurationValue),
|
||||
currentDurationValue));
|
||||
} catch (Resources.NotFoundException ignored) {
|
||||
|
|
|
@ -245,7 +245,7 @@ public class Localization {
|
|||
} else if (minutes > 0) {
|
||||
return resources.getQuantityString(R.plurals.minutes, minutes, minutes);
|
||||
} else {
|
||||
return resources.getQuantityString(R.plurals.dynamic_seek_duration_description, seconds, seconds);
|
||||
return resources.getQuantityString(R.plurals.seconds, seconds, seconds);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -567,12 +567,12 @@
|
|||
<string name="subtitle_activity_recaptcha">اضغط على \"تم\" عند حلها</string>
|
||||
<string name="recaptcha_done_button">منجز</string>
|
||||
<string name="videos_string">الفيديوهات</string>
|
||||
<plurals name="dynamic_seek_duration_description">
|
||||
<item quantity="zero">%s ثوانٍ</item>
|
||||
<item quantity="one">%s ثوانٍ</item>
|
||||
<item quantity="two">%s ثوانٍ</item>
|
||||
<item quantity="few">%s ثوانٍ</item>
|
||||
<item quantity="many">%s ثوانٍ</item>
|
||||
<item quantity="other">%s ثوانٍ</item>
|
||||
<plurals name="seconds">
|
||||
<item quantity="zero">%d ثوانٍ</item>
|
||||
<item quantity="one">%d ثوانٍ</item>
|
||||
<item quantity="two">%d ثوانٍ</item>
|
||||
<item quantity="few">%d ثوانٍ</item>
|
||||
<item quantity="many">%d ثوانٍ</item>
|
||||
<item quantity="other">%d ثوانٍ</item>
|
||||
</plurals>
|
||||
</resources>
|
|
@ -276,9 +276,9 @@
|
|||
<string name="app_language_title">Llingua de l\'aplicación</string>
|
||||
<string name="systems_language">La predeterminada del sistema</string>
|
||||
<string name="videos_string">Vídeos</string>
|
||||
<plurals name="dynamic_seek_duration_description">
|
||||
<item quantity="one">%s segundos</item>
|
||||
<item quantity="other">%s segundos</item>
|
||||
<plurals name="seconds">
|
||||
<item quantity="one">%d segundos</item>
|
||||
<item quantity="other">%d segundos</item>
|
||||
</plurals>
|
||||
<string name="playback_tempo">Tempu</string>
|
||||
<string name="playback_pitch">Tonu</string>
|
||||
|
|
|
@ -536,8 +536,8 @@
|
|||
<string name="subtitle_activity_recaptcha">完成后请按\"完成(Done)\"</string>
|
||||
<string name="recaptcha_done_button">完成</string>
|
||||
<string name="videos_string">视频</string>
|
||||
<plurals name="dynamic_seek_duration_description">
|
||||
<item quantity="other">%s秒</item>
|
||||
<plurals name="seconds">
|
||||
<item quantity="other">%d秒</item>
|
||||
</plurals>
|
||||
<string name="new_seek_duration_toast">由于ExoPlayer的限制,搜寻间隔设置为%d秒</string>
|
||||
<string name="mute">静音</string>
|
||||
|
|
|
@ -553,10 +553,10 @@ otevření ve vyskakovacím okně</string>
|
|||
<string name="subtitle_activity_recaptcha">Po vyřešení stiskni \"Hotovo\"</string>
|
||||
<string name="recaptcha_done_button">Hotovo</string>
|
||||
<string name="videos_string">Videa</string>
|
||||
<plurals name="dynamic_seek_duration_description">
|
||||
<item quantity="one">%s sekund</item>
|
||||
<item quantity="few">%s sekund</item>
|
||||
<item quantity="other">%s sekund</item>
|
||||
<plurals name="seconds">
|
||||
<item quantity="one">%d sekund</item>
|
||||
<item quantity="few">%d sekund</item>
|
||||
<item quantity="other">%d sekund</item>
|
||||
</plurals>
|
||||
<string name="new_seek_duration_toast">Kvůli omezením ExoPlayer bylo prohledávání nastaveno na %d vteřin</string>
|
||||
<string name="mute">Umlčet</string>
|
||||
|
|
|
@ -545,9 +545,9 @@
|
|||
<string name="subtitle_activity_recaptcha">\"Fertig\" drücken, wenn es gelöst wurde</string>
|
||||
<string name="recaptcha_done_button">Fertig</string>
|
||||
<string name="videos_string">Videos</string>
|
||||
<plurals name="dynamic_seek_duration_description">
|
||||
<item quantity="one">%s Sekunde</item>
|
||||
<item quantity="other">%s Sekunden</item>
|
||||
<plurals name="seconds">
|
||||
<item quantity="one">%d Sekunde</item>
|
||||
<item quantity="other">%d Sekunden</item>
|
||||
</plurals>
|
||||
<string name="new_seek_duration_toast">Aufgrund von ExoPlayer-Einschränkungen wurde die Suchdauer auf %d Sekunden gesetzt</string>
|
||||
<string name="mute">Stummschaltung</string>
|
||||
|
|
|
@ -543,9 +543,9 @@
|
|||
<string name="systems_language">Sistemnormo</string>
|
||||
<string name="subtitle_activity_recaptcha">Premu « Finita » kiam solvita</string>
|
||||
<string name="recaptcha_done_button">Finita</string>
|
||||
<plurals name="dynamic_seek_duration_description">
|
||||
<item quantity="one">%s sekundo</item>
|
||||
<item quantity="other">%s sekundoj</item>
|
||||
<plurals name="seconds">
|
||||
<item quantity="one">%d sekundo</item>
|
||||
<item quantity="other">%d sekundoj</item>
|
||||
</plurals>
|
||||
<plurals name="minutes">
|
||||
<item quantity="one">%d minuto</item>
|
||||
|
|
|
@ -544,9 +544,9 @@
|
|||
<string name="subtitle_activity_recaptcha">Pulse en «Hecho» cuando esté resuelto</string>
|
||||
<string name="recaptcha_done_button">Hecho</string>
|
||||
<string name="videos_string">Vídeos</string>
|
||||
<plurals name="dynamic_seek_duration_description">
|
||||
<item quantity="one">%s segundo</item>
|
||||
<item quantity="other">%s segundos</item>
|
||||
<plurals name="seconds">
|
||||
<item quantity="one">%d segundo</item>
|
||||
<item quantity="other">%d segundos</item>
|
||||
</plurals>
|
||||
<string name="new_seek_duration_toast">Debido a limitaciones de ExoPlayer la duración de la búsqueda fue fijada en %d segundos</string>
|
||||
<string name="mute">Silenciar</string>
|
||||
|
|
|
@ -544,9 +544,9 @@
|
|||
<string name="subtitle_activity_recaptcha">Sakatu \"Egina\" konponduta dagoenean</string>
|
||||
<string name="recaptcha_done_button">Egina</string>
|
||||
<string name="videos_string">Bideoak</string>
|
||||
<plurals name="dynamic_seek_duration_description">
|
||||
<item quantity="one">%s segundu</item>
|
||||
<item quantity="other">%s segundu</item>
|
||||
<plurals name="seconds">
|
||||
<item quantity="one">%d segundu</item>
|
||||
<item quantity="other">%d segundu</item>
|
||||
</plurals>
|
||||
<string name="new_seek_duration_toast">ExoPlayer-en mugak direla eta bilaketaren iraupena %d segundotan ezarri da</string>
|
||||
</resources>
|
|
@ -546,9 +546,9 @@
|
|||
<string name="new_seek_duration_toast">En raison des contraintes d’ExoPlayer, le pas de déplacement a été réglée à %d secondes</string>
|
||||
<string name="mute">Couper le son</string>
|
||||
<string name="unmute">Remettre le son</string>
|
||||
<plurals name="dynamic_seek_duration_description">
|
||||
<item quantity="one">%s seconde</item>
|
||||
<item quantity="other">%s secondes</item>
|
||||
<plurals name="seconds">
|
||||
<item quantity="one">%d seconde</item>
|
||||
<item quantity="other">%d secondes</item>
|
||||
</plurals>
|
||||
|
||||
<!-- Time duration plurals -->
|
||||
|
|
|
@ -556,11 +556,11 @@
|
|||
<string name="subtitle_activity_recaptcha">יש ללחוץ על „סיום” לאחר הפתירה</string>
|
||||
<string name="recaptcha_done_button">סיום</string>
|
||||
<string name="videos_string">סרטונים</string>
|
||||
<plurals name="dynamic_seek_duration_description">
|
||||
<item quantity="one">%s שניות</item>
|
||||
<item quantity="two">%s שניות</item>
|
||||
<item quantity="many">%s שניות</item>
|
||||
<item quantity="other">%s שניות</item>
|
||||
<plurals name="seconds">
|
||||
<item quantity="one">%d שניות</item>
|
||||
<item quantity="two">%d שניות</item>
|
||||
<item quantity="many">%d שניות</item>
|
||||
<item quantity="other">%d שניות</item>
|
||||
</plurals>
|
||||
<string name="new_seek_duration_toast">עקב מגבלות של ExoPlayer מגבלות טווחי החיפוש הוגדרו לכדי %d שניות</string>
|
||||
<string name="mute">השתקה</string>
|
||||
|
|
|
@ -538,8 +538,8 @@
|
|||
<string name="seek_duration_title">Durasi maju/mundur cepat</string>
|
||||
<string name="subtitle_activity_recaptcha">Tekan \"Selesai\" saat selesai</string>
|
||||
<string name="videos_string">Video</string>
|
||||
<plurals name="dynamic_seek_duration_description">
|
||||
<item quantity="other">%s detik</item>
|
||||
<plurals name="seconds">
|
||||
<item quantity="other">%d detik</item>
|
||||
</plurals>
|
||||
<string name="new_seek_duration_toast">Karena kendala ExoPlayer, durasi pencarian ditetapkan ke %d detik</string>
|
||||
</resources>
|
|
@ -544,9 +544,9 @@
|
|||
<string name="subtitle_activity_recaptcha">Premere \"Fatto\" quando risolto</string>
|
||||
<string name="recaptcha_done_button">Fatto</string>
|
||||
<string name="videos_string">Video</string>
|
||||
<plurals name="dynamic_seek_duration_description">
|
||||
<item quantity="one">%s secondi</item>
|
||||
<item quantity="other">%s secondi</item>
|
||||
<plurals name="seconds">
|
||||
<item quantity="one">%d secondi</item>
|
||||
<item quantity="other">%d secondi</item>
|
||||
</plurals>
|
||||
<string name="new_seek_duration_toast">A causa dei vincoli di ExoPlayer la durata dello spostamento rapido è stata impostata a %d secondi</string>
|
||||
<string name="mute">Silenzia</string>
|
||||
|
|
|
@ -537,8 +537,8 @@
|
|||
<string name="subtitle_activity_recaptcha">解けたら \"完了\" を押してください</string>
|
||||
<string name="recaptcha_done_button">完了</string>
|
||||
<string name="videos_string">動画</string>
|
||||
<plurals name="dynamic_seek_duration_description">
|
||||
<item quantity="other">%s 秒</item>
|
||||
<plurals name="seconds">
|
||||
<item quantity="other">%d 秒</item>
|
||||
</plurals>
|
||||
<string name="new_seek_duration_toast">ExoPlayer の制約のためシーク間隔は %d 秒に設定されました</string>
|
||||
<string name="mute">ミュート</string>
|
||||
|
|
|
@ -546,8 +546,8 @@
|
|||
<string name="subtitle_activity_recaptcha">گرتە بکە لەسەر ”تەواو” کاتێ کە چارەسەرکرا</string>
|
||||
<string name="recaptcha_done_button">تەواو</string>
|
||||
<string name="videos_string">ڤیدیۆکان</string>
|
||||
<plurals name="dynamic_seek_duration_description">
|
||||
<item quantity="one">%s چرکە</item>
|
||||
<item quantity="other">%s چرکە</item>
|
||||
<plurals name="seconds">
|
||||
<item quantity="one">%d چرکە</item>
|
||||
<item quantity="other">%d چرکە</item>
|
||||
</plurals>
|
||||
</resources>
|
|
@ -543,8 +543,8 @@
|
|||
<string name="subtitle_activity_recaptcha">Trykk \"Ferdig\" når den er løst</string>
|
||||
<string name="recaptcha_done_button">Ferdig</string>
|
||||
<string name="videos_string">Videoer</string>
|
||||
<plurals name="dynamic_seek_duration_description">
|
||||
<item quantity="one">%s sekunder</item>
|
||||
<item quantity="other">%s sekunder</item>
|
||||
<plurals name="seconds">
|
||||
<item quantity="one">%d sekunder</item>
|
||||
<item quantity="other">%d sekunder</item>
|
||||
</plurals>
|
||||
</resources>
|
|
@ -541,9 +541,9 @@
|
|||
<string name="subtitle_activity_recaptcha">प्रेस हल गर्दा \"डन\"</string>
|
||||
<string name="recaptcha_done_button">सकियो</string>
|
||||
<string name="videos_string">भिडियो</string>
|
||||
<plurals name="dynamic_seek_duration_description">
|
||||
<item quantity="one">%s सेकेन्ड</item>
|
||||
<item quantity="other"/>
|
||||
<plurals name="seconds">
|
||||
<item quantity="one">%d सेकेन्ड</item>
|
||||
<item quantity="other">%d सेकेन्ड</item>
|
||||
</plurals>
|
||||
<string name="new_seek_duration_toast">ExoPlayer अवरोधका कारण खोजी अवधि %d सेकेन्डमा सेट गरियो</string>
|
||||
<string name="mute">म्युट</string>
|
||||
|
|
|
@ -550,10 +550,10 @@
|
|||
<string name="subtitle_activity_recaptcha">Po rozwiązaniu naciśnij „Gotowe”</string>
|
||||
<string name="recaptcha_done_button">Gotowe</string>
|
||||
<string name="videos_string">Filmy</string>
|
||||
<plurals name="dynamic_seek_duration_description">
|
||||
<item quantity="one">%s sekund</item>
|
||||
<item quantity="few">%s sekund</item>
|
||||
<item quantity="many">%s sekund</item>
|
||||
<plurals name="seconds">
|
||||
<item quantity="one">%d sekund</item>
|
||||
<item quantity="few">%d sekund</item>
|
||||
<item quantity="many">%d sekund</item>
|
||||
</plurals>
|
||||
<string name="new_seek_duration_toast">Ze względu na ograniczenia ExoPlayer, czas trwania wyszukiwania został ustawiony na %d sekund</string>
|
||||
<string name="mute">Wycisz</string>
|
||||
|
|
|
@ -552,9 +552,9 @@ abrir em modo popup</string>
|
|||
<string name="subtitle_activity_recaptcha">Toque em \"Feito\" ao resolver</string>
|
||||
<string name="recaptcha_done_button">Feito</string>
|
||||
<string name="videos_string">Vídeos</string>
|
||||
<plurals name="dynamic_seek_duration_description">
|
||||
<item quantity="one">%s segundo</item>
|
||||
<item quantity="other">%s segundos</item>
|
||||
<plurals name="seconds">
|
||||
<item quantity="one">%d segundo</item>
|
||||
<item quantity="other">%d segundos</item>
|
||||
</plurals>
|
||||
<string name="new_seek_duration_toast">Devido as configurações do ExoPlayer, a duração de busca foi alterada para %d segundos</string>
|
||||
<string name="mute">Desativar som</string>
|
||||
|
|
|
@ -549,10 +549,10 @@
|
|||
<string name="subtitle_activity_recaptcha">По завершении нажмите Готово</string>
|
||||
<string name="recaptcha_done_button">Готово</string>
|
||||
<string name="videos_string">Видео</string>
|
||||
<plurals name="dynamic_seek_duration_description">
|
||||
<item quantity="one">%s секунда</item>
|
||||
<item quantity="few">%s секунды</item>
|
||||
<item quantity="many">%s секунд</item>
|
||||
<plurals name="seconds">
|
||||
<item quantity="one">%d секунда</item>
|
||||
<item quantity="few">%d секунды</item>
|
||||
<item quantity="many">%d секунд</item>
|
||||
</plurals>
|
||||
<string name="new_seek_duration_toast">Из-за ограничений ExoPlayer точность перемотки составляет %d секунд</string>
|
||||
<string name="mute">Отключить звук</string>
|
||||
|
|
|
@ -544,9 +544,9 @@
|
|||
<string name="subtitle_activity_recaptcha">Çözüldüğünde \"Bitti\" butonuna basın</string>
|
||||
<string name="recaptcha_done_button">Bitti</string>
|
||||
<string name="videos_string">Videolar</string>
|
||||
<plurals name="dynamic_seek_duration_description">
|
||||
<item quantity="one">%s saniye</item>
|
||||
<item quantity="other">%s saniye</item>
|
||||
<plurals name="seconds">
|
||||
<item quantity="one">%d saniye</item>
|
||||
<item quantity="other">%d saniye</item>
|
||||
</plurals>
|
||||
<string name="new_seek_duration_toast">ExoPlayer kısıtlamaları gereği konumlama süresi %d saniyeye belirlenmiştir</string>
|
||||
</resources>
|
|
@ -537,8 +537,8 @@
|
|||
<string name="subtitle_activity_recaptcha">解決後請按「完成」</string>
|
||||
<string name="recaptcha_done_button">完成</string>
|
||||
<string name="videos_string">影片</string>
|
||||
<plurals name="dynamic_seek_duration_description">
|
||||
<item quantity="other">%s秒</item>
|
||||
<plurals name="seconds">
|
||||
<item quantity="other">%d秒</item>
|
||||
</plurals>
|
||||
<string name="new_seek_duration_toast">因為 ExoPlayer 的限制,搜尋持續時間設定為 %d 秒</string>
|
||||
<string name="mute">靜音</string>
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
<string name="seek_duration_default_value" translatable="false">10000</string>
|
||||
<string-array name="seek_duration_description" translatable="false">
|
||||
<!-- They are overridden in VideoAudioSettingsFragment.java if the translation
|
||||
(dynamic_seek_duration_description) exist. Otherwise this array is picked-->
|
||||
(seconds) exist. Otherwise this array is picked-->
|
||||
<item>5 seconds</item>
|
||||
<item>10 seconds</item>
|
||||
<item>15 seconds</item>
|
||||
|
|
|
@ -595,9 +595,9 @@
|
|||
<string name="systems_language">System default</string>
|
||||
<string name="new_seek_duration_toast">Due to ExoPlayer constraints the seek duration was set to %d seconds</string>
|
||||
<!-- Time duration plurals -->
|
||||
<plurals name="dynamic_seek_duration_description">
|
||||
<item quantity="one">%s second</item>
|
||||
<item quantity="other">%s seconds</item>
|
||||
<plurals name="seconds">
|
||||
<item quantity="one">%d second</item>
|
||||
<item quantity="other">%d seconds</item>
|
||||
</plurals>
|
||||
|
||||
<plurals name="minutes">
|
||||
|
|
Loading…
Reference in New Issue