From 7a32d6ad858e4a375eb4add476b21c21a01f7ce5 Mon Sep 17 00:00:00 2001 From: dgis Date: Sun, 16 Feb 2020 23:55:09 +0100 Subject: [PATCH] Put all the string in the file strings.xml. --- app/src/main/res/values/arrays.xml | 46 ++++++++++++++--------------- app/src/main/res/values/strings.xml | 29 ++++++++++++++++-- 2 files changed, 49 insertions(+), 26 deletions(-) diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index 7ed5f23..9b6d371 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -2,9 +2,9 @@ - Black (default) - Status bar color - + @string/settings_background_fallback_color_item_0 + @string/settings_background_fallback_color_item_1 + 0 @@ -13,10 +13,10 @@ - None - Auto Rotation (default) - Auto Zoom - Fill Screen + @string/settings_auto_layout_item_0 + @string/settings_auto_layout_item_1 + @string/settings_auto_layout_item_2 + @string/settings_auto_layout_item_3 0 @@ -26,9 +26,9 @@ - Allow rotation - Portrait - Landscape (left or right following the sensor) + @string/settings_rotation_item_0 + @string/settings_rotation_item_1 + @string/settings_rotation_item_2 0 @@ -37,9 +37,9 @@ - No Overlapping LCD - Auto (Double touch) - Manual (Zoom or pan) + @string/settings_lcd_overlapping_mode_item_0 + @string/settings_lcd_overlapping_mode_item_1 + @string/settings_lcd_overlapping_mode_item_2 0 @@ -48,19 +48,19 @@ - 32kb (1 port: 2) - 128kb (1 port: 2) - 256kb (2 ports: 2,3) - 512kb (4 ports: 2 through 5) - 1mb (8 ports: 2 through 9) - 2mb (16 ports: 2 through 17) - 4mb (32 ports: 2 through 33) + @string/ram_cards_item_0 + @string/ram_cards_item_1 + @string/ram_cards_item_2 + @string/ram_cards_item_3 + @string/ram_cards_item_4 + @string/ram_cards_item_5 + @string/ram_cards_item_6 - HP82240A - HP82240B (default) - + @string/settings_printer_model_item_0 + @string/settings_printer_model_item_1 + 0 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 17944e8..68f64a5 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -64,7 +64,14 @@ Share Graphic Change Paper (Erase) - Create RAM Card + Create RAM Card + 32kb (1 port: 2) + 128kb (1 port: 2) + 256kb (2 ports: 2,3) + 512kb (4 ports: 2 through 5) + 1mb (8 ports: 2 through 9) + 2mb (16 ports: 2 through 17) + 4mb (32 ports: 2 through 33) Permission Denied For security reason, you must select the folder where are the KML and ROM files and then, reopen this file! Please, open again @@ -103,13 +110,23 @@ UI Layout Following the calculator screen ratio and the current device orientation, find the best layout compromise + None + Auto Rotation (default) + Auto Zoom + Fill Screen Rotation Allow to rotate, or force Portrait or Landscape orientation + Allow rotation + Portrait + Landscape (left or right following the sensor) Allow to pinch to zoom Overlapping LCD mode Select the overlapping LCD mode. A pan or pinch gesture will change the mode to manual. + No Overlapping LCD + Auto (Double touch) + Manual (Zoom or pan) Hide the status bar Hide the navigation bar @@ -122,7 +139,10 @@ Use KML color Use default KML transparency color of the background bitmap (if exist) Other possible colors - Else if the KML color is not used + Else if the KML color is not used + Black (default) + Status bar color + Custom color Custom color Used when selecting the \'Custom color\' in the \'Other possible colors\' @@ -135,7 +155,10 @@ Printer Simulator Printer Model - You can choose the printer model + You can choose the printer model + HP82240A + HP82240B (default) + Generic Serial Prevent Line Wrapping Prevent the calc to wrap the line in the textual printer simulator