ui: strings: change "Frequency Offset" to "Offset"
Signed-off-by: Silvano Seva <silseva@fastwebnet.it>
This commit is contained in:
parent
f742a081d3
commit
1264882004
|
|
@ -93,7 +93,7 @@ const stringsTable_t englishStrings =
|
||||||
.usedHeap = "Used heap",
|
.usedHeap = "Used heap",
|
||||||
.broadcast = "ALL",
|
.broadcast = "ALL",
|
||||||
.radioSettings = "Radio Settings",
|
.radioSettings = "Radio Settings",
|
||||||
.frequencyOffset = "Frequency Offset",
|
.offset = "Offset",
|
||||||
.macroLatching = "Macro Latch",
|
.macroLatching = "Macro Latch",
|
||||||
.noGps = "No GPS",
|
.noGps = "No GPS",
|
||||||
.batteryIcon = "Battery Icon",
|
.batteryIcon = "Battery Icon",
|
||||||
|
|
|
||||||
|
|
@ -94,7 +94,7 @@ const stringsTable_t spanishStrings =
|
||||||
.usedHeap = "Memoria heap usada",
|
.usedHeap = "Memoria heap usada",
|
||||||
.broadcast = "TODOS",
|
.broadcast = "TODOS",
|
||||||
.radioSettings = "Ajustes de Radio",
|
.radioSettings = "Ajustes de Radio",
|
||||||
.frequencyOffset = "Offset de frecuencia",
|
.offset = "Offset",
|
||||||
.macroLatching = "Macro Latching",
|
.macroLatching = "Macro Latching",
|
||||||
.noGps = "Ningún GPS",
|
.noGps = "Ningún GPS",
|
||||||
.batteryIcon = "Icon de batteria",
|
.batteryIcon = "Icon de batteria",
|
||||||
|
|
|
||||||
|
|
@ -97,7 +97,7 @@ typedef struct
|
||||||
const char* usedHeap;
|
const char* usedHeap;
|
||||||
const char* broadcast;
|
const char* broadcast;
|
||||||
const char* radioSettings;
|
const char* radioSettings;
|
||||||
const char* frequencyOffset;
|
const char* offset;
|
||||||
const char* macroLatching;
|
const char* macroLatching;
|
||||||
const char* noGps;
|
const char* noGps;
|
||||||
const char* batteryIcon;
|
const char* batteryIcon;
|
||||||
|
|
|
||||||
|
|
@ -2208,7 +2208,7 @@ void ui_updateFSM(bool *sync_rtx)
|
||||||
#endif
|
#endif
|
||||||
// Apply new offset
|
// Apply new offset
|
||||||
state.channel.tx_frequency = state.channel.rx_frequency + ui_state.new_offset;
|
state.channel.tx_frequency = state.channel.rx_frequency + ui_state.new_offset;
|
||||||
vp_queueStringTableEntry(¤tLanguage->frequencyOffset);
|
vp_queueStringTableEntry(¤tLanguage->offset);
|
||||||
vp_queueFrequency(ui_state.new_offset);
|
vp_queueFrequency(ui_state.new_offset);
|
||||||
ui_state.edit_mode = false;
|
ui_state.edit_mode = false;
|
||||||
}
|
}
|
||||||
|
|
@ -2216,7 +2216,7 @@ void ui_updateFSM(bool *sync_rtx)
|
||||||
if(msg.keys & KEY_ESC)
|
if(msg.keys & KEY_ESC)
|
||||||
{
|
{
|
||||||
// Announce old frequency offset
|
// Announce old frequency offset
|
||||||
vp_queueStringTableEntry(¤tLanguage->frequencyOffset);
|
vp_queueStringTableEntry(¤tLanguage->offset);
|
||||||
vp_queueFrequency((int32_t)state.channel.tx_frequency - (int32_t)state.channel.rx_frequency);
|
vp_queueFrequency((int32_t)state.channel.tx_frequency - (int32_t)state.channel.rx_frequency);
|
||||||
}
|
}
|
||||||
else if(msg.keys & KEY_UP || msg.keys & KEY_DOWN ||
|
else if(msg.keys & KEY_UP || msg.keys & KEY_DOWN ||
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue