Handle one more plural correctly.

This commit is contained in:
LoRd_MuldeR 2013-01-23 23:39:30 +01:00
parent f68523efd6
commit 5ac220ea30
26 changed files with 89 additions and 46 deletions

View File

@ -3143,10 +3143,12 @@
<source>Aborted! Waiting for running jobs to terminate...</source> <source>Aborted! Waiting for running jobs to terminate...</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="570"/> <location filename="../../src/Dialog_Processing.cpp" line="570"/>
<source>Encoding: %1 files of %2 completed so far, please wait...</source> <source>Encoding: %n file(s) of %1 completed so far, please wait...</source>
<translation type="unfinished"></translation> <translation type="unfinished">
<numerusform></numerusform>
</translation>
</message> </message>
<message> <message>
<location filename="../../src/Dialog_Processing.cpp" line="598"/> <location filename="../../src/Dialog_Processing.cpp" line="598"/>

View File

@ -2398,10 +2398,6 @@
<source>Aborted! Waiting for running jobs to terminate...</source> <source>Aborted! Waiting for running jobs to terminate...</source>
<translation>Abbruch! Laufende Jobs werden beendet...</translation> <translation>Abbruch! Laufende Jobs werden beendet...</translation>
</message> </message>
<message>
<source>Encoding: %1 files of %2 completed so far, please wait...</source>
<translation>Kodiere: %1 von %2 Dateien abgeschlossen, bitte warten...</translation>
</message>
<message> <message>
<source>Creating the playlist file, please wait...</source> <source>Creating the playlist file, please wait...</source>
<translation>Erzeuge Wiedergabeliste, bitte warten...</translation> <translation>Erzeuge Wiedergabeliste, bitte warten...</translation>
@ -2553,6 +2549,13 @@
<numerusform>%n Millisekunden</numerusform> <numerusform>%n Millisekunden</numerusform>
</translation> </translation>
</message> </message>
<message numerus="yes">
<source>Encoding: %n file(s) of %1 completed so far, please wait...</source>
<translation>
<numerusform>Kodiere: %n Datei von %1 abgeschlossen, bitte warten...</numerusform>
<numerusform>Kodiere: %n Dateien von %1 abgeschlossen, bitte warten...</numerusform>
</translation>
</message>
</context> </context>
<context> <context>
<name>ProgressModel</name> <name>ProgressModel</name>

View File

@ -73,6 +73,14 @@
</context> </context>
<context> <context>
<name>ProcessingDialog</name> <name>ProcessingDialog</name>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="570"/>
<source>Encoding: %n file(s) of %1 completed so far, please wait...</source>
<translation>
<numerusform>Encoding: %n file of %1 completed so far, please wait...</numerusform>
<numerusform>Encoding: %n files of %1 completed so far, please wait...</numerusform>
</translation>
</message>
<message numerus="yes"> <message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="608"/> <location filename="../../src/Dialog_Processing.cpp" line="608"/>
<source>Process was aborted by the user after %n file(s)!</source> <source>Process was aborted by the user after %n file(s)!</source>

View File

@ -2397,10 +2397,6 @@
<source>Aborted! Waiting for running jobs to terminate...</source> <source>Aborted! Waiting for running jobs to terminate...</source>
<translation>¡Cancelado! Esperando a que finalicen las tareas que se están ejecutando...</translation> <translation>¡Cancelado! Esperando a que finalicen las tareas que se están ejecutando...</translation>
</message> </message>
<message>
<source>Encoding: %1 files of %2 completed so far, please wait...</source>
<translation>Codificando: %1 de %2 archivos completados hasta ahora, espere por favor...</translation>
</message>
<message> <message>
<source>Creating the playlist file, please wait...</source> <source>Creating the playlist file, please wait...</source>
<translation>Creando el archivo de lista de reproducción, espere por favor...</translation> <translation>Creando el archivo de lista de reproducción, espere por favor...</translation>
@ -2552,6 +2548,13 @@
<numerusform></numerusform> <numerusform></numerusform>
</translation> </translation>
</message> </message>
<message numerus="yes">
<source>Encoding: %n file(s) of %1 completed so far, please wait...</source>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
</translation>
</message>
</context> </context>
<context> <context>
<name>ProgressModel</name> <name>ProgressModel</name>

View File

