diff options
author | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-12 10:30:39 +0000 |
---|---|---|
committer | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-12 10:30:39 +0000 |
commit | cf0828dc76ddc11de107bc65ddada38d03404030 (patch) | |
tree | 2c56dd018886f2332330d4c98a46b05a23a3ab14 /muse2/muse/osc.cpp | |
parent | a4d6602deb9e55720659df425664c554be6e4a7a (diff) |
Translations are now handled by cmake. Updated the Russian translation. Added -l flag to override system locale.
Diffstat (limited to 'muse2/muse/osc.cpp')
-rw-r--r-- | muse2/muse/osc.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/muse2/muse/osc.cpp b/muse2/muse/osc.cpp index ad4f038f..26cd3a8a 100644 --- a/muse2/muse/osc.cpp +++ b/muse2/muse/osc.cpp @@ -861,7 +861,7 @@ bool OscIF::oscInitGui(const QString& typ, const QString& baseName, const QStrin //snprintf(oscUrl, 1024, "%s/%s", url, synti->name().toAscii().data()); //snprintf(oscUrl, 1024, "%s/%s", url, synti->name().ascii()); //snprintf(oscUrl, 1024, "%s/%s/%s", url, synth->info.baseName().ascii(), synti->name().ascii()); - typ = QT_TR_NOOP("dssi_synth"); + typ = QT_TRANSLATE_NOOP("@default", "dssi_synth"); baseName = _oscSynthIF->dssiSynth()->baseName(false); label = _oscSynthIF->dssiSynthI()->name(); name = _oscSynthIF->dssiSynth()->name(); @@ -873,7 +873,7 @@ bool OscIF::oscInitGui(const QString& typ, const QString& baseName, const QStrin #endif if(_oscPluginI) { - typ = QT_TR_NOOP("ladspa_efx"); + typ = QT_TRANSLATE_NOOP("@default", "ladspa_efx"); baseName = _oscPluginI->plugin()->lib(false); //name = _oscPluginI->name(); name = _oscPluginI->plugin()->label(); @@ -891,8 +891,8 @@ bool OscIF::oscInitGui(const QString& typ, const QString& baseName, const QStrin //snprintf(oscUrl, 1024, "%s/%s/%s", url, baseName.ascii(), name.ascii()); //snprintf(oscUrl, 1024, "%s%s/%s/%s", url, typ.toLatin1().constData(), baseName.toLatin1().constData(), name.toLatin1().constData()); - //oscUrl = QString("%1%2/%3/%4").arg(QString(QT_TR_NOOP(url))).arg(typ).arg(baseName).arg(name); - oscUrl = QString("%1%2/%3/%4").arg(QString(QT_TR_NOOP(url))).arg(typ).arg(baseName).arg(label); + //oscUrl = QString("%1%2/%3/%4").arg(QString(QT_TRANSLATE_NOOP("@default", url))).arg(typ).arg(baseName).arg(name); + oscUrl = QString("%1%2/%3/%4").arg(QString(QT_TRANSLATE_NOOP("@default", url))).arg(typ).arg(baseName).arg(label); //QString guiPath(info.path() + "/" + info.baseName()); //QString guiPath(synth->info.dirPath() + "/" + synth->info.baseName()); @@ -1302,7 +1302,7 @@ bool OscDssiIF::oscInitGui() if(!_oscSynthIF) return false; - return OscIF::oscInitGui(QT_TR_NOOP("dssi_synth"), _oscSynthIF->dssiSynth()->baseName(), + return OscIF::oscInitGui(QT_TRANSLATE_NOOP("@default", "dssi_synth"), _oscSynthIF->dssiSynth()->baseName(), _oscSynthIF->dssiSynth()->name(), _oscSynthIF->dssiSynthI()->name(), _oscSynthIF->dssiSynth()->filePath(), _oscSynthIF->dssiSynth()->path()); } @@ -1388,7 +1388,7 @@ bool OscEffectIF::oscInitGui() if(!_oscPluginI) return false; - return OscIF::oscInitGui(QT_TR_NOOP("ladspa_efx"), _oscPluginI->plugin()->lib(false), + return OscIF::oscInitGui(QT_TRANSLATE_NOOP("@default", "ladspa_efx"), _oscPluginI->plugin()->lib(false), _oscPluginI->plugin()->label(), _oscPluginI->label(), _oscPluginI->plugin()->filePath(), _oscPluginI->plugin()->dirPath(false)); } |