From 946c348e5c09da1f662487f9c5594cc7d4c72b9f Mon Sep 17 00:00:00 2001 From: Purling Nayuki Date: Fri, 17 Jan 2014 00:08:37 +0800 Subject: Fix incorrect language string reference in eq_menu.c In most of the translations strings with SYSFONT in title is translated. This leads to displaying problem in (at least) graphical equalizer due to the lack of non-latin character support in the built-in font. Change-Id: I0d27a5358e4eb539d4247c84975d8501d7668836 Reviewed-on: http://gerrit.rockbox.org/727 Reviewed-by: Thomas Martitz --- apps/lang/chinese-simp.lang | 85 --------------------------------------------- apps/lang/chinese-trad.lang | 51 --------------------------- apps/lang/english.lang | 17 +++++++++ apps/menus/eq_menu.c | 2 +- 4 files changed, 18 insertions(+), 137 deletions(-) diff --git a/apps/lang/chinese-simp.lang b/apps/lang/chinese-simp.lang index e90ec510d2..a8dd2ad642 100644 --- a/apps/lang/chinese-simp.lang +++ b/apps/lang/chinese-simp.lang @@ -7746,74 +7746,6 @@ recording: "Mono" - - id: LANG_SYSFONT_EQUALIZER_EDIT_MODE - desc: in the equalizer settings menu - user: core - - *: none - swcodec: "Edit mode: %s %s" - - - *: none - swcodec: "编辑模式: %s %s" - - - *: none - swcodec: "" - - - - id: LANG_SYSFONT_EQUALIZER_BAND_CUTOFF - desc: in the equalizer settings menu - user: core - - *: none - swcodec: "Cutoff" - - - *: none - swcodec: "截止频率" - - - *: none - swcodec: "截止频率" - - - - id: LANG_SYSFONT_RECORDING_QUALITY - desc: in the recording settings - user: core - - *: none - recording_hwcodec: "Quality" - - - *: none - recording_hwcodec: "品质" - - - *: none - recording_hwcodec: "品质" - - - - id: LANG_SYSFONT_RECORDING_FREQUENCY - desc: in the recording settings - user: core - - *: none - recording: "Frequency" - - - *: none - recording: "频率" - - - *: none - recording: "频率" - - id: LANG_SYSFONT_RECORDING_SOURCE desc: in the recording settings @@ -8772,23 +8704,6 @@ archosplayer: "列表结束" - - id: LANG_SYSFONT_GAIN - desc: in the equalizer settings menu - user: core - - *: none - swcodec: "Gain" - - - *: none - swcodec: "增益" - - - *: none - swcodec: "增益" - - id: LANG_ALARM_WAKEUP_SCREEN desc: in alarm menu setting diff --git a/apps/lang/chinese-trad.lang b/apps/lang/chinese-trad.lang index a3a1958ea1..15952a6be0 100644 --- a/apps/lang/chinese-trad.lang +++ b/apps/lang/chinese-trad.lang @@ -8748,23 +8748,6 @@ archosplayer: "End of List" - - id: LANG_SYSFONT_GAIN - desc: in the equalizer settings menu - user: core - - *: none - swcodec: "Gain" - - - *: none - swcodec: "增加" - - - *: none - swcodec: "Gain" - - id: LANG_ALARM_WAKEUP_SCREEN desc: in alarm menu setting @@ -10622,23 +10605,6 @@ serial_port: "19200" - - id: LANG_SYSFONT_EQUALIZER_EDIT_MODE - desc: in the equalizer settings menu - user: core - - *: none - swcodec: "Edit mode: %s %s" - - - *: none - swcodec: "Edit mode: %s %s" - - - *: none - swcodec: "" - - id: LANG_ENABLE_SPEAKER desc: in Settings -> Sound Settings @@ -10656,23 +10622,6 @@ speaker: "使用喇叭" - - id: LANG_SYSFONT_EQUALIZER_BAND_CUTOFF - desc: in the equalizer settings menu - user: core - - *: none - swcodec: "Cutoff" - - - *: none - swcodec: "截止頻率" - - - *: none - swcodec: "截止頻率" - - id: LANG_SORT_INTERPRET_NUMBERS desc: in Settings -> File view diff --git a/apps/lang/english.lang b/apps/lang/english.lang index d7f4476be6..42bc2f36c3 100644 --- a/apps/lang/english.lang +++ b/apps/lang/english.lang @@ -13192,3 +13192,20 @@ *: "Maximum Volume Limit" + + id: LANG_SYSFONT_EQUALIZER_BAND_Q + desc: in the equalizer settings menu + user: core + + *: none + swcodec: "Q" + + + *: none + swcodec: "Q" + + + *: none + swcodec: "Q" + + diff --git a/apps/menus/eq_menu.c b/apps/menus/eq_menu.c index 63df6bee15..b9da3449a6 100644 --- a/apps/menus/eq_menu.c +++ b/apps/menus/eq_menu.c @@ -647,7 +647,7 @@ bool eq_menu_graphical(void) max = EQ_Q_MAX; snprintf(buf, sizeof(buf), str(LANG_SYSFONT_EQUALIZER_EDIT_MODE), - str(LANG_EQUALIZER_BAND_Q), ""); + str(LANG_SYSFONT_EQUALIZER_BAND_Q), ""); screens[i].putsxy(0, 0, buf); } -- cgit v1.2.3