Make duration plurals naming consistent

This commit is contained in:
Mauricio Colli 2020-03-19 08:56:48 -03:00
parent 85e16afaa0
commit 27fc0d5900
No known key found for this signature in database
GPG Key ID: F200BFD6F29DDD85
25 changed files with 74 additions and 74 deletions

View File

@ -76,7 +76,7 @@ public class VideoAudioSettingsFragment extends BasePreferenceFragment {
displayedDurationValues.add(durationsValue); displayedDurationValues.add(durationsValue);
try { try {
displayedDescriptionValues.add(String.format( displayedDescriptionValues.add(String.format(
res.getQuantityString(R.plurals.dynamic_seek_duration_description, res.getQuantityString(R.plurals.seconds,
currentDurationValue), currentDurationValue),
currentDurationValue)); currentDurationValue));
} catch (Resources.NotFoundException ignored) { } catch (Resources.NotFoundException ignored) {

View File

@ -245,7 +245,7 @@ public class Localization {
} else if (minutes > 0) { } else if (minutes > 0) {
return resources.getQuantityString(R.plurals.minutes, minutes, minutes); return resources.getQuantityString(R.plurals.minutes, minutes, minutes);
} else { } else {
return resources.getQuantityString(R.plurals.dynamic_seek_duration_description, seconds, seconds); return resources.getQuantityString(R.plurals.seconds, seconds, seconds);
} }
} }

View File

@ -567,12 +567,12 @@
<string name="subtitle_activity_recaptcha">اضغط على \"تم\" عند حلها</string> <string name="subtitle_activity_recaptcha">اضغط على \"تم\" عند حلها</string>
<string name="recaptcha_done_button">منجز</string> <string name="recaptcha_done_button">منجز</string>
<string name="videos_string">الفيديوهات</string> <string name="videos_string">الفيديوهات</string>
<plurals name="dynamic_seek_duration_description"> <plurals name="seconds">
<item quantity="zero">%s ثوانٍ</item> <item quantity="zero">%d ثوانٍ</item>
<item quantity="one">%s ثوانٍ</item> <item quantity="one">%d ثوانٍ</item>
<item quantity="two">%s ثوانٍ</item> <item quantity="two">%d ثوانٍ</item>
<item quantity="few">%s ثوانٍ</item> <item quantity="few">%d ثوانٍ</item>
<item quantity="many">%s ثوانٍ</item> <item quantity="many">%d ثوانٍ</item>
<item quantity="other">%s ثوانٍ</item> <item quantity="other">%d ثوانٍ</item>
</plurals> </plurals>
</resources> </resources>

View File

@ -276,9 +276,9 @@
<string name="app_language_title">Llingua de l\'aplicación</string> <string name="app_language_title">Llingua de l\'aplicación</string>
<string name="systems_language">La predeterminada del sistema</string> <string name="systems_language">La predeterminada del sistema</string>
<string name="videos_string">Vídeos</string> <string name="videos_string">Vídeos</string>
<plurals name="dynamic_seek_duration_description"> <plurals name="seconds">
<item quantity="one">%s segundos</item> <item quantity="one">%d segundos</item>
<item quantity="other">%s segundos</item> <item quantity="other">%d segundos</item>
</plurals> </plurals>
<string name="playback_tempo">Tempu</string> <string name="playback_tempo">Tempu</string>
<string name="playback_pitch">Tonu</string> <string name="playback_pitch">Tonu</string>

View File

@ -536,8 +536,8 @@
<string name="subtitle_activity_recaptcha">完成后请按\"完成(Done)\"</string> <string name="subtitle_activity_recaptcha">完成后请按\"完成(Done)\"</string>
<string name="recaptcha_done_button">完成</string> <string name="recaptcha_done_button">完成</string>
<string name="videos_string">视频</string> <string name="videos_string">视频</string>
<plurals name="dynamic_seek_duration_description"> <plurals name="seconds">
<item quantity="other">%s</item> <item quantity="other">%d</item>
</plurals> </plurals>
<string name="new_seek_duration_toast">由于ExoPlayer的限制搜寻间隔设置为d秒</string> <string name="new_seek_duration_toast">由于ExoPlayer的限制搜寻间隔设置为d秒</string>
<string name="mute">静音</string> <string name="mute">静音</string>

View File

