diff --git a/src/Task.cpp b/src/Task.cpp index 27d9366cd..ba55eb6c4 100644 --- a/src/Task.cpp +++ b/src/Task.cpp @@ -50,7 +50,6 @@ #include #include -#include #ifdef PRODUCT_TASKWARRIOR #include @@ -58,7 +57,6 @@ #include #include -#define STRING_INFINITE_LOOP "Terminated substitution because more than {1} changes were made - infinite loop protection." #define APPROACHING_INFINITY 1000 // Close enough. This isn't rocket surgery. @@ -763,10 +761,10 @@ void Task::parseJSON (const json::object* root_obj) json::string* what = (json::string*)annotation->_data["description"]; if (! when) - throw format (STRING_TASK_NO_ENTRY, root_obj->dump ()); + throw format ("Annotation is missing an entry date: {1}", root_obj-> dump ()); if (! what) - throw format (STRING_TASK_NO_DESC, root_obj->dump ()); + throw format ("Annotation is missing a description: {1}", root_obj->dump ()); std::string name = "annotation_" + Datetime (when->_data).toEpochString (); annos.insert (std::make_pair (name, json::decode (what->_data))); @@ -802,13 +800,13 @@ void Task::parseLegacy (const std::string& line) switch (determineVersion (line)) { // File format version 1, from 2006-11-27 - 2007-12-31, v0.x+ - v0.9.3 - case 1: throw std::string (STRING_TASK_NO_FF1); + case 1: throw std::string ("Taskwarrior no longer supports file format 1, originally used between 27 November 2006 and 31 December 2007."); // File format version 2, from 2008-1-1 - 2009-3-23, v0.9.3 - v1.5.0 - case 2: throw std::string (STRING_TASK_NO_FF2); + case 2: throw std::string ("Taskwarrior no longer supports file format 2, originally used between 1 January 2008 and 12 April 2009."); // File format version 3, from 2009-3-23 - 2009-05-16, v1.6.0 - v1.7.1 - case 3: throw std::string (STRING_TASK_NO_FF3); + case 3: throw std::string ("Taskwarrior no longer supports file format 3, originally used between 23 March 2009 and 16 May 2009."); // File format version 4, from 2009-05-16 - today, v1.7.1+ case 4: @@ -822,7 +820,7 @@ void Task::parseLegacy (const std::string& line) << '\''; context.debug (message.str ()); #endif - throw std::string (STRING_TASK_PARSE_UNREC_FF); + throw std::string ("Unrecognized Taskwarrior file format or blank line in data."); break; } @@ -1128,12 +1126,12 @@ void Task::addDependency (int depid) // Check that id is resolvable. std::string uuid = context.tdb2.pending.uuid (depid); if (uuid == "") - throw format (STRING_TASK_DEPEND_MISS_CREA, depid); + throw format ("Could not create a dependency on task {1} - not found.", depid); std::string depends = get ("depends"); if (depends.find (uuid) != std::string::npos) { - context.footnote (format (STRING_TASK_DEPEND_DUP, id, depid)); + context.footnote (format ("Task {1} already depends on task {2}.", id, depid)); return; } @@ -1145,7 +1143,7 @@ void Task::addDependency (int depid) void Task::addDependency (const std::string& uuid) { if (uuid == get ("uuid")) - throw std::string (STRING_TASK_DEPEND_ITSELF); + throw std::string ("A task cannot be dependent on itself."); // Store the dependency. std::string depends = get ("depends"); @@ -1157,7 +1155,7 @@ void Task::addDependency (const std::string& uuid) else { #ifdef PRODUCT_TASKWARRIOR - context.footnote (format (STRING_TASK_DEPEND_DUP, get ("uuid"), uuid)); + context.footnote (format ("Task {1} already depends on task {2}.", get ("uuid"), uuid)); #endif return; } @@ -1168,7 +1166,7 @@ void Task::addDependency (const std::string& uuid) // Prevent circular dependencies. #ifdef PRODUCT_TASKWARRIOR if (dependencyIsCircular (*this)) - throw std::string (STRING_TASK_DEPEND_CIRCULAR); + throw std::string ("Circular dependency detected and disallowed."); #endif recalc_urgency = true; @@ -1188,7 +1186,7 @@ void Task::removeDependency (const std::string& uuid) recalc_urgency = true; } else - throw format (STRING_TASK_DEPEND_MISS_DEL, uuid); + throw format ("Could not delete a dependency on task {1} - not found.", uuid); } //////////////////////////////////////////////////////////////////////////////// @@ -1199,7 +1197,7 @@ void Task::removeDependency (int id) if (uuid != "" && depends.find (uuid) != std::string::npos) removeDependency (uuid); else - throw format (STRING_TASK_DEPEND_MISS_DEL, id); + throw format ("Could not delete a dependency on task {1} - not found.", id); } //////////////////////////////////////////////////////////////////////////////// @@ -1447,7 +1445,7 @@ void Task::substitute ( done = true; if (++counter > APPROACHING_INFINITY) - throw format (STRING_INFINITE_LOOP, APPROACHING_INFINITY); + throw format ("Terminated substitution because more than {1} changes were made - infinite loop protection.", APPROACHING_INFINITY); } if (!done) @@ -1470,7 +1468,7 @@ void Task::substitute ( done = true; if (++counter > APPROACHING_INFINITY) - throw format (STRING_INFINITE_LOOP, APPROACHING_INFINITY); + throw format ("Terminated substitution because more than {1} changes were made - infinite loop protection.", APPROACHING_INFINITY); } } } @@ -1656,11 +1654,11 @@ void Task::validate (bool applyDefault /* = true */) if (! has ("description")) throw std::string ("A task must have a description."); else if (get ("description") == "") - throw std::string (STRING_TASK_VALID_BLANK); + throw std::string ("Cannot add a task that is blank."); // Cannot have a recur frequency with no due date - when would it recur? if (has ("recur") && (! has ("due") || get ("due") == "")) - throw std::string (STRING_TASK_VALID_REC_DUE); + throw std::string ("A recurring task must also have a 'due' date."); // Recur durations must be valid. if (has ("recur")) @@ -1689,7 +1687,7 @@ void Task::validate_before (const std::string& left, const std::string& right) // if date is zero, then it is being removed (e.g. "due: wait:1day") if (date_left > date_right && date_right.toEpoch () != 0) - context.footnote (format (STRING_TASK_VALID_BEFORE, left, right)); + context.footnote (format ("Warning: You have specified that the '{1}' date is after the '{2}' date.", left, right)); } #endif } @@ -2122,7 +2120,7 @@ void Task::modify (modType type, bool text_required /* = false */) } else - throw format (STRING_TASK_INVALID_COL_TYPE, column->type (), name); + throw format ("Unrecognized column type '{1}' for column '{2}'", column->type (), name); } } diff --git a/src/l10n/deu-DEU.h b/src/l10n/deu-DEU.h index d754bb899..2b1a3466b 100644 --- a/src/l10n/deu-DEU.h +++ b/src/l10n/deu-DEU.h @@ -31,23 +31,8 @@ #define STRING_FEEDBACK_NO_TASKS "Keine Aufgaben." #define STRING_FEEDBACK_TASKS_PLURAL "({1} Aufgaben)" #define STRING_FEEDBACK_TASKS_SINGLE "(1 Aufgabe)" -#define STRING_TASK_DEPEND_CIRCULAR "Verbotene zyklische Abhängigkeit erkannt." -#define STRING_TASK_DEPEND_DUP "Aufgabe {1} hängt bereits von Aufgabe {2} ab." -#define STRING_TASK_DEPEND_ITSELF "Eine Aufgabe kann nicht von sich selbst abhängen." -#define STRING_TASK_DEPEND_MISS_CREA "Konnte keine Abhängigkeit von Aufgabe {1} erstellen - Aufgabe nicht gefunden." -#define STRING_TASK_DEPEND_MISS_DEL "Konnte keine Abhängigkeit zu Aufgabe {1} löschen - nicht gefunden." -#define STRING_TASK_INVALID_COL_TYPE "Nicht erkannter Typ '{1}' für Spalte '{2}'" -#define STRING_TASK_NO_DESC "Kommentar fehlt Beschreibung: {1}" -#define STRING_TASK_NO_ENTRY "Kommentar fehlt Erfassungsdatum: {1}" -#define STRING_TASK_NO_FF1 "Taskwarrior unterstützt Datei-Format 1 nicht mehr, welches ursprünglich zwischen dem 27. November 2006 und 31. Dezember 2007 eingesetzt wurde." -#define STRING_TASK_NO_FF2 "Taskwarrior unterstützt Datei-Format 2 nicht mehr, welches ursprünglich zwischen dem 1. Januar 2008 und 12. April 2009 eingesetzt wurde." -#define STRING_TASK_NO_FF3 "Taskwarrior unterstützt Datei-Format 3 nicht mehr, welches ursprünglich zwischen dem 23. März 2009 und 16. Mai 2009 eingesetzt wurde." -#define STRING_TASK_PARSE_UNREC_FF "Nicht erkanntes taskwarrior-Dateiformat." #define STRING_TASK_SAFETY_ALLOW "Kein Filter angegeben, und durch den konfigurierten 'allow.empty.filter'-Wert wurde keine Aktion durchgeführt." #define STRING_TASK_SAFETY_FAIL "Befehl an Ausführung gehindert." #define STRING_TASK_SAFETY_VALVE "This command has no filter, and will modify all (including completed and deleted) tasks. Are you sure?" -#define STRING_TASK_VALID_BEFORE "Warnung: Das '{1}'-Datum ist nach dem '{2}'-Datum." -#define STRING_TASK_VALID_BLANK "Leere Aufgaben können nicht angelegt werden." -#define STRING_TASK_VALID_REC_DUE "Wiederholende Aufgaben müssen eine Fälligkeit besitzen." #endif diff --git a/src/l10n/eng-USA.h b/src/l10n/eng-USA.h index b3a7ad65f..a87d7ed34 100644 --- a/src/l10n/eng-USA.h +++ b/src/l10n/eng-USA.h @@ -31,23 +31,8 @@ #define STRING_FEEDBACK_NO_TASKS "No tasks." #define STRING_FEEDBACK_TASKS_PLURAL "({1} tasks)" #define STRING_FEEDBACK_TASKS_SINGLE "(1 task)" -#define STRING_TASK_DEPEND_CIRCULAR "Circular dependency detected and disallowed." -#define STRING_TASK_DEPEND_DUP "Task {1} already depends on task {2}." -#define STRING_TASK_DEPEND_ITSELF "A task cannot be dependent on itself." -#define STRING_TASK_DEPEND_MISS_CREA "Could not create a dependency on task {1} - not found." -#define STRING_TASK_DEPEND_MISS_DEL "Could not delete a dependency on task {1} - not found." -#define STRING_TASK_INVALID_COL_TYPE "Unrecognized column type '{1}' for column '{2}'" -#define STRING_TASK_NO_DESC "Annotation is missing a description: {1}" -#define STRING_TASK_NO_ENTRY "Annotation is missing an entry date: {1}" -#define STRING_TASK_NO_FF1 "Taskwarrior no longer supports file format 1, originally used between 27 November 2006 and 31 December 2007." -#define STRING_TASK_NO_FF2 "Taskwarrior no longer supports file format 2, originally used between 1 January 2008 and 12 April 2009." -#define STRING_TASK_NO_FF3 "Taskwarrior no longer supports file format 3, originally used between 23 March 2009 and 16 May 2009." -#define STRING_TASK_PARSE_UNREC_FF "Unrecognized Taskwarrior file format or blank line in data." #define STRING_TASK_SAFETY_ALLOW "You did not specify a filter, and with the 'allow.empty.filter' value, no action is taken." #define STRING_TASK_SAFETY_FAIL "Command prevented from running." #define STRING_TASK_SAFETY_VALVE "This command has no filter, and will modify all (including completed and deleted) tasks. Are you sure?" -#define STRING_TASK_VALID_BEFORE "Warning: You have specified that the '{1}' date is after the '{2}' date." -#define STRING_TASK_VALID_BLANK "Cannot add a task that is blank." -#define STRING_TASK_VALID_REC_DUE "A recurring task must also have a 'due' date." #endif diff --git a/src/l10n/epo-RUS.h b/src/l10n/epo-RUS.h index 5b4765997..4609a858e 100644 --- a/src/l10n/epo-RUS.h +++ b/src/l10n/epo-RUS.h @@ -31,23 +31,8 @@ #define STRING_FEEDBACK_NO_TASKS "Nenia tasko." #define STRING_FEEDBACK_TASKS_PLURAL "({1} taskoj)" #define STRING_FEEDBACK_TASKS_SINGLE "(1 tasko)" -#define STRING_TASK_DEPEND_CIRCULAR "Detektis kaj malpermesis ciklan dependecon." -#define STRING_TASK_DEPEND_DUP "Tasko {1} jam dependas de tasko {2}." -#define STRING_TASK_DEPEND_ITSELF "Tasko ne povas dependi de si mem." -#define STRING_TASK_DEPEND_MISS_CREA "Ne povis krei dependecon de tasko {1} - netrovita." -#define STRING_TASK_DEPEND_MISS_DEL "Ne povis viŝi dependecon de tasko {1} - netrovita." -#define STRING_TASK_INVALID_COL_TYPE "Unrecognized column type '{1}' for column '{2}'" -#define STRING_TASK_NO_DESC "Komento havas mankon de priskribo: {1}" -#define STRING_TASK_NO_ENTRY "Komento havas mankon de enskrib-dato: {1}" -#define STRING_TASK_NO_FF1 "Taskwarrior ne pli subtenas dosier-aranĝon 1, kiu estis originale uzata inter la 27-a de novembro 2006 kaj la 31-a de decembro 2007." -#define STRING_TASK_NO_FF2 "Taskwarrior ne pli subtenas dosier-aranĝon 2, kiu estis originale uzata inter la 1-a de januaro 2008 kaj la 12-a de aprilo 2009." -#define STRING_TASK_NO_FF3 "Taskwarrior no longer supports file format 3, originally used between 23 March 2009 and 16 May 2009." -#define STRING_TASK_PARSE_UNREC_FF "Ne povis rekoni taskan dosier-aranĝon." #define STRING_TASK_SAFETY_ALLOW "Vi ne specifis filtrilon. Laŭ la valoro 'allow.empty.filter', ne faros nenion." #define STRING_TASK_SAFETY_FAIL "Antaŭmalebligis komandon." #define STRING_TASK_SAFETY_VALVE "This command has no filter, and will modify all (including completed and deleted) tasks. Are you sure?" -#define STRING_TASK_VALID_BEFORE "Averto: Vi specifis daton '{1}' post dato '{2}'." -#define STRING_TASK_VALID_BLANK "Ne povas krei blankan taskon." -#define STRING_TASK_VALID_REC_DUE "Reokazanta tasko devas ankaŭ havi daton 'due'." #endif diff --git a/src/l10n/esp-ESP.h b/src/l10n/esp-ESP.h index 754602f7d..a00fb7edf 100644 --- a/src/l10n/esp-ESP.h +++ b/src/l10n/esp-ESP.h @@ -31,23 +31,8 @@ #define STRING_FEEDBACK_NO_TASKS "Ninguna tarea." #define STRING_FEEDBACK_TASKS_PLURAL "({1} tareas)" #define STRING_FEEDBACK_TASKS_SINGLE "(1 tarea)" -#define STRING_TASK_DEPEND_CIRCULAR "Dependencia circular detectada y anulada." -#define STRING_TASK_DEPEND_DUP "La tarea {1} ya depende de la tarea {2}." -#define STRING_TASK_DEPEND_ITSELF "Una tarea no puede depender de sí misma." -#define STRING_TASK_DEPEND_MISS_CREA "No se pudo crear una dependencia de la tarea {1} - no encontrada." -#define STRING_TASK_DEPEND_MISS_DEL "No se pudo eliminar una dependencia de la tarea {1} - no encontrada." -#define STRING_TASK_INVALID_COL_TYPE "Tipo de columna no reconocido '{1}' para la columna '{2}'" -#define STRING_TASK_NO_DESC "La anotación carece de descripción: {1}" -#define STRING_TASK_NO_ENTRY "La anotación carece de fecha de entrada: {1}" -#define STRING_TASK_NO_FF1 "Taskwarrior ya no admite el formato de archivo 1, usado originalmente entre el 27 de noviembre de 2006 y el 31 de diciembre de 2007." -#define STRING_TASK_NO_FF2 "Taskwarrior ya no admite el formato de archivo 2, usado originalmente entre el 1 de enero de 2008 y el 12 de abril de 2009." -#define STRING_TASK_NO_FF3 "Taskwarrior ya no admite el formato de archivo 3, usado originalmente entre el 23 de marzo de 2009 y el 16 de mayo de 2009." -#define STRING_TASK_PARSE_UNREC_FF "Formato de archivo taskwarrior no reconocido." #define STRING_TASK_SAFETY_ALLOW "No especificó un filtro, y con el valor de 'allow.empty.filter', no se toma ninguna acción." #define STRING_TASK_SAFETY_FAIL "Se impidió la ejecución del comando." #define STRING_TASK_SAFETY_VALVE "This command has no filter, and will modify all (including completed and deleted) tasks. Are you sure?" -#define STRING_TASK_VALID_BEFORE "Advertencia: ha especificado que la fecha '{1}' es después de la fecha '{2}'." -#define STRING_TASK_VALID_BLANK "No se puede añadir una tarea que está en blanco." -#define STRING_TASK_VALID_REC_DUE "Una tarea recurrente debe tener también una fecha de vencimiento." #endif diff --git a/src/l10n/fra-FRA.h b/src/l10n/fra-FRA.h index e8f5e6da7..a87d7ed34 100644 --- a/src/l10n/fra-FRA.h +++ b/src/l10n/fra-FRA.h @@ -31,23 +31,8 @@ #define STRING_FEEDBACK_NO_TASKS "No tasks." #define STRING_FEEDBACK_TASKS_PLURAL "({1} tasks)" #define STRING_FEEDBACK_TASKS_SINGLE "(1 task)" -#define STRING_TASK_DEPEND_CIRCULAR "Circular dependency detected and disallowed." -#define STRING_TASK_DEPEND_DUP "La tâche {1} dépend déjà de la tâche {2}." -#define STRING_TASK_DEPEND_ITSELF "A task cannot be dependent on itself." -#define STRING_TASK_DEPEND_MISS_CREA "Could not create a dependency on task {1} - not found." -#define STRING_TASK_DEPEND_MISS_DEL "Could not delete a dependency on task {1} - not found." -#define STRING_TASK_INVALID_COL_TYPE "Unrecognized column type '{1}' for column '{2}'" -#define STRING_TASK_NO_DESC "Annotation is missing a description: {1}" -#define STRING_TASK_NO_ENTRY "Annotation is missing an entry date: {1}" -#define STRING_TASK_NO_FF1 "Taskwarrior no longer supports file format 1, originally used between 27 November 2006 and 31 December 2007." -#define STRING_TASK_NO_FF2 "Taskwarrior no longer supports file format 2, originally used between 1 January 2008 and 12 April 2009." -#define STRING_TASK_NO_FF3 "Taskwarrior no longer supports file format 3, originally used between 23 March 2009 and 16 May 2009." -#define STRING_TASK_PARSE_UNREC_FF "Unrecognized Taskwarrior file format or blank line in data." #define STRING_TASK_SAFETY_ALLOW "You did not specify a filter, and with the 'allow.empty.filter' value, no action is taken." #define STRING_TASK_SAFETY_FAIL "Command prevented from running." #define STRING_TASK_SAFETY_VALVE "This command has no filter, and will modify all (including completed and deleted) tasks. Are you sure?" -#define STRING_TASK_VALID_BEFORE "Warning: You have specified that the '{1}' date is after the '{2}' date." -#define STRING_TASK_VALID_BLANK "Cannot add a task that is blank." -#define STRING_TASK_VALID_REC_DUE "A recurring task must also have a 'due' date." #endif diff --git a/src/l10n/ita-ITA.h b/src/l10n/ita-ITA.h index fd835ca0f..7aebab6bb 100644 --- a/src/l10n/ita-ITA.h +++ b/src/l10n/ita-ITA.h @@ -31,23 +31,8 @@ #define STRING_FEEDBACK_NO_TASKS "Nessun task." #define STRING_FEEDBACK_TASKS_PLURAL "({1} task)" #define STRING_FEEDBACK_TASKS_SINGLE "(1 task)" -#define STRING_TASK_DEPEND_CIRCULAR "Dipendenza circolare riscontrata ed evitata." -#define STRING_TASK_DEPEND_DUP "Task {1} già dipende da {2}." -#define STRING_TASK_DEPEND_ITSELF "Un task non può dipendere da sè stesso." -#define STRING_TASK_DEPEND_MISS_CREA "Impossibile creare la dipendenza dal task {1} - non trovato." -#define STRING_TASK_DEPEND_MISS_DEL "Impossibile cancellare la dipendenza dal task {1} - non trovato." -#define STRING_TASK_INVALID_COL_TYPE "Unrecognized column type '{1}' for column '{2}'" -#define STRING_TASK_NO_DESC "Annotazione senza descrizione: {1}" -#define STRING_TASK_NO_ENTRY "Annotazione senza data di immissione: {1}" -#define STRING_TASK_NO_FF1 "Taskwarrior non supporta più il formato di file 1, usato tra il 27 Novembre 2006 e il 31 Dicembre 2007." -#define STRING_TASK_NO_FF2 "Taskwarrior no longer supports file format 2, originally used between 1 January 2008 and 12 April 2009." -#define STRING_TASK_NO_FF3 "Taskwarrior no longer supports file format 3, originally used between 23 March 2009 and 16 May 2009." -#define STRING_TASK_PARSE_UNREC_FF "Formato di file non riconosciuto." #define STRING_TASK_SAFETY_ALLOW "You did not specify a filter, and with the 'allow.empty.filter' value, no action is taken." #define STRING_TASK_SAFETY_FAIL "Prevenuta l'esecuzione del comando." #define STRING_TASK_SAFETY_VALVE "This command has no filter, and will modify all (including completed and deleted) tasks. Are you sure?" -#define STRING_TASK_VALID_BEFORE "Warning: data '{1}' con valore successivo alla data '{2}'." -#define STRING_TASK_VALID_BLANK "Impossibile aggiungere un task vuoto." -#define STRING_TASK_VALID_REC_DUE "Un task periodico deve avere una data di scadenza." #endif diff --git a/src/l10n/jpn-JPN.h b/src/l10n/jpn-JPN.h index eb9026c38..412bfe02a 100644 --- a/src/l10n/jpn-JPN.h +++ b/src/l10n/jpn-JPN.h @@ -31,23 +31,8 @@ #define STRING_FEEDBACK_NO_TASKS "タスクがない。" #define STRING_FEEDBACK_TASKS_PLURAL "({1} タスク)" #define STRING_FEEDBACK_TASKS_SINGLE "(1 タスク)" -#define STRING_TASK_DEPEND_CIRCULAR "Circular dependency detected and disallowed." -#define STRING_TASK_DEPEND_DUP "Task {1} already depends on task {2}." -#define STRING_TASK_DEPEND_ITSELF "A task cannot be dependent on itself." -#define STRING_TASK_DEPEND_MISS_CREA "Could not create a dependency on task {1} - not found." -#define STRING_TASK_DEPEND_MISS_DEL "Could not delete a dependency on task {1} - not found." -#define STRING_TASK_INVALID_COL_TYPE "Unrecognized column type '{1}' for column '{2}'" -#define STRING_TASK_NO_DESC "Annotation is missing a description: {1}" -#define STRING_TASK_NO_ENTRY "Annotation is missing an entry date: {1}" -#define STRING_TASK_NO_FF1 "Taskwarrior no longer supports file format 1, originally used between 27 November 2006 and 31 December 2007." -#define STRING_TASK_NO_FF2 "Taskwarrior no longer supports file format 2, originally used between 1 January 2008 and 12 April 2009." -#define STRING_TASK_NO_FF3 "Taskwarrior no longer supports file format 3, originally used between 23 March 2009 and 16 May 2009." -#define STRING_TASK_PARSE_UNREC_FF "Unrecognized Taskwarrior file format or blank line in data." #define STRING_TASK_SAFETY_ALLOW "You did not specify a filter, and with the 'allow.empty.filter' value, no action is taken." #define STRING_TASK_SAFETY_FAIL "コマンドの実行は中止された。" #define STRING_TASK_SAFETY_VALVE "This command has no filter, and will modify all (including completed and deleted) tasks. Are you sure?" -#define STRING_TASK_VALID_BEFORE "Warning: You have specified that the '{1}' date is after the '{2}' date." -#define STRING_TASK_VALID_BLANK "Cannot add a task that is blank." -#define STRING_TASK_VALID_REC_DUE "A recurring task must also have a 'due' date." #endif diff --git a/src/l10n/pol-POL.h b/src/l10n/pol-POL.h index 45e89eae7..374a1efa1 100644 --- a/src/l10n/pol-POL.h +++ b/src/l10n/pol-POL.h @@ -31,23 +31,8 @@ #define STRING_FEEDBACK_NO_TASKS "Brak zadań." #define STRING_FEEDBACK_TASKS_PLURAL "({1} zadania)" #define STRING_FEEDBACK_TASKS_SINGLE "(1 zadanie)" -#define STRING_TASK_DEPEND_CIRCULAR "Wykryto i nie dopuszczono do zależności cyklicznej." -#define STRING_TASK_DEPEND_DUP "Zadanie {1} już jest zależne od zadania {2}." -#define STRING_TASK_DEPEND_ITSELF "Zadanie nie może zależeć od samego siebie." -#define STRING_TASK_DEPEND_MISS_CREA "Nie można dodać zależności dla zadania {1} - nie znaleziono." -#define STRING_TASK_DEPEND_MISS_DEL "Nie można usunąć zależności dla zadania {1} - nie znaleziono." -#define STRING_TASK_INVALID_COL_TYPE "Nierozpoznany typ kolumny '{1}' dla kolumny '{2}'" -#define STRING_TASK_NO_DESC "Komentarz nie posiada treści: {1}" -#define STRING_TASK_NO_ENTRY "Komentarz nie posiada daty utworzenia: {1}" -#define STRING_TASK_NO_FF1 "Taskwarrior nie wspiera więcej formatu plików 1, wcześniej używanego pomiędzy 27 Listopada 2006 i 31 Grudnia 2007." -#define STRING_TASK_NO_FF2 "Taskwarrior nie wspiera więcej formatu plików 2, wcześniej używanego pomiędzy 1 Stycznia 2008 i 12 Kwietnia 2009." -#define STRING_TASK_NO_FF3 "Taskwarrior nie wspiera więcej formatu plików 3, wcześniej używanego pomiędzy 23 Marca 2009 i 16 Maja 2009." -#define STRING_TASK_PARSE_UNREC_FF "Nierozpoznany format pliku programu taskwarrior." #define STRING_TASK_SAFETY_ALLOW "Brak filtra, z aktywną flagą 'allow.empty.filter', nie podjęto akcji." #define STRING_TASK_SAFETY_FAIL "Niedopuszczono do wykonania polecenia." #define STRING_TASK_SAFETY_VALVE "This command has no filter, and will modify all (including completed and deleted) tasks. Are you sure?" -#define STRING_TASK_VALID_BEFORE "Uwaga: podałeś datę '{1}' jako datę po '{2}'." -#define STRING_TASK_VALID_BLANK "Nie można dodać pustego zadania." -#define STRING_TASK_VALID_REC_DUE "Zadanie cykliczne musi posiadać datę zakończenia." #endif diff --git a/src/l10n/por-PRT.h b/src/l10n/por-PRT.h index f79569aa6..627a1cba5 100644 --- a/src/l10n/por-PRT.h +++ b/src/l10n/por-PRT.h @@ -31,23 +31,8 @@ #define STRING_FEEDBACK_NO_TASKS "Nenhuma tarefa." #define STRING_FEEDBACK_TASKS_PLURAL "({1} tarefas)" #define STRING_FEEDBACK_TASKS_SINGLE "(1 tarefa)" -#define STRING_TASK_DEPEND_CIRCULAR "Dependência circular detetada e não permitida." -#define STRING_TASK_DEPEND_DUP "Tarefa {1} já depende da tarefa {2}." -#define STRING_TASK_DEPEND_ITSELF "Uma tarefa não pode depender dela própria." -#define STRING_TASK_DEPEND_MISS_CREA "Não foi possível criar a dependência da tarefa {1} - esta não existe." -#define STRING_TASK_DEPEND_MISS_DEL "Não foi possível eliminar a dependência da tarefa {1} - esta não existe." -#define STRING_TASK_INVALID_COL_TYPE "Unrecognized column type '{1}' for column '{2}'" -#define STRING_TASK_NO_DESC "Descrição da anotação em falta: {1}" -#define STRING_TASK_NO_ENTRY "Data de entrada da anotação em falta: {1}" -#define STRING_TASK_NO_FF1 "Taskwarrior já não suporta o formato 1, originalmente usado entre 27-Novembro-2006 e 31-Dezembro-2007." -#define STRING_TASK_NO_FF2 "Taskwarrior já não suporta o formato 2, originalmente usado entre 1-Janeiro-2008 e 12-April-2009." -#define STRING_TASK_NO_FF3 "Taskwarrior no longer supports file format 3, originally used between 23 March 2009 and 16 May 2009." -#define STRING_TASK_PARSE_UNREC_FF "Formato taskwarrior não reconhecido." #define STRING_TASK_SAFETY_ALLOW "Não especificou um filtro e com o valor de 'allow.empty.filter', nenhuma ação foi tomada." #define STRING_TASK_SAFETY_FAIL "Execução do comando abortada." #define STRING_TASK_SAFETY_VALVE "This command has no filter, and will modify all (including completed and deleted) tasks. Are you sure?" -#define STRING_TASK_VALID_BEFORE "Aviso: Especificou que a data de '{1}' é posterior à data de '{2}'." -#define STRING_TASK_VALID_BLANK "Não é possível adicionar uma tarefa em branco." -#define STRING_TASK_VALID_REC_DUE "Uma tarefa recorrente necessita de uma data de vencimento." #endif