Glenn Maynard
996477feae
rename ReloadMetricsAndUpdateLua -> ReloadScreenDimensions
2006-01-21 01:15:09 +00:00
Chris Danford
cc2558fac6
don't pseudolocalize replacement markers in strings
2006-01-18 04:09:14 +00:00
Chris Danford
2827fc10fa
Disable writing of missing string to base language's ini. This was temporary to ease adding tons of missing strings.
...
Don't pseudolocalize ":". It's messing up the help text tip separators.
2006-01-17 20:47:43 +00:00
Glenn Maynard
776ff285cf
allow empty translatable strings
2006-01-14 04:31:56 +00:00
Glenn Maynard
7c25138029
typo
2006-01-14 04:21:54 +00:00
Glenn Maynard
1d488f223d
typo
2006-01-14 00:40:55 +00:00
Glenn Maynard
d876fa5ecb
fix in gcc
2006-01-13 06:34:12 +00:00
Glenn Maynard
269c6f0ec7
Make a simple interface class for localizers. Move the theme-based
...
localizer into ThemeManager. Use simple MI to hook ThemeMetric::Read
to continue to automatically update when needed.
2006-01-13 00:40:12 +00:00
Chris Danford
3df20418a8
simplify: "\n" is newline, "::" separates tips
2006-01-09 17:45:21 +00:00
Chris Danford
41c6d6a902
save strings to base theme, not current theme
2006-01-08 20:11:34 +00:00
Chris Danford
fc18dbd342
make more strings localizable
2006-01-08 18:40:20 +00:00
Chris Danford
1cf12f1c49
set pseudolocalize at the same time as switching themes. Fixes LocalizedStrings not reloaded after changing pseudolocalize
2006-01-08 05:32:05 +00:00
Chris Danford
706655a282
UTF8
2006-01-07 06:01:45 +00:00
Chris Danford
8b0c7ac36e
SubscriptionHandler -> SubscriptionManager
2006-01-06 20:19:30 +00:00
Chris Danford
d55ae24611
add PseudoLocalize
...
phase out SubscriptionManager for SubscriptionHandler to fix ThemeManager assert
2006-01-06 20:18:15 +00:00
Chris Danford
f8379c8db7
cleanup newline handling in languages
...
remove View Statistics button (moved to command line)
2006-01-06 17:57:26 +00:00
Chris Danford
cc922c4619
localizable smpackage dialogs
2006-01-05 07:38:31 +00:00
Glenn Maynard
b734b602d2
force TypeName arrays for XToString to be an array of const char*, not CString
2006-01-04 22:30:51 +00:00
Glenn Maynard
000a896258
use implicit initialization of POD types to simplify SubscriptionManager,
...
so it's not essentially a templated singleton type (old version will be
phased out)
2005-12-30 07:59:59 +00:00
Chris Danford
c7d769829a
add ThemeManager to smtools
2005-12-29 05:52:50 +00:00
Glenn Maynard
18d29783ba
compile fix
2005-12-29 02:34:27 +00:00
Chris Danford
b42d28af34
add language localization tools
2005-12-28 19:21:08 +00:00
Chris Danford
0249ef8d3d
add language native names
2005-12-28 05:43:26 +00:00
Chris Danford
d459f0b795
fix smpackage build
...
add localization tool to smpackage
2005-12-28 04:22:24 +00:00
Chris Danford
1f81db0cec
move ScreenDimensions into a namespace
2005-12-27 18:45:07 +00:00
Chris Danford
62799c2999
CString -> RString
2005-12-27 17:45:07 +00:00
Chris Danford
7a76b58bd3
style cleanup
2005-12-25 19:27:31 +00:00
Chris Danford
7f985da9ee
add separate method for string lookup
2005-12-25 19:01:13 +00:00
Chris Danford
74749a19bb
move localized string to separate file
2005-12-22 03:10:04 +00:00
Chris Danford
d698a5f1ec
CString -> RString in RageUtil
...
ThemeMetric<CString> -> LocalizedString to eliminate dependencies
2005-12-20 08:35:47 +00:00
Glenn Maynard
b01308783e
unused headers
2005-12-19 00:42:29 +00:00
Chris Danford
37f82b43f7
remove CStringArray #define
2005-12-09 21:36:22 +00:00
Glenn Maynard
81c1217ef7
expose aspect ratios
2005-11-30 22:54:00 +00:00
Glenn Maynard
79fcf408d6
unneeded
2005-11-22 21:21:48 +00:00
Chris Danford
81037f05cd
move Preferences from ThemeManager to completely in PrefsManager
...
Also, allow Defaults.ini and Static.ini to have sections
2005-11-09 10:55:30 +00:00
Chris Danford
489cf3b202
.dat -> .txt so that file associations will find a text editor
2005-11-07 05:45:48 +00:00
Chris Danford
8d2316f1c3
search Data\Type.dat for the Preferences group in addition to reading from the command line
2005-11-07 05:40:22 +00:00
Glenn Maynard
c8f38629ef
ThemeManager::ReloadMetrics: only reload metrics, not the whole theme. This
...
is much less unintrusive, and fixes crashes on most "retry" theme dialogs due
to reloading and resetting Lua and other things unexpectedly in the middle of
a screen load.
2005-11-03 19:53:27 +00:00
Glenn Maynard
c85965d054
handle language tags in files for translations
2005-11-03 18:11:40 +00:00
Glenn Maynard
cfed90cfec
Stop keeping theme metrics for each fallback theme separate. Just merge them
...
into one theme. I'm not sure why this was done originally, but it was probably
related to the ugly "fallback themes can fork Fallback" behavior that was
removed recently.
This is simpler, and reduces overhead in looking up theme metrics.
2005-11-03 17:24:56 +00:00
Glenn Maynard
a46086fdda
Avoid extra work when changing the language and not the theme.
2005-11-01 19:15:26 +00:00
Glenn Maynard
826804bf84
It's too early to DoesLanguageExist at this point. Just return the preferred language; we'll fall back on BASE_LANGUAGE anyway.
2005-11-01 19:14:38 +00:00
Glenn Maynard
fae57b297c
fix log
2005-11-01 19:12:13 +00:00
Glenn Maynard
92b93dc689
fixing up language reverting to english
2005-11-01 18:13:32 +00:00
Glenn Maynard
fe52b72f25
log in LoadThemeMetrics
2005-11-01 18:08:56 +00:00
Glenn Maynard
51e06fdc2b
pass the language to LoadThemeRecursive and rename to LoadThemeMetrics
2005-11-01 18:04:59 +00:00
Glenn Maynard
1851fda405
move --metric hanlding to LoadThemeRecursive
2005-11-01 17:46:48 +00:00
Glenn Maynard
485bab571f
move clean up of old themes to LoadThemeRecursive
2005-11-01 17:42:48 +00:00
Glenn Maynard
b2aa109cbc
GetLanguages: check all loaded themes
2005-11-01 17:05:07 +00:00
Glenn Maynard
102f39d7c5
simplify: ThemeManager::LoadThemeRecursive recurses themes, but
...
there's no reason for it to actually be a recursive function
2005-10-28 19:07:19 +00:00