@ -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="subtitle_activity_recaptcha">Po vyřešení stiskni \"Hotovo\"</string>
<string name="recaptcha_done_button">Hotovo</string> <string name="recaptcha_done_button">Hotovo</string>
<string name="videos_string">Videa</string> <string name="videos_string">Videa</string>
<plurals name="dynamic_seek_duration_description"> <plurals name="seconds">
<item quantity="one">%s sekund</item> <item quantity="one">%d sekund</item>
<item quantity="few">%s sekund</item> <item quantity="few">%d sekund</item>
<item quantity="other">%s sekund</item> <item quantity="other">%d sekund</item>
</plurals> </plurals>
<string name="new_seek_duration_toast">Kvůli omezením ExoPlayer bylo prohledávání nastaveno na %d vteřin</string> <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> <string name="mute">Umlčet</string>

View File

@ -545,9 +545,9 @@
<string name="subtitle_activity_recaptcha">\"Fertig\" drücken, wenn es gelöst wurde</string> <string name="subtitle_activity_recaptcha">\"Fertig\" drücken, wenn es gelöst wurde</string>
<string name="recaptcha_done_button">Fertig</string> <string name="recaptcha_done_button">Fertig</string>
<string name="videos_string">Videos</string> <string name="videos_string">Videos</string>
<plurals name="dynamic_seek_duration_description"> <plurals name="seconds">
<item quantity="one">%s Sekunde</item> <item quantity="one">%d Sekunde</item>
<item quantity="other">%s Sekunden</item> <item quantity="other">%d Sekunden</item>
</plurals> </plurals>
<string name="new_seek_duration_toast">Aufgrund von ExoPlayer-Einschränkungen wurde die Suchdauer auf %d Sekunden gesetzt</string> <string name="new_seek_duration_toast">Aufgrund von ExoPlayer-Einschränkungen wurde die Suchdauer auf %d Sekunden gesetzt</string>
<string name="mute">Stummschaltung</string> <string name="mute">Stummschaltung</string>

View File

@ -543,9 +543,9 @@
<string name="systems_language">Sistemnormo</string> <string name="systems_language">Sistemnormo</string>
<string name="subtitle_activity_recaptcha">Premu « Finita » kiam solvita</string> <string name="subtitle_activity_recaptcha">Premu « Finita » kiam solvita</string>
<string name="recaptcha_done_button">Finita</string> <string name="recaptcha_done_button">Finita</string>
<plurals name="dynamic_seek_duration_description"> <plurals name="seconds">
<item quantity="one">%s sekundo</item> <item quantity="one">%d sekundo</item>
<item quantity="other">%s sekundoj</item> <item quantity="other">%d sekundoj</item>
</plurals> </plurals>
<plurals name="minutes"> <plurals name="minutes">
<item quantity="one">%d minuto</item> <item quantity="one">%d minuto</item>

View File

@ -544,9 +544,9 @@
<string name="subtitle_activity_recaptcha">Pulse en «Hecho» cuando esté resuelto</string> <string name="subtitle_activity_recaptcha">Pulse en «Hecho» cuando esté resuelto</string>
<string name="recaptcha_done_button">Hecho</string> <string name="recaptcha_done_button">Hecho</string>
<string name="videos_string">Vídeos</string> <string name="videos_string">Vídeos</string>
<plurals name="dynamic_seek_duration_description"> <plurals name="seconds">
<item quantity="one">%s segundo</item> <item quantity="one">%d segundo</item>
<item quantity="other">%s segundos</item> <item quantity="other">%d segundos</item>
</plurals> </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="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> <string name="mute">Silenciar</string>

View File

@ -544,9 +544,9 @@
<string name="subtitle_activity_recaptcha">Sakatu \"Egina\" konponduta dagoenean</string> <string name="subtitle_activity_recaptcha">Sakatu \"Egina\" konponduta dagoenean</string>
<string name="recaptcha_done_button">Egina</string> <string name="recaptcha_done_button">Egina</string>
<string name="videos_string">Bideoak</string> <string name="videos_string">Bideoak</string>
<plurals name="dynamic_seek_duration_description"> <plurals name="seconds">
<item quantity="one">%s segundu</item> <item quantity="one">%d segundu</item>
<item quantity="other">%s segundu</item> <item quantity="other">%d segundu</item>
</plurals> </plurals>
<string name="new_seek_duration_toast">ExoPlayer-en mugak direla eta bilaketaren iraupena %d segundotan ezarri da</string> <string name="new_seek_duration_toast">ExoPlayer-en mugak direla eta bilaketaren iraupena %d segundotan ezarri da</string>
</resources> </resources>

