aboutsummaryrefslogtreecommitdiff
path: root/common/translation.cpp
AgeCommit message (Collapse)Author
2010-06-21Fixed some Cppcheck warnings. (There are plenty left, if anyone's wondering.)Torbjörn Andersson
svn-id: r50120
2010-06-18Properly provide stub implementations for all TranslationManager methods ↵Johannes Schickel
when USE_TRANSLATIONS is not defined. svn-id: r49997
2010-06-17Correction for Invalid reads in Translation iconv calls reported by Valgrind.David Turner
The string terminators were omitted from the iconv call and not restored. svn-id: r49916
2010-06-15Use USE_TRANSLATION, USE_DETECTLANG and USE_TERMCONV instead of ↵Johannes Schickel
(ENABLE_)TRANSLATION, DETECTLANG and TERMCONV. svn-id: r49885
2010-06-15Simplify code for the "ICONV_USES_CONST" case even more. (i.e. remove the ↵Johannes Schickel
"msg" variable there). svn-id: r49880
2010-06-15Fix compilation when using ICONV_USES_CONST.Andre Heider
svn-id: r49878
2010-06-15Strip out charset information from the system locale again (like it was done ↵Johannes Schickel
before r49871). Unlike with the old code, we know allow for locales with a different size than 5 though. svn-id: r49876
2010-06-15Output some warning in case an invalid ID was passed to ↵Johannes Schickel
TranslationManager::getLangById. svn-id: r49873
2010-06-15Use a Common::String instead of a fixed size array for _syslang in ↵Johannes Schickel
TranslationManager. svn-id: r49871
2010-06-15Remove unnecessary svn:executable propertiesWillem Jan Palenstijn
svn-id: r49870
2010-06-15Some style fixes.Johannes Schickel
svn-id: r49869
2010-06-15Fix iconv signature on BSD systems. (Based on what we do in tools/)Johannes Schickel
svn-id: r49868
2010-06-15Add TranslationManager::getTranslation variant taking/returning a ↵Max Horn
Common::String (should fix WinCE build) svn-id: r49861
2010-06-15Code formattingMax Horn
svn-id: r49859
2010-06-15Implement translation support for ScummVM GUI.Eugene Sandulenko
Based on patch #2903830: "Updated Translation Prototype" by alexbevi which in turn is based on patch #1739965 by jvprat. Currently it builds all translations right into ScummVM. Once the feature will be accepted more widely, i.e. more translations will pop up, it will be trivial to move translation strings to external file. Finished translation: Russian Unfinished translation: Hungarian Things which are nice to do: - Language code -> language mapping for more user friendness - Specifying fonts to be used with language - Updating of interface language without restart. It will require moving of much code to reflowLayout() methods for each dialog The .po files must be in single byte encodings. I.e. no support for Unicode. svn-id: r49759