Hello community,

here is the log from the commit of package lokalize for openSUSE:Factory 
checked in at 2014-03-18 17:17:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lokalize (Old)
 and      /work/SRC/openSUSE:Factory/.lokalize.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lokalize"

Changes:
--------
--- /work/SRC/openSUSE:Factory/lokalize/lokalize.changes        2014-02-20 
07:58:43.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.lokalize.new/lokalize.changes   2014-03-18 
17:17:11.000000000 +0100
@@ -1,0 +2,14 @@
+Thu Mar 13 20:51:48 UTC 2014 - [email protected]
+
+- Update to 4.12.90
+   * KDE 4.13 Beta 2  release
+   * See http://www.kde.org/announcements/announce-4.13-beta2.php
+
+-------------------------------------------------------------------
+Fri Mar  7 11:36:23 UTC 2014 - [email protected]
+
+- Update to 4.12.80
+   * KDE 4.13 Beta 1  release
+   * See http://www.kde.org/announcements/announce-4.13-beta1.php
+
+-------------------------------------------------------------------

Old:
----
  lokalize-4.12.2.tar.xz

New:
----
  lokalize-4.12.90.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ lokalize.spec ++++++
--- /var/tmp/diff_new_pack.2I8ivD/_old  2014-03-18 17:17:12.000000000 +0100
+++ /var/tmp/diff_new_pack.2I8ivD/_new  2014-03-18 17:17:12.000000000 +0100
@@ -23,7 +23,7 @@
 License:        GPL-2.0+
 Group:          System/GUI/KDE
 Url:            http://www.kde.org/
-Version:        4.12.2
+Version:        4.12.90
 Release:        0
 Source0:        %{name}-%{version}.tar.xz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ lokalize-4.12.2.tar.xz -> lokalize-4.12.90.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lokalize-4.12.2/src/catalog/gettextheader.cpp 
new/lokalize-4.12.90/src/catalog/gettextheader.cpp
--- old/lokalize-4.12.2/src/catalog/gettextheader.cpp   2013-12-18 
07:33:14.000000000 +0100
+++ new/lokalize-4.12.90/src/catalog/gettextheader.cpp  2014-03-04 
07:02:24.000000000 +0100
@@ -46,7 +46,7 @@
  * this data was obtained by running GNUPluralForms()
  * on all languages KDE knows of
 **/
-#define NUM_LANG_WITH_INFO 40
+#define NUM_LANG_WITH_INFO 41
 static const char* langsWithPInfo[NUM_LANG_WITH_INFO]={
 "ar",
 "cs",
@@ -87,7 +87,8 @@
 "th",
 "tr",
 "uk",
-"vi"
+"vi",
+"zh_CN"
 // '\0'
 };
 
@@ -131,6 +132,7 @@
 "nplurals=1; plural=0;",
 "nplurals=2; plural=(n > 1);",
 "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && 
(n%100<10 || n%100>=20) ? 1 : 2);",
+"nplurals=1; plural=0;",
 "nplurals=1; plural=0;"
 };
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lokalize-4.12.2/src/common/termlabel.cpp 
new/lokalize-4.12.90/src/common/termlabel.cpp
--- old/lokalize-4.12.2/src/common/termlabel.cpp        2013-12-18 
07:33:14.000000000 +0100
+++ new/lokalize-4.12.90/src/common/termlabel.cpp       2014-03-04 
07:02:24.000000000 +0100
@@ -81,7 +81,7 @@
             return;
         termTrans=txt->text();
     }
-    else
+    else if (termTarget.count() == 1)
         termTrans=termTarget.first();
 
     if (m_capFirst && !termTrans.isEmpty())
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lokalize-4.12.2/src/filesearch/filesearchtab.cpp 
new/lokalize-4.12.90/src/filesearch/filesearchtab.cpp
--- old/lokalize-4.12.2/src/filesearch/filesearchtab.cpp        2013-12-18 
07:33:14.000000000 +0100
+++ new/lokalize-4.12.90/src/filesearch/filesearchtab.cpp       2014-03-04 
07:02:24.000000000 +0100
@@ -789,12 +789,13 @@
 
     m_model->appendSearchResults(searchResults);
 */
