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.
This commit is contained in:
Chris Danford
2006-01-17 20:47:43 +00:00
parent 44db08792a
commit 2827fc10fa
+4 -2
View File
@@ -944,7 +944,8 @@ RString ThemeManager::GetString( const RString &sClassName, const RString &sValu
// Write stubs for missing strings into every language file. // Write stubs for missing strings into every language file.
RString s; RString s = ThemeManager::GetMetric( sClassName, sValueName );
/*
if( !ThemeManager::GetMetricRawRecursive( sClassName, sValueName, s ) ) if( !ThemeManager::GetMetricRawRecursive( sClassName, sValueName, s ) )
{ {
RString sFile = GetLanguageIniPath( SpecialFiles::BASE_THEME_NAME, m_sCurLanguage ); 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 ); LoadThemeMetrics( g_vThemes, m_sCurThemeName, m_sCurLanguage );
} }
*/
EvaluateString( s ); EvaluateString( s );
s.Replace( "\\n", "\n" ); s.Replace( "\\n", "\n" );
@@ -977,7 +979,7 @@ RString ThemeManager::GetString( const RString &sClassName, const RString &sValu
s.Replace( "c", "ç" ); s.Replace( "c", "ç" );
s.Replace( "C", "Ç" ); s.Replace( "C", "Ç" );
// transformations that helpexpose punctuation assumptions // transformations that helpexpose punctuation assumptions
s.Replace( ":", " :" ); //s.Replace( ":", " :" ); // this messes up "::" help text tip separator markers
s.Replace( "?", " ?" ); s.Replace( "?", " ?" );
s.Replace( "!", " !" ); s.Replace( "!", " !" );
} }