View File

@ -546,9 +546,9 @@
<string name="new_seek_duration_toast">En raison des contraintes dExoPlayer, le pas de déplacement a été réglée à %d secondes</string> <string name="new_seek_duration_toast">En raison des contraintes dExoPlayer, le pas de déplacement a été réglée à %d secondes</string>
<string name="mute">Couper le son</string> <string name="mute">Couper le son</string>
<string name="unmute">Remettre le son</string> <string name="unmute">Remettre le son</string>
<plurals name="dynamic_seek_duration_description"> <plurals name="seconds">
<item quantity="one">%s seconde</item> <item quantity="one">%d seconde</item>
<item quantity="other">%s secondes</item> <item quantity="other">%d secondes</item>
</plurals> </plurals>
<!-- Time duration plurals --> <!-- Time duration plurals -->

View File

@ -556,11 +556,11 @@
<string name="subtitle_activity_recaptcha">יש ללחוץ על „סיום” לאחר הפתירה</string> <string name="subtitle_activity_recaptcha">יש ללחוץ על „סיום” לאחר הפתירה</string>
<string name="recaptcha_done_button">סיום</string> <string name="recaptcha_done_button">סיום</string>
<string name="videos_string">סרטונים</string> <string name="videos_string">סרטונים</string>
<plurals name="dynamic_seek_duration_description"> <plurals name="seconds">
<item quantity="one">%s שניות</item> <item quantity="one">%d שניות</item>
<item quantity="two">%s שניות</item> <item quantity="two">%d שניות</item>
<item quantity="many">%s שניות</item> <item quantity="many">%d שניות</item>
<item quantity="other">%s שניות</item> <item quantity="other">%d שניות</item>
</plurals> </plurals>
<string name="new_seek_duration_toast">עקב מגבלות של ExoPlayer מגבלות טווחי החיפוש הוגדרו לכדי %d שניות</string> <string name="new_seek_duration_toast">עקב מגבלות של ExoPlayer מגבלות טווחי החיפוש הוגדרו לכדי %d שניות</string>
<string name="mute">השתקה</string> <string name="mute">השתקה</string>

View File

@ -538,8 +538,8 @@
<string name="seek_duration_title">Durasi maju/mundur cepat</string> <string name="seek_duration_title">Durasi maju/mundur cepat</string>
<string name="subtitle_activity_recaptcha">Tekan \"Selesai\" saat selesai</string> <string name="subtitle_activity_recaptcha">Tekan \"Selesai\" saat selesai</string>
<string name="videos_string">Video</string> <string name="videos_string">Video</string>
<plurals name="dynamic_seek_duration_description"> <plurals name="seconds">
<item quantity="other">%s detik</item> <item quantity="other">%d detik</item>
</plurals> </plurals>
<string name="new_seek_duration_toast">Karena kendala ExoPlayer, durasi pencarian ditetapkan ke %d detik</string> <string name="new_seek_duration_toast">Karena kendala ExoPlayer, durasi pencarian ditetapkan ke %d detik</string>
</resources> </resources>

View File

@ -544,9 +544,9 @@
<string name="subtitle_activity_recaptcha">Premere \"Fatto\" quando risolto</string> <string name="subtitle_activity_recaptcha">Premere \"Fatto\" quando risolto</string>
<string name="recaptcha_done_button">Fatto</string> <string name="recaptcha_done_button">Fatto</string>
<string name="videos_string">Video</string> <string name="videos_string">Video</string>
<plurals name="dynamic_seek_duration_description"> <plurals name="seconds">
<item quantity="one">%s secondi</item> <item quantity="one">%d secondi</item>
<item quantity="other">%s secondi</item> <item quantity="other">%d secondi</item>
</plurals> </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="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> <string name="mute">Silenzia</string>

View File

@ -537,8 +537,8 @@
<string name="subtitle_activity_recaptcha">解けたら \"完了\" を押してください</string> <string name="subtitle_activity_recaptcha">解けたら \"完了\" を押してください</string>
<string name="recaptcha_done_button">完了</string> <string name="recaptcha_done_button">完了</string>
<string name="videos_string">動画</string> <string name="videos_string">動画</string>
<plurals name="dynamic_seek_duration_description"> <plurals name="seconds">
<item quantity="other">%s</item> <item quantity="other">%d</item>
</plurals> </plurals>
<string name="new_seek_duration_toast">ExoPlayer の制約のためシーク間隔は %d 秒に設定されました</string> <string name="new_seek_duration_toast">ExoPlayer の制約のためシーク間隔は %d 秒に設定されました</string>
<string name="mute">ミュート</string> <string name="mute">ミュート</string>