-    m_model->appendSearchResults(j->results);
-
-    statusBarItems.insert(1,i18nc("@info:status message entries","Total: %1", 
m_model->rowCount()));
     if (j->results.size())
+    {
+        m_model->appendSearchResults(j->results);
         m_searchFileListView->scrollTo(j->results.last().filepath);
+    }
 
+    statusBarItems.insert(1,i18nc("@info:status message entries","Total: %1", 
m_model->rowCount()));
     //ui_fileSearchOptions->treeView->setFocus();
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lokalize-4.12.2/src/lokalize.notifyrc 
new/lokalize-4.12.90/src/lokalize.notifyrc
--- old/lokalize-4.12.2/src/lokalize.notifyrc   2013-12-18 07:33:14.000000000 
+0100
+++ new/lokalize-4.12.90/src/lokalize.notifyrc  2014-03-04 07:02:24.000000000 
+0100
@@ -196,6 +196,7 @@
 Name[hu]=Nem találhatók Qt SQL modulok
 Name[it]=Non è stato trovato nessun modulo Qt Sql
 Name[kk]=Qt Sql модульдері табылмаған
+Name[ko]=Qt SQL 모듈을 찾을 수 없음
 Name[lt]=Nerasta Qt Sql modulių
 Name[nb]=Fant ingen Qt SQL-moduler
 Name[nl]=Geen Qt-Sql-modules gevonden
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lokalize-4.12.2/src/prefs/prefs_tm.ui 
new/lokalize-4.12.90/src/prefs/prefs_tm.ui
--- old/lokalize-4.12.2/src/prefs/prefs_tm.ui   2013-12-18 07:33:14.000000000 
+0100
+++ new/lokalize-4.12.90/src/prefs/prefs_tm.ui  2014-03-04 07:02:24.000000000 
+0100
@@ -55,7 +55,7 @@
       <string>Set the maximum number of suggestions</string>
      </property>
      <property name="whatsThis" >
-      <string>You can change the maximum number of suggestions, default is 
10.</string>
+      <string>You can change the maximum number of suggestions, default is 
7.</string>
      </property>
     </widget>
    </item>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lokalize-4.12.2/src/tm/tmtab.cpp 
new/lokalize-4.12.90/src/tm/tmtab.cpp
--- old/lokalize-4.12.2/src/tm/tmtab.cpp        2013-12-18 07:33:14.000000000 
+0100
+++ new/lokalize-4.12.90/src/tm/tmtab.cpp       2014-03-04 07:02:24.000000000 
+0100
@@ -468,12 +468,9 @@
 
     ui_queryOptions->dbName->setModel(DBFilesModel::instance());
     
ui_queryOptions->dbName->setRootModelIndex(DBFilesModel::instance()->rootIndex());
-    QPersistentModelIndex* pi=DBFilesModel::instance()->projectDBIndex();
-    if (pi)
-    {
-        ui_queryOptions->dbName->setCurrentIndex(pi->row());
-        ui_queryOptions->dbName->view()->setCurrentIndex(*pi);
-    }
+    int 
pos=ui_queryOptions->dbName->findText(Project::instance()->projectID());
+    if (pos>=0)
+        ui_queryOptions->dbName->setCurrentIndex(pos);
     connect(ui_queryOptions->dbName, SIGNAL(activated(QString)), m_model, 
SLOT(setDB(QString)));
     //connect(ui_queryOptions->dbName, SIGNAL(activated(QString)), this, 
SLOT(performQuery()));
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lokalize-4.12.2/src/tm/tmview.cpp 
new/lokalize-4.12.90/src/tm/tmview.cpp
--- old/lokalize-4.12.2/src/tm/tmview.cpp       2013-12-18 07:33:14.000000000 
+0100
+++ new/lokalize-4.12.90/src/tm/tmview.cpp      2014-03-04 07:02:24.000000000 
+0100
@@ -475,7 +475,7 @@
         html+=(entry.score>9500)?"<p class='close_match'>":"<p>";
         //kDebug()<<entry.target.string<<entry.hits;
 
-        html+=QString("/%1%/ ").arg(float(entry.score)/100);
+        html+=QString("/%1%/ ").arg(entry.score > 10000 ? 100: 
float(entry.score)/100);
 
         //int sourceStartPos=cur.position();
         QString result=Qt::escape(entry.diff);

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to