aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2010-07-09Update template and all translation files following the addition of a new ↵Thierry Crozat
translatable string. French and German translations also have additional updates. svn-id: r50764
2010-07-05Note Common::String's behaviour may be undefined with \0 characters.Willem Jan Palenstijn
Also make operator=(char) and String(char) behave the same. svn-id: r50712
2010-07-05Fix update of GUI options, which only differ in the language setting.Johannes Schickel
svn-id: r50706
2010-07-05Formatting fixes.Johannes Schickel
svn-id: r50705
2010-06-30Commit improved italian translation.Thierry Crozat
Also update the template file and all the other translation files (there is quite a lot of line numbers that have changed). svn-id: r50540
2010-06-29unzip.cpp can read uncompressed ZIP archives even when zlib is not linked inRobert Špalek
svn-id: r50482
2010-06-28Update German translation.Thierry Crozat
svn-id: r50461
2010-06-28i18n: Add support for locale-dependent fontsEugene Sandulenko
Currently it ws not decided where to put fonts, but if you put BDF files into themepath, they will get picked up. The font name has to contain same codepage specification as in the .po file, i.e. fixed5x8-iso-8859-5.bdf for Cyrillic codepage. In case the font does not exist, default will be used. All built in fonts get proper names. TODO: Currently there is a bug with our font cacher. Font clR6x12-iso-8859-5 is empty after loading from FCC file. Reason is unknown. svn-id: r50448
2010-06-27i18n: Sync all translation with sourcesEugene Sandulenko
svn-id: r50394
2010-06-27i18n: Update Russian translationEugene Sandulenko
svn-id: r50393
2010-06-27Add italian translation from the patch tracker (#3022046) and update credits.Thierry Crozat
svn-id: r50386
2010-06-27Update the french translation.Thierry Crozat
svn-id: r50381
2010-06-26Add some explanation why we can not just use setlocale on Win32.Johannes Schickel
svn-id: r50354
2010-06-26Use "C" on Win32 as syslang in case the locale could not be determined.Johannes Schickel
svn-id: r50353
2010-06-26Fix compilation with our default build system when USE_DETECTLANG is specified.Johannes Schickel
svn-id: r50349
2010-06-26Implement support for auto detection of the users preferred locale on Windows.Johannes Schickel
Note that this might break support for Windows versions older than Win2k, at least according to the MSVC docs GetLocaleInfo is only supported by Win2k+. I added a comment about that though. svn-id: r50348
2010-06-26Remove support for translation of console messages.Johannes Schickel
In recent discussions on -devel it turned out, that this feature is rather superfluous and instead we should rather implement a proper error reporting in our GUI. I also removed the dependency on iconv along with this. svn-id: r50335
2010-06-26GUI: Update translations after the last message changesJordi Vilalta Prat
svn-id: r50328
2010-06-26GUI: Add and improve some messages to translateJordi Vilalta Prat
svn-id: r50324
2010-06-25AUDIO: some fixes in the audio device code (no sound option, new GUIO flags)Florian Kagerer
svn-id: r50281
2010-06-24Add German translation from patch tracker (patch #3020282).Thierry Crozat
svn-id: r50247
2010-06-24Yet another slight variable renaming to match our conventions.Johannes Schickel
svn-id: r50242
2010-06-24Do not include any headers from common/messages.cpp, since that file might ↵Johannes Schickel
be included into an namespace. svn-id: r50241
2010-06-24Some more cleanup of po2c's output.Johannes Schickel
svn-id: r50240
2010-06-24Adapt po2c's output to better mach our code formatting conventions.Johannes Schickel
Along with it I added a suffix "-scummvm" to the version variable, since we also feature some custom extensions like the charset specification. svn-id: r50239
2010-06-24Added some consts to the output of tools/po2c.Johannes Schickel
svn-id: r50238
2010-06-21Patch #1956501: "GUI/LAUNCHER: Midi device selection"Max Horn
svn-id: r50128
2010-06-21Fixed some Cppcheck warnings. (There are plenty left, if anyone's wondering.)Torbjörn Andersson
svn-id: r50120
2010-06-21PSP: errors from both ScummVM and the PSP port now print to file by default. ↵Yotam Barnoy
This should make debugging easier, especially for users. svn-id: r50113
2010-06-19Add nearly complete french translation. I tried to make it work also in ↵Thierry Crozat
320x200 but french can be quite verbose, so in a few places it does not fit. Also I could not check any of the device specific strings (e.g. from WinCE, Wii or other backends) and a few are missing. svn-id: r50068
2010-06-19Fix an issue in String::ensureCapacity() when the string is shared. It could ↵Thierry Crozat
allocate two much memory as it was at least doubling the current capacity even when this one was sufficient. It fixes a crash in GUI::Widget::cleanupHotkey() as the capacity of the string was doubled at each iteration once it was too long for the internal storage (only to add one character to the string). This ended up in a bad_alloc exception after a few iterations. svn-id: r50050
2010-06-18Properly provide stub implementations for all TranslationManager methods ↵Johannes Schickel
when USE_TRANSLATIONS is not defined. svn-id: r49997
2010-06-18Do not rebuild common/messages.cpp automatically when a translation changes, ↵Johannes Schickel
but require the user to do "make update-translations". This should be helpful for building on a system without perl. svn-id: r49991
2010-06-17Commit updated common/messages.cpp too.Johannes Schickel
svn-id: r49946
2010-06-17Fix common/messages.cpp rule for out of source directory builds. (Maybe this ↵Johannes Schickel
fixed bug #3017628 "AMIGAOS4: messages.cpp errors") svn-id: r49940
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-15Fix a typo.Johannes Schickel
svn-id: r49875
2010-06-15Output some warning in case an invalid ID was passed to ↵Johannes Schickel
TranslationManager::getLangById. svn-id: r49873
2010-06-15Extend (and along with it add) some doxygen comments.Johannes Schickel
svn-id: r49872
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-15Fix spelling, cleanupMax Horn
svn-id: r49843