View File

@ -546,8 +546,8 @@
<string name="subtitle_activity_recaptcha">گرتە بکە لەسەر ”تەواو” کاتێ کە چارەسەرکرا</string> <string name="subtitle_activity_recaptcha">گرتە بکە لەسەر ”تەواو” کاتێ کە چارەسەرکرا</string>
<string name="recaptcha_done_button">تەواو</string> <string name="recaptcha_done_button">تەواو</string>
<string name="videos_string">ڤیدیۆکان</string> <string name="videos_string">ڤیدیۆکان</string>
<plurals name="dynamic_seek_duration_description"> <plurals name="seconds">
<item quantity="one">%s چرکە</item> <item quantity="one">%d چرکە</item>
<item quantity="other">%s چرکە</item> <item quantity="other">%d چرکە</item>
</plurals> </plurals>
</resources> </resources>

View File

@ -543,8 +543,8 @@
<string name="subtitle_activity_recaptcha">Trykk \"Ferdig\" når den er løst</string> <string name="subtitle_activity_recaptcha">Trykk \"Ferdig\" når den er løst</string>
<string name="recaptcha_done_button">Ferdig</string> <string name="recaptcha_done_button">Ferdig</string>
<string name="videos_string">Videoer</string> <string name="videos_string">Videoer</string>
<plurals name="dynamic_seek_duration_description"> <plurals name="seconds">
<item quantity="one">%s sekunder</item> <item quantity="one">%d sekunder</item>
<item quantity="other">%s sekunder</item> <item quantity="other">%d sekunder</item>
</plurals> </plurals>
</resources> </resources>

View File

@ -541,9 +541,9 @@
<string name="subtitle_activity_recaptcha">प्रेस हल गर्दा \"डन\"</string> <string name="subtitle_activity_recaptcha">प्रेस हल गर्दा \"डन\"</string>
<string name="recaptcha_done_button">सकियो</string> <string name="recaptcha_done_button">सकियो</string>
<string name="videos_string">भिडियो</string> <string name="videos_string">भिडियो</string>
<plurals name="dynamic_seek_duration_description"> <plurals name="seconds">
<item quantity="one">%s सेकेन्ड</item> <item quantity="one">%d सेकेन्ड</item>
<item quantity="other"/> <item quantity="other">%d सेकेन्ड</item>
</plurals> </plurals>
<string name="new_seek_duration_toast">ExoPlayer अवरोधका कारण खोजी अवधि %d सेकेन्डमा सेट गरियो</string> <string name="new_seek_duration_toast">ExoPlayer अवरोधका कारण खोजी अवधि %d सेकेन्डमा सेट गरियो</string>
<string name="mute">म्युट</string> <string name="mute">म्युट</string>

View File

@ -550,10 +550,10 @@
<string name="subtitle_activity_recaptcha">Po rozwiązaniu naciśnij „Gotowe”</string> <string name="subtitle_activity_recaptcha">Po rozwiązaniu naciśnij „Gotowe”</string>
<string name="recaptcha_done_button">Gotowe</string> <string name="recaptcha_done_button">Gotowe</string>
<string name="videos_string">Filmy</string> <string name="videos_string">Filmy</string>
<plurals name="dynamic_seek_duration_description"> <plurals name="seconds">
<item quantity="one">%s sekund</item> <item quantity="one">%d sekund</item>
<item quantity="few">%s sekund</item> <item quantity="few">%d sekund</item>
<item quantity="many">%s sekund</item> <item quantity="many">%d sekund</item>
</plurals> </plurals>
<string name="new_seek_duration_toast">Ze względu na ograniczenia ExoPlayer, czas trwania wyszukiwania został ustawiony na %d sekund</string> <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> <string name="mute">Wycisz</string>

View File

@ -552,9 +552,9 @@ abrir em modo popup</string>
<string name="subtitle_activity_recaptcha">Toque em \"Feito\" ao resolver</string> <string name="subtitle_activity_recaptcha">Toque em \"Feito\" ao resolver</string>
<string name="recaptcha_done_button">Feito</string> <string name="recaptcha_done_button">Feito</string>
<string name="videos_string">Vídeos</string> <string name="videos_string">Vídeos</string>
<plurals name="dynamic_seek_duration_description"> <plurals name="seconds">
<item quantity="one">%s segundo</item> <item quantity="one">%d segundo</item>
<item quantity="other">%s segundos</item> <item quantity="other">%d segundos</item>
</plurals> </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="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> <string name="mute">Desativar som</string>

