mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
gui/nfs: fix menue strings
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
Origin commit data
------------------
Commit: f681dfa07c
Author: martii <m4rtii@gmx.de>
Date: 2013-06-28 (Fri, 28 Jun 2013)
This commit is contained in:
@@ -80,12 +80,15 @@ std::string CNFSMountGui::getEntryString(int i)
|
||||
case CFSMounter::CIFS: res = "CIFS //" + g_settings.network_nfs[i].ip + "/"; break;
|
||||
case CFSMounter::LUFS: res = "FTPS " + g_settings.network_nfs[i].ip + "/"; break;
|
||||
}
|
||||
if (g_settings.network_nfs[i].dir.empty() || g_settings.network_nfs[i].local_dir.empty() || g_settings.network_nfs[i].ip.empty())
|
||||
return "";
|
||||
return res
|
||||
+ FILESYSTEM_ENCODING_TO_UTF8(g_settings.network_nfs[i].local_dir)
|
||||
+ FILESYSTEM_ENCODING_TO_UTF8(g_settings.network_nfs[i].dir)
|
||||
+ " -> "
|
||||
+ FILESYSTEM_ENCODING_TO_UTF8(g_settings.network_nfs[i].local_dir)
|
||||
+ " auto: "
|
||||
+ g_Locale->getText(g_settings.network_nfs[i].automount ? LOCALE_MESSAGEBOX_YES : LOCALE_MESSAGEBOX_NO);
|
||||
+ " (auto: "
|
||||
+ g_Locale->getText(g_settings.network_nfs[i].automount ? LOCALE_MESSAGEBOX_YES : LOCALE_MESSAGEBOX_NO)
|
||||
+ ")";
|
||||
}
|
||||
|
||||
int CNFSMountGui::exec( CMenuTarget* parent, const std::string & actionKey )
|
||||
|
Reference in New Issue
Block a user