aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/hotkey/hotkeymanager.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2010-08-20 17:09:03 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2010-08-20 17:09:03 +0000
commit965beaeee191310e2fcae872e75b8da54a6e2e47 (patch)
treec73d818af7f774cd3b3b8c81e43841c41532ae53 /src/plugins/General/hotkey/hotkeymanager.cpp
parent3e0e8b003133365f2bb0d9f9f797b17eec5b07ba (diff)
downloadqmmp-965beaeee191310e2fcae872e75b8da54a6e2e47.tar.gz
qmmp-965beaeee191310e2fcae872e75b8da54a6e2e47.tar.bz2
qmmp-965beaeee191310e2fcae872e75b8da54a6e2e47.zip
prepare for Japanese translation
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1837 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/hotkey/hotkeymanager.cpp')
0 files changed, 0 insertions, 0 deletions
* * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ #include <QtGui> #include <bs2b/bs2bversion.h> #include <qmmp/qmmp.h> #include "effectbs2bfactory.h" #include "settingsdialog.h" #include "bs2bplugin.h" const EffectProperties EffectBs2bFactory::properties() const { EffectProperties properties; properties.name = tr("BS2B Plugin"); properties.shortName = "bs2b"; properties.hasSettings = true; properties.hasAbout = true; return properties; } Effect *EffectBs2bFactory::create() { return new Bs2bPlugin(); } void EffectBs2bFactory::showSettings(QWidget *parent) { SettingsDialog *s = new SettingsDialog(parent); s ->show(); } void EffectBs2bFactory::showAbout(QWidget *parent) { QMessageBox::about (parent, tr("About BS2B Effect Plugin"), "<p>"+tr("This is the Qmmp plugin version of Boris Mikhaylov's headphone DSP " "effect \"Bauer stereophonic-to-binaural\", abbreviated bs2b.")+"</p>"+ QString("<p>" + tr("Visit %1 for more details")+"</p>") .arg("<a href=\"http://bs2b.sourceforge.net/\">http://bs2b.sourceforge.net/</a>")+ QString("<p>" + tr("Compiled against libbs2b-%1") + "</p>").arg(BS2B_VERSION_STR)+ "<p>"+tr("Developers:")+"<br>"+ tr("Ilya Kotov") + " &lt;forkotov02@hotmail.ru&gt;"+"<br>"+ tr("Sebastian Pipping") + " &lt;sebastian@pipping.org&gt;"+"</p>"); } QTranslator *EffectBs2bFactory::createTranslator(QObject *parent) { QTranslator *translator = new QTranslator(parent); QString locale = Qmmp::systemLanguageID(); translator->load(QString(":/bs2b_plugin_") + locale); return translator; } Q_EXPORT_PLUGIN2(bs2b,EffectBs2bFactory)