summaryrefslogtreecommitdiff
path: root/Languages/gettextize
AgeCommit message (Collapse)Author
2017-08-01Split gettextize script into twoJosJuice
When building DolphinWX using cmake, msgmerge will run on the .po files, updating the formatting of them if they aren't already in the exact format that msgmerge uses. This means that running msgmerge on all the .po files is necessary before committing any updates to the .po files, because otherwise unstaged changes are going to appear whenever anyone tries to build that commit using cmake. The translation syncing scripts that were used by delroth and Parlane did so by invoking `cmake` and then `make translations`, but that isn't a good solution for people who sync translations on Windows (i.e. me). This commit uncomments some existing code for running msgmerge on all the .po files, and places that code in a new script. Now, translation syncing scripts just have to call that script before committing, instead of using msgmerge directly or using cmake. I'm not sure why the script was called gettextize to begin with. gettextize is the name of a gettext executable that doesn't seem to be related to what our gettextize script did.
2017-07-23gettextize: extract arguments to QT_TR_NOOPMichael Maltese
2017-07-22gettextize: extract arguments to Qt's `tr`Michael Maltese
2016-10-21gettextize: Remove "Debug" checkJosJuice
If the strings for the debugger shouldn't be included in translations, we simply shouldn't use any translation macro for those strings, instead of having a special check to exclude debugger-related code from being searched for translatable strings. The "Debug" check is a hack that essentially nobody has been aware of (including me). For instance, 14facbc made a lot of strings translatable just because they were moved to a file that doesn't have "Debug" in its path, and as far as I know, nobody noticed that change until the newly translatable strings were live on Transifex.
2016-08-28gettextize: Pipe list of file names to xgettextJosJuice
This avoids an "Argument list too long" error with MINGW64 bash. $CPP_FILE_LIST is tens of kilobytes large.
2015-11-20Mark more strings for translationJosJuice
2014-01-18Change the gettextize to not update .po files (Transifex will do that)Dolphin i18n Bot
2013-02-01Modify the gettextize script to add the header and dolphin license toGlenn Rice
the dolphin-emu.pot file. Also update the pot file once more.
2011-07-15Add a new type of message box (CRITICAL style) which can not be disabled. ↵Glenn Rice
Then use that message box to display shader compilation errors in the OpenGL backend to maintain consistency with the behaviour of the DirectX backends. Also fix the wxMessageAlert called from non-gui threads in the WXGTK build to use the passed caption. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7678 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-06Linux build fix.Glenn Rice
Also move the primary translation pot file to the external repository to facilitate updating translations when strings in the code are changed. Now the only time the primary dolphin repository needs to be changed for translations is when a new language is added. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7438 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-14Move translation po files to an external svn repository. The location is ↵Glenn Rice
http://dolphin-emu-translations.googlecode.com/svn/trunk. I have given some of the primary dolphin committers write access to that repository. If you are a dolphin-emu committer, and I didn't give you access, and you want it, just let me know. Now po files can be updated as often as we want without bumping up the svn revision numbers of dolphin itself. I left the dolphin-emu.pot and primary build files in the primary dolphin-emu svn. The dolphin-emu.pot file will still need to be updated on occasion to reflect changes to strings in the program. The gettextize script will still work as before for this. Also added Arabic translations to the build thanks to mansoor. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7343 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-14Finally got the input common strings figured out. That pretty much finishes ↵Glenn Rice
translations. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6843 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-13Removed my previous PanicAlert translation hack. Fixed with a better method ↵Glenn Rice
suggested by BhaaL. The translation is done by a callback in the MsgHandler routine that is set at program start. Added macros PanicAlertT, SuccessAlertT, PanicYesNoT, and AskYesNoT that are identical to the non T versions except those strings will be added by gettext to the po files to be translated. These can and should be used anywhere in the code for strings that should be translated. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6838 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-12Add a little hack to make it so panic alerts and questions can be translated ↵Glenn Rice
if they are in the wxWidgets portion of the code, as well as make a few strings in the config dialog translatable. Add Hungarian translations by Delirious. Update Italian translations by RebuMan. Update German translations by JackyCola and LucasX. Update Greek translations by Gpower2. Update Frensh translations by Pascal. Make sure the game list is refreshed when the GC language is changed. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6826 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-10Fix install location of mo files on windows.Glenn Rice
Add Japanese translations thanks to DanbSky. Add Greek translations thanks to Link_to_the_past and gpower2. Add Dutch translations thanks to MADCreations. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6806 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-10Build mo translation files on all platforms. Had to import msgfmt ↵Glenn Rice
executable in the Externals to do this on windows. Save wxLanguage enumeration value in ini file so that users are not surprised when a language is added and dolphin-emu is suddenly translated in a different language. Update Spanish, Korean, and Simplified Chinese translations. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6804 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-09Worked around the Norwegian Bokm(å/aa)l issue.Glenn Rice
Enhanced the gettextize script to update mo files for windows and osx. This script should be run any time that a new language is added (don't for get to svn add the Data/Languages language subdirectory), and on occasion to update the language files with strings from the source code. Added the Hebrew mo file for windows and osx (and update the others). git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6790 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-06Added a few translatable strings.Glenn Rice
Added German language translations. Thanks to JackyCola. Added Italian language translations. Thanks to RebuMan. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6763 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-06Localization: j4ck.fr0st
- add some more strings for translation, change others for easier translation (in case anyone knows a better way than _("a") + wxString(wxT("b")), feel free to fix it). - removed strings that shouldnt be translated. - added gettextize script from glennrics to generate the .pot file; this excludes debugger-related strings which are usually not used by the end user anyways (again, less stuff to translate). git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6759 8ced0084-cf51-0410-be5f-012b33b47a6e