From cf1c25f156e3959201ab5eed390ae874ee6a4b70 Mon Sep 17 00:00:00 2001 From: John Gibbon Date: Wed, 18 Nov 2020 14:11:02 +0100 Subject: [PATCH] =?UTF-8?q?[%n1|%L1]=20=E2=86=92=20%Ln?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- qml/components/PollPreview.qml | 4 +- qml/pages/PollCreationPage.qml | 4 +- qml/pages/PollResultsPage.qml | 6 +-- translations/harbour-fernschreiber-de.ts | 44 ++++++++-------- translations/harbour-fernschreiber-en.ts | 44 ++++++++-------- translations/harbour-fernschreiber-es.ts | 32 ++++++------ translations/harbour-fernschreiber-fi.ts | 36 ++++++------- translations/harbour-fernschreiber-hu.ts | 16 +++--- translations/harbour-fernschreiber-it.ts | 44 ++++++++-------- translations/harbour-fernschreiber-pl.ts | 56 ++++++++++----------- translations/harbour-fernschreiber-ru.ts | 16 +++--- translations/harbour-fernschreiber-sv.ts | 44 ++++++++-------- translations/harbour-fernschreiber-zh_CN.ts | 32 ++++++------ translations/harbour-fernschreiber.ts | 16 +++--- 14 files changed, 197 insertions(+), 197 deletions(-) diff --git a/qml/components/PollPreview.qml b/qml/components/PollPreview.qml index 74a330d..c10e10b 100644 --- a/qml/components/PollPreview.qml +++ b/qml/components/PollPreview.qml @@ -178,7 +178,7 @@ Item { Label { id: optionVoterPercentage font.pixelSize: Theme.fontSizeTiny - text: qsTr("%L1\%", "% of votes for option").arg(modelData.vote_percentage) + text: qsTr("%Ln\%", "% of votes for option").arg(modelData.vote_percentage) horizontalAlignment: Text.AlignRight anchors { right: parent.right @@ -226,7 +226,7 @@ Item { id: totalVoterCount font.pixelSize: Theme.fontSizeTiny anchors.verticalCenter: parent.verticalCenter - text: qsTr("%L1 vote(s) total", "number of total votes", pollData.total_voter_count).arg(pollData.total_voter_count) + text: qsTr("%Ln vote(s) total", "number of total votes", pollData.total_voter_count).arg(pollData.total_voter_count) width: contentWidth height: contentHeight horizontalAlignment: Text.AlignRight diff --git a/qml/pages/PollCreationPage.qml b/qml/pages/PollCreationPage.qml index ec4467e..5a365d0 100644 --- a/qml/pages/PollCreationPage.qml +++ b/qml/pages/PollCreationPage.qml @@ -193,7 +193,7 @@ Dialog { placeholderText: qsTr("Enter your question here") property int charactersLeft: 255 - text.length color: charactersLeft < 0 ? Theme.errorColor : Theme.highlightColor - label: qsTr("Question (%n1 characters left)", "", charactersLeft).arg(charactersLeft) + label: qsTr("Question (%Ln characters left)", "", charactersLeft).arg(charactersLeft) wrapMode: TextEdit.Wrap onFocusChanged: { validate(); @@ -253,7 +253,7 @@ Dialog { placeholderText: qsTr("Enter an answer here") property int charactersLeft: 100 - text.length color: charactersLeft < 0 ? Theme.errorColor : Theme.highlightColor - label: qsTr("Answer (%n1 characters left)", "", charactersLeft).arg(charactersLeft) + label: qsTr("Answer (%Ln characters left)", "", charactersLeft).arg(charactersLeft) property bool hasNextOption: index < pollCreationPage.options.count - 1 EnterKey.onClicked: { if(hasNextOption) { diff --git a/qml/pages/PollResultsPage.qml b/qml/pages/PollResultsPage.qml index e3bd0e0..9ebd90a 100644 --- a/qml/pages/PollResultsPage.qml +++ b/qml/pages/PollResultsPage.qml @@ -56,7 +56,7 @@ Page { PageHeader { id: pageHeader title: pollResultsPage.isQuiz ? qsTr("Quiz Results") : qsTr("Poll Results") - description: qsTr("%L1 vote(s) total", "number of total votes", pollData.total_voter_count).arg(pollData.total_voter_count) + description: qsTr("%Ln vote(s) total", "number of total votes", pollData.total_voter_count).arg(pollData.total_voter_count) leftMargin: headerPictureThumbnail.width + Theme.paddingLarge + Theme.horizontalPageMargin ProfileThumbnail { id: headerPictureThumbnail @@ -205,7 +205,7 @@ Page { Label { id: optionVoterCount font.pixelSize: Theme.fontSizeTiny - text: modelData.is_chosen ? qsTr("%L1 vote(s) including yours", "number of votes for option", modelData.voter_count).arg(modelData.voter_count) : qsTr("%L1 vote(s)", "number of votes for option", modelData.voter_count).arg(modelData.voter_count) + text: modelData.is_chosen ? qsTr("%Ln vote(s) including yours", "number of votes for option", modelData.voter_count).arg(modelData.voter_count) : qsTr("%Ln vote(s)", "number of votes for option", modelData.voter_count).arg(modelData.voter_count) anchors { left: parent.left right: parent.horizontalCenter @@ -216,7 +216,7 @@ Page { Label { id: optionVoterPercentage font.pixelSize: Theme.fontSizeTiny - text: qsTr("%L1\%", "% of votes for option").arg(modelData.vote_percentage) + text: qsTr("%Ln\%", "% of votes for option").arg(modelData.vote_percentage) horizontalAlignment: Text.AlignRight anchors { right: parent.right diff --git a/translations/harbour-fernschreiber-de.ts b/translations/harbour-fernschreiber-de.ts index df94a10..99cd19a 100644 --- a/translations/harbour-fernschreiber-de.ts +++ b/translations/harbour-fernschreiber-de.ts @@ -964,10 +964,10 @@ Geben Sie Ihre Frage ein - Question (%n1 characters left) + Question (%Ln characters left) - Frage (%n1 Zeichen übrig) - Frage (%n1 Zeichen übrig) + Frage (%Ln Zeichen übrig) + Frage (%Ln Zeichen übrig) @@ -980,10 +980,10 @@ Geben Sie eine Antwort ein - Answer (%n1 characters left) + Answer (%Ln characters left) - Antwort (%n1 Zeichen übrig) - Antwort (%n1 Zeichen übrig) + Antwort (%Ln Zeichen übrig) + Antwort (%Ln Zeichen übrig) @@ -1015,9 +1015,9 @@ PollPreview - %L1% + %Ln% % of votes for option - %L1% + %Ln% Final Result: @@ -1028,11 +1028,11 @@ Mehrfachauswahl ist erlaubt. - %L1 vote(s) total + %Ln vote(s) total number of total votes - %L1 Stimme insgesamt - %L1 Stimmen insgesamt + %Ln Stimme insgesamt + %Ln Stimmen insgesamt @@ -1055,11 +1055,11 @@ Umfrageergebnis - %L1 vote(s) total + %Ln vote(s) total number of total votes - %L1 Stimme insgesamt - %L1 Stimmen insgesamt + %Ln Stimme insgesamt + %Ln Stimmen insgesamt @@ -1073,17 +1073,17 @@ Ergebnis - %L1 vote(s) + %Ln vote(s) number of votes for option - %L1 Antwort - %L1 Antworten + %Ln Antwort + %Ln Antworten - %L1% + %Ln% % of votes for option - %L1% + %Ln% Chosen by: @@ -1091,11 +1091,11 @@ Gewählt von: - %L1 vote(s) including yours + %Ln vote(s) including yours number of votes for option - %L1 Antwort inklusive Ihrer - %L1 Antworten inklusive Ihrer + %Ln Antwort inklusive Ihrer + %Ln Antworten inklusive Ihrer diff --git a/translations/harbour-fernschreiber-en.ts b/translations/harbour-fernschreiber-en.ts index c8b04f9..24b7598 100644 --- a/translations/harbour-fernschreiber-en.ts +++ b/translations/harbour-fernschreiber-en.ts @@ -964,10 +964,10 @@ Enter your question here - Question (%n1 characters left) + Question (%Ln characters left) - Question (%n1 character left) - Question (%n1 characters left) + Question (%Ln character left) + Question (%Ln characters left) @@ -980,10 +980,10 @@ Enter an answer here - Answer (%n1 characters left) + Answer (%Ln characters left) - Answer (%n1 character left) - Answer (%n1 characters left) + Answer (%Ln character left) + Answer (%Ln characters left) @@ -1015,9 +1015,9 @@ PollPreview - %L1% + %Ln% % of votes for option - %L1% + %Ln% Final Result: @@ -1028,11 +1028,11 @@ Multiple Answers are allowed. - %L1 vote(s) total + %Ln vote(s) total number of total votes - %L1 vote total - %L1 votes total + %Ln vote total + %Ln votes total @@ -1055,11 +1055,11 @@ Poll Results - %L1 vote(s) total + %Ln vote(s) total number of total votes - %L1 vote total - %L1 votes total + %Ln vote total + %Ln votes total @@ -1073,17 +1073,17 @@ Results - %L1 vote(s) + %Ln vote(s) number of votes for option - %L1 vote - %L1 votes + %Ln vote + %Ln votes - %L1% + %Ln% % of votes for option - %L1% + %Ln% Chosen by: @@ -1091,11 +1091,11 @@ Chosen by: - %L1 vote(s) including yours + %Ln vote(s) including yours number of votes for option - %L1 vote including yours - %L1 votes including yours + %Ln vote including yours + %Ln votes including yours diff --git a/translations/harbour-fernschreiber-es.ts b/translations/harbour-fernschreiber-es.ts index bf46684..8fc3d06 100644 --- a/translations/harbour-fernschreiber-es.ts +++ b/translations/harbour-fernschreiber-es.ts @@ -960,9 +960,9 @@ Marcar su pregunta aquí - Question (%n1 characters left) + Question (%Ln characters left) - Pregunta (quedan %n1 caracteres) + Pregunta (quedan %Ln caracteres) @@ -975,9 +975,9 @@ Marcar una respuesta aquí - Answer (%n1 characters left) + Answer (%Ln characters left) - Respuesta (quedan %n1 caracteres) + Respuesta (quedan %Ln caracteres) @@ -1009,9 +1009,9 @@ PollPreview - %L1% + %Ln% % of votes for option - %L1% + %Ln% Final Result: @@ -1022,10 +1022,10 @@ Se permiten múltiples respuestas. - %L1 vote(s) total + %Ln vote(s) total number of total votes - %L1 votos totales + %Ln votos totales @@ -1048,10 +1048,10 @@ Resultados de encuesta - %L1 vote(s) total + %Ln vote(s) total number of total votes - %L1 total de votos + %Ln total de votos @@ -1065,16 +1065,16 @@ Resultados - %L1 vote(s) + %Ln vote(s) number of votes for option - %L1 votos + %Ln votos - %L1% + %Ln% % of votes for option - %L1% + %Ln% Chosen by: @@ -1082,10 +1082,10 @@ Elegido por: - %L1 vote(s) including yours + %Ln vote(s) including yours number of votes for option - %L1 votos incluyendo el suyo + %Ln votos incluyendo el suyo diff --git a/translations/harbour-fernschreiber-fi.ts b/translations/harbour-fernschreiber-fi.ts index 4aea0ae..6f9cf93 100644 --- a/translations/harbour-fernschreiber-fi.ts +++ b/translations/harbour-fernschreiber-fi.ts @@ -965,7 +965,7 @@ Kirjoita kysymyksesi tähän - Question (%n1 characters left) + Question (%Ln characters left) Kysymys (%n merkki jäljellä) Kysymys (%n merkkiä jäljellä) @@ -981,7 +981,7 @@ Kirjoita vastaus tähän - Answer (%n1 characters left) + Answer (%Ln characters left) Vastaus (%n merkki jäljellä) Vastaus (%n merkkiä jäljellä) @@ -1016,9 +1016,9 @@ PollPreview - %L1% + %Ln% % of votes for option - %L1% + %Ln% Final Result: @@ -1029,11 +1029,11 @@ Useampi vastaus sallittu. - %L1 vote(s) total + %Ln vote(s) total number of total votes - yhteensä %L1 ääni - yhteensä %L1 ääntä + yhteensä %Ln ääni + yhteensä %Ln ääntä @@ -1056,11 +1056,11 @@ Kyselyn tulokset - %L1 vote(s) total + %Ln vote(s) total number of total votes - yhteensä %L1 ääni - yhteensä %L1 ääntä + yhteensä %Ln ääni + yhteensä %Ln ääntä @@ -1074,17 +1074,17 @@ Tulokset - %L1 vote(s) + %Ln vote(s) number of votes for option - %L1 ääni - %L1 ääntä + %Ln ääni + %Ln ääntä - %L1% + %Ln% % of votes for option - %L1% + %Ln% Chosen by: @@ -1092,11 +1092,11 @@ Valinnut: - %L1 vote(s) including yours + %Ln vote(s) including yours number of votes for option - %L1 ääni (sinun) - %L1 ääntä (mukaan lukien sinun) + %Ln ääni (sinun) + %Ln ääntä (mukaan lukien sinun) diff --git a/translations/harbour-fernschreiber-hu.ts b/translations/harbour-fernschreiber-hu.ts index 82da38a..7840847 100644 --- a/translations/harbour-fernschreiber-hu.ts +++ b/translations/harbour-fernschreiber-hu.ts @@ -960,7 +960,7 @@ - Question (%n1 characters left) + Question (%Ln characters left) @@ -975,7 +975,7 @@ - Answer (%n1 characters left) + Answer (%Ln characters left) @@ -1009,7 +1009,7 @@ PollPreview - %L1% + %Ln% % of votes for option @@ -1022,7 +1022,7 @@ - %L1 vote(s) total + %Ln vote(s) total number of total votes @@ -1048,7 +1048,7 @@ - %L1 vote(s) total + %Ln vote(s) total number of total votes @@ -1065,14 +1065,14 @@ - %L1 vote(s) + %Ln vote(s) number of votes for option - %L1% + %Ln% % of votes for option @@ -1082,7 +1082,7 @@ - %L1 vote(s) including yours + %Ln vote(s) including yours number of votes for option diff --git a/translations/harbour-fernschreiber-it.ts b/translations/harbour-fernschreiber-it.ts index 5b72241..852893b 100644 --- a/translations/harbour-fernschreiber-it.ts +++ b/translations/harbour-fernschreiber-it.ts @@ -964,10 +964,10 @@ Scrivi la tua domanda - Question (%n1 characters left) + Question (%Ln characters left) - Domanda (%n1 carattere rimanente) - Domanda (%n1 caratteri rimanenti) + Domanda (%Ln carattere rimanente) + Domanda (%Ln caratteri rimanenti) @@ -980,10 +980,10 @@ Scrivi una risposta - Answer (%n1 characters left) + Answer (%Ln characters left) - Risposta (%n1 carattere rimanente) - Risposta (%n1 caratteri rimanenti) + Risposta (%Ln carattere rimanente) + Risposta (%Ln caratteri rimanenti) @@ -1015,9 +1015,9 @@ PollPreview - %L1% + %Ln% % of votes for option - %L1% + %Ln% Final Result: @@ -1028,11 +1028,11 @@ Risposte multiple consentite. - %L1 vote(s) total + %Ln vote(s) total number of total votes - %L1 voto in totale - %L1 voti in totale + %Ln voto in totale + %Ln voti in totale @@ -1055,11 +1055,11 @@ Risultati sondaggio - %L1 vote(s) total + %Ln vote(s) total number of total votes - %L1 voto in totale - %L1 voti in totale + %Ln voto in totale + %Ln voti in totale @@ -1073,17 +1073,17 @@ Risultati - %L1 vote(s) + %Ln vote(s) number of votes for option - %L1 voto - %L1 voti + %Ln voto + %Ln voti - %L1% + %Ln% % of votes for option - %L1% + %Ln% Chosen by: @@ -1091,11 +1091,11 @@ Scelta da: - %L1 vote(s) including yours + %Ln vote(s) including yours number of votes for option - %L1 voto incluso il tuo - %L1 voti incluso il tuo + %Ln voto incluso il tuo + %Ln voti incluso il tuo diff --git a/translations/harbour-fernschreiber-pl.ts b/translations/harbour-fernschreiber-pl.ts index 49e94a0..8e43f44 100644 --- a/translations/harbour-fernschreiber-pl.ts +++ b/translations/harbour-fernschreiber-pl.ts @@ -968,11 +968,11 @@ Wprowadź tutaj swoje pytanie - Question (%n1 characters left) + Question (%Ln characters left) - Pytanie (pozostał %n1 znak) - Pytanie (pozostały %n1 znaki) - Pytanie (pozostało %n1 znaków) + Pytanie (pozostał %Ln znak) + Pytanie (pozostały %Ln znaki) + Pytanie (pozostało %Ln znaków) @@ -985,11 +985,11 @@ Wprowadź tutaj swoją odpowiedź - Answer (%n1 characters left) + Answer (%Ln characters left) - Odpowiedź (pozostał %n1 znak) - Odpowiedź (pozostały %n1 znaki) - Odpowiedź (pozostało %n1 znaków) + Odpowiedź (pozostał %Ln znak) + Odpowiedź (pozostały %Ln znaki) + Odpowiedź (pozostało %Ln znaków) @@ -1021,9 +1021,9 @@ PollPreview - %L1% + %Ln% % of votes for option - %L1% + %Ln% Final Result: @@ -1034,12 +1034,12 @@ Dozwolonych jest wiele odpowiedzi. - %L1 vote(s) total + %Ln vote(s) total number of total votes - %L1 odpowiedź - %L1 odpowiedzi - %L1 odpowiedzi + %Ln odpowiedź + %Ln odpowiedzi + %Ln odpowiedzi @@ -1062,12 +1062,12 @@ Wyniki ankiety - %L1 vote(s) total + %Ln vote(s) total number of total votes - %L1 odpowiedź - %L1 odpowiedzi - %L1 odpowiedzi + %Ln odpowiedź + %Ln odpowiedzi + %Ln odpowiedzi @@ -1081,18 +1081,18 @@ Wyniki - %L1 vote(s) + %Ln vote(s) number of votes for option - %L1 glos - %L1 głosy - %L1 głosów + %Ln glos + %Ln głosy + %Ln głosów - %L1% + %Ln% % of votes for option - %L1% + %Ln% Chosen by: @@ -1100,12 +1100,12 @@ Wybrany przez: - %L1 vote(s) including yours + %Ln vote(s) including yours number of votes for option - %L1 głos, w tym twój - %L1 głosy, w tym twój - %L1 głosów, w tym twój + %Ln głos, w tym twój + %Ln głosy, w tym twój + %Ln głosów, w tym twój diff --git a/translations/harbour-fernschreiber-ru.ts b/translations/harbour-fernschreiber-ru.ts index 427270e..ae29d5d 100644 --- a/translations/harbour-fernschreiber-ru.ts +++ b/translations/harbour-fernschreiber-ru.ts @@ -968,7 +968,7 @@ - Question (%n1 characters left) + Question (%Ln characters left) @@ -985,7 +985,7 @@ - Answer (%n1 characters left) + Answer (%Ln characters left) @@ -1021,7 +1021,7 @@ PollPreview - %L1% + %Ln% % of votes for option @@ -1034,7 +1034,7 @@ - %L1 vote(s) total + %Ln vote(s) total number of total votes @@ -1062,7 +1062,7 @@ - %L1 vote(s) total + %Ln vote(s) total number of total votes @@ -1081,7 +1081,7 @@ - %L1 vote(s) + %Ln vote(s) number of votes for option @@ -1090,7 +1090,7 @@ - %L1% + %Ln% % of votes for option @@ -1100,7 +1100,7 @@ - %L1 vote(s) including yours + %Ln vote(s) including yours number of votes for option diff --git a/translations/harbour-fernschreiber-sv.ts b/translations/harbour-fernschreiber-sv.ts index 2d1c91b..f7f3b6a 100644 --- a/translations/harbour-fernschreiber-sv.ts +++ b/translations/harbour-fernschreiber-sv.ts @@ -964,10 +964,10 @@ Ange din fråga här - Question (%n1 characters left) + Question (%Ln characters left) - Fråga (%n1 tecken kvar) - Fråga (%n1 tecken kvar) + Fråga (%Ln tecken kvar) + Fråga (%Ln tecken kvar) @@ -980,10 +980,10 @@ Ange svaret här - Answer (%n1 characters left) + Answer (%Ln characters left) - Svar (%n1 tecken kvar) - Svar (%n1 tecken kvar) + Svar (%Ln tecken kvar) + Svar (%Ln tecken kvar) @@ -1023,16 +1023,16 @@ Flera svarsalternativ tillåtna. - %L1% + %Ln% % of votes for option - %L1% + %Ln% - %L1 vote(s) total + %Ln vote(s) total number of total votes - %L1 röst sammanlagt - %L1 röster sammanlagt + %Ln röst sammanlagt + %Ln röster sammanlagt @@ -1055,11 +1055,11 @@ Omröstningsresultat - %L1 vote(s) total + %Ln vote(s) total number of total votes - %L1 röst sammanlagt - %L1 röster sammanlagt + %Ln röst sammanlagt + %Ln röster sammanlagt @@ -1073,25 +1073,25 @@ Resultat - %L1 vote(s) including yours + %Ln vote(s) including yours number of votes for option - %L1 röst inklusive din - %L1 röster inklusive din + %Ln röst inklusive din + %Ln röster inklusive din - %L1 vote(s) + %Ln vote(s) number of votes for option - %L1 röst - %L1 röster + %Ln röst + %Ln röster - %L1% + %Ln% % of votes for option - %L1% + %Ln% Chosen by: diff --git a/translations/harbour-fernschreiber-zh_CN.ts b/translations/harbour-fernschreiber-zh_CN.ts index 39899b4..ff2c252 100644 --- a/translations/harbour-fernschreiber-zh_CN.ts +++ b/translations/harbour-fernschreiber-zh_CN.ts @@ -960,9 +960,9 @@ 在此输入你的问题 - Question (%n1 characters left) + Question (%Ln characters left) - 问题(剩余 %n1 个字符) + 问题(剩余 %Ln 个字符) @@ -975,9 +975,9 @@ 在此输入回答 - Answer (%n1 characters left) + Answer (%Ln characters left) - 回答(剩余 %n1 个字符) + 回答(剩余 %Ln 个字符) @@ -1009,9 +1009,9 @@ PollPreview - %L1% + %Ln% % of votes for option - %L1% + %Ln% Final Result: @@ -1022,10 +1022,10 @@ 允许多个回答。 - %L1 vote(s) total + %Ln vote(s) total number of total votes - 总计 %L1 次回答 + 总计 %Ln 次回答 @@ -1048,10 +1048,10 @@ 投票结果 - %L1 vote(s) total + %Ln vote(s) total number of total votes - 总计 %L1 次投票 + 总计 %Ln 次投票 @@ -1065,16 +1065,16 @@ 结果 - %L1 vote(s) + %Ln vote(s) number of votes for option - %L1 次投票 + %Ln 次投票 - %L1% + %Ln% % of votes for option - %L1% + %Ln% Chosen by: @@ -1082,10 +1082,10 @@ 选择此项的人: - %L1 vote(s) including yours + %Ln vote(s) including yours number of votes for option - %L1 次投票,包括你 + %Ln 次投票,包括你 diff --git a/translations/harbour-fernschreiber.ts b/translations/harbour-fernschreiber.ts index 8414ccd..85fd0c1 100644 --- a/translations/harbour-fernschreiber.ts +++ b/translations/harbour-fernschreiber.ts @@ -960,7 +960,7 @@ - Question (%n1 characters left) + Question (%Ln characters left) @@ -975,7 +975,7 @@ - Answer (%n1 characters left) + Answer (%Ln characters left) @@ -1009,7 +1009,7 @@ PollPreview - %L1% + %Ln% % of votes for option @@ -1022,7 +1022,7 @@ - %L1 vote(s) total + %Ln vote(s) total number of total votes @@ -1048,7 +1048,7 @@ - %L1 vote(s) total + %Ln vote(s) total number of total votes @@ -1065,14 +1065,14 @@ - %L1 vote(s) + %Ln vote(s) number of votes for option - %L1% + %Ln% % of votes for option @@ -1082,7 +1082,7 @@ - %L1 vote(s) including yours + %Ln vote(s) including yours number of votes for option