1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Tomer Shalev 2009-11-15 21:39:39 +00:00
parent ca39b27dd4
commit ec0f4b4044
49 changed files with 159 additions and 66 deletions

View file

@ -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++)
{