[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/base/plasma
From:       Andrew Coles <andrew_coles () yahoo ! co ! uk>
Date:       2009-10-27 20:39:58
Message-ID: 1256675998.758050.11606.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1041335 by coles:

Minor proof-reading changes:
 - avoid can't, isn't - use cannot, is not
 - don't add extra spaces around punctuation
 - for things like '%1 jobs', even if we know that %1 is greater than 1, still use an \
i18np call as non-English languages might have different plural forms for numbers \
ending with 2, 3 etc.



 M  +1 -1      applets/fancytasks/applet/FancyTasksIcon.cpp  
 M  +1 -1      applets/openbrain/openbrainsettings.cpp  
 M  +4 -4      plasmate/mainwindow.cpp  
 M  +1 -1      plasmate/savesystem/commitdialog.cpp  
 M  +3 -3      plasmate/savesystem/timeline.cpp  


--- trunk/playground/base/plasma/applets/fancytasks/applet/FancyTasksIcon.cpp \
#1041334:1041335 @@ -1710,7 +1710,7 @@
         case Job:
             if (m_jobs.count() > 1)
             {
-                return i18n("%1 jobs", m_jobs.count());
+                return i18np("1 job", "%1 jobs", m_jobs.count());
             }
             else if (m_jobs.count() == 1)
             {
--- trunk/playground/base/plasma/applets/openbrain/openbrainsettings.cpp \
#1041334:1041335 @@ -25,7 +25,7 @@
     QProcess p;
     p.start("cp -a \"" + path + "\" \"" + QDir::homePath() + "/.openbrain/aiml\"");
     if(!p.waitForFinished())
-        QMessageBox::information(this, i18n("Error"), i18n("Couldn't copy AIML Set \
(permission denied)")); +        QMessageBox::information(this, i18n("Error"), \
i18n("Could not copy AIML Set (permission denied.)"));  \
this->comboAimlSet->insertItem(0, QDir(path).dirName());  \
this->comboAimlSet->setCurrentIndex(0);  }
--- trunk/playground/base/plasma/plasmate/mainwindow.cpp #1041334:1041335
@@ -236,17 +236,17 @@
     }
     break;
     case EditTab: {
-        QLabel *l = new QLabel(i18n("Select a file to edit!"), this);
+        QLabel *l = new QLabel(i18n("Select a file to edit."), this);
         setCentralWidget(l);
     }
     break;
     case PublishTab: {
-        QLabel *l = new QLabel(i18n("Publish widget will go here!"), this);
+        QLabel *l = new QLabel(i18n("Publish widget will go here."), this);
         setCentralWidget(l);
     }
     break;
     case DocsTab: {
-        QLabel *l = new QLabel(i18n("Documentation widget will go here!"), this);
+        QLabel *l = new QLabel(i18n("Documentation widget will go here."), this);
         setCentralWidget(l);
     }
     break;
@@ -379,7 +379,7 @@
     if(!docksCreated)
         createDockWidgets();
 
-    QLabel *l = new QLabel(i18n("Select a file to edit!"), this);
+    QLabel *l = new QLabel(i18n("Select a file to edit."), this);
     setCentralWidget(l);
 
     m_oldTab = EditTab;
--- trunk/playground/base/plasma/plasmate/savesystem/commitdialog.cpp \
#1041334:1041335 @@ -38,7 +38,7 @@
     setMaximumWidth(300);
     setMaximumHeight(300);
 
-    m_commitBriefLabel = new QLabel(i18n("Brief comment ( required ):"), this);
+    m_commitBriefLabel = new QLabel(i18n("Brief comment (required):"), this);
     m_commitBriefLabel->setGeometry(QRect(10, 0, 280, 40));
 
     m_commitBriefText = new QLineEdit(i18n("Type here a brief description"), this);
--- trunk/playground/base/plasma/plasmate/savesystem/timeline.cpp #1041334:1041335
@@ -409,7 +409,7 @@
     if (m_branches.contains(newBranchName)) {
         QMessageBox *mb = new QMessageBox(QMessageBox::Warning,
                                           i18n("Warning"),
-                                          i18n("Can't rename the Section.\nReason: a \
Section with this name already exists."), +                                          \
i18n("Cannot rename the section: a section with this name already exists."),  \
                QMessageBox::NoButton,
                                           this, Qt::Dialog | \
Qt::MSWindowsFixedSizeDialogHint);  mb->exec();
@@ -517,7 +517,7 @@
     if (m_branches.contains(newBranchName)) {
         QMessageBox *mb = new QMessageBox(QMessageBox::Warning,
                                           i18n("Warning"),
-                                          i18n("Can't rename the Section.\nReason: a \
Section with this name already exists."), +                                          \
i18n("Cannot rename the section: a section with this name already exists."),  \
                QMessageBox::NoButton,
                                           this, Qt::Dialog | \
Qt::MSWindowsFixedSizeDialogHint);  mb->exec();
@@ -547,7 +547,7 @@
     if (m_branches.contains(newBranchName)) {
         QMessageBox *mb = new QMessageBox(QMessageBox::Warning,
                                           i18n("Warning"),
-                                          i18n("Can't create the Section.\nReason: a \
Section with this name already exists."), +                                          \
i18n("Cannot create section: a section with this name already exists."),  \
                QMessageBox::NoButton,
                                           this, Qt::Dialog | \
Qt::MSWindowsFixedSizeDialogHint);  mb->exec();


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic