mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
l10n: Eliminated STRING_HELPER_PROJECT_*
This commit is contained in:
parent
28ddf8699a
commit
6f6335f67a
10 changed files with 4 additions and 58 deletions
|
@ -436,7 +436,7 @@ std::string onProjectChange (Task& task, bool scope /* = true */)
|
||||||
if (project != "")
|
if (project != "")
|
||||||
{
|
{
|
||||||
if (scope)
|
if (scope)
|
||||||
msg << format (STRING_HELPER_PROJECT_CHANGE, project)
|
msg << format ("The project '{1}' has changed.", project)
|
||||||
<< " ";
|
<< " ";
|
||||||
|
|
||||||
// Count pending and done tasks, for this project.
|
// Count pending and done tasks, for this project.
|
||||||
|
@ -459,13 +459,13 @@ std::string onProjectChange (Task& task, bool scope /* = true */)
|
||||||
else
|
else
|
||||||
percentage = (count_done * 100 / (count_done + count_pending));
|
percentage = (count_done * 100 / (count_done + count_pending));
|
||||||
|
|
||||||
msg << format (STRING_HELPER_PROJECT_COMPL, project, percentage)
|
msg << format ("Project '{1}' is {2}% complete", project, percentage)
|
||||||
<< ' ';
|
<< ' ';
|
||||||
|
|
||||||
if (count_pending == 1 && count_done == 0)
|
if (count_pending == 1 && count_done == 0)
|
||||||
msg << format (STRING_HELPER_PROJECT_REM1, count_pending);
|
msg << format ("({1} task remaining).", count_pending);
|
||||||
else
|
else
|
||||||
msg << format (STRING_HELPER_PROJECT_REM, count_pending, count_pending + count_done);
|
msg << format ("({1} of {2} tasks remaining).", count_pending, count_pending + count_done);
|
||||||
}
|
}
|
||||||
|
|
||||||
return msg.str ();
|
return msg.str ();
|
||||||
|
|
|
@ -526,12 +526,6 @@
|
||||||
#define STRING_FEEDBACK_BACKLOG_N "{1} Lokale Änderungen. Datenabgleich erforderlich."
|
#define STRING_FEEDBACK_BACKLOG_N "{1} Lokale Änderungen. Datenabgleich erforderlich."
|
||||||
#define STRING_FEEDBACK_BACKLOG "{1} Lokale Änderungen. Datenabgleich erforderlich."
|
#define STRING_FEEDBACK_BACKLOG "{1} Lokale Änderungen. Datenabgleich erforderlich."
|
||||||
|
|
||||||
// helpers
|
|
||||||
#define STRING_HELPER_PROJECT_CHANGE "The project '{1}' has changed."
|
|
||||||
#define STRING_HELPER_PROJECT_COMPL "Project '{1}' is {2}% complete"
|
|
||||||
#define STRING_HELPER_PROJECT_REM "({1} of {2} tasks remaining)."
|
|
||||||
#define STRING_HELPER_PROJECT_REM1 "({1} task remaining)."
|
|
||||||
|
|
||||||
// 'show' command
|
// 'show' command
|
||||||
#define STRING_CMD_SHOW "Zeigt alle Konfigurations-Optionen oder eine Teilmenge davon"
|
#define STRING_CMD_SHOW "Zeigt alle Konfigurations-Optionen oder eine Teilmenge davon"
|
||||||
#define STRING_CMD_SHOW_ARGS "Sie müssen 'all' oder ein Suchwort angeben."
|
#define STRING_CMD_SHOW_ARGS "Sie müssen 'all' oder ein Suchwort angeben."
|
||||||
|
|
|
@ -523,12 +523,6 @@
|
||||||
#define STRING_FEEDBACK_BACKLOG_N "There are {1} local changes. Sync required."
|
#define STRING_FEEDBACK_BACKLOG_N "There are {1} local changes. Sync required."
|
||||||
#define STRING_FEEDBACK_BACKLOG "There is {1} local change. Sync required."
|
#define STRING_FEEDBACK_BACKLOG "There is {1} local change. Sync required."
|
||||||
|
|
||||||
// helpers
|
|
||||||
#define STRING_HELPER_PROJECT_CHANGE "The project '{1}' has changed."
|
|
||||||
#define STRING_HELPER_PROJECT_COMPL "Project '{1}' is {2}% complete"
|
|
||||||
#define STRING_HELPER_PROJECT_REM "({1} of {2} tasks remaining)."
|
|
||||||
#define STRING_HELPER_PROJECT_REM1 "({1} task remaining)."
|
|
||||||
|
|
||||||
// 'show' command
|
// 'show' command
|
||||||
#define STRING_CMD_SHOW "Shows all configuration variables or subset"
|
#define STRING_CMD_SHOW "Shows all configuration variables or subset"
|
||||||
#define STRING_CMD_SHOW_ARGS "You can only specify 'all' or a search string."
|
#define STRING_CMD_SHOW_ARGS "You can only specify 'all' or a search string."
|
||||||
|
|
|
@ -526,12 +526,6 @@
|
||||||
#define STRING_FEEDBACK_BACKLOG_N "Estas {1} lokaj ŝanĝoj. Sinkronigo devita."
|
#define STRING_FEEDBACK_BACKLOG_N "Estas {1} lokaj ŝanĝoj. Sinkronigo devita."
|
||||||
#define STRING_FEEDBACK_BACKLOG "Estas {1} lokaj ŝanĝoj. Sinkronigo devita."
|
#define STRING_FEEDBACK_BACKLOG "Estas {1} lokaj ŝanĝoj. Sinkronigo devita."
|
||||||
|
|
||||||
// helpers
|
|
||||||
#define STRING_HELPER_PROJECT_CHANGE "The project '{1}' has changed."
|
|
||||||
#define STRING_HELPER_PROJECT_COMPL "Project '{1}' is {2}% complete"
|
|
||||||
#define STRING_HELPER_PROJECT_REM "({1} of {2} tasks remaining)."
|
|
||||||
#define STRING_HELPER_PROJECT_REM1 "({1} task remaining)."
|
|
||||||
|
|
||||||
// 'show' command
|
// 'show' command
|
||||||
#define STRING_CMD_SHOW "Montras ĉian agordan variablon, aŭ subaron"
|
#define STRING_CMD_SHOW "Montras ĉian agordan variablon, aŭ subaron"
|
||||||
#define STRING_CMD_SHOW_ARGS "Oni sole povas specifi 'all' aŭ serĉĉenon."
|
#define STRING_CMD_SHOW_ARGS "Oni sole povas specifi 'all' aŭ serĉĉenon."
|
||||||
|
|
|
@ -538,12 +538,6 @@
|
||||||
#define STRING_FEEDBACK_BACKLOG_N "Hay {1} modificaciones locales. Se require una sincronización."
|
#define STRING_FEEDBACK_BACKLOG_N "Hay {1} modificaciones locales. Se require una sincronización."
|
||||||
#define STRING_FEEDBACK_BACKLOG "Hay {1} modificaciones locales. Se require una sincronización."
|
#define STRING_FEEDBACK_BACKLOG "Hay {1} modificaciones locales. Se require una sincronización."
|
||||||
|
|
||||||
// helpers
|
|
||||||
#define STRING_HELPER_PROJECT_CHANGE "El proyecto '{1}' ha cambiado."
|
|
||||||
#define STRING_HELPER_PROJECT_COMPL "El proyecto '{1}' está completado en un {2}%"
|
|
||||||
#define STRING_HELPER_PROJECT_REM "({1} de {2} tareas restantes)."
|
|
||||||
#define STRING_HELPER_PROJECT_REM1 "({1} tarea restante)."
|
|
||||||
|
|
||||||
// 'show' command
|
// 'show' command
|
||||||
#define STRING_CMD_SHOW "Muestra todas las variables de configuración o un subconjunto"
|
#define STRING_CMD_SHOW "Muestra todas las variables de configuración o un subconjunto"
|
||||||
#define STRING_CMD_SHOW_ARGS "Solo puede especificar 'all' o un término de búsqueda."
|
#define STRING_CMD_SHOW_ARGS "Solo puede especificar 'all' o un término de búsqueda."
|
||||||
|
|
|
@ -548,12 +548,6 @@
|
||||||
#define STRING_FEEDBACK_BACKLOG_N "Il y a des {1} changements locaux. Synchronisation requise."
|
#define STRING_FEEDBACK_BACKLOG_N "Il y a des {1} changements locaux. Synchronisation requise."
|
||||||
#define STRING_FEEDBACK_BACKLOG "Il y a des {1} changements locaux. Synchronisation requise."
|
#define STRING_FEEDBACK_BACKLOG "Il y a des {1} changements locaux. Synchronisation requise."
|
||||||
|
|
||||||
// helpers
|
|
||||||
#define STRING_HELPER_PROJECT_CHANGE "The project '{1}' has changed."
|
|
||||||
#define STRING_HELPER_PROJECT_COMPL "Project '{1}' is {2}% complete"
|
|
||||||
#define STRING_HELPER_PROJECT_REM "({1} of {2} tasks remaining)."
|
|
||||||
#define STRING_HELPER_PROJECT_REM1 "({1} task remaining)."
|
|
||||||
|
|
||||||
// 'show' command
|
// 'show' command
|
||||||
#define STRING_CMD_SHOW "Shows all configuration variables or subset"
|
#define STRING_CMD_SHOW "Shows all configuration variables or subset"
|
||||||
#define STRING_CMD_SHOW_ARGS "You can only specify 'all' or a search string."
|
#define STRING_CMD_SHOW_ARGS "You can only specify 'all' or a search string."
|
||||||
|
|
|
@ -527,12 +527,6 @@
|
||||||
#define STRING_FEEDBACK_BACKLOG_N "There are {1} local changes. Sync required."
|
#define STRING_FEEDBACK_BACKLOG_N "There are {1} local changes. Sync required."
|
||||||
#define STRING_FEEDBACK_BACKLOG "There is {1} local change. Sync required."
|
#define STRING_FEEDBACK_BACKLOG "There is {1} local change. Sync required."
|
||||||
|
|
||||||
// helpers
|
|
||||||
#define STRING_HELPER_PROJECT_CHANGE "Il progetto '{1}' è stato modificat."
|
|
||||||
#define STRING_HELPER_PROJECT_COMPL "Il progetto '{1}' è {2}% completo"
|
|
||||||
#define STRING_HELPER_PROJECT_REM "({1} di {2} task rimanenti)."
|
|
||||||
#define STRING_HELPER_PROJECT_REM1 "({1} task remaining)."
|
|
||||||
|
|
||||||
// 'show' command
|
// 'show' command
|
||||||
#define STRING_CMD_SHOW "Mostra i sottoinsiemi di variabili di configurazione"
|
#define STRING_CMD_SHOW "Mostra i sottoinsiemi di variabili di configurazione"
|
||||||
#define STRING_CMD_SHOW_ARGS "Solo 'all' può essere specificata come stringa di ricerca."
|
#define STRING_CMD_SHOW_ARGS "Solo 'all' può essere specificata come stringa di ricerca."
|
||||||
|
|
|
@ -528,12 +528,6 @@
|
||||||
#define STRING_FEEDBACK_BACKLOG_N "There are {1} local changes. Sync required."
|
#define STRING_FEEDBACK_BACKLOG_N "There are {1} local changes. Sync required."
|
||||||
#define STRING_FEEDBACK_BACKLOG "There is {1} local change. Sync required."
|
#define STRING_FEEDBACK_BACKLOG "There is {1} local change. Sync required."
|
||||||
|
|
||||||
// helpers
|
|
||||||
#define STRING_HELPER_PROJECT_CHANGE "The project '{1}' has changed."
|
|
||||||
#define STRING_HELPER_PROJECT_COMPL "Project '{1}' is {2}% complete"
|
|
||||||
#define STRING_HELPER_PROJECT_REM "({1} of {2} tasks remaining)."
|
|
||||||
#define STRING_HELPER_PROJECT_REM1 "({1} task remaining)."
|
|
||||||
|
|
||||||
// 'show' command
|
// 'show' command
|
||||||
#define STRING_CMD_SHOW "Shows all configuration variables or subset"
|
#define STRING_CMD_SHOW "Shows all configuration variables or subset"
|
||||||
#define STRING_CMD_SHOW_ARGS "You can only specify 'all' or a search string."
|
#define STRING_CMD_SHOW_ARGS "You can only specify 'all' or a search string."
|
||||||
|
|
|
@ -528,12 +528,6 @@
|
||||||
#define STRING_FEEDBACK_BACKLOG_N "Wykryto {1} lokalne zmiany. Wymagana synchronizacja."
|
#define STRING_FEEDBACK_BACKLOG_N "Wykryto {1} lokalne zmiany. Wymagana synchronizacja."
|
||||||
#define STRING_FEEDBACK_BACKLOG "Wykryto {1} lokalne zmiany. Wymagana synchronizacja."
|
#define STRING_FEEDBACK_BACKLOG "Wykryto {1} lokalne zmiany. Wymagana synchronizacja."
|
||||||
|
|
||||||
// helpers
|
|
||||||
#define STRING_HELPER_PROJECT_CHANGE "The project '{1}' has changed."
|
|
||||||
#define STRING_HELPER_PROJECT_COMPL "Project '{1}' is {2}% complete"
|
|
||||||
#define STRING_HELPER_PROJECT_REM "({1} of {2} tasks remaining)."
|
|
||||||
#define STRING_HELPER_PROJECT_REM1 "({1} task remaining)."
|
|
||||||
|
|
||||||
// 'show' command
|
// 'show' command
|
||||||
#define STRING_CMD_SHOW "Pokazuje wszystkie zmienne konfiguracji lub ich podzbiór"
|
#define STRING_CMD_SHOW "Pokazuje wszystkie zmienne konfiguracji lub ich podzbiór"
|
||||||
#define STRING_CMD_SHOW_ARGS "Możesz jedynie wybrać wszystkie lub wyszukać na podstawie ciągu."
|
#define STRING_CMD_SHOW_ARGS "Możesz jedynie wybrać wszystkie lub wyszukać na podstawie ciągu."
|
||||||
|
|
|
@ -528,12 +528,6 @@
|
||||||
#define STRING_FEEDBACK_BACKLOG_N "Há {1} modificações locais. Necessário sincronizar (sync)."
|
#define STRING_FEEDBACK_BACKLOG_N "Há {1} modificações locais. Necessário sincronizar (sync)."
|
||||||
#define STRING_FEEDBACK_BACKLOG "Há {1} modificações locais. Necessário sincronizar (sync)."
|
#define STRING_FEEDBACK_BACKLOG "Há {1} modificações locais. Necessário sincronizar (sync)."
|
||||||
|
|
||||||
// helpers
|
|
||||||
#define STRING_HELPER_PROJECT_CHANGE "The project '{1}' has changed."
|
|
||||||
#define STRING_HELPER_PROJECT_COMPL "Project '{1}' is {2}% complete"
|
|
||||||
#define STRING_HELPER_PROJECT_REM "({1} of {2} tasks remaining)."
|
|
||||||
#define STRING_HELPER_PROJECT_REM1 "({1} task remaining)."
|
|
||||||
|
|
||||||
// 'show' command
|
// 'show' command
|
||||||
#define STRING_CMD_SHOW "Mostra todas ou um subconjunto das variáveis de configuração"
|
#define STRING_CMD_SHOW "Mostra todas ou um subconjunto das variáveis de configuração"
|
||||||
#define STRING_CMD_SHOW_ARGS "Apenas pode específicar 'all' ou uma expressão a procurar."
|
#define STRING_CMD_SHOW_ARGS "Apenas pode específicar 'all' ou uma expressão a procurar."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue