l10n: Eliminated STRING_INVALID_MOD

This commit is contained in:
Paul Beckingham 2018-01-20 14:30:03 -05:00
parent e928117fb2
commit e2d92bb2d6
11 changed files with 3 additions and 11 deletions

View file

@ -2106,7 +2106,7 @@ void Task::modify (modType type, bool text_required /* = false */)
Column* column = context.columns[name];
if (! column ||
! column->modifiable ())
throw format (STRING_INVALID_MOD, name, value);
throw format ("The '{1}' attribute does not allow a value of '{2}'.", name, value);
// Delegate modification to the column object or their base classes.
if (name == "depends" ||

View file

@ -31,7 +31,8 @@
#include <Variant.h>
#include <Filter.h>
#include <format.h>
#include <i18n.h>
#define STRING_INVALID_MOD "The '{1}' attribute does not allow a value of '{2}'."
extern Context context;
extern Task& contextTask;

View file

@ -473,7 +473,6 @@
// Errors
// TODO Move each of these to appropriate section.
#define STRING_INVALID_MOD "Die '{1}'-Eigenschaft erlaubt keinen Wert '{2}'."
#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."

View file

@ -470,7 +470,6 @@
// Errors
// TODO Move each of these to appropriate section.
#define STRING_INVALID_MOD "The '{1}' attribute does not allow a value of '{2}'."
#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."

View file

@ -473,7 +473,6 @@
// Errors
// TODO Move each of these to appropriate section.
#define STRING_INVALID_MOD "Atributo '{1}' ne permesas valoron '{2}'."
#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."

View file

@ -485,7 +485,6 @@
// Errors
// TODO Move each of these to appropriate section.
#define STRING_INVALID_MOD "El atributo '{1}' no admite un valor '{2}'."
#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."

View file

@ -495,7 +495,6 @@
// Errors
// TODO Move each of these to appropriate section.
#define STRING_INVALID_MOD "The '{1}' attribute does not allow a value of '{2}'."
#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."

View file

@ -474,7 +474,6 @@
// Errors
// TODO Move each of these to appropriate section.
#define STRING_INVALID_MOD "L'attributo '{1}' non ammette un valore pari a '{2}'."
#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."

View file

@ -475,7 +475,6 @@
// Errors
// TODO Move each of these to appropriate section.
#define STRING_INVALID_MOD "The '{1}' attribute does not allow a value of '{2}'."
#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."

View file

@ -475,7 +475,6 @@
// Errors
// TODO Move each of these to appropriate section.
#define STRING_INVALID_MOD "Atrybut '{1}' nie zezwala na wartość '{2}'."
#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."

View file

@ -475,7 +475,6 @@
// Errors
// TODO Move each of these to appropriate section.
#define STRING_INVALID_MOD "O atributo '{1}' não permite o valor '{2}'."
#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."