summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/skin_engine/skin_tokens.c11
-rw-r--r--apps/lang/english.lang17
-rw-r--r--apps/lang/polski.lang17
-rw-r--r--apps/radio/radio_skin.c4
4 files changed, 49 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/skin_tokens.c b/apps/gui/skin_engine/skin_tokens.c
index 665e73a545..efe67a186e 100644
--- a/apps/gui/skin_engine/skin_tokens.c
+++ b/apps/gui/skin_engine/skin_tokens.c
@@ -475,6 +475,17 @@ const char *get_radio_token(struct wps_token *token, int preset_offset,
475 case SKIN_TOKEN_TUNER_CURFREQ: 475 case SKIN_TOKEN_TUNER_CURFREQ:
476 return format_freq_MHz(radio_current_frequency(), 476 return format_freq_MHz(radio_current_frequency(),
477 region_data->freq_step, buf, buf_size); 477 region_data->freq_step, buf, buf_size);
478#ifdef HAVE_RADIO_RSSI
479 case SKIN_TOKEN_TUNER_RSSI:
480 snprintf(buf, buf_size, "%d",tuner_get(RADIO_RSSI));
481 return buf;
482 case SKIN_TOKEN_TUNER_RSSI_MIN:
483 snprintf(buf, buf_size, "%d",tuner_get(RADIO_RSSI_MIN));
484 return buf;
485 case SKIN_TOKEN_TUNER_RSSI_MAX:
486 snprintf(buf, buf_size, "%d",tuner_get(RADIO_RSSI_MAX));
487 return buf;
488#endif
478 case SKIN_TOKEN_PRESET_NAME: 489 case SKIN_TOKEN_PRESET_NAME:
479 case SKIN_TOKEN_PRESET_FREQ: 490 case SKIN_TOKEN_PRESET_FREQ:
480 case SKIN_TOKEN_PRESET_ID: 491 case SKIN_TOKEN_PRESET_ID:
diff --git a/apps/lang/english.lang b/apps/lang/english.lang
index 903413005b..0817134976 100644
--- a/apps/lang/english.lang
+++ b/apps/lang/english.lang
@@ -12647,3 +12647,20 @@
12647 *: "Start File Browser at root" 12647 *: "Start File Browser at root"
12648 </voice> 12648 </voice>
12649</phrase> 12649</phrase>
12650<phrase>
12651 id: LANG_FM_RSSI
12652 desc: Signal strength of a received FM station
12653 user: core
12654 <source>
12655 *: none
12656 radio: "Signal strength:"
12657 </source>
12658 <dest>
12659 *: none
12660 radio: "Signal strength:"
12661 </dest>
12662 <voice>
12663 *: none
12664 radio: "Signal strength:"
12665 </voice>
12666</phrase>
diff --git a/apps/lang/polski.lang b/apps/lang/polski.lang
index 8661a2da6b..bc54d11c14 100644
--- a/apps/lang/polski.lang
+++ b/apps/lang/polski.lang
@@ -12580,3 +12580,20 @@
12580 *: "Rozpocznij Przeglądanie Plików Tutaj" 12580 *: "Rozpocznij Przeglądanie Plików Tutaj"
12581 </voice> 12581 </voice>
12582 </phrase> 12582 </phrase>
12583<phrase>
12584 id: LANG_FM_RSSI
12585 desc: Signal strength of a received FM station
12586 user: core
12587 <source>
12588 *: none
12589 radio: "Signal strength:"
12590 </source>
12591 <dest>
12592 *: none
12593 radio: "Poziom sygnału:"
12594 </dest>
12595 <voice>
12596 *: none
12597 radio: "Poziom sygnału:"
12598 </voice>
12599</phrase>
diff --git a/apps/radio/radio_skin.c b/apps/radio/radio_skin.c
index 3079693cc3..68314d62b5 100644
--- a/apps/radio/radio_skin.c
+++ b/apps/radio/radio_skin.c
@@ -27,6 +27,7 @@
27#include "skin_engine/skin_engine.h" 27#include "skin_engine/skin_engine.h"
28#include "settings.h" 28#include "settings.h"
29#include "radio.h" 29#include "radio.h"
30#include "tuner.h"
30#include "action.h" 31#include "action.h"
31#include "appevents.h" 32#include "appevents.h"
32#include "statusbar-skinned.h" 33#include "statusbar-skinned.h"
@@ -41,6 +42,9 @@ char* default_radio_skin(enum screen_type screen)
41 "%Sx(Station:) %tf MHz\n" 42 "%Sx(Station:) %tf MHz\n"
42 "%?St(force fm mono)<%Sx(Force Mono)|%?ts<%Sx(Stereo)|%Sx(Mono)>>\n" 43 "%?St(force fm mono)<%Sx(Force Mono)|%?ts<%Sx(Stereo)|%Sx(Mono)>>\n"
43 "%Sx(Mode:) %?tm<%Sx(Scan)|%Sx(Preset)>\n" 44 "%Sx(Mode:) %?tm<%Sx(Scan)|%Sx(Preset)>\n"
45#ifdef HAVE_RADIO_RSSI
46 "%Sx(Signal strength:) %tr dBuV\n"
47#endif
44#if CONFIG_CODEC != SWCODEC && !defined(SIMULATOR) 48#if CONFIG_CODEC != SWCODEC && !defined(SIMULATOR)
45 "%?Rr<%Sx(Time:) %Rh:%Rn:%Rs|%?St(prerecording time)<%pm|%Sx(Prerecord Time) %Rs>>\n" 49 "%?Rr<%Sx(Time:) %Rh:%Rn:%Rs|%?St(prerecording time)<%pm|%Sx(Prerecord Time) %Rs>>\n"
46#endif 50#endif