@ -2407,10 +2407,6 @@ Ouvrir le dossier récursivement...</translation>
<source>Aborted! Waiting for running jobs to terminate...</source> <source>Aborted! Waiting for running jobs to terminate...</source>
<translation>Abandonné ! En attente pour la fin de l&apos;exécution des travaux...</translation> <translation>Abandonné ! En attente pour la fin de l&apos;exécution des travaux...</translation>
</message> </message>
<message>
<source>Encoding: %1 files of %2 completed so far, please wait...</source>
<translation>Encodage : %1 fichier(s) sur %2 terminé(s), patientez...</translation>
</message>
<message> <message>
<source>Creating the playlist file, please wait...</source> <source>Creating the playlist file, please wait...</source>
<translation>Création de la liste de lecture, patientez...</translation> <translation>Création de la liste de lecture, patientez...</translation>
@ -2562,6 +2558,13 @@ Ouvrir le dossier récursivement...</translation>
<numerusform></numerusform> <numerusform></numerusform>
</translation> </translation>
</message> </message>
<message numerus="yes">
<source>Encoding: %n file(s) of %1 completed so far, please wait...</source>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
</translation>
</message>
</context> </context>
<context> <context>
<name>ProgressModel</name> <name>ProgressModel</name>

View File

@ -2398,10 +2398,6 @@
<source>Aborted! Waiting for running jobs to terminate...</source> <source>Aborted! Waiting for running jobs to terminate...</source>
<translation>Fermato! Attendi che venga concluso il lavoro in corso...</translation> <translation>Fermato! Attendi che venga concluso il lavoro in corso...</translation>
</message> </message>
<message>
<source>Encoding: %1 files of %2 completed so far, please wait...</source>
<translation>In codifica: %1 files di %2 completati finora, attendere prego...</translation>
</message>
<message> <message>
<source>LameXP - Aborted</source> <source>LameXP - Aborted</source>
<translation>LameXP - Abortito</translation> <translation>LameXP - Abortito</translation>
@ -2553,6 +2549,13 @@
<numerusform></numerusform> <numerusform></numerusform>
</translation> </translation>
</message> </message>
<message numerus="yes">
<source>Encoding: %n file(s) of %1 completed so far, please wait...</source>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
</translation>
</message>
</context> </context>
<context> <context>
<name>ProgressModel</name> <name>ProgressModel</name>

View File

@ -2401,10 +2401,6 @@
<source>Aborted! Waiting for running jobs to terminate...</source> <source>Aborted! Waiting for running jobs to terminate...</source>
<translation type="unfinished">! ...</translation> <translation type="unfinished">! ...</translation>
</message> </message>
<message>
<source>Encoding: %1 files of %2 completed so far, please wait...</source>
<translation type="unfinished">편집중: 현재 %1/%2 , ...</translation>
</message>
<message> <message>
<source>Creating the playlist file, please wait...</source> <source>Creating the playlist file, please wait...</source>
<translation type="unfinished"> , ...</translation> <translation type="unfinished"> , ...</translation>
@ -2539,6 +2535,12 @@
<numerusform></numerusform> <numerusform></numerusform>
</translation> </translation>
</message> </message>
<message numerus="yes">
<source>Encoding: %n file(s) of %1 completed so far, please wait...</source>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
</context> </context>
<context> <context>
<name>ProgressModel</name> <name>ProgressModel</name>

View File

@ -3160,10 +3160,14 @@
<source>Aborted! Waiting for running jobs to terminate...</source> <source>Aborted! Waiting for running jobs to terminate...</source>
<translation type="unfinished">Przerwano! Czekanie na wyłączenie procesu...</translation> <translation type="unfinished">Przerwano! Czekanie na wyłączenie procesu...</translation>
</message> </message>
<message> <message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="570"/> <location filename="../../src/Dialog_Processing.cpp" line="570"/>
<source>Encoding: %1 files of %2 completed so far, please wait...</source> <source>Encoding: %n file(s) of %1 completed so far, please wait...</source>
<translation type="unfinished">Kompresja: Prosze czekać, jak dotąd wykonano %1 z %2 plików...</translation> <translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
<numerusform></numerusform>
</translation>
</message> </message>
<message> <message>
<location filename="../../src/Dialog_Processing.cpp" line="598"/> <location filename="../../src/Dialog_Processing.cpp" line="598"/>

View File

@ -2420,10 +2420,6 @@
<source>Aborted! Waiting for running jobs to terminate...</source> <source>Aborted! Waiting for running jobs to terminate...</source>
<translation type="unfinished">Отменено! Ожидание завершения запущенных заданий...</translation> <translation type="unfinished">Отменено! Ожидание завершения запущенных заданий...</translation>
</message> </message>
<message>
<source>Encoding: %1 files of %2 completed so far, please wait...</source>
<translation>Кодирование: %1 из %2 завершено.</translation>
</message>
<message> <message>
<source>Creating the playlist file, please wait...</source> <source>Creating the playlist file, please wait...</source>
<translation type="unfinished">Создаю плэйлист, пожалуйста, подождите...</translation> <translation type="unfinished">Создаю плэйлист, пожалуйста, подождите...</translation>
@ -2573,6 +2569,14 @@
<numerusform></numerusform> <numerusform></numerusform>
</translation> </translation>
</message> </message>
<message numerus="yes">
<source>Encoding: %n file(s) of %1 completed so far, please wait...</source>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
<numerusform></numerusform>
</translation>
</message>
</context> </context>
<context> <context>
<name>ProgressModel</name> <name>ProgressModel</name>

View File

@ -3153,10 +3153,13 @@
<source>Aborted! Waiting for running jobs to terminate...</source> <source>Aborted! Waiting for running jobs to terminate...</source>
<translation>Avbrutet! Väntar att aktiva processer skall avslutas...</translation> <translation>Avbrutet! Väntar att aktiva processer skall avslutas...</translation>
</message> </message>
<message> <message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="570"/> <location filename="../../src/Dialog_Processing.cpp" line="570"/>
<source>Encoding: %1 files of %2 completed so far, please wait...</source> <source>Encoding: %n file(s) of %1 completed so far, please wait...</source>
<translation>Omkodning: %1 fil(er) av %2 bearbetade hittills, vänta...</translation> <translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
</translation>
</message> </message>
<message> <message>
<location filename="../../src/Dialog_Processing.cpp" line="598"/> <location filename="../../src/Dialog_Processing.cpp" line="598"/>

View File

@ -2389,10 +2389,6 @@
<source>Aborted! Waiting for running jobs to terminate...</source> <source>Aborted! Waiting for running jobs to terminate...</source>
<translation>! ...</translation> <translation>! ...</translation>
</message> </message>
<message>
<source>Encoding: %1 files of %2 completed so far, please wait...</source>
<translation>編碼:到目前為止, %2/%1 ,...</translation>
</message>
<message> <message>
<source>Creating the playlist file, please wait...</source> <source>Creating the playlist file, please wait...</source>
<translation>,...</translation> <translation>,...</translation>
@ -2539,6 +2535,12 @@
<numerusform></numerusform> <numerusform></numerusform>
</translation> </translation>
</message> </message>
<message numerus="yes">
<source>Encoding: %n file(s) of %1 completed so far, please wait...</source>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
</context> </context>
<context> <context>
<name>ProgressModel</name> <name>ProgressModel</name>

View File

@ -2410,10 +2410,6 @@
<source>Aborted! Waiting for running jobs to terminate...</source> <source>Aborted! Waiting for running jobs to terminate...</source>
<translation>Перервано! Чекаємо на завершення запущених завдань...</translation> <translation>Перервано! Чекаємо на завершення запущених завдань...</translation>
</message> </message>
<message>
<source>Encoding: %1 files of %2 completed so far, please wait...</source>
<translation>Кодування: %1 файлів з %2 оброблено, будь ласка, зачекайте...</translation>
</message>
<message> <message>
<source>Creating the playlist file, please wait...</source> <source>Creating the playlist file, please wait...</source>
<translation>Йде створення списку відтворення, будь ласка, зачекайте...</translation> <translation>Йде створення списку відтворення, будь ласка, зачекайте...</translation>
@ -2566,6 +2562,14 @@
<numerusform></numerusform> <numerusform></numerusform>
</translation> </translation>
</message> </message>
<message numerus="yes">
<source>Encoding: %n file(s) of %1 completed so far, please wait...</source>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
<numerusform></numerusform>
</translation>
</message>
</context> </context>
<context> <context>
<name>ProgressModel</name> <name>ProgressModel</name>

View File

@ -2389,10 +2389,6 @@
<source>Aborted! Waiting for running jobs to terminate...</source> <source>Aborted! Waiting for running jobs to terminate...</source>
<translation>! ...</translation> <translation>! ...</translation>
</message> </message>
<message>
<source>Encoding: %1 files of %2 completed so far, please wait...</source>
<translation>编码:到目前为止, %2/%1 ,...</translation>
</message>
<message> <message>
<source>Creating the playlist file, please wait...</source> <source>Creating the playlist file, please wait...</source>
<translation>,...</translation> <translation>,...</translation>
@ -2539,6 +2535,12 @@
<numerusform></numerusform> <numerusform></numerusform>
</translation> </translation>
</message> </message>
<message numerus="yes">
<source>Encoding: %n file(s) of %1 completed so far, please wait...</source>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
</context> </context>
<context> <context>
<name>ProgressModel</name> <name>ProgressModel</name>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -567,7 +567,7 @@ void ProcessingDialog::doneEncoding(void)
if(!m_userAborted) if(!m_userAborted)
{ {
SET_PROGRESS_TEXT(tr("Encoding: %1 files of %2 completed so far, please wait...").arg(QString::number(ui->progressBar->value()), QString::number(ui->progressBar->maximum()))); SET_PROGRESS_TEXT(tr("Encoding: %n file(s) of %1 completed so far, please wait...", "", ui->progressBar->value()).arg(QString::number(ui->progressBar->maximum())));
WinSevenTaskbar::setTaskbarProgress(this, ui->progressBar->value(), ui->progressBar->maximum()); WinSevenTaskbar::setTaskbarProgress(this, ui->progressBar->value(), ui->progressBar->maximum());
} }