From 29f3df98101fe5e881d464a982bdbdf2b68798cc Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Wed, 17 Jan 2018 21:21:44 -0500 Subject: [PATCH] l10n: Eliminated STRING_VIEW_TOO_SMALL --- src/ViewTask.cpp | 2 +- src/l10n/deu-DEU.h | 3 --- src/l10n/eng-USA.h | 3 --- src/l10n/epo-RUS.h | 3 --- src/l10n/esp-ESP.h | 3 --- src/l10n/fra-FRA.h | 3 --- src/l10n/ita-ITA.h | 3 --- src/l10n/jpn-JPN.h | 3 --- src/l10n/pol-POL.h | 3 --- src/l10n/por-PRT.h | 3 --- 10 files changed, 1 insertion(+), 28 deletions(-) diff --git a/src/ViewTask.cpp b/src/ViewTask.cpp index cb10653c7..411b6191c 100644 --- a/src/ViewTask.cpp +++ b/src/ViewTask.cpp @@ -208,7 +208,7 @@ std::string ViewTask::render (std::vector & data, std::vector & seque // Not enough for minimum. else if (overage < 0) { - context.error (format (STRING_VIEW_TOO_SMALL, sum_minimal + all_extra, _width)); + context.error (format ("The report has a minimum width of {1} and does not fit in the available width of {2}.", sum_minimal + all_extra, _width)); widths = minimal; } diff --git a/src/l10n/deu-DEU.h b/src/l10n/deu-DEU.h index e15c36f99..2d50c8d99 100644 --- a/src/l10n/deu-DEU.h +++ b/src/l10n/deu-DEU.h @@ -715,7 +715,4 @@ #define STRING_TDB2_DIRTY_EXIT "Beende mit ungeschriebenen Änderungen auf {1}" #define STRING_TDB2_UNWAIT "Un-waiting task '{1}'" -// View -#define STRING_VIEW_TOO_SMALL "Dieser Report hat eine Mindestbreite von {1} und passt nicht in die Bildschirmbreite von {2}." - #endif diff --git a/src/l10n/eng-USA.h b/src/l10n/eng-USA.h index e4eb3b903..b1abc0beb 100644 --- a/src/l10n/eng-USA.h +++ b/src/l10n/eng-USA.h @@ -712,7 +712,4 @@ #define STRING_TDB2_DIRTY_EXIT "Exiting with unwritten changes to {1}" #define STRING_TDB2_UNWAIT "Un-waiting task '{1}'" -// View -#define STRING_VIEW_TOO_SMALL "The report has a minimum width of {1} and does not fit in the available width of {2}." - #endif diff --git a/src/l10n/epo-RUS.h b/src/l10n/epo-RUS.h index aa11da527..ea1ec123a 100644 --- a/src/l10n/epo-RUS.h +++ b/src/l10n/epo-RUS.h @@ -715,7 +715,4 @@ #define STRING_TDB2_DIRTY_EXIT "Eliranta kun neskribitajn ŝanĝojn al {1}" #define STRING_TDB2_UNWAIT "Un-waiting task '{1}'" -// View -#define STRING_VIEW_TOO_SMALL "La raporto havas larĝecminimumon {1}, al kio ne konformas la disponebla larĝeco {2}." - #endif diff --git a/src/l10n/esp-ESP.h b/src/l10n/esp-ESP.h index 81d1fd91a..512450d3a 100644 --- a/src/l10n/esp-ESP.h +++ b/src/l10n/esp-ESP.h @@ -728,7 +728,4 @@ #define STRING_TDB2_DIRTY_EXIT "Saliendo con cambios sin escribir a {1}" #define STRING_TDB2_UNWAIT "Tarea no en espera '{1}'" -// View -#define STRING_VIEW_TOO_SMALL "El informe tiene una anchura mínima de {1} y no cabe en la disponible, que es {2}." - #endif diff --git a/src/l10n/fra-FRA.h b/src/l10n/fra-FRA.h index 966124905..31440fdb4 100644 --- a/src/l10n/fra-FRA.h +++ b/src/l10n/fra-FRA.h @@ -717,7 +717,4 @@ #define STRING_TDB2_DIRTY_EXIT "Exiting with unwritten changes to {1}" #define STRING_TDB2_UNWAIT "Un-waiting task '{1}'" -// View -#define STRING_VIEW_TOO_SMALL "The report has a minimum width of {1} and does not fit in the available width of {2}." - #endif diff --git a/src/l10n/ita-ITA.h b/src/l10n/ita-ITA.h index d276d1445..54bef41a8 100644 --- a/src/l10n/ita-ITA.h +++ b/src/l10n/ita-ITA.h @@ -716,7 +716,4 @@ #define STRING_TDB2_DIRTY_EXIT "Exiting with unwritten changes to {1}" #define STRING_TDB2_UNWAIT "Un-waiting task '{1}'" -// View -#define STRING_VIEW_TOO_SMALL "Il report ha larghezza minima di {1} e non entra nella larghezza disponibile di {2}." - #endif diff --git a/src/l10n/jpn-JPN.h b/src/l10n/jpn-JPN.h index a07772700..8da39f477 100644 --- a/src/l10n/jpn-JPN.h +++ b/src/l10n/jpn-JPN.h @@ -717,7 +717,4 @@ #define STRING_TDB2_DIRTY_EXIT "Exiting with unwritten changes to {1}" #define STRING_TDB2_UNWAIT "Un-waiting task '{1}'" -// View -#define STRING_VIEW_TOO_SMALL "The report has a minimum width of {1} and does not fit in the available width of {2}." - #endif diff --git a/src/l10n/pol-POL.h b/src/l10n/pol-POL.h index 65fb7942a..05e9dc643 100644 --- a/src/l10n/pol-POL.h +++ b/src/l10n/pol-POL.h @@ -717,7 +717,4 @@ #define STRING_TDB2_DIRTY_EXIT "Zamykanie z niezapisanymi zmianami w {1}" #define STRING_TDB2_UNWAIT "Un-waiting task '{1}'" -// View -#define STRING_VIEW_TOO_SMALL "Raport ma minimalną szerokość {1} i nie mieści się w dostępnej przestrzeni {2}." - #endif diff --git a/src/l10n/por-PRT.h b/src/l10n/por-PRT.h index 44425c0df..c11619d28 100644 --- a/src/l10n/por-PRT.h +++ b/src/l10n/por-PRT.h @@ -717,7 +717,4 @@ #define STRING_TDB2_DIRTY_EXIT "Saindo com modificações por gravar de {1}" #define STRING_TDB2_UNWAIT "Un-waiting task '{1}'" -// View -#define STRING_VIEW_TOO_SMALL "O relatório tem uma largura mínima de {1} e não cabe na largura disponível {2}." - #endif