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

List:       kde-commits
Subject:    [nepomuk-web-extractor] e5bbce5: various i18n fixes
From:       Pino Toscano <pino () kde ! org>
Date:       2010-11-21 11:36:50
Message-ID: 20101121113651.00ED1A60A6 () git ! kde ! org
[Download RAW message or body]

commit e5bbce50ebecdb9759068612b9bfc6422e05a99e
branch master
Author: Pino Toscano <pino@kde.org>
Date:   Sun Nov 21 12:36:42 2010 +0100

    various i18n fixes
    
    - add colons at the end of labels for line edits
    - capitalize "URI", and "Git"
    - fix spelling
    - remove extra spaces at beginning and end of sentences
    - add period at the end of error messages
    and some stuff more

diff --git a/dev-scripts/newplugin/dialog.ui b/dev-scripts/newplugin/dialog.ui
index 3c7dd7b..343d694 100644
--- a/dev-scripts/newplugin/dialog.ui
+++ b/dev-scripts/newplugin/dialog.ui
@@ -19,7 +19,7 @@
      <item>
       <widget class="QLabel" name="label">
        <property name="text">
-        <string>Name</string>
+        <string>Name:</string>
        </property>
       </widget>
      </item>
@@ -41,7 +41,7 @@
    <item>
     <widget class="QCheckBox" name="gitCheckBox">
      <property name="text">
-      <string>Detect missed values with git</string>
+      <string>Detect missed values with Git</string>
      </property>
      <property name="checked">
       <bool>true</bool>
@@ -53,7 +53,7 @@
      <item>
       <widget class="QLabel" name="label_2">
        <property name="text">
-        <string>Author</string>
+        <string>Author:</string>
        </property>
       </widget>
      </item>
@@ -67,7 +67,7 @@
      <item>
       <widget class="QLabel" name="label_3">
        <property name="text">
-        <string>E-mail</string>
+        <string>E-mail:</string>
        </property>
       </widget>
      </item>
diff --git a/gui/libwebextractorui/decisionForm.ui \
b/gui/libwebextractorui/decisionForm.ui index 28f0ae4..a3d5339 100644
--- a/gui/libwebextractorui/decisionForm.ui
+++ b/gui/libwebextractorui/decisionForm.ui
@@ -20,7 +20,7 @@
       </sizepolicy>
      </property>
      <property name="text">
-      <string>Decision information</string>
+      <string>Decision information:</string>
      </property>
     </widget>
    </item>
diff --git a/runtime/console/infoPage.ui b/runtime/console/infoPage.ui
index 62a5403..a06f87f 100644
--- a/runtime/console/infoPage.ui
+++ b/runtime/console/infoPage.ui
@@ -16,7 +16,7 @@
      <item>
       <widget class="QLabel" name="label_3">
        <property name="text">
-        <string>Nepomuk Uri</string>
+        <string>Nepomuk URI</string>
        </property>
       </widget>
      </item>
@@ -140,7 +140,7 @@ p, li { white-space: pre-wrap; }
          <item>
           <widget class="KPushButton" name="clearAllExaminedButton">
            <property name="text">
-            <string>ClearAll</string>
+            <string>Clear All</string>
            </property>
           </widget>
          </item>
diff --git a/runtime/console/launchPage.ui b/runtime/console/launchPage.ui
index 4a0e70c..a91fdd8 100644
--- a/runtime/console/launchPage.ui
+++ b/runtime/console/launchPage.ui
@@ -126,7 +126,7 @@
                 <item>
                  <widget class="QLabel" name="label_4">
                   <property name="text">
-                   <string>Analyzing politics</string>
+                   <string>Analyzing politics:</string>
                   </property>
                  </widget>
                 </item>
@@ -159,7 +159,7 @@ every iteration</string>
                 <item>
                  <widget class="QLabel" name="label_7">
                   <property name="text">
-                   <string>Select backend to use</string>
+                   <string>Select backend to use:</string>
                   </property>
                  </widget>
                 </item>
@@ -243,7 +243,7 @@ every iteration</string>
             </property>
             <widget class="QWidget" name="tab_5">
              <attribute name="title">
