From bc5289453ec6c03a6e6bb501cd666b1aad9aa00e Mon Sep 17 00:00:00 2001 From: vk7js <58905135+vk7js@users.noreply.github.com> Date: Sun, 8 May 2022 21:03:36 +1000 Subject: [PATCH] Round one of adding strings to string table and wordlists. --- openrtx/include/core/voicePrompts.h | 1 - openrtx/include/ui/EnglishStrings.h | 37 +++++++++++++++++++++++++++-- openrtx/include/ui/UIStrings.h | 33 +++++++++++++++++++++++++ 3 files changed, 68 insertions(+), 3 deletions(-) diff --git a/openrtx/include/core/voicePrompts.h b/openrtx/include/core/voicePrompts.h index 5a3d9a33..62dd084d 100644 --- a/openrtx/include/core/voicePrompts.h +++ b/openrtx/include/core/voicePrompts.h @@ -111,7 +111,6 @@ PROMPT_TRANSMIT, // Transmit PROMPT_MODE, // Mode PROMPT_DMR, // D M R PROMPT_FM, // F M -PROMPT_M17, // M seventeen PROMPT_SPACE, // space PROMPT_PERCENT, // Percent PROMPT_POINT, // POINT diff --git a/openrtx/include/ui/EnglishStrings.h b/openrtx/include/ui/EnglishStrings.h index 94243360..c49b0435 100644 --- a/openrtx/include/ui/EnglishStrings.h +++ b/openrtx/include/ui/EnglishStrings.h @@ -22,8 +22,41 @@ #include "ui/UIStrings.h" const stringsTable_t englishStrings = { - .languageName="English", + .languageName = "English", .off = "OFF", - .on="ON", + .on = "ON", + .banks = "Banks", + .channels = "Channels", + .contacts = "Contacts", + .gps = "GPS", + .settings = "Settings", + .backupAndRestore = "Backup & Restore", + .info = "Info", + .about = "About", + .display = "Display", + .timeAndDate = "Time & Date", + .m17 = "M17", + .defaultSettings = "Default Settings", + .brightness = "Brightness", + .contrast = "Contrast", + .timer = "Timer", + .gpsEnabled = "GPS Enabled", + .gpsSetTime = "GPS Set Time", + .UTCTimeZone = "UTC Timezone", + .backup = "Backup", + .restore = "Restore", + .batteryVoltage = "Bat. Voltage", + .batteryCharge = "Bat. Charge", + .RSSI = "RSSI", + .model = "Model", + .band = "Band", + .VHF = "VHF", + .UHF = "UHF", + .LCDType = "LCD Type", + .Niccolo = "Niccolo' IU2KIN", + .Silvano = "Silvano IU2KWO", + .Federico = "Federico IU2NUO", + .Fred = "Fred IU2NRO", + .Joseph = "Joseph VK7JS", }; #endif //EnglishStrings_h_included diff --git a/openrtx/include/ui/UIStrings.h b/openrtx/include/ui/UIStrings.h index a38f567f..bf228d9e 100644 --- a/openrtx/include/ui/UIStrings.h +++ b/openrtx/include/ui/UIStrings.h @@ -29,6 +29,39 @@ typedef struct const char* languageName; const char* off; const char* on; + const char* banks; + const char* channels; + const char* contacts; + const char* gps; + const char* settings; + const char* backupAndRestore; + const char* info; + const char* about; + const char* display; + const char* timeAndDate; + const char* m17; + const char* defaultSettings; + const char* brightness; + const char* contrast; + const char* timer; + const char* gpsEnabled; + const char* gpsSetTime; + const char* UTCTimeZone; + const char* backup; + const char* restore; + const char* batteryVoltage; + const char* batteryCharge; + const char* RSSI; + const char* model; + const char* band; + const char* VHF; + const char* UHF; + const char* LCDType; + const char* Niccolo; + const char* Silvano; + const char* Federico; + const char* Fred; + const char* Joseph; } stringsTable_t; extern const stringsTable_t languages[];