From 3fc49396997c61c973d3f2cae3ee8a6dd9926e10 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Mardelle Date: Fri, 3 Oct 2008 13:50:11 +0000 Subject: [PATCH] Fix wizard i18n strings svn path=/branches/KDE4/; revision=2428 --- po/kdenlive.pot | 15 ++++++++++++--- src/wizard.cpp | 10 +++++----- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/po/kdenlive.pot b/po/kdenlive.pot index 7c4337f7..c7836345 100644 --- a/po/kdenlive.pot +++ b/po/kdenlive.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2008-10-03 15:55+0200\n" +"POT-Creation-Date: 2008-10-03 15:58+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -690,6 +690,12 @@ msgstr "" msgid "Environment" msgstr "" +msgid "Error starting MLT's command line player (inigo)" +msgstr "" + +msgid "Error starting MLT's command line player (inigo)." +msgstr "" + msgid "Error when resizing clip" msgstr "" @@ -962,12 +968,12 @@ msgstr "" msgid "" "MLT's SDL module not found. Please check your MLT install. Kdenlive will not " -"work until this issue is fixed.\n" +"work until this issue is fixed." msgstr "" msgid "" "MLT's avformat (FFMPEG) module not found. Please check your FFMPEG and MLT " -"install. Kdenlive will not work until this issue is fixed.\n" +"install. Kdenlive will not work until this issue is fixed." msgstr "" msgid "Manage Profiles" @@ -1572,6 +1578,9 @@ msgid "" "Change only if you know what you do." msgstr "" +msgid "Welcome" +msgstr "" + msgid "Width" msgstr "" diff --git a/src/wizard.cpp b/src/wizard.cpp index 48261ed2..27286dbb 100644 --- a/src/wizard.cpp +++ b/src/wizard.cpp @@ -36,7 +36,7 @@ Wizard::Wizard(QWidget *parent): QWizard(parent) { setPixmap(QWizard::WatermarkPixmap, QPixmap(KStandardDirs::locate("appdata", "banner.png"))); QWizardPage *page1 = new QWizardPage; - page1->setTitle("Welcome"); + page1->setTitle(i18n("Welcome")); QLabel *label = new QLabel(i18n("This is the first time you run Kdenlive. This wizard will let you adjust some basic settings, you will be ready to edit your first movie in a few seconds...")); label->setWordWrap(true); m_startLayout = new QVBoxLayout; @@ -198,22 +198,22 @@ void Wizard::slotCheckMlt() { QProcess checkProcess; checkProcess.start(KdenliveSettings::rendererpath(), QStringList() << "-query" << "producer"); if (!checkProcess.waitForStarted()) - errorMessage.append("Error starting MLT's command line player (inigo).\n"); + errorMessage.append(i18n("Error starting MLT's command line player (inigo)") + ".\n"); checkProcess.waitForFinished(); QByteArray result = checkProcess.readAllStandardError(); - if (!result.contains("- avformat")) errorMessage.append(i18n("MLT's avformat (FFMPEG) module not found. Please check your FFMPEG and MLT install. Kdenlive will not work until this issue is fixed.\n")); + if (!result.contains("- avformat")) errorMessage.append(i18n("MLT's avformat (FFMPEG) module not found. Please check your FFMPEG and MLT install. Kdenlive will not work until this issue is fixed.") + "\n"); QProcess checkProcess2; checkProcess2.start(KdenliveSettings::rendererpath(), QStringList() << "-query" << "consumer"); if (!checkProcess2.waitForStarted()) - errorMessage.append("Error starting MLT's command line player (inigo).\n"); + errorMessage.append(i18n("Error starting MLT's command line player (inigo).") + "\n"); checkProcess2.waitForFinished(); result = checkProcess2.readAllStandardError(); - if (!result.contains("sdl") || !result.contains("sdl_preview")) errorMessage.append(i18n("MLT's SDL module not found. Please check your MLT install. Kdenlive will not work until this issue is fixed.\n")); + if (!result.contains("sdl") || !result.contains("sdl_preview")) errorMessage.append(i18n("MLT's SDL module not found. Please check your MLT install. Kdenlive will not work until this issue is fixed.") + "\n"); if (!errorMessage.isEmpty()) { errorMessage.prepend(QString("%1
").arg(i18n("Fatal Error"))); -- 2.39.2