From 8e87f3f9691330cef1043654e049280bccbeaaa7 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 15 Jan 2018 13:59:07 -0500 Subject: [PATCH] l10n: Eliminated STRING_LEGACY_PRIORITY --- 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 --- src/legacy.cpp | 2 ++ 10 files changed, 2 insertions(+), 27 deletions(-) diff --git a/src/l10n/deu-DEU.h b/src/l10n/deu-DEU.h index 5559264fd..0b4ca9d9c 100644 --- a/src/l10n/deu-DEU.h +++ b/src/l10n/deu-DEU.h @@ -721,7 +721,4 @@ // View #define STRING_VIEW_TOO_SMALL "Dieser Report hat eine Mindestbreite von {1} und passt nicht in die Bildschirmbreite von {2}." -// Legacy -#define STRING_LEGACY_PRIORITY "Legacy attribute found. Please change '{1}' to '{2}'." - #endif diff --git a/src/l10n/eng-USA.h b/src/l10n/eng-USA.h index 164145997..c70684526 100644 --- a/src/l10n/eng-USA.h +++ b/src/l10n/eng-USA.h @@ -718,7 +718,4 @@ // View #define STRING_VIEW_TOO_SMALL "The report has a minimum width of {1} and does not fit in the available width of {2}." -// Legacy -#define STRING_LEGACY_PRIORITY "Legacy attribute found. Please change '{1}' to '{2}'." - #endif diff --git a/src/l10n/epo-RUS.h b/src/l10n/epo-RUS.h index 240cb7666..f6b0577ce 100644 --- a/src/l10n/epo-RUS.h +++ b/src/l10n/epo-RUS.h @@ -721,7 +721,4 @@ // View #define STRING_VIEW_TOO_SMALL "La raporto havas larĝecminimumon {1}, al kio ne konformas la disponebla larĝeco {2}." -// Legacy -#define STRING_LEGACY_PRIORITY "Legacy attribute found. Please change '{1}' to '{2}'." - #endif diff --git a/src/l10n/esp-ESP.h b/src/l10n/esp-ESP.h index 69f389300..05b23dee1 100644 --- a/src/l10n/esp-ESP.h +++ b/src/l10n/esp-ESP.h @@ -734,7 +734,4 @@ // View #define STRING_VIEW_TOO_SMALL "El informe tiene una anchura mínima de {1} y no cabe en la disponible, que es {2}." -// Legacy -#define STRING_LEGACY_PRIORITY "Encontrado atributo anticuado. Por favor, cambie '{1}' a '{2}'." - #endif diff --git a/src/l10n/fra-FRA.h b/src/l10n/fra-FRA.h index 6ab638be1..f9e85791f 100644 --- a/src/l10n/fra-FRA.h +++ b/src/l10n/fra-FRA.h @@ -723,7 +723,4 @@ // View #define STRING_VIEW_TOO_SMALL "The report has a minimum width of {1} and does not fit in the available width of {2}." -// Legacy -#define STRING_LEGACY_PRIORITY "Legacy attribute found. Please change '{1}' to '{2}'." - #endif diff --git a/src/l10n/ita-ITA.h b/src/l10n/ita-ITA.h index 9a80f12f5..96db758dd 100644 --- a/src/l10n/ita-ITA.h +++ b/src/l10n/ita-ITA.h @@ -722,7 +722,4 @@ // View #define STRING_VIEW_TOO_SMALL "Il report ha larghezza minima di {1} e non entra nella larghezza disponibile di {2}." -// Legacy -#define STRING_LEGACY_PRIORITY "Legacy attribute found. Please change '{1}' to '{2}'." - #endif diff --git a/src/l10n/jpn-JPN.h b/src/l10n/jpn-JPN.h index 8d4ddb591..66cefaaff 100644 --- a/src/l10n/jpn-JPN.h +++ b/src/l10n/jpn-JPN.h @@ -723,7 +723,4 @@ // View #define STRING_VIEW_TOO_SMALL "The report has a minimum width of {1} and does not fit in the available width of {2}." -// Legacy -#define STRING_LEGACY_PRIORITY "古い属性が見つかった。'{1}' を '{2}' に変更してください。" - #endif diff --git a/src/l10n/pol-POL.h b/src/l10n/pol-POL.h index 4df09a577..522a26656 100644 --- a/src/l10n/pol-POL.h +++ b/src/l10n/pol-POL.h @@ -723,7 +723,4 @@ // View #define STRING_VIEW_TOO_SMALL "Raport ma minimalną szerokość {1} i nie mieści się w dostępnej przestrzeni {2}." -// Legacy -#define STRING_LEGACY_PRIORITY "Legacy attribute found. Please change '{1}' to '{2}'." - #endif diff --git a/src/l10n/por-PRT.h b/src/l10n/por-PRT.h index eb5d22dcc..3044c9649 100644 --- a/src/l10n/por-PRT.h +++ b/src/l10n/por-PRT.h @@ -723,7 +723,4 @@ // 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}." -// Legacy -#define STRING_LEGACY_PRIORITY "Legacy attribute found. Please change '{1}' to '{2}'." - #endif diff --git a/src/legacy.cpp b/src/legacy.cpp index 5c2cc44f7..1a4b7a459 100644 --- a/src/legacy.cpp +++ b/src/legacy.cpp @@ -31,6 +31,8 @@ #include #include +#define STRING_LEGACY_PRIORITY "Legacy attribute found. Please change '{1}' to '{2}'." + extern Context context; ////////////////////////////////////////////////////////////////////////////////