mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
Allow translation
This commit is contained in:
parent
e5843160fe
commit
f4b5c16e1b
@ -221,6 +221,7 @@ void GameSettingsScreen::CreateViews() {
|
||||
auto dev = GetI18NCategory("Developer");
|
||||
auto ri = GetI18NCategory("RemoteISO");
|
||||
auto ps = GetI18NCategory("PostShaders");
|
||||
auto th = GetI18NCategory("Themes");
|
||||
|
||||
root_ = new AnchorLayout(new LayoutParams(FILL_PARENT, FILL_PARENT));
|
||||
|
||||
@ -884,7 +885,7 @@ void GameSettingsScreen::CreateViews() {
|
||||
backgroundChoice_->OnClick.Handle(this, &GameSettingsScreen::OnChangeBackground);
|
||||
}
|
||||
|
||||
PopupMultiChoiceDynamic *theme = systemSettings->Add(new PopupMultiChoiceDynamic(&g_Config.sThemeName, gr->T("Color Theme"), GetThemeInfoNames(), nullptr, screenManager()));
|
||||
PopupMultiChoiceDynamic *theme = systemSettings->Add(new PopupMultiChoiceDynamic(&g_Config.sThemeName, sy->T("Color Theme"), GetThemeInfoNames(), th->GetName(), screenManager()));
|
||||
theme->OnChoice.Add([=](EventParams &e) {
|
||||
UpdateTheme();
|
||||
|
||||
|
@ -1211,6 +1211,10 @@ WARNING: Android battery save mode is on = WARNING: Android battery save mode is
|
||||
WARNING: Battery save mode is on = WARNING: Battery save mode is on
|
||||
Waves = Waves
|
||||
YYYYMMDD = YYYYMMDD
|
||||
Color Theme = Color Theme
|
||||
|
||||
[Themes]
|
||||
Default = Default
|
||||
|
||||
[Upgrade]
|
||||
Details = Details
|
||||
|
Loading…
Reference in New Issue
Block a user