mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
activate umlauts for hd51
This commit is contained in:
@@ -247,6 +247,7 @@ void CLCD::showServicename(std::string name, const int num, bool)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if (!g_info.hw_caps->display_can_umlauts)
|
||||||
replace_umlauts(servicename);
|
replace_umlauts(servicename);
|
||||||
strncpy(display_text, servicename.c_str(), sizeof(display_text) - 1);
|
strncpy(display_text, servicename.c_str(), sizeof(display_text) - 1);
|
||||||
display_text[sizeof(display_text) - 1] = '\0';
|
display_text[sizeof(display_text) - 1] = '\0';
|
||||||
@@ -430,6 +431,7 @@ void CLCD::showMenuText(const int, const char *text, const int, const bool)
|
|||||||
if (mode != MODE_MENU_UTF8)
|
if (mode != MODE_MENU_UTF8)
|
||||||
return;
|
return;
|
||||||
std::string tmp = text;
|
std::string tmp = text;
|
||||||
|
if (!g_info.hw_caps->display_can_umlauts)
|
||||||
replace_umlauts(tmp);
|
replace_umlauts(tmp);
|
||||||
ShowText(tmp.c_str());
|
ShowText(tmp.c_str());
|
||||||
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
|
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
|
||||||
@@ -442,6 +444,7 @@ void CLCD::showAudioTrack(const std::string &, const std::string & title, const
|
|||||||
if (mode != MODE_AUDIO)
|
if (mode != MODE_AUDIO)
|
||||||
return;
|
return;
|
||||||
std::string tmp = title;
|
std::string tmp = title;
|
||||||
|
if (!g_info.hw_caps->display_can_umlauts)
|
||||||
replace_umlauts(tmp);
|
replace_umlauts(tmp);
|
||||||
ShowText(tmp.c_str());
|
ShowText(tmp.c_str());
|
||||||
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
|
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
|
||||||
|
Reference in New Issue
Block a user