Localization:

- 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
This commit is contained in:
j4ck.fr0st
2011-01-06 13:57:46 +00:00
parent de15cb2bc9
commit 80cee2528c
19 changed files with 1045 additions and 2939 deletions

View File

@ -140,29 +140,29 @@ bool DolphinApp::OnInit()
wxCmdLineEntryDesc cmdLineDesc[] =
{
{
wxCMD_LINE_SWITCH, _("h"), _("help"),
wxCMD_LINE_SWITCH, _T("h"), _T("help"),
_("Show this help message"),
wxCMD_LINE_VAL_NONE, wxCMD_LINE_OPTION_HELP
},
{
wxCMD_LINE_SWITCH, _("d"), _("debugger"), _("Opens the debugger")
wxCMD_LINE_SWITCH, _T("d"), _T("debugger"), _("Opens the debugger")
},
{
wxCMD_LINE_SWITCH, _("l"), _("logger"), _("Opens the logger")
wxCMD_LINE_SWITCH, _T("l"), _T("logger"), _("Opens the logger")
},
{
wxCMD_LINE_OPTION, _("e"), _("exec"), _("Loads the specified file (DOL, ELF, WAD, GCM, ISO)"),
wxCMD_LINE_OPTION, _T("e"), _T("exec"), _("Loads the specified file (DOL, ELF, WAD, GCM, ISO)"),
wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_OPTIONAL
},
{
wxCMD_LINE_SWITCH, _("b"), _("batch"), _("Exit Dolphin with emulator")
wxCMD_LINE_SWITCH, _T("b"), _T("batch"), _("Exit Dolphin with emulator")
},
{
wxCMD_LINE_OPTION, _("V"), _("video_plugin"), _("Specify a video plugin"),
wxCMD_LINE_OPTION, _T("V"), _T("video_plugin"), _("Specify a video plugin"),
wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_OPTIONAL
},
{
wxCMD_LINE_OPTION, _("A"), _("audio_plugin"), _("Specify an audio plugin"),
wxCMD_LINE_OPTION, _T("A"), _T("audio_plugin"), _("Specify an audio plugin"),
wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_OPTIONAL
},
{
@ -183,18 +183,18 @@ bool DolphinApp::OnInit()
LoadFile = parser.Found("exec", &FileToLoad);
BatchMode = parser.Found("batch");
#else
UseDebugger = parser.Found(_("debugger"));
UseLogger = parser.Found(_("logger"));
LoadFile = parser.Found(_("exec"), &FileToLoad);
BatchMode = parser.Found(_("batch"));
UseDebugger = parser.Found(_T("debugger"));
UseLogger = parser.Found(_T("logger"));
LoadFile = parser.Found(_T("exec"), &FileToLoad);
BatchMode = parser.Found(_T("batch"));
#endif
#if wxCHECK_VERSION(2, 9, 0)
selectVideoPlugin = parser.Found("video_plugin", &videoPluginFilename);
selectAudioPlugin = parser.Found("audio_plugin", &audioPluginFilename);
#else
selectVideoPlugin = parser.Found(_("video_plugin"), &videoPluginFilename);
selectAudioPlugin = parser.Found(_("audio_plugin"), &audioPluginFilename);
selectVideoPlugin = parser.Found(_T("video_plugin"), &videoPluginFilename);
selectAudioPlugin = parser.Found(_T("audio_plugin"), &audioPluginFilename);
#endif
#endif // wxUSE_CMDLINE_PARSER