From 94227f80508f1c81a00c4cbf36aff0f5941d4523 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Fri, 21 Oct 2011 11:37:15 -0500 Subject: [PATCH] more localization for custom options lines --- Themes/default/Languages/en.ini | 6 ++++++ Themes/default/Scripts/03 ThemePrefs.lua | 15 ++++++++++++--- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/Themes/default/Languages/en.ini b/Themes/default/Languages/en.ini index 1a1ccd12f1..2afd1e4732 100644 --- a/Themes/default/Languages/en.ini +++ b/Themes/default/Languages/en.ini @@ -194,6 +194,12 @@ Explanation-Exit=Return to the title menu. [OptionNames] Custom=Special +Many=Many +Few=Few +Normal=Normal +Lower=Lower +Short=Short +Long=Long [ScreenTestInput] HelpText=Hold &BACK; or &START; to exit. diff --git a/Themes/default/Scripts/03 ThemePrefs.lua b/Themes/default/Scripts/03 ThemePrefs.lua index c2831a6b20..750a277a28 100644 --- a/Themes/default/Scripts/03 ThemePrefs.lua +++ b/Themes/default/Scripts/03 ThemePrefs.lua @@ -202,7 +202,10 @@ function UserPrefShowLotsaOptions() SelectType = "SelectOne", OneChoiceForAllPlayers = true, ExportOnChange = false, - Choices = { 'Many','Few' }, + Choices = { + THEME:GetString('OptionNames','Many'), + THEME:GetString('OptionNames','Few') + }, LoadSelections = function(self, list, pn) if ReadPrefFromFile("UserPrefShowLotsaOptions") ~= nil then if GetUserPrefB("UserPrefShowLotsaOptions") then @@ -297,7 +300,10 @@ function UserPrefNotePosition() SelectType = "SelectOne", OneChoiceForAllPlayers = true, ExportOnChange = false, - Choices = { 'Normal','Lower' }, + Choices = { + THEME:GetString('OptionNames','Normal'), + THEME:GetString('OptionNames','Lower') + }, LoadSelections = function(self, list, pn) if ReadPrefFromFile("UserPrefNotePosition") ~= nil then if GetUserPrefB("UserPrefNotePosition") then @@ -328,7 +334,10 @@ function UserPrefLongFail() SelectType = "SelectOne", OneChoiceForAllPlayers = true, ExportOnChange = false, - Choices = { 'Short','Long' }, + Choices = { + THEME:GetString('OptionNames','Short'), + THEME:GetString('OptionNames','Long') + }, LoadSelections = function(self, list, pn) if ReadPrefFromFile("UserPrefLongFail") ~= nil then if GetUserPrefB("UserPrefLongFail") then