Fixes #4738 -- Fix how plurals are represented in translations JSON file.

This commit is contained in:
Buster "Silver Eagle" Neece 2021-10-30 20:00:38 -05:00
parent e631c0b515
commit 0be5c9bfc1
No known key found for this signature in database
GPG Key ID: 6D9E12FF03411F4E
2 changed files with 184 additions and 41 deletions

View File

@ -810,7 +810,10 @@
"Unique": "Einzigartig", "Unique": "Einzigartig",
"Download PLS": "PLS herunterladen", "Download PLS": "PLS herunterladen",
"Download M3U": "M3U herunterladen", "Download M3U": "M3U herunterladen",
"%{listeners} Listener": "%{listeners} Zuhörer", "%{listeners} Listener": [
"%{listeners} Zuhörer",
"%{listeners} Zuhörer"
],
"On the Air": "Auf Sendung", "On the Air": "Auf Sendung",
"Playing Next": "Als Nächstes", "Playing Next": "Als Nächstes",
"Live": "Live", "Live": "Live",
@ -841,8 +844,14 @@
"Now": "Jetzt", "Now": "Jetzt",
"AutoDJ Disabled": "AutoDJ deaktiviert", "AutoDJ Disabled": "AutoDJ deaktiviert",
"AutoDJ has been disabled for this station. No music will automatically be played when a source is not live.": "Der AutoDJ wurde für diese Station deaktiviert. Es wird keine Musik automatisch wiedergegeben, wenn keine Quelle live ist.", "AutoDJ has been disabled for this station. No music will automatically be played when a source is not live.": "Der AutoDJ wurde für diese Station deaktiviert. Es wird keine Musik automatisch wiedergegeben, wenn keine Quelle live ist.",
"%{numSongs} uploaded song": "%{numSongs} hochgeladenes Lied", "%{numSongs} uploaded song": [
"%{numPlaylists} playlist": "%{numPlaylists} Wiedergabeliste", "%{numSongs} hochgeladenes Lied",
"%{numSongs} hochgeladene Lieder"
],
"%{numPlaylists} playlist": [
"%{numPlaylists} Wiedergabeliste",
"%{numPlaylists} Wiedergabelisten"
],
"LiquidSoap is currently shuffling from %{songs} and %{playlists}.": "LiquidSoap mischt derzeit aus %{songs} und %{playlists}.", "LiquidSoap is currently shuffling from %{songs} and %{playlists}.": "LiquidSoap mischt derzeit aus %{songs} und %{playlists}.",
"AutoDJ Service": "AutoDJ Dienst", "AutoDJ Service": "AutoDJ Dienst",
"Running": "Läuft", "Running": "Läuft",
@ -2130,7 +2139,10 @@
"Unique": "Únicos", "Unique": "Únicos",
"Download PLS": "Descargar PLS", "Download PLS": "Descargar PLS",
"Download M3U": "Descargar M3U", "Download M3U": "Descargar M3U",
"%{listeners} Listener": "%{listeners} oyente", "%{listeners} Listener": [
"%{listeners} oyente",
"%{listeners} oyentes"
],
"On the Air": "Emitiendo", "On the Air": "Emitiendo",
"Playing Next": "Siguiente Reproducción", "Playing Next": "Siguiente Reproducción",
"Live": "En Vivo", "Live": "En Vivo",
@ -2169,8 +2181,14 @@
"Now": "Ahora", "Now": "Ahora",
"AutoDJ Disabled": "AutoDJ Deshabilitado", "AutoDJ Disabled": "AutoDJ Deshabilitado",
"AutoDJ has been disabled for this station. No music will automatically be played when a source is not live.": "El AutoDJ se ha desactivado para esta emisora. No se reproducirá música automáticamente cuando una fuente no esté en vivo.", "AutoDJ has been disabled for this station. No music will automatically be played when a source is not live.": "El AutoDJ se ha desactivado para esta emisora. No se reproducirá música automáticamente cuando una fuente no esté en vivo.",
"%{numSongs} uploaded song": "%{numSongs} Canción Subida", "%{numSongs} uploaded song": [
"%{numPlaylists} playlist": "%{numPlaylists} Lista de Reproducción", "%{numSongs} Canción Subida",
"%{numSongs} Canciones Subidas"
],
"%{numPlaylists} playlist": [
"%{numPlaylists} Lista de Reproducción",
"%{numPlaylists} Listas de Reproducción"
],
"LiquidSoap is currently shuffling from %{songs} and %{playlists}.": "LiquidSoap está reproduciendo aleatoriamente %{songs} y %{playlists}.", "LiquidSoap is currently shuffling from %{songs} and %{playlists}.": "LiquidSoap está reproduciendo aleatoriamente %{songs} y %{playlists}.",
"AutoDJ Service": "Servicio de AutoDJ", "AutoDJ Service": "Servicio de AutoDJ",
"Running": "Funcionando", "Running": "Funcionando",
@ -3529,7 +3547,10 @@
"Unique": "Unique", "Unique": "Unique",
"Download PLS": "Télécharger le PLS", "Download PLS": "Télécharger le PLS",
"Download M3U": "Télécharger M3U", "Download M3U": "Télécharger M3U",
"%{listeners} Listener": "%{listeners} Auditeur", "%{listeners} Listener": [
"%{listeners} Auditeur",
"%{listeners} Auditeurs"
],
"On the Air": "À l'antenne", "On the Air": "À l'antenne",
"Playing Next": "Lecture suivante", "Playing Next": "Lecture suivante",
"Live": "Live", "Live": "Live",
@ -3561,8 +3582,14 @@
"Now": "Maintenant", "Now": "Maintenant",
"AutoDJ Disabled": "AutoDJ Désactivé", "AutoDJ Disabled": "AutoDJ Désactivé",
"AutoDJ has been disabled for this station. No music will automatically be played when a source is not live.": "AutoDJ a été désactivé pour cette station. Aucune musique ne sera automatiquement jouée lorsqu'une source n'est pas en direct.", "AutoDJ has been disabled for this station. No music will automatically be played when a source is not live.": "AutoDJ a été désactivé pour cette station. Aucune musique ne sera automatiquement jouée lorsqu'une source n'est pas en direct.",
"%{numSongs} uploaded song": "%{numSongs} chanson téléchargée", "%{numSongs} uploaded song": [
"%{numPlaylists} playlist": "%{numPlaylists} playlist", "%{numSongs} chanson téléchargée",
"%{numSongs} chansons téléchargées"
],
"%{numPlaylists} playlist": [
"%{numPlaylists} playlist",
"%{numPlaylists} playlists"
],
"LiquidSoap is currently shuffling from %{songs} and %{playlists}.": "LiquidSoap est en train de mélanger %{songs} et %{playlists}.", "LiquidSoap is currently shuffling from %{songs} and %{playlists}.": "LiquidSoap est en train de mélanger %{songs} et %{playlists}.",
"AutoDJ Service": "Service AutoDJ", "AutoDJ Service": "Service AutoDJ",
"Running": "Activé", "Running": "Activé",
@ -4730,7 +4757,10 @@
"Unique": "Μοναδικό(οι)", "Unique": "Μοναδικό(οι)",
"Download PLS": "Λήψη PLS", "Download PLS": "Λήψη PLS",
"Download M3U": "Λήψη M3U", "Download M3U": "Λήψη M3U",
"%{listeners} Listener": "%{listeners} Ακροατές", "%{listeners} Listener": [
"%{listeners} Ακροατές",
"%{listeners} Ακροατές"
],
"On the Air": "Στον αέρα", "On the Air": "Στον αέρα",
"Playing Next": "Αναπαραγωγή Στο Επόμενο", "Playing Next": "Αναπαραγωγή Στο Επόμενο",
"Live": "Ζωντανά", "Live": "Ζωντανά",
@ -4769,8 +4799,14 @@
"Now": "Τώρα", "Now": "Τώρα",
"AutoDJ Disabled": "Το AutoDJ Απενεργοποιήθηκε", "AutoDJ Disabled": "Το AutoDJ Απενεργοποιήθηκε",
"AutoDJ has been disabled for this station. No music will automatically be played when a source is not live.": "Το AutoDJ έχει απενεργοποιηθεί για αυτόν τον σταθμό. Καμία μουσική δεν θα αναπαράγεται αυτόματα όταν μια πηγή δεν είναι ζωντανή.", "AutoDJ has been disabled for this station. No music will automatically be played when a source is not live.": "Το AutoDJ έχει απενεργοποιηθεί για αυτόν τον σταθμό. Καμία μουσική δεν θα αναπαράγεται αυτόματα όταν μια πηγή δεν είναι ζωντανή.",
"%{numSongs} uploaded song": "%{numSongs} ανεβασμένο τραγούδι", "%{numSongs} uploaded song": [
"%{numPlaylists} playlist": "%{numPlaylists} λίστα αναπαραγωγής", "%{numSongs} ανεβασμένο τραγούδι",
"%{numSongs} ανεβασμένα τραγούδια"
],
"%{numPlaylists} playlist": [
"%{numPlaylists} λίστα αναπαραγωγής",
"%{numPlaylists} λίστες αναπαραγωγής"
],
"LiquidSoap is currently shuffling from %{songs} and %{playlists}.": "Το LiquidSoap ανακατεύεται αυτή τη στιγμή από %{songs} και %{playlists}.", "LiquidSoap is currently shuffling from %{songs} and %{playlists}.": "Το LiquidSoap ανακατεύεται αυτή τη στιγμή από %{songs} και %{playlists}.",
"AutoDJ Service": "Υπηρεσία AutoDJ", "AutoDJ Service": "Υπηρεσία AutoDJ",
"Running": "Εκτελείται", "Running": "Εκτελείται",
@ -6040,7 +6076,10 @@
"Unique": "Univoco", "Unique": "Univoco",
"Download PLS": "Scarica PLS", "Download PLS": "Scarica PLS",
"Download M3U": "Scarica M3U", "Download M3U": "Scarica M3U",
"%{listeners} Listener": "%{listeners} Ascoltatore", "%{listeners} Listener": [
"%{listeners} Ascoltatore",
"%{listeners} Ascoltatori"
],
"On the Air": "In onda", "On the Air": "In onda",
"Playing Next": "Riproduce in seguito", "Playing Next": "Riproduce in seguito",
"Live": "In diretta", "Live": "In diretta",
@ -6069,8 +6108,14 @@
"Now": "Adesso", "Now": "Adesso",
"AutoDJ Disabled": "AutoDJ Disabilitato", "AutoDJ Disabled": "AutoDJ Disabilitato",
"AutoDJ has been disabled for this station. No music will automatically be played when a source is not live.": "Il dj automatico è stato disattivato per questa stazione. Non verrà riprodotta musica automaticamente quando nessuna fonte è in diretta.", "AutoDJ has been disabled for this station. No music will automatically be played when a source is not live.": "Il dj automatico è stato disattivato per questa stazione. Non verrà riprodotta musica automaticamente quando nessuna fonte è in diretta.",
"%{numSongs} uploaded song": "%{numSongs} brano caricato", "%{numSongs} uploaded song": [
"%{numPlaylists} playlist": "%{numPlaylists} playlist", "%{numSongs} brano caricato",
"%{numSongs} brani caricati"
],
"%{numPlaylists} playlist": [
"%{numPlaylists} playlist",
"%{numPlaylists} playlist"
],
"AutoDJ Service": "Servizio regia automatica", "AutoDJ Service": "Servizio regia automatica",
"Running": "In esecuzione", "Running": "In esecuzione",
"Not Running": "Non in esecuzione", "Not Running": "Non in esecuzione",
@ -6902,7 +6947,10 @@
"Enable AutoDJ": "AutoDJ engedélyezése", "Enable AutoDJ": "AutoDJ engedélyezése",
"Connection Information": "Csatlakozási információk", "Connection Information": "Csatlakozási információk",
"Song Requests": "Dal kérése", "Song Requests": "Dal kérése",
"%{listeners} Listener": "%{listeners} Hallgató", "%{listeners} Listener": [
"%{listeners} Hallgató",
"%{listeners} Hallgató"
],
"Skip Song": "Dal kihagyása", "Skip Song": "Dal kihagyása",
"Streamers\/DJs": "Stream-ek\/DJ-k", "Streamers\/DJs": "Stream-ek\/DJ-k",
"Edit Profile": "Profil szerkesztése", "Edit Profile": "Profil szerkesztése",
@ -6911,8 +6959,14 @@
"Source Password": "Forrás jelszava", "Source Password": "Forrás jelszava",
"AutoDJ Disabled": "AutoDJ letiltva", "AutoDJ Disabled": "AutoDJ letiltva",
"AutoDJ has been disabled for this station. No music will automatically be played when a source is not live.": "Az AutoDJ letiltva ezen az állomáson. Amikor a forrás nem aktív, nem lesznek lejátszva zenék.", "AutoDJ has been disabled for this station. No music will automatically be played when a source is not live.": "Az AutoDJ letiltva ezen az állomáson. Amikor a forrás nem aktív, nem lesznek lejátszva zenék.",
"%{numSongs} uploaded song": "%{numSongs} feltöltött dal", "%{numSongs} uploaded song": [
"%{numPlaylists} playlist": "%{numPlaylists} lista", "%{numSongs} feltöltött dal",
"%{numSongs} feltöltött dal"
],
"%{numPlaylists} playlist": [
"%{numPlaylists} lista",
"%{numPlaylists} lista"
],
"Running": "Fut", "Running": "Fut",
"Not Running": "Nem fut", "Not Running": "Nem fut",
"Mount Points": "Csatolási pontok", "Mount Points": "Csatolási pontok",
@ -7413,7 +7467,10 @@
"Unique": "Uniek", "Unique": "Uniek",
"Download PLS": "PLS downloaden", "Download PLS": "PLS downloaden",
"Download M3U": "M3U downloaden", "Download M3U": "M3U downloaden",
"%{listeners} Listener": "%{listeners} luisteraars", "%{listeners} Listener": [
"%{listeners} luisteraars",
"%{listeners} luisteraars"
],
"On the Air": "On the Air", "On the Air": "On the Air",
"Playing Next": "Speelt hierna", "Playing Next": "Speelt hierna",
"Live": "Live", "Live": "Live",
@ -7448,8 +7505,14 @@
"Now": "Nu", "Now": "Nu",
"AutoDJ Disabled": "AutoDJ uitgeschakeld", "AutoDJ Disabled": "AutoDJ uitgeschakeld",
"AutoDJ has been disabled for this station. No music will automatically be played when a source is not live.": "AutoDJ is uitgeschakeld. Er zal geen muziek worden afgespeeld wanneer er niet live wordt uitgezonden.", "AutoDJ has been disabled for this station. No music will automatically be played when a source is not live.": "AutoDJ is uitgeschakeld. Er zal geen muziek worden afgespeeld wanneer er niet live wordt uitgezonden.",
"%{numSongs} uploaded song": "%{numSongs} geüploade nummer", "%{numSongs} uploaded song": [
"%{numPlaylists} playlist": "%{numPlaylists} afspeellijst", "%{numSongs} geüploade nummer",
"%{numSongs} geüploade nummers"
],
"%{numPlaylists} playlist": [
"%{numPlaylists} afspeellijst",
"%{numPlaylists} afspeellijsten"
],
"LiquidSoap is currently shuffling from %{songs} and %{playlists}.": "LiquidSoap wordt momenteel geschuffeld van %{songs} en %{playlists}.", "LiquidSoap is currently shuffling from %{songs} and %{playlists}.": "LiquidSoap wordt momenteel geschuffeld van %{songs} en %{playlists}.",
"AutoDJ Service": "AutoDJ-service", "AutoDJ Service": "AutoDJ-service",
"Running": "Wordt uitgevoerd", "Running": "Wordt uitgevoerd",
@ -8821,7 +8884,12 @@
"Unique": "Unikalne", "Unique": "Unikalne",
"Download PLS": "Pobierz plik .PLS", "Download PLS": "Pobierz plik .PLS",
"Download M3U": "Pobierz plik .M3U", "Download M3U": "Pobierz plik .M3U",
"%{listeners} Listener": "%{listeners} słuchacz", "%{listeners} Listener": [
"%{listeners} słuchacz",
"%{listeners} słuchaczy",
"%{listeners} słuchaczy",
"%{listeners} słuchaczy"
],
"On the Air": "W eterze", "On the Air": "W eterze",
"Playing Next": "Następne w kolejce", "Playing Next": "Następne w kolejce",
"Live": "Na żywo", "Live": "Na żywo",
@ -8860,8 +8928,18 @@
"Now": "Teraz", "Now": "Teraz",
"AutoDJ Disabled": "AutoDJ wyłączony", "AutoDJ Disabled": "AutoDJ wyłączony",
"AutoDJ has been disabled for this station. No music will automatically be played when a source is not live.": "AutoDJ został wyłączony dla tej stacji. Żadna muzyka nie będzie odtwarzana automatycznie, gdy źródło nie będzie aktywne.", "AutoDJ has been disabled for this station. No music will automatically be played when a source is not live.": "AutoDJ został wyłączony dla tej stacji. Żadna muzyka nie będzie odtwarzana automatycznie, gdy źródło nie będzie aktywne.",
"%{numSongs} uploaded song": "%{numSongs} przesłany utwór", "%{numSongs} uploaded song": [
"%{numPlaylists} playlist": "%{numPlaylists} playlista", "%{numSongs} przesłany utwór",
"%{numSongs} przesłane utwory",
"%{numSongs} przesłanych utworów",
"%{numSongs} przesłanych utworów"
],
"%{numPlaylists} playlist": [
"%{numPlaylists} playlista",
"%{numPlaylists} playlisty",
"%{numPlaylists} playlist",
"%{numPlaylists} playlisty"
],
"LiquidSoap is currently shuffling from %{songs} and %{playlists}.": "Obecnie LiquidSoap losuje spośród %{songs} i %{playlists}.", "LiquidSoap is currently shuffling from %{songs} and %{playlists}.": "Obecnie LiquidSoap losuje spośród %{songs} i %{playlists}.",
"AutoDJ Service": "Usługa autopilota", "AutoDJ Service": "Usługa autopilota",
"Running": "Uruchomione", "Running": "Uruchomione",
@ -10948,7 +11026,10 @@
"Unique": "Único", "Unique": "Único",
"Download PLS": "Baixar PLS", "Download PLS": "Baixar PLS",
"Download M3U": "Baixar M3U", "Download M3U": "Baixar M3U",
"%{listeners} Listener": "%{listeners} Ouvinte", "%{listeners} Listener": [
"%{listeners} Ouvinte",
"%{listeners} Ouvintes"
],
"On the Air": "No Ar", "On the Air": "No Ar",
"Playing Next": "A Seguir", "Playing Next": "A Seguir",
"Live": "Ao vivo", "Live": "Ao vivo",
@ -10987,8 +11068,14 @@
"Now": "Agora", "Now": "Agora",
"AutoDJ Disabled": "AutoDJ Desativado", "AutoDJ Disabled": "AutoDJ Desativado",
"AutoDJ has been disabled for this station. No music will automatically be played when a source is not live.": "AutoDJ foi desativado para esta estação. Nenhuma música será reproduzida automaticamente quando uma fonte não estiver ao vivo.", "AutoDJ has been disabled for this station. No music will automatically be played when a source is not live.": "AutoDJ foi desativado para esta estação. Nenhuma música será reproduzida automaticamente quando uma fonte não estiver ao vivo.",
"%{numSongs} uploaded song": "%{numSongs} música enviada", "%{numSongs} uploaded song": [
"%{numPlaylists} playlist": "%{numPlaylists} playlist", "%{numSongs} música enviada",
"%{numSongs} músicas enviadas"
],
"%{numPlaylists} playlist": [
"%{numPlaylists} playlist",
"%{numPlaylists} playlists"
],
"LiquidSoap is currently shuffling from %{songs} and %{playlists}.": "LiquidSoap está embaralhando %{songs} em %{playlists}.", "LiquidSoap is currently shuffling from %{songs} and %{playlists}.": "LiquidSoap está embaralhando %{songs} em %{playlists}.",
"AutoDJ Service": "Serviço de AutoDj", "AutoDJ Service": "Serviço de AutoDj",
"Running": "Executando", "Running": "Executando",
@ -12426,7 +12513,12 @@
"Unique": "Уникальных", "Unique": "Уникальных",
"Download PLS": "Скачать PLS", "Download PLS": "Скачать PLS",
"Download M3U": "Скачать M3U", "Download M3U": "Скачать M3U",
"%{listeners} Listener": "%{listeners} Слушатель", "%{listeners} Listener": [
"%{listeners} Слушатель",
"%{listeners} Слушателя",
"%{listeners} Слушателей",
"%{listeners} Слушателей"
],
"On the Air": "В эфире", "On the Air": "В эфире",
"Playing Next": "Следующее Играет", "Playing Next": "Следующее Играет",
"Live": "Прямая трансляция", "Live": "Прямая трансляция",
@ -12465,8 +12557,18 @@
"Now": "Сейчас", "Now": "Сейчас",
"AutoDJ Disabled": "АвтоДиджей Отключен", "AutoDJ Disabled": "АвтоДиджей Отключен",
"AutoDJ has been disabled for this station. No music will automatically be played when a source is not live.": "АвтоДиджей отключен для этой станции. Музыка не будет автоматически воспроизводиться, если источник не находится в прямом эфире.", "AutoDJ has been disabled for this station. No music will automatically be played when a source is not live.": "АвтоДиджей отключен для этой станции. Музыка не будет автоматически воспроизводиться, если источник не находится в прямом эфире.",
"%{numSongs} uploaded song": "%{numSongs} загруженный трек", "%{numSongs} uploaded song": [
"%{numPlaylists} playlist": "%{numPlaylists} плейлист", "%{numSongs} загруженный трек",
"%{numSongs} загруженных трека",
"%{numSongs} загруженных треков",
"%{numSongs} загруженных треков"
],
"%{numPlaylists} playlist": [
"%{numPlaylists} плейлист",
"%{numPlaylists} плейлиста",
"%{numPlaylists} плейлистов",
"%{numPlaylists} плейлистов"
],
"LiquidSoap is currently shuffling from %{songs} and %{playlists}.": "LiquidSoap сейчас перемешивает %{songs} и %{playlists}.", "LiquidSoap is currently shuffling from %{songs} and %{playlists}.": "LiquidSoap сейчас перемешивает %{songs} и %{playlists}.",
"AutoDJ Service": "Сервис АвтоДиджея", "AutoDJ Service": "Сервис АвтоДиджея",
"Running": "Работает", "Running": "Работает",
@ -13660,7 +13762,10 @@
"Unique": "Unika", "Unique": "Unika",
"Download PLS": "Hämta PLS", "Download PLS": "Hämta PLS",
"Download M3U": "Hämta M3U", "Download M3U": "Hämta M3U",
"%{listeners} Listener": "%{listeners} lyssnare", "%{listeners} Listener": [
"%{listeners} lyssnare",
"%{listeners} lyssnare"
],
"On the Air": "On Air just nu", "On the Air": "On Air just nu",
"Playing Next": "Nästa låt", "Playing Next": "Nästa låt",
"Live": "Live", "Live": "Live",
@ -14376,7 +14481,10 @@
"Unique": "Ziyaretçi", "Unique": "Ziyaretçi",
"Download PLS": "PLS İndir", "Download PLS": "PLS İndir",
"Download M3U": "M3U İndir", "Download M3U": "M3U İndir",
"%{listeners} Listener": "%{listeners} Dinleyici", "%{listeners} Listener": [
"%{listeners} Dinleyici",
"%{listeners} Dinleyici"
],
"On the Air": "Yayında", "On the Air": "Yayında",
"Playing Next": "Sıradaki Şarkı", "Playing Next": "Sıradaki Şarkı",
"Live": "Canlı", "Live": "Canlı",
@ -14415,8 +14523,14 @@
"Now": "Şimdi", "Now": "Şimdi",
"AutoDJ Disabled": "AutoDJ Devredışı", "AutoDJ Disabled": "AutoDJ Devredışı",
"AutoDJ has been disabled for this station. No music will automatically be played when a source is not live.": "AutoDJ bu radyoda için devredışı bırakıldı. Canlı yayın olmadığında hiçbir müzik otomatik olarak çalınmaz.", "AutoDJ has been disabled for this station. No music will automatically be played when a source is not live.": "AutoDJ bu radyoda için devredışı bırakıldı. Canlı yayın olmadığında hiçbir müzik otomatik olarak çalınmaz.",
"%{numSongs} uploaded song": "%{numSongs} adet yüklenmiş şarkı", "%{numSongs} uploaded song": [
"%{numPlaylists} playlist": "%{numPlaylists} Çalma Listesi", "%{numSongs} adet yüklenmiş şarkı",
"%{numSongs} adet yüklenmiş şarkı"
],
"%{numPlaylists} playlist": [
"%{numPlaylists} Çalma Listesi",
"%{numPlaylists} Çalma Listesi"
],
"LiquidSoap is currently shuffling from %{songs} and %{playlists}.": "LiquidSoap şu anda %{songs} adet şarkıyı %{playlists} adet çalma listesinden karışık olarak çalıyor.", "LiquidSoap is currently shuffling from %{songs} and %{playlists}.": "LiquidSoap şu anda %{songs} adet şarkıyı %{playlists} adet çalma listesinden karışık olarak çalıyor.",
"AutoDJ Service": "AutoDJ Servisi", "AutoDJ Service": "AutoDJ Servisi",
"Running": "Çalışıyor", "Running": "Çalışıyor",
@ -15784,7 +15898,9 @@
"Unique": "特别听众", "Unique": "特别听众",
"Download PLS": "下载PLS", "Download PLS": "下载PLS",
"Download M3U": "下载M3U", "Download M3U": "下载M3U",
"%{listeners} Listener": "%{listeners} 听众", "%{listeners} Listener": [
"%{listeners} 听众"
],
"On the Air": "直播中", "On the Air": "直播中",
"Playing Next": "播放下一个", "Playing Next": "播放下一个",
"Live": "直播", "Live": "直播",
@ -15823,8 +15939,12 @@
"Now": "现在", "Now": "现在",
"AutoDJ Disabled": "AutoDJ 禁用", "AutoDJ Disabled": "AutoDJ 禁用",
"AutoDJ has been disabled for this station. No music will automatically be played when a source is not live.": "本台的AutoDJ已被禁用。当音源不在现场时不会自动播放音乐。", "AutoDJ has been disabled for this station. No music will automatically be played when a source is not live.": "本台的AutoDJ已被禁用。当音源不在现场时不会自动播放音乐。",
"%{numSongs} uploaded song": "%{numSongs}上传的歌曲", "%{numSongs} uploaded song": [
"%{numPlaylists} playlist": "%{numPlaylists}播放列表", "%{numSongs}上传的歌曲"
],
"%{numPlaylists} playlist": [
"%{numPlaylists}播放列表"
],
"LiquidSoap is currently shuffling from %{songs} and %{playlists}.": "LiquidSoap目前正在从%{歌曲}和%{播放列表}进行排列。", "LiquidSoap is currently shuffling from %{songs} and %{playlists}.": "LiquidSoap目前正在从%{歌曲}和%{播放列表}进行排列。",
"AutoDJ Service": "自动DJ服务", "AutoDJ Service": "自动DJ服务",
"Running": "运行中", "Running": "运行中",
@ -17010,7 +17130,9 @@
"Local Streams": "로컬 스트림", "Local Streams": "로컬 스트림",
"Download PLS": "PLS 다운로드", "Download PLS": "PLS 다운로드",
"Download M3U": "M3U 다운로드", "Download M3U": "M3U 다운로드",
"%{listeners} Listener": "%{listeners} 청취자", "%{listeners} Listener": [
"%{listeners} 청취자"
],
"On the Air": "방송중", "On the Air": "방송중",
"Playing Next": "다음 재생", "Playing Next": "다음 재생",
"Live": "라이브", "Live": "라이브",
@ -17045,8 +17167,12 @@
"Now": "지금", "Now": "지금",
"AutoDJ Disabled": "AutoDJ 비활성화됨", "AutoDJ Disabled": "AutoDJ 비활성화됨",
"AutoDJ has been disabled for this station. No music will automatically be played when a source is not live.": "이 스테이션의 AutoDJ가 비활성화되었습니다. 소스가 활성화되지 않은 경우 어떤 음악도 자동으로 재생되지 않습니다.", "AutoDJ has been disabled for this station. No music will automatically be played when a source is not live.": "이 스테이션의 AutoDJ가 비활성화되었습니다. 소스가 활성화되지 않은 경우 어떤 음악도 자동으로 재생되지 않습니다.",
"%{numSongs} uploaded song": "업로드 된 %{numSongs} 개의 곡", "%{numSongs} uploaded song": [
"%{numPlaylists} playlist": "%{numPlaylists} 개의 재생 목록", "업로드 된 %{numSongs} 개의 곡"
],
"%{numPlaylists} playlist": [
"%{numPlaylists} 개의 재생 목록"
],
"LiquidSoap is currently shuffling from %{songs} and %{playlists}.": "LiquidSoap은 현재 %{songs} 과 %{playlists} 에서 뒤섞고 있습니다.", "LiquidSoap is currently shuffling from %{songs} and %{playlists}.": "LiquidSoap은 현재 %{songs} 과 %{playlists} 에서 뒤섞고 있습니다.",
"AutoDJ Service": "AutoDJ 서비스", "AutoDJ Service": "AutoDJ 서비스",
"Running": "실행 중", "Running": "실행 중",

