diff --git a/src/Task.cpp b/src/Task.cpp index 334af3cf4..a5633b5da 100644 --- a/src/Task.cpp +++ b/src/Task.cpp @@ -589,7 +589,7 @@ void Task::parse (const std::string& input) (pig.skip ('\n') || pig.eos ())) { if (line.length () == 0) - throw std::string (STRING_RECORD_EMPTY); + throw std::string ("Empty record in input."); Pig attLine (line); std::string name; @@ -616,13 +616,13 @@ void Task::parse (const std::string& input) std::string remainder; attLine.getRemainder (remainder); if (remainder.length ()) - throw std::string (STRING_RECORD_JUNK_AT_EOL); + throw std::string ("Unrecognized characters at end of line."); } } else if (input[0] == '{') parseJSON (input); else - throw std::string (STRING_RECORD_NOT_FF4); + throw std::string ("Record not recognized as format 4."); } catch (const std::string&) diff --git a/src/l10n/deu-DEU.h b/src/l10n/deu-DEU.h index feea38cbb..20ef37a3e 100644 --- a/src/l10n/deu-DEU.h +++ b/src/l10n/deu-DEU.h @@ -609,11 +609,6 @@ #define STRING_HELPER_PROJECT_REM "({1} of {2} tasks remaining)." #define STRING_HELPER_PROJECT_REM1 "({1} task remaining)." -// Record -#define STRING_RECORD_EMPTY "Leerer Datensatz in der Eingabe." -#define STRING_RECORD_JUNK_AT_EOL "Unerkannte Zeichen am Ende der Eingabe." -#define STRING_RECORD_NOT_FF4 "Datensatz nicht als Format 4 erkannt." - // 'show' command #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." diff --git a/src/l10n/eng-USA.h b/src/l10n/eng-USA.h index 58e43889f..8f92ce542 100644 --- a/src/l10n/eng-USA.h +++ b/src/l10n/eng-USA.h @@ -606,11 +606,6 @@ #define STRING_HELPER_PROJECT_REM "({1} of {2} tasks remaining)." #define STRING_HELPER_PROJECT_REM1 "({1} task remaining)." -// Record -#define STRING_RECORD_EMPTY "Empty record in input." -#define STRING_RECORD_JUNK_AT_EOL "Unrecognized characters at end of line." -#define STRING_RECORD_NOT_FF4 "Record not recognized as format 4." - // 'show' command #define STRING_CMD_SHOW "Shows all configuration variables or subset" #define STRING_CMD_SHOW_ARGS "You can only specify 'all' or a search string." diff --git a/src/l10n/epo-RUS.h b/src/l10n/epo-RUS.h index 6ee381df2..a92233ea4 100644 --- a/src/l10n/epo-RUS.h +++ b/src/l10n/epo-RUS.h @@ -609,11 +609,6 @@ #define STRING_HELPER_PROJECT_REM "({1} of {2} tasks remaining)." #define STRING_HELPER_PROJECT_REM1 "({1} task remaining)." -// Record -#define STRING_RECORD_EMPTY "Malplena rikordo en la inigo." -#define STRING_RECORD_JUNK_AT_EOL "Nekonataj signoj ĉe vicfino." -#define STRING_RECORD_NOT_FF4 "Rikordo ne rekonata kiel aranĝo 4." - // 'show' command #define STRING_CMD_SHOW "Montras ĉian agordan variablon, aŭ subaron" #define STRING_CMD_SHOW_ARGS "Oni sole povas specifi 'all' aŭ serĉĉenon." diff --git a/src/l10n/esp-ESP.h b/src/l10n/esp-ESP.h index 4af0a9702..cf7e6e713 100644 --- a/src/l10n/esp-ESP.h +++ b/src/l10n/esp-ESP.h @@ -621,11 +621,6 @@ #define STRING_HELPER_PROJECT_REM "({1} de {2} tareas restantes)." #define STRING_HELPER_PROJECT_REM1 "({1} tarea restante)." -// Record -#define STRING_RECORD_EMPTY "Registro vacío en la entrada." -#define STRING_RECORD_JUNK_AT_EOL "Caracteres no reconocidos al final de línea." -#define STRING_RECORD_NOT_FF4 "Registro no reconocido como formato 4." - // 'show' command #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." diff --git a/src/l10n/fra-FRA.h b/src/l10n/fra-FRA.h index 1066b1fc8..a11cde38d 100644 --- a/src/l10n/fra-FRA.h +++ b/src/l10n/fra-FRA.h @@ -611,11 +611,6 @@ #define STRING_HELPER_PROJECT_REM "({1} of {2} tasks remaining)." #define STRING_HELPER_PROJECT_REM1 "({1} task remaining)." -// Record -#define STRING_RECORD_EMPTY "Empty record in input." -#define STRING_RECORD_JUNK_AT_EOL "Unrecognized characters at end of line." -#define STRING_RECORD_NOT_FF4 "Record not recognized as format 4." - // 'show' command #define STRING_CMD_SHOW "Shows all configuration variables or subset" #define STRING_CMD_SHOW_ARGS "You can only specify 'all' or a search string." diff --git a/src/l10n/ita-ITA.h b/src/l10n/ita-ITA.h index 3f0f7e5c6..7fadd38de 100644 --- a/src/l10n/ita-ITA.h +++ b/src/l10n/ita-ITA.h @@ -610,11 +610,6 @@ #define STRING_HELPER_PROJECT_REM "({1} di {2} task rimanenti)." #define STRING_HELPER_PROJECT_REM1 "({1} task remaining)." -// Record -#define STRING_RECORD_EMPTY "Voce vuota in ingresso." -#define STRING_RECORD_JUNK_AT_EOL "Carattere non riconosciuto a fine riga." -#define STRING_RECORD_NOT_FF4 "Voce non riconosciuta come formato 4." - // 'show' command #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." diff --git a/src/l10n/jpn-JPN.h b/src/l10n/jpn-JPN.h index 82636b048..8f06d25d1 100644 --- a/src/l10n/jpn-JPN.h +++ b/src/l10n/jpn-JPN.h @@ -611,11 +611,6 @@ #define STRING_HELPER_PROJECT_REM "({1} of {2} tasks remaining)." #define STRING_HELPER_PROJECT_REM1 "({1} task remaining)." -// Record -#define STRING_RECORD_EMPTY "Empty record in input." -#define STRING_RECORD_JUNK_AT_EOL "Unrecognized characters at end of line." -#define STRING_RECORD_NOT_FF4 "Record not recognized as format 4." - // 'show' command #define STRING_CMD_SHOW "Shows all configuration variables or subset" #define STRING_CMD_SHOW_ARGS "You can only specify 'all' or a search string." diff --git a/src/l10n/pol-POL.h b/src/l10n/pol-POL.h index 9c63d5a4a..a1c504c07 100644 --- a/src/l10n/pol-POL.h +++ b/src/l10n/pol-POL.h @@ -611,11 +611,6 @@ #define STRING_HELPER_PROJECT_REM "({1} of {2} tasks remaining)." #define STRING_HELPER_PROJECT_REM1 "({1} task remaining)." -// Record -#define STRING_RECORD_EMPTY "Pusty wpis na wejściu." -#define STRING_RECORD_JUNK_AT_EOL "Nierozpoznawalny znak na koncu lini." -#define STRING_RECORD_NOT_FF4 "Wpis nie rozpoznany jako wersja 4." - // 'show' command #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." diff --git a/src/l10n/por-PRT.h b/src/l10n/por-PRT.h index f7e30db21..57d1f91e4 100644 --- a/src/l10n/por-PRT.h +++ b/src/l10n/por-PRT.h @@ -611,11 +611,6 @@ #define STRING_HELPER_PROJECT_REM "({1} of {2} tasks remaining)." #define STRING_HELPER_PROJECT_REM1 "({1} task remaining)." -// Record -#define STRING_RECORD_EMPTY "Registo vazio na entrada fornecida." -#define STRING_RECORD_JUNK_AT_EOL "Caracteres desconhecidos no fim da linha." -#define STRING_RECORD_NOT_FF4 "Registo não reconhecido como formato 4." - // 'show' command #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."