diff --git a/src/l10n/deu-DEU.h b/src/l10n/deu-DEU.h index fb72b5d8f..86c751ec9 100644 --- a/src/l10n/deu-DEU.h +++ b/src/l10n/deu-DEU.h @@ -703,7 +703,6 @@ #define STRING_UDA_TYPE "UDAs müssen vom Typ 'string', 'date', 'duration' oder 'numeric' sein." #define STRING_UDA_COLLISION "Das UDA '{1}' hat den selben Namen wie eine eingebaute Eigenschaft, und ist daher nicht erlaubt." #define STRING_INVALID_MOD "Die '{1}'-Eigenschaft erlaubt keinen Wert '{2}'." -#define STRING_INVALID_SORT_COL "Nach Spalte '{1}' kann nicht sortiert weden." #define STRING_ERROR_DETAILS "Die Option 'calendar.details.report' muss einen einzelnen Report-Namen enthalten." #define STRING_ERROR_NO_FILTER "Command line filters are not supported by this command." #define STRING_ERROR_CONFIRM_SIGINT "Interrupted: No changes made." diff --git a/src/l10n/eng-USA.h b/src/l10n/eng-USA.h index d4b8093a3..9ccfb562a 100644 --- a/src/l10n/eng-USA.h +++ b/src/l10n/eng-USA.h @@ -701,7 +701,6 @@ #define STRING_UDA_TYPE "User defined attributes may only be of type 'string', 'date', 'duration' or 'numeric'." #define STRING_UDA_COLLISION "The UDA named '{1}' is the same as a core attribute, and is not permitted." #define STRING_INVALID_MOD "The '{1}' attribute does not allow a value of '{2}'." -#define STRING_INVALID_SORT_COL "The '{1}' column is not a valid sort field." #define STRING_ERROR_DETAILS "The setting 'calendar.details.report' must contain a single report name." #define STRING_ERROR_NO_FILTER "Command line filters are not supported by this command." #define STRING_ERROR_CONFIRM_SIGINT "Interrupted: No changes made." diff --git a/src/l10n/epo-RUS.h b/src/l10n/epo-RUS.h index 526073103..06a9f12d8 100644 --- a/src/l10n/epo-RUS.h +++ b/src/l10n/epo-RUS.h @@ -703,7 +703,6 @@ #define STRING_UDA_TYPE "La tipo de uzanto-definitaj atributoj devas esti 'string', 'date', 'duration', aŭ 'numeric'." #define STRING_UDA_COLLISION "UDA '{1}' kaj enkonstruita atributo havas la saman nomon. Tio estas malpermesita." #define STRING_INVALID_MOD "Atributo '{1}' ne permesas valoron '{2}'." -#define STRING_INVALID_SORT_COL "Kolumno '{1}' ne estas valida kampo por ordigi." #define STRING_ERROR_DETAILS "Agordo 'calendar.details.report' devas enhavi sole unu raportnomon." #define STRING_ERROR_NO_FILTER "Command line filters are not supported by this command." #define STRING_ERROR_CONFIRM_SIGINT "Interrupted: No changes made." diff --git a/src/l10n/esp-ESP.h b/src/l10n/esp-ESP.h index 071a8bf9e..e5c2db19b 100644 --- a/src/l10n/esp-ESP.h +++ b/src/l10n/esp-ESP.h @@ -715,7 +715,6 @@ #define STRING_UDA_TYPE "Los atributos definidos por el usuario solamente pueden ser de los tipos 'string', 'date', 'duration' o 'numeric'." #define STRING_UDA_COLLISION "El UDA denominado '{1}' es el mismo que un atributo del núcleo, y no está permitido." #define STRING_INVALID_MOD "El atributo '{1}' no admite un valor '{2}'." -#define STRING_INVALID_SORT_COL "La columna '{1}' no es un campo de ordenación válido." #define STRING_ERROR_DETAILS "El ajuste 'calendar.details.report' debe contener un único nombre de informe." #define STRING_ERROR_NO_FILTER "Los filtros de línea de comando no están soportados por este comando." #define STRING_ERROR_CONFIRM_SIGINT "Interrupted: No changes made." diff --git a/src/l10n/fra-FRA.h b/src/l10n/fra-FRA.h index 17bca6dfd..8e1fc6f17 100644 --- a/src/l10n/fra-FRA.h +++ b/src/l10n/fra-FRA.h @@ -705,7 +705,6 @@ #define STRING_UDA_TYPE "User defined attributes may only be of type 'string', 'date', 'duration' or 'numeric'." #define STRING_UDA_COLLISION "L'ADU nommé '{1}' est le même qu'un attribut du noyau, et ce n'est pas autorisé." #define STRING_INVALID_MOD "The '{1}' attribute does not allow a value of '{2}'." -#define STRING_INVALID_SORT_COL "The '{1}' column is not a valid sort field." #define STRING_ERROR_DETAILS "The setting 'calendar.details.report' must contain a single report name." #define STRING_ERROR_NO_FILTER "Command line filters are not supported by this command." #define STRING_ERROR_CONFIRM_SIGINT "Interrupted: No changes made." diff --git a/src/l10n/ita-ITA.h b/src/l10n/ita-ITA.h index 1b14ab5cb..a6738093c 100644 --- a/src/l10n/ita-ITA.h +++ b/src/l10n/ita-ITA.h @@ -704,7 +704,6 @@ #define STRING_UDA_TYPE "Gli User defined attribute possono solo essere di tipo 'string', 'date', 'duration' o 'numeric'." #define STRING_UDA_COLLISION "L'UDA '{1}' ha lo stesso nome di un attributo di sistema, e ciò non è permesso." #define STRING_INVALID_MOD "L'attributo '{1}' non ammette un valore pari a '{2}'." -#define STRING_INVALID_SORT_COL "La colonna '{1}' non è un campo di ordinamento valido." #define STRING_ERROR_DETAILS "The setting 'calendar.details.report' must contain a single report name." #define STRING_ERROR_NO_FILTER "Command line filters are not supported by this command." #define STRING_ERROR_CONFIRM_SIGINT "Interrupted: No changes made." diff --git a/src/l10n/jpn-JPN.h b/src/l10n/jpn-JPN.h index 3a14227fc..246dcac62 100644 --- a/src/l10n/jpn-JPN.h +++ b/src/l10n/jpn-JPN.h @@ -705,7 +705,6 @@ #define STRING_UDA_TYPE "User defined attributes may only be of type 'string', 'date', 'duration' or 'numeric'." #define STRING_UDA_COLLISION "The UDA named '{1}' is the same as a core attribute, and is not permitted." #define STRING_INVALID_MOD "The '{1}' attribute does not allow a value of '{2}'." -#define STRING_INVALID_SORT_COL "The '{1}' column is not a valid sort field." #define STRING_ERROR_DETAILS "The setting 'calendar.details.report' must contain a single report name." #define STRING_ERROR_NO_FILTER "Command line filters are not supported by this command." #define STRING_ERROR_CONFIRM_SIGINT "Interrupted: No changes made." diff --git a/src/l10n/pol-POL.h b/src/l10n/pol-POL.h index 5e99261cb..be6e281d5 100644 --- a/src/l10n/pol-POL.h +++ b/src/l10n/pol-POL.h @@ -705,7 +705,6 @@ #define STRING_UDA_TYPE "Atrybuty definiowane przez użytkownika mogą być typu 'string', 'date', 'duration' lub 'numeric'." #define STRING_UDA_COLLISION "Nazwa UDA '{1}' jest jedną z nazw atrybutów podstawowych i dlatego jest niedozwolona." #define STRING_INVALID_MOD "Atrybut '{1}' nie zezwala na wartość '{2}'." -#define STRING_INVALID_SORT_COL "Kolumna '{1}' nie jest poprawnym parametrem sortowania." #define STRING_ERROR_DETAILS "Zmienna 'calendar.details.report' musi zawierać nazwę raportu." #define STRING_ERROR_NO_FILTER "Command line filters are not supported by this command." #define STRING_ERROR_CONFIRM_SIGINT "Interrupted: No changes made." diff --git a/src/l10n/por-PRT.h b/src/l10n/por-PRT.h index e209450f9..d0c5c6261 100644 --- a/src/l10n/por-PRT.h +++ b/src/l10n/por-PRT.h @@ -705,7 +705,6 @@ #define STRING_UDA_TYPE "Atributos definidos pelo utilizador (UDAs) apenas podem ser do tipo 'texto', 'data', 'duração' ou 'numérico'." #define STRING_UDA_COLLISION "O UDA '{1}' tem o mesmo nome que um atributo interno, tal não é permitido." #define STRING_INVALID_MOD "O atributo '{1}' não permite o valor '{2}'." -#define STRING_INVALID_SORT_COL "A coluna '{1}' não pode ser ordenada." #define STRING_ERROR_DETAILS "A definição 'calendar.details.report' pode apenas indicar um nome de relatório." #define STRING_ERROR_NO_FILTER "Command line filters are not supported by this command." #define STRING_ERROR_CONFIRM_SIGINT "Interrupted: No changes made." diff --git a/src/sort.cpp b/src/sort.cpp index c673b8306..8dae4a339 100644 --- a/src/sort.cpp +++ b/src/sort.cpp @@ -34,7 +34,6 @@ #include #include #include -#include extern Context context; @@ -273,7 +272,7 @@ static bool sort_compare (int left, int right) } } else - throw format (STRING_INVALID_SORT_COL, field); + throw format ("The '{1}' column is not a valid sort field.", field); } return false;