View File

@ -25,6 +25,10 @@ class ImportCommand extends CommandAbstract
$jsTranslations = []; $jsTranslations = [];
foreach ($locales as $locale_key => $locale_name) { foreach ($locales as $locale_key => $locale_name) {
if ($locale_key === Locale::DEFAULT_LOCALE) {
continue;
}
$locale_source = $locale_base . '/' . $locale_key . '/LC_MESSAGES/default.po'; $locale_source = $locale_base . '/' . $locale_key . '/LC_MESSAGES/default.po';
if (is_file($locale_source)) { if (is_file($locale_source)) {
@ -48,7 +52,20 @@ class ImportCommand extends CommandAbstract
continue; continue;
} }
$jsTranslations[$localeJsKey][$translation->getOriginal()] = $translation->getTranslation(); if ($translation->hasPlural()) {
$string = [
$translation->getTranslation(),
];
$pluralStrings = $translation->getPluralTranslations();
if (count($pluralStrings) > 0) {
$string = array_merge($string, $pluralStrings);
}
} else {
$string = $translation->getTranslation();
}
$jsTranslations[$localeJsKey][$translation->getOriginal()] = $string;
} }
$io->writeln(__('Imported locale: %s', $locale_key . ' (' . $locale_name . ')')); $io->writeln(__('Imported locale: %s', $locale_key . ' (' . $locale_name . ')'));