msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-10-03 15:58+0200\n"
+"POT-Creation-Date: 2008-10-05 12:56+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid "New speed (percents)"
msgstr ""
+msgid "No Custom Effects"
+msgstr ""
+
msgid "No clip at cursor time"
msgstr ""
msgid "Selection tool"
msgstr ""
-msgid "Set current image as thumbnail"
+msgid "Set In Point"
msgstr ""
-msgid "Set in point"
+msgid "Set Out Point"
+msgstr ""
+
+msgid "Set current image as thumbnail"
msgstr ""
msgid "Set zone end"
m_findTimer.setSingleShot(true);
initEffects::parseEffectFiles();
+ initEffects::parseCustomEffectsFile();
+
m_monitorManager = new MonitorManager();
projectListDock = new QDockWidget(i18n("Project Tree"), this);
}
m_customEffectsMenu = static_cast<QMenu*>(factory()->container("custom_effects_menu", this));
effects = customEffects.effectNames();
+ if (effects.isEmpty()) {
+ action = new QAction(i18n("No Custom Effects"), this);
+ action->setEnabled(false);
+ m_customEffectsMenu->addAction(action);
+ }
foreach(const QString &name, effects) {
action = new QAction(name, this);
action->setData(name);
m_timelineContextClipMenu->addMenu(videoEffectsMenu);
m_timelineContextClipMenu->addMenu(audioEffectsMenu);
//TODO: re-enable custom effects menu when it is implemented
- //m_timelineContextClipMenu->addMenu(m_customEffectsMenu);
+ m_timelineContextClipMenu->addMenu(m_customEffectsMenu);
m_timelineContextTransitionMenu->addAction(actionCollection()->action("delete_timeline_clip"));
m_timelineContextTransitionMenu->addAction(actionCollection()->action(KStandardAction::name(KStandardAction::Copy)));
m_customEffectsMenu->clear();
const QStringList effects = customEffects.effectNames();
QAction *action;
+ if (effects.isEmpty()) {
+ action = new QAction(i18n("No Custom Effects"), this);
+ action->setEnabled(false);
+ m_customEffectsMenu->addAction(action);
+ }
foreach(const QString &name, effects) {
action = new QAction(name, this);
action->setData(name);
connect(monitorPlay, SIGNAL(triggered(bool)), m_monitorManager, SLOT(slotPlay()));
KAction *markIn = collection->addAction("mark_in");
- markIn->setText(i18n("Set in point"));
+ markIn->setText(i18n("Set In Point"));
markIn->setShortcut(Qt::Key_I);
connect(markIn, SIGNAL(triggered(bool)), this, SLOT(slotSetInPoint()));
KAction *markOut = collection->addAction("mark_out");
- markOut->setText(i18n("Set in point"));
+ markOut->setText(i18n("Set Out Point"));
markOut->setShortcut(Qt::Key_O);
connect(markOut, SIGNAL(triggered(bool)), this, SLOT(slotSetOutPoint()));
void MainWindow::slotAddCustomEffect(QAction *result) {
if (!result) return;
+ if (result->data().toString().isEmpty()) return;
QDomElement effect = customEffects.getEffectByName(result->data().toString());
slotAddEffect(effect);
}