View File

@ -549,10 +549,10 @@
<string name="subtitle_activity_recaptcha">По завершении нажмите Готово</string> <string name="subtitle_activity_recaptcha">По завершении нажмите Готово</string>
<string name="recaptcha_done_button">Готово</string> <string name="recaptcha_done_button">Готово</string>
<string name="videos_string">Видео</string> <string name="videos_string">Видео</string>
<plurals name="dynamic_seek_duration_description"> <plurals name="seconds">
<item quantity="one">%s секунда</item> <item quantity="one">%d секунда</item>
<item quantity="few">%s секунды</item> <item quantity="few">%d секунды</item>
<item quantity="many">%s секунд</item> <item quantity="many">%d секунд</item>
</plurals> </plurals>
<string name="new_seek_duration_toast">Из-за ограничений ExoPlayer точность перемотки составляет %d секунд</string> <string name="new_seek_duration_toast">Из-за ограничений ExoPlayer точность перемотки составляет %d секунд</string>
<string name="mute">Отключить звук</string> <string name="mute">Отключить звук</string>

View File

@ -544,9 +544,9 @@
<string name="subtitle_activity_recaptcha">Çözüldüğünde \"Bitti\" butonuna basın</string> <string name="subtitle_activity_recaptcha">Çözüldüğünde \"Bitti\" butonuna basın</string>
<string name="recaptcha_done_button">Bitti</string> <string name="recaptcha_done_button">Bitti</string>
<string name="videos_string">Videolar</string> <string name="videos_string">Videolar</string>
<plurals name="dynamic_seek_duration_description"> <plurals name="seconds">
<item quantity="one">%s saniye</item> <item quantity="one">%d saniye</item>
<item quantity="other">%s saniye</item> <item quantity="other">%d saniye</item>
</plurals> </plurals>
<string name="new_seek_duration_toast">ExoPlayer kısıtlamaları gereği konumlama süresi %d saniyeye belirlenmiştir</string> <string name="new_seek_duration_toast">ExoPlayer kısıtlamaları gereği konumlama süresi %d saniyeye belirlenmiştir</string>
</resources> </resources>

View File

@ -537,8 +537,8 @@
<string name="subtitle_activity_recaptcha">解決後請按「完成」</string> <string name="subtitle_activity_recaptcha">解決後請按「完成」</string>
<string name="recaptcha_done_button">完成</string> <string name="recaptcha_done_button">完成</string>
<string name="videos_string">影片</string> <string name="videos_string">影片</string>
<plurals name="dynamic_seek_duration_description"> <plurals name="seconds">
<item quantity="other">%s</item> <item quantity="other">%d</item>
</plurals> </plurals>
<string name="new_seek_duration_toast">因為 ExoPlayer 的限制,搜尋持續時間設定為 %d 秒</string> <string name="new_seek_duration_toast">因為 ExoPlayer 的限制,搜尋持續時間設定為 %d 秒</string>
<string name="mute">靜音</string> <string name="mute">靜音</string>

View File

@ -33,7 +33,7 @@
<string name="seek_duration_default_value" translatable="false">10000</string> <string name="seek_duration_default_value" translatable="false">10000</string>
<string-array name="seek_duration_description" translatable="false"> <string-array name="seek_duration_description" translatable="false">
<!-- They are overridden in VideoAudioSettingsFragment.java if the translation <!-- 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>5 seconds</item>
<item>10 seconds</item> <item>10 seconds</item>
<item>15 seconds</item> <item>15 seconds</item>

View File

@ -595,9 +595,9 @@
<string name="systems_language">System default</string> <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> <string name="new_seek_duration_toast">Due to ExoPlayer constraints the seek duration was set to %d seconds</string>
<!-- Time duration plurals --> <!-- Time duration plurals -->
<plurals name="dynamic_seek_duration_description"> <plurals name="seconds">
<item quantity="one">%s second</item> <item quantity="one">%d second</item>
<item quantity="other">%s seconds</item> <item quantity="other">%d seconds</item>
</plurals> </plurals>
<plurals name="minutes"> <plurals name="minutes">