From 2827fc10fa8e88bdd8828f5fbb561797e5a93d71 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Tue, 17 Jan 2006 20:47:43 +0000 Subject: [PATCH] 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. --- stepmania/src/ThemeManager.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/stepmania/src/ThemeManager.cpp b/stepmania/src/ThemeManager.cpp index 0859b5938a..e911928765 100644 --- a/stepmania/src/ThemeManager.cpp +++ b/stepmania/src/ThemeManager.cpp @@ -944,7 +944,8 @@ RString ThemeManager::GetString( const RString &sClassName, const RString &sValu // Write stubs for missing strings into every language file. - RString s; + RString s = ThemeManager::GetMetric( sClassName, sValueName ); + /* if( !ThemeManager::GetMetricRawRecursive( sClassName, sValueName, s ) ) { RString sFile = GetLanguageIniPath( SpecialFiles::BASE_THEME_NAME, m_sCurLanguage ); @@ -956,6 +957,7 @@ RString ThemeManager::GetString( const RString &sClassName, const RString &sValu LoadThemeMetrics( g_vThemes, m_sCurThemeName, m_sCurLanguage ); } + */ EvaluateString( s ); s.Replace( "\\n", "\n" ); @@ -977,7 +979,7 @@ RString ThemeManager::GetString( const RString &sClassName, const RString &sValu s.Replace( "c", "ç" ); s.Replace( "C", "Ç" ); // transformations that helpexpose punctuation assumptions - s.Replace( ":", " :" ); + //s.Replace( ":", " :" ); // this messes up "::" help text tip separator markers s.Replace( "?", " ?" ); s.Replace( "!", " !" ); }