-              <string>Enter  uri</string>
+              <string>Enter URI</string>
              </attribute>
              <widget class="QWidget" name="layoutWidget">
               <property name="geometry">
@@ -258,7 +258,7 @@ every iteration</string>
                <item>
                 <widget class="QLabel" name="label_2">
                  <property name="text">
-                  <string>Nepomuk Uri</string>
+                  <string>Nepomuk URI</string>
                  </property>
                 </widget>
                </item>
@@ -279,7 +279,7 @@ every iteration</string>
               <item>
                <widget class="QCheckBox" name="useAllResourcesCheckBox">
                 <property name="text">
-                 <string>Use all resource ( Default is use only selected )</string>
+                 <string>Use all the resources (default is to use only \
selected)</string>  </property>
                </widget>
               </item>
@@ -394,7 +394,7 @@ every iteration</string>
          </widget>
          <widget class="QWidget" name="identificationPage">
           <attribute name="title">
-           <string>Identification </string>
+           <string>Identification</string>
           </attribute>
           <layout class="QVBoxLayout" name="verticalLayout_5">
            <item>
diff --git a/runtime/console/main.cpp b/runtime/console/main.cpp
index 611de97..d43b0b9 100644
--- a/runtime/console/main.cpp
+++ b/runtime/console/main.cpp
@@ -29,9 +29,9 @@
 int main(int argc, char ** argv)
 {
     KAboutData about("webextracor_console", 0,
-                     ki18nc("@title", "WebExtractorConsole"),
+                     ki18nc("@title", "WebExtractor Console"),
                      "1.5",
-                     ki18nc("@title", "WebExtracor Console"),
+                     ki18nc("@title", "WebExtractor Console"),
                      KAboutData::License_GPL,
                      ki18nc("@info:credit", "(C) 2010 Artem Serebriyskiy"));
 
@@ -39,9 +39,9 @@ int main(int argc, char ** argv)
 
 
     KCmdLineOptions options;
-    options.add(QByteArray("uri < nepomuk uri >"), ki18n("Nepomuk uri for \
extracting")); +    options.add(QByteArray("uri < nepomuk uri >"), ki18n("Nepomuk URI \
for extracting"));  options.add("start", ki18n("Start extracting immediately"));
-    options.add("!+datapp", ki18n("Desired set of datapps. Unexisting and invalid \
will be silently ignored")); +    options.add("!+datapp", ki18n("Desired set of \
dataPPs. Unexisting and invalid will be silently ignored."));  
     KCmdLineArgs::addCmdLineOptions(options);
 
diff --git a/runtime/graphviz/main.cpp b/runtime/graphviz/main.cpp
index a7e9a0f..2aab4b3 100644
--- a/runtime/graphviz/main.cpp
+++ b/runtime/graphviz/main.cpp
@@ -10,7 +10,7 @@
 int main(int argc, char ** argv)
 {
     KAboutData about("nepomuk_graphviz", 0,
-                     ki18nc("@title", "NepomukGraphViz "),
+                     ki18nc("@title", "NepomukGraphViz"),
                      "1.5",
                      ki18nc("@title", "Nepomuk GraphViz Visualizer"),
                      KAboutData::License_GPL,
diff --git a/runtime/libwebexsettings/webextractor.kcfg \
b/runtime/libwebexsettings/webextractor.kcfg index ae1b396..c99f70a 100644
--- a/runtime/libwebexsettings/webextractor.kcfg
+++ b/runtime/libwebexsettings/webextractor.kcfg
@@ -10,12 +10,12 @@
 
 <group name="webextractorcore">
     <entry name="categories" type="StringList">
-	<label> List of enabled categories </label>
-	<whatsthis> This is the list of enabled categories of resources. Each resource in \
each category will be parsed by WebExtractor. Plugins can be specified in \
per-category manner </whatsthis> +	<label>List of enabled categories</label>
+	<whatsthis>This is the list of enabled categories of resources. Each resource in \
each category will be parsed by WebExtractor. Plugins can be specified in \
per-category manner.</whatsthis>  </entry>
     <entry key="max_categories_simult" name="maxCategoriesSimult" type="UInt">
-	<label> Max number of simultaneously processed categories </label>
-	<whatsthis> This is number maximum of simultaneously processed categories. It \
affect number of threads. Generaly if each category is processed with one thread then \
this parameter is maximum number of spawned threads </whatsthis> +	<label>Maximum \
number of simultaneously processed categories</label> +	<whatsthis>This is maximum \
number of simultaneously processed categories. It affects the number of threads. \
Generally if each category is processed with one thread then this parameter is the \
maximum number of spawned threads.</whatsthis>  <min>1</min>
 	<max>10000</max>
 	<default code="true"> qMax(QThread::idealThreadCount(),1) </default>
@@ -37,7 +37,7 @@
 	<default>0</default>
     </entry>
     <entry name="decisionsModelScheme" key="decisionsModelScheme" type="Enum" >
-	<label> Enum for selecting some predefined settings for decisions model </label>
+	<label>Enum for selecting some predefined settings for decisions model</label>
 	<choices>
 	    <choice name="Auto"/>
 	    <choice name="Redland"/>
@@ -46,25 +46,25 @@
 	</choices>
     </entry>
     <entry name="decisionsModelBackend" key="decisions_model_backend" type="String">
-	<label> Backend for generating model for decisions </label>
+	<label>Backend for generating model for decisions</label>
 	<default>auto</default>
     </entry>
     <entry name="decisionsModelDir" key="decisons_model_dir" type="String" >
-	<label> Directory for storing decisions model data or "random" to use randomly \
created directory </label> +	<label>Directory for storing decisions model data or \
"random" to use randomly created directory</label>  <default>random</default>
     </entry>
     <entry name="forceStorage" key="force_storage" type="Bool" >
-	<label> Flag. If set to true, then even if model supports in-memory models, model \
with storage will be used </label> +	<label>Flag. If set to true, then even if model \
supports in-memory models, model with storage will be used</label>  <default> false \
</default>  </entry>
     
     <entry name="removeDecisionsModelData" key="remove_decisions_model_data" \
                type="Bool" >
-	<label> Flag. If set to true, then files generated for decisions model will be \
removed after they will become unnecessary. Set this flag to false only for debugging \
purposes </label> +	<label>Flag. If set to true, then files generated for decisions \
model will be removed after they will become unnecessary. Set this flag to false only \
for debugging purposes</label>  <default>true</default>
     </entry>
 
     <entry name="examinedDataPPStorage" key="examined_datapp_storage" type="Enum" >
-	<label> Select how and where information about examined DataPP for each resource \
must be stored </label> +	<label>Select how and where information about examined \
DataPP for each resource must be stored</label>  <choices>
 	    <choice name="Nepomuk"/>
 	</choices>
diff --git a/runtime/service/kcm/CategoriesPage.cpp \
b/runtime/service/kcm/CategoriesPage.cpp index 66f3d07..7e65744 100644
--- a/runtime/service/kcm/CategoriesPage.cpp
+++ b/runtime/service/kcm/CategoriesPage.cpp
@@ -240,7 +240,7 @@ void CategoriesPage::createCategory(const QString & name)
         return;
 
     if(m_categories.contains(name)) {
-        KMessageBox::sorry(this, i18n("This category already exists"));
+        KMessageBox::sorry(this, i18n("This category already exists."));
         return;
     }
 
@@ -260,7 +260,7 @@ void CategoriesPage::removeCategory(const QString & name)
         return;
 
     if(!m_categories.contains(name)) {
-        KMessageBox::error(this, i18n("This category has been already removed"));
+        KMessageBox::error(this, i18n("This category has been already removed."));
         return;
     }
 
@@ -376,7 +376,7 @@ void CategoriesPage::addButton()
 {
     bool answer;
 
-    QString catname = KInputDialog::getText(i18n("New category name"), i18n("Enter \
new category name"), QString(), &answer, this, this->m_catvalidator); +    QString \
catname = KInputDialog::getText(i18n("New Category Name"), i18n("Enter new category \
name:"), QString(), &answer, this, this->m_catvalidator);  
     if(!answer)
         return;


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

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