mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-30 15:14:18 +01:00
- made dir, save, cancel translatable and increased save and cancel btn sizes. thanks again Etheboss
This commit is contained in:
parent
1e116f27c5
commit
bc759934cb
@ -254,8 +254,8 @@ string folderName="";
|
|||||||
void CMenu::_initFolderExplorer()
|
void CMenu::_initFolderExplorer()
|
||||||
{
|
{
|
||||||
m_folderExplorerLblSelFolder = _addLabel("EXPLORER/SELECTED_FOLDER", theme.lblFont, L"", 30, 50, 560, 40, theme.lblFontColor, FTGX_JUSTIFY_LEFT);
|
m_folderExplorerLblSelFolder = _addLabel("EXPLORER/SELECTED_FOLDER", theme.lblFont, L"", 30, 50, 560, 40, theme.lblFontColor, FTGX_JUSTIFY_LEFT);
|
||||||
m_folderExplorerBtnSave = _addButton("EXPLORER/SAVE_BTN", theme.btnFont, L"Save", 530, 40, 80, 40, theme.btnFontColor);
|
m_folderExplorerBtnSave = _addButton("EXPLORER/SAVE_BTN", theme.btnFont, L"Save", 520, 40, 100, 40, theme.btnFontColor);
|
||||||
m_folderExplorerBtnCancel = _addButton("EXPLORER/CANCEL_BTN", theme.btnFont, L"Cancel", 530, 90, 80, 40, theme.btnFontColor);
|
m_folderExplorerBtnCancel = _addButton("EXPLORER/CANCEL_BTN", theme.btnFont, L"Cancel", 520, 90, 100, 40, theme.btnFontColor);
|
||||||
|
|
||||||
_hideFolderExplorer(true);
|
_hideFolderExplorer(true);
|
||||||
_textFolderExplorer();
|
_textFolderExplorer();
|
||||||
@ -294,10 +294,12 @@ void CMenu::_showFolderExplorer(void)
|
|||||||
|
|
||||||
void CMenu::_textFolderExplorer(void)
|
void CMenu::_textFolderExplorer(void)
|
||||||
{
|
{
|
||||||
|
m_btnMgr.setText(m_folderExplorerBtnSave, _t("cfgne34", L"Save"));
|
||||||
|
m_btnMgr.setText(m_folderExplorerBtnCancel, _t("cfgne35", L"Cancel"));
|
||||||
for(u8 i = 0; i < 8; ++i)
|
for(u8 i = 0; i < 8; ++i)
|
||||||
m_btnMgr.setText(entries[i], L" ");
|
m_btnMgr.setText(entries[i], L" ");
|
||||||
m_btnMgr.setText(entries[1], L". . .");
|
m_btnMgr.setText(entries[1], L". . .");
|
||||||
m_btnMgr.setText(m_folderExplorerLblSelFolder, wfmt(L"Dir = %.32s", folderName.c_str()));
|
m_btnMgr.setText(m_folderExplorerLblSelFolder, wfmt(_fmt("cfgne36",L"Dir = %.32s"), folderName.c_str()));
|
||||||
}
|
}
|
||||||
|
|
||||||
void CMenu::_refreshFolderExplorer(s8 direction)
|
void CMenu::_refreshFolderExplorer(s8 direction)
|
||||||
@ -379,12 +381,7 @@ string CMenu::_FolderExplorer(void)
|
|||||||
{
|
{
|
||||||
//only when save is clicked do we set path to dir
|
//only when save is clicked do we set path to dir
|
||||||
if(dir[0] != '\0')
|
if(dir[0] != '\0')
|
||||||
{
|
|
||||||
path = dir;
|
path = dir;
|
||||||
//check to make sure it's not just device+partition
|
|
||||||
//if(path.find_first_of("/") == path.find_last_of("/"))
|
|
||||||
// path = "";
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
else if(m_btnMgr.selected(m_folderExplorerBtnCancel))
|
else if(m_btnMgr.selected(m_folderExplorerBtnCancel))
|
||||||
|
@ -135,6 +135,9 @@ cfgne30=Flashing save files finished!
|
|||||||
cfgne31=Select Partition
|
cfgne31=Select Partition
|
||||||
cfgne32=Change Nand
|
cfgne32=Change Nand
|
||||||
cfgne33=Change Saves Nand
|
cfgne33=Change Saves Nand
|
||||||
|
cfgne34=Save
|
||||||
|
cfgne35=Cancel
|
||||||
|
cfgne36=Dir = %.32s
|
||||||
cfgp1=Game Partition
|
cfgp1=Game Partition
|
||||||
cfgp3=Init network on boot
|
cfgp3=Init network on boot
|
||||||
cfgpl1=Select Plugins
|
cfgpl1=Select Plugins
|
||||||
|
Loading…
Reference in New Issue
Block a user