summaryrefslogtreecommitdiff
path: root/apps/gui/skin_engine/wps_debug.c
diff options
context:
space:
mode:
authorTomer Shalev <shalev.tomer@gmail.com>2009-11-15 21:39:39 +0000
committerTomer Shalev <shalev.tomer@gmail.com>2009-11-15 21:39:39 +0000
commitec0f4b40442fc9b150ea06f11c94638e4c76acb7 (patch)
tree6aa602041fb1a12ade92e62a5b51d88b05a7a538 /apps/gui/skin_engine/wps_debug.c
parentca39b27dd498145eed13d7fab991ca6dee9786be (diff)
FS#10783 - WPS translation
- Use the %Sx skin tag in WPS to translate 'Next Track', 'Next', and 'of' (X of Y tracks) - New conditional skin token 'Sr' which checks whether the currently loaded language is an RTL language (Hebrew/Arabic). It uses lang_is_rtl(). - Added Hebrew translation git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23638 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/skin_engine/wps_debug.c')
-rw-r--r--apps/gui/skin_engine/wps_debug.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/wps_debug.c b/apps/gui/skin_engine/wps_debug.c
index 7d485f2c50..a0bf970e0d 100644
--- a/apps/gui/skin_engine/wps_debug.c
+++ b/apps/gui/skin_engine/wps_debug.c
@@ -490,6 +490,9 @@ static char *get_token_desc(struct wps_token *token, char *buf,
snprintf(buf, bufsize, "Setting value: '%s'",
settings[token->value.i].cfg_name);
break;
+ case WPS_TOKEN_LANG_IS_RTL:
+ snprintf(buf, bufsize, "lang: is_rtl?");
+ break;
default:
for(i=1; i<sizeof(tokens)/sizeof(*token); i++)
{