[help] add joysound exporter item

This commit is contained in:
odrling 2019-12-11 00:38:59 +01:00
parent b185a5e3c4
commit c36f16fb08
5 changed files with 43 additions and 2 deletions

View File

@ -3069,6 +3069,18 @@ msgstr ""
msgid "Website" msgid "Website"
msgstr "" msgstr ""
#: ../src/command/help.cpp
msgid "&Joysound Exporter"
msgstr ""
#: ../src/command/help.cpp
msgid "Joysound Exporter"
msgstr ""
#: ../src/command/help.cpp
msgid "Export karaoke from Joysound"
msgstr ""
#: ../src/command/help.cpp:119 #: ../src/command/help.cpp:119
msgid "Visit Aegisub's official website" msgid "Visit Aegisub's official website"
msgstr "" msgstr ""

View File

@ -2,7 +2,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Aegisub 3.2.0\n" "Project-Id-Version: Aegisub 3.2.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-08-24 16:41+0200\n" "POT-Creation-Date: 2014-07-01 10:53-0700\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: Cirrus Wazza <cirrus_wazza@gmx.fr>\n" "Last-Translator: Cirrus Wazza <cirrus_wazza@gmx.fr>\n"
"Language-Team: Céréales Killer <cerkil@free.fr>\n" "Language-Team: Céréales Killer <cerkil@free.fr>\n"
@ -12,7 +12,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Poedit-SourceCharset: UTF-8\n" "X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-Bookmarks: -1,596,-1,-1,-1,-1,-1,-1,-1,-1\n" "X-Poedit-Bookmarks: -1,596,-1,-1,-1,-1,-1,-1,-1,-1\n"
"X-Generator: Poedit 1.8.4\n" "X-Generator: Poedit 2.2.4\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: ../src/dialog_shift_times.cpp:92 #: ../src/dialog_shift_times.cpp:92
@ -3189,6 +3189,18 @@ msgstr "Site &web"
msgid "Website" msgid "Website"
msgstr "Site web" msgstr "Site web"
#: ../src/command/help.cpp
msgid "&Joysound Exporter"
msgstr "&Joysound Exporter"
#: ../src/command/help.cpp
msgid "Joysound Exporter"
msgstr "Joysound Exporter"
#: ../src/command/help.cpp
msgid "Export karaoke from Joysound"
msgstr "Exporter un karaoke Joysound"
#: ../src/command/help.cpp:119 #: ../src/command/help.cpp:119
msgid "Visit Aegisub's official website" msgid "Visit Aegisub's official website"
msgstr "Visitez le site officiel d'Aegisub" msgstr "Visitez le site officiel d'Aegisub"

View File

@ -110,8 +110,22 @@ struct help_website final : public Command {
wxLaunchDefaultBrowser("http://www.aegisub.org/", wxBROWSER_NEW_WINDOW); wxLaunchDefaultBrowser("http://www.aegisub.org/", wxBROWSER_NEW_WINDOW);
} }
}; };
struct help_joysound_export final : public Command {
CMD_NAME("help/joysound_exporter")
CMD_ICON(website_button)
STR_MENU("&Joysound Exporter")
STR_DISP("Joysound Exporter")
STR_HELP("Export karaoke from Joysound")
void operator()(agi::Context *) override {
wxLaunchDefaultBrowser("https://joysound.rhiobet.ninja/", wxBROWSER_NEW_WINDOW);
}
};
} }
namespace cmd { namespace cmd {
void init_help() { void init_help() {
reg(agi::make_unique<help_bugs>()); reg(agi::make_unique<help_bugs>());
@ -119,5 +133,6 @@ namespace cmd {
reg(agi::make_unique<help_irc>()); reg(agi::make_unique<help_irc>());
reg(agi::make_unique<help_video>()); reg(agi::make_unique<help_video>());
reg(agi::make_unique<help_website>()); reg(agi::make_unique<help_website>());
reg(agi::make_unique<help_joysound_export>());
} }
} }

View File

@ -203,6 +203,7 @@
{ "command" : "help/contents" }, { "command" : "help/contents" },
{}, {},
{ "command" : "help/website" }, { "command" : "help/website" },
{ "command" : "help/joysound_exporter" },
{ "command" : "help/bugs" }, { "command" : "help/bugs" },
{}, {},
{ "command" : "help/irc" }, { "command" : "help/irc" },

View File

@ -213,6 +213,7 @@
{ "command" : "help/contents" }, { "command" : "help/contents" },
{}, {},
{ "command" : "help/website" }, { "command" : "help/website" },
{ "command" : "help/joysound_exporter" },
{ "command" : "help/bugs" }, { "command" : "help/bugs" },
{}, {},
{ "command" : "help/irc" }, { "command" : "help/irc" },