mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
l10n: Eliminated STRING_INVALID_MOD
This commit is contained in:
parent
e928117fb2
commit
e2d92bb2d6
11 changed files with 3 additions and 11 deletions
|
@ -2106,7 +2106,7 @@ void Task::modify (modType type, bool text_required /* = false */)
|
||||||
Column* column = context.columns[name];
|
Column* column = context.columns[name];
|
||||||
if (! column ||
|
if (! column ||
|
||||||
! column->modifiable ())
|
! 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.
|
// Delegate modification to the column object or their base classes.
|
||||||
if (name == "depends" ||
|
if (name == "depends" ||
|
||||||
|
|
|
@ -31,7 +31,8 @@
|
||||||
#include <Variant.h>
|
#include <Variant.h>
|
||||||
#include <Filter.h>
|
#include <Filter.h>
|
||||||
#include <format.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 Context context;
|
||||||
extern Task& contextTask;
|
extern Task& contextTask;
|
||||||
|
|
|
@ -473,7 +473,6 @@
|
||||||
|
|
||||||
// Errors
|
// Errors
|
||||||
// TODO Move each of these to appropriate section.
|
// 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_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_NO_FILTER "Command line filters are not supported by this command."
|
||||||
|
|
||||||
|
|
|
@ -470,7 +470,6 @@
|
||||||
|
|
||||||
// Errors
|
// Errors
|
||||||
// TODO Move each of these to appropriate section.
|
// 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_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_NO_FILTER "Command line filters are not supported by this command."
|
||||||
|
|
||||||
|
|
|
@ -473,7 +473,6 @@
|
||||||
|
|
||||||
// Errors
|
// Errors
|
||||||
// TODO Move each of these to appropriate section.
|
// 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_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_NO_FILTER "Command line filters are not supported by this command."
|
||||||
|
|
||||||
|
|
|
@ -485,7 +485,6 @@
|
||||||
|
|
||||||
// Errors
|
// Errors
|
||||||
// TODO Move each of these to appropriate section.
|
// 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_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_NO_FILTER "Los filtros de línea de comando no están soportados por este comando."
|
||||||
|
|
||||||
|
|
|
@ -495,7 +495,6 @@
|
||||||
|
|
||||||
// Errors
|
// Errors
|
||||||
// TODO Move each of these to appropriate section.
|
// 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_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_NO_FILTER "Command line filters are not supported by this command."
|
||||||
|
|
||||||
|
|
|
@ -474,7 +474,6 @@
|
||||||
|
|
||||||
// Errors
|
// Errors
|
||||||
// TODO Move each of these to appropriate section.
|
// 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_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_NO_FILTER "Command line filters are not supported by this command."
|
||||||
|
|
||||||
|
|
|
@ -475,7 +475,6 @@
|
||||||
|
|
||||||
// Errors
|
// Errors
|
||||||
// TODO Move each of these to appropriate section.
|
// 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_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_NO_FILTER "Command line filters are not supported by this command."
|
||||||
|
|
||||||
|
|
|
@ -475,7 +475,6 @@
|
||||||
|
|
||||||
// Errors
|
// Errors
|
||||||
// TODO Move each of these to appropriate section.
|
// 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_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_NO_FILTER "Command line filters are not supported by this command."
|
||||||
|
|
||||||
|
|
|
@ -475,7 +475,6 @@
|
||||||
|
|
||||||
// Errors
|
// Errors
|
||||||
// TODO Move each of these to appropriate section.
|
// 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_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_NO_FILTER "Command line filters are not supported by this command."
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue