From 5471ec6ccf2cd9e86e97384f08da6813b50dd869 Mon Sep 17 00:00:00 2001 From: thomasrosen Date: Mon, 5 Jul 2021 21:02:21 +0200 Subject: [PATCH] added localisation strings for all texts left --- src/locales/de.ftl | 9 +++++++++ src/locales/en.ftl | 12 ++++++++++++ src/pages/Generator.js | 26 +++++++++++++------------- 3 files changed, 34 insertions(+), 13 deletions(-) diff --git a/src/locales/de.ftl b/src/locales/de.ftl index 84c7f28..a40818e 100644 --- a/src/locales/de.ftl +++ b/src/locales/de.ftl @@ -5,6 +5,7 @@ website_title = Volt QR-Code Generator contact = Kontakt source_code = Quellcode +text_content_input_info = Geb eine URL oder einen anderen Text ein. text_content_input_placeholder = https:// … oder Text filetype_headline = Als Vektor (VSG) oder Pixel (PNG) laden @@ -21,5 +22,13 @@ blue = Blau red = Rot display_logo_headline = Logo Wassermarke +label_display_logo_yes = Ja +label_display_logo_no = Nein error_correction_level_headline = Fehlerresistenz +label_error_correction_level_low = Wenig ~7% +label_error_correction_level_medium = Mittel ~15% +label_error_correction_level_quartile = Viertel ~25% +label_error_correction_level_high = Hoch ~30% + +download_headline = Herrunterladen diff --git a/src/locales/en.ftl b/src/locales/en.ftl index 024a88b..eaad1cb 100644 --- a/src/locales/en.ftl +++ b/src/locales/en.ftl @@ -5,6 +5,7 @@ website_title = Volt QR-Code Generator contact = Contact source_code = Source Code +text_content_input_info = Enter a URL or other text. text_content_input_placeholder = https:// … or Text filetype_headline = Choose between Vector (VSG) or Pixel (PNG) Image. @@ -21,6 +22,17 @@ blue = Blue red = Red display_logo_headline = Display Logo +label_display_logo_yes = Yes +label_display_logo_no = No error_correction_level_headline = Error Resistance +label_error_correction_level_low = Low ~7% +label_error_correction_level_medium = Medium ~15% +label_error_correction_level_quartile = Quartile ~25% +label_error_correction_level_high = High ~30% + +download_headline = Download +svg_label = SVG +jpeg_label = JPEG +png_label = PNG diff --git a/src/pages/Generator.js b/src/pages/Generator.js index b536d38..0429ebb 100644 --- a/src/pages/Generator.js +++ b/src/pages/Generator.js @@ -283,11 +283,11 @@ function Generator({ getString }) { items={[ { value: 'yes', - title: 'Yes' + title: getString('label_display_logo_yes') }, { value: 'no', - title: 'No' + title: getString('label_display_logo_no') }, ]} /> @@ -303,19 +303,19 @@ function Generator({ getString }) { items={[ { value: 'L', - title: 'Low ~7%' + title: getString('label_error_correction_level_low') }, { value: 'M', - title: 'Medium ~15%' + title: getString('label_error_correction_level_medium') }, { value: 'Q', - title: 'Quartile ~25%' + title: getString('label_error_correction_level_quartile') }, { value: 'H', - title: 'High ~30%' + title: getString('label_error_correction_level_high') }, ]} /> @@ -355,7 +355,7 @@ function Generator({ getString }) {


-

Enter a URL or other text.

+