Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: .lang files
From: Uwe Freese (mail_at_uwe-freese.de)
Date: 2002-09-16


Hello Daniel,

Daniel Stenberg wrote on Monday, September 16, 2002, 11:02:23 AM:

DS> ---- snip ----
DS> id: LANG_LOADING
DS> desc: the text popping up when a playlist is loading
DS> eng: "Loading..."
DS> new: "Laddar in..."
DS> ---- snip ----

How can we insert a " into a string (I don't have a good example where
it's needed, but it could happen some day)? With a \ Escape?

"Hello \"World\""

An alternative (but not a better one, I think) is to use the whole
line after the "???: " as the siring:

new: Laddar in...

maybe with trimming spaces (but then, we cannot have a word like
" Hello World ").

PS: I find the .lang format you proposed ok.

Bye, Uwe.



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa