Don't introduce a new string, instead reuse LANG_FAILED.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23260 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
bb5078c5ea
commit
9351d41e5a
2 changed files with 1 additions and 15 deletions
|
@ -547,7 +547,7 @@ int ft_enter(struct tree_context* c)
|
||||||
splash(0, ID2P(LANG_WAIT));
|
splash(0, ID2P(LANG_WAIT));
|
||||||
if (lang_core_load(buf))
|
if (lang_core_load(buf))
|
||||||
{
|
{
|
||||||
splash(HZ, ID2P(LANG_LANGUAGE_LOAD_FAILED));
|
splash(HZ, ID2P(LANG_FAILED));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
set_file(buf, (char *)global_settings.lang_file,
|
set_file(buf, (char *)global_settings.lang_file,
|
||||||
|
|
|
@ -4951,20 +4951,6 @@
|
||||||
*: "New Language"
|
*: "New Language"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
|
||||||
id: LANG_LANGUAGE_LOAD_FAILED
|
|
||||||
desc: shown when a language has failed to be loaded from the dir browser
|
|
||||||
user: core
|
|
||||||
<source>
|
|
||||||
*: "Language Load Failed"
|
|
||||||
</source>
|
|
||||||
<dest>
|
|
||||||
*: "Language Load Failed"
|
|
||||||
</dest>
|
|
||||||
<voice>
|
|
||||||
*: "Language Load Failed"
|
|
||||||
</voice>
|
|
||||||
</phrase>
|
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_VOICE
|
id: LANG_VOICE
|
||||||
desc: root of voice menu
|
desc: root of voice menu
|
||||||
|
|
Loading…
Reference in a new issue