From f0568f994565eb2549aca37b95b9a00b7c9aafc2 Mon Sep 17 00:00:00 2001 From: skidau Date: Tue, 12 May 2015 14:24:17 +0000 Subject: [PATCH] Added a Transifex link in the Help menu. http://www.transifex.com/projects/p/vba-m/ --- po/wxvbam/wxvbam.pot | 16 ++++++++++------ src/wx/cmdevents.cpp | 5 +++++ src/wx/xrc/MainMenu.xrc | 4 ++++ 3 files changed, 19 insertions(+), 6 deletions(-) diff --git a/po/wxvbam/wxvbam.pot b/po/wxvbam/wxvbam.pot index d1d3660a..28b16c37 100644 --- a/po/wxvbam/wxvbam.pot +++ b/po/wxvbam/wxvbam.pot @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-05-12 21:52+1000\n" +"POT-Creation-Date: 2015-05-13 00:20+1000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -365,18 +365,18 @@ msgstr "" msgid "Waiting for GDB..." msgstr "" -#: ../src/wx/cmdevents.cpp:2161 +#: ../src/wx/cmdevents.cpp:2166 msgid "Nintendo GameBoy (+Color+Advance) emulator." msgstr "" -#: ../src/wx/cmdevents.cpp:2162 +#: ../src/wx/cmdevents.cpp:2167 msgid "" "Copyright (C) 1999-2003 Forgotten\n" "Copyright (C) 2004-2006 VBA development team\n" "Copyright (C) 2007-2015 VBA-M development team" msgstr "" -#: ../src/wx/cmdevents.cpp:2163 +#: ../src/wx/cmdevents.cpp:2168 msgid "" "This program is free software: you can redistribute it and/or modify\n" "it under the terms of the GNU General Public License as published by\n" @@ -392,11 +392,11 @@ msgid "" "along with this program. If not, see http://www.gnu.org/licenses ." msgstr "" -#: ../src/wx/cmdevents.cpp:2386 +#: ../src/wx/cmdevents.cpp:2391 msgid "LAN link is already active. Disable link mode to disconnect." msgstr "" -#: ../src/wx/cmdevents.cpp:2391 +#: ../src/wx/cmdevents.cpp:2396 msgid "Network is not supported in local mode." msgstr "" @@ -3155,6 +3155,10 @@ msgstr "" msgid "VBA-M Support &Forum" msgstr "" +#: ../src/wx/xrc/MainMenu.xrc:611 +msgid "Translations" +msgstr "" + #: ../src/wx/xrc/MapViewer.xrc:15 msgid "Frame 0" msgstr "" diff --git a/src/wx/cmdevents.cpp b/src/wx/cmdevents.cpp index f0ab969f..59740c43 100644 --- a/src/wx/cmdevents.cpp +++ b/src/wx/cmdevents.cpp @@ -2148,6 +2148,11 @@ EVT_HANDLER(FAQ, "VBA-M support forum") wxLaunchDefaultBrowser(wxT("http://vba-m.com/forum/")); } +EVT_HANDLER(Translate, "Translations") +{ + wxLaunchDefaultBrowser(wxT("http://www.transifex.com/projects/p/vba-m")); +} + // was About EVT_HANDLER(wxID_ABOUT, "About...") { diff --git a/src/wx/xrc/MainMenu.xrc b/src/wx/xrc/MainMenu.xrc index 24aaa6e5..0e1bb2fd 100644 --- a/src/wx/xrc/MainMenu.xrc +++ b/src/wx/xrc/MainMenu.xrc @@ -607,6 +607,10 @@ + + + +