Hello community,
here is the log from the commit of package lokalize for openSUSE:Factory checked in at 2016-08-31 00:09:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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 2016-07-24 19:49:18.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.lokalize.new/lokalize.changes 2016-08-31 00:09:05.000000000 +0200
@@ -1,0 +2,16 @@
+Fri Aug 12 10:30:09 UTC 2016 - tittiatcoke@gmail.com
+
+- Update to KDE Applications 16.08.0
+ * KDE Applications 16.08.0
+ * https://www.kde.org/announcements/announce-applications-16.08.0.php
+
+
+-------------------------------------------------------------------
+Mon Aug 8 15:47:42 UTC 2016 - tittiatcoke@gmail.com
+
+- Update to KDE Applications 16.07.90
+ * KDE Applications 16.07.90 (16.08-RC)
+ * https://www.kde.org/announcements/announce-applications-16.07.90.php
+
+
+-------------------------------------------------------------------
Old:
----
lokalize-16.04.3.tar.xz
New:
----
lokalize-16.08.0.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ lokalize.spec ++++++
--- /var/tmp/diff_new_pack.pTfa2t/_old 2016-08-31 00:09:06.000000000 +0200
+++ /var/tmp/diff_new_pack.pTfa2t/_new 2016-08-31 00:09:06.000000000 +0200
@@ -17,7 +17,7 @@
Name: lokalize
-Version: 16.04.3
+Version: 16.08.0
Release: 0
Summary: KDE Translation Editor
License: GPL-2.0+
++++++ lokalize-16.04.3.tar.xz -> lokalize-16.08.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lokalize-16.04.3/lokalize.appdata.xml new/lokalize-16.08.0/lokalize.appdata.xml
--- old/lokalize-16.04.3/lokalize.appdata.xml 2016-05-16 15:11:11.000000000 +0200
+++ new/lokalize-16.08.0/lokalize.appdata.xml 2016-07-27 14:33:40.000000000 +0200
@@ -19,6 +19,7 @@
<name xml:lang="lt">Lokalize</name>
<name xml:lang="nl">Lokalize</name>
<name xml:lang="nn">Lokalize</name>
+ <name xml:lang="pa">ਲੋਕਾਲਾਈਜ਼</name>
<name xml:lang="pl">Lokalize</name>
<name xml:lang="pt">Lokalize</name>
<name xml:lang="pt-BR">Lokalize</name>
@@ -39,6 +40,7 @@
<summary xml:lang="ca">Sistema de traducció assistida per ordinador</summary>
<summary xml:lang="ca-valencia">Sistema de traducció assistida per ordinador</summary>
<summary xml:lang="cs">Systém pro překlad pomocí počítače</summary>
+ <summary xml:lang="da">Computerassisteret oversættelsessystem (CAT)</summary>
<summary xml:lang="de">Computergestütztes Übersetzungssystem</summary>
<summary xml:lang="en-GB">Computer-aided translation system</summary>
<summary xml:lang="es">Sistema de traducción asistido por computador</summary>
@@ -49,6 +51,7 @@
<summary xml:lang="lt">Kompiuterizuota vertimo sistema</summary>
<summary xml:lang="nl">Computerondersteund vertaalsysteem</summary>
<summary xml:lang="nn">Dataassistert omsetjing</summary>
+ <summary xml:lang="pa">ਕੰਪਿਊਟਰ-ਸਹਾਇਕ ਅਨੁਵਾਦ ਸਿਸਟਮ</summary>
<summary xml:lang="pl">System tłumaczeń wspomagany komputerowo</summary>
<summary xml:lang="pt">Sistema de traduções auxiliado por computador</summary>
<summary xml:lang="pt-BR">Sistema de tradução auxiliado pelo computador</summary>
@@ -69,6 +72,7 @@
<p xml:lang="ast">Lokalize ye la ferramienta de llocalización pa KDE y otru software de códigu llibre. Ye tamién un sistema de traducción asistíu per ordenador (CAT) col que pues traducir ficheros OpenDocument (*.odt). Internamente úsase Translate-Toolkit pa estrayer el testu pa la traducción de ficheros </p>
<p xml:lang="ca">El Lokalize és l'eina de traducció pel KDE i altre programari de codi lliure. També és un sistema de traducció assistit per ordinador (CAT) general que amb el que es poden traduir fitxers OpenDocument (*.odt). Internament s'utilitza el Translate-Toolkit per extreure text per a la traducció des de fitxers .odt a .xliff i per tornar a fusionar la traducció al fitxer .odt.</p>
<p xml:lang="ca-valencia">El Lokalize és l'eina de traducció pel KDE i altre programari de codi lliure. També és un sistema de traducció assistit per ordinador (CAT) general que amb el que es poden traduir fitxers OpenDocument (*.odt). Internament s'utilitza el Translate-Toolkit per extreure text per a la traducció des de fitxers .odt a .xliff i per tornar a fusionar la traducció al fitxer .odt.</p>
+ <p xml:lang="da">Lokalize er oversættelsesværktøjet til KDE og anden open source software. Den er også et generet computerassisteret oversættelsessystem (CAT), hvormed du kan oversætte OpenDocument-filer (*.odt). Translate-Toolkit bruges internt til at udtrække tekst til oversættelse fra .odt til .xliff-filer og til at flette oversættelsen tilbage til .odt-filen.</p>
<p xml:lang="de">Lokalize ist ein Lokalisierungs-Programm für KDE und andere quelloffene Software. Es ist außerdem ein rechnergestütztes Übersetzungssystem (CAT), mit dem Sie auch OpenDocument-Dateien (odt) übersetzen können. Intern wird „Translate-Toolkit“ zum Extrahieren von Text für die Übersetzung aus „odt“- in „xliff“-Dateien und für das Einfügen der Übersetzung zurück in „odt“-Dateien verwendet.</p>
<p xml:lang="en-GB">Lokalize is the localisation tool for KDE and other open source software. It is also a general computer-aided translation system (CAT) with which you can translate OpenDocument files (*.odt). Translate-Toolkit is used internally to extract text for translation from .odt to .xliff files and to merge translation back into .odt file.</p>
<p xml:lang="es">Lokalize es la herramienta de traducción para KDE y para otros proyectos de software de código abierto. También es un sistema de traducción asistido por computador (CAT) de uso general con el que puede traducir archivos OpenDocument (*.odt). «Translate-Toolkit» se usa internamente para extraer el texto para la traducción de archivos .odt en .xliff y para volver a fusionar de nuevo las traducciones en los archivos .odt.</p>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lokalize-16.04.3/src/binunitsview.cpp new/lokalize-16.08.0/src/binunitsview.cpp
--- old/lokalize-16.04.3/src/binunitsview.cpp 2016-05-16 15:11:11.000000000 +0200
+++ new/lokalize-16.08.0/src/binunitsview.cpp 2016-07-27 14:33:40.000000000 +0200
@@ -226,6 +226,6 @@
#ifndef NOKDE
//FIXME child processes don't notify us about changes ;(
if (item.column()absolutePath(item.data().toString()),this);
+ new KRun(QUrl::fromLocalFile(Project::instance()->absolutePath(item.data().toString())), this);
#endif
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lokalize-16.04.3/src/catalog/catalog.cpp new/lokalize-16.08.0/src/catalog/catalog.cpp
--- old/lokalize-16.04.3/src/catalog/catalog.cpp 2016-05-16 15:11:11.000000000 +0200
+++ new/lokalize-16.08.0/src/catalog/catalog.cpp 2016-07-27 14:33:40.000000000 +0200
@@ -629,7 +629,7 @@
d._autoSave->close();
}
else
- d._autoSave->setManagedFile(d._filePath);
+ d._autoSave->setManagedFile(QUrl::fromLocalFile(d._filePath));
}
#endif
@@ -680,7 +680,7 @@
{
d._filePath=localFilePath;
#ifndef NOKDE
- d._autoSave->setManagedFile(localFilePath);
+ d._autoSave->setManagedFile(QUrl::fromLocalFile(localFilePath));
#endif
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lokalize-16.04.3/src/lokalize.notifyrc new/lokalize-16.08.0/src/lokalize.notifyrc
--- old/lokalize-16.04.3/src/lokalize.notifyrc 2016-05-16 15:11:11.000000000 +0200
+++ new/lokalize-16.08.0/src/lokalize.notifyrc 2016-07-27 14:33:40.000000000 +0200
@@ -238,9 +238,11 @@
Name[ast]=Escaniando carpetes con ficheros fonte...
Name[ca]=S'estan explorant les carpetes amb els fitxers de codi font...
Name[ca@valencia]=S'estan explorant les carpetes amb els fitxers de codi font...
+Name[da]=Scanner mapper med kildefiler...
Name[de]=Ordner mit Quelldateien wird durchsucht ...
Name[en_GB]=Scanning folders with source files...
Name[es]=Explorando carpetas con archivos de código fuente...
+Name[et]=Lähtekoodifailidega kataloogide uurimine ...
Name[fi]=Etsitään lähdekoodikansiosta…
Name[gl]=Examinando os cartafoles con ficheiros fonte…
Name[it]=Ricerca di cartelle contenenti file sorgente...
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lokalize-16.04.3/src/nokde-stubs/kmessagebox.h new/lokalize-16.08.0/src/nokde-stubs/kmessagebox.h
--- old/lokalize-16.04.3/src/nokde-stubs/kmessagebox.h 2016-05-16 15:11:11.000000000 +0200
+++ new/lokalize-16.08.0/src/nokde-stubs/kmessagebox.h 2016-07-27 14:33:40.000000000 +0200
@@ -7,8 +7,12 @@
{
static inline int save(){return 0;}
static inline int discard(){return 0;}
+ static inline int yes(){return 0;}
+ static inline int no(){return 0;}
};
+#define KGuiItem(x) 0
+
class KMessageBox: public QMessageBox
{
public:
@@ -23,6 +27,17 @@
Q_UNUSED(y) Q_UNUSED(n) Q_UNUSED(c) Q_UNUSED(dontAskAgainName)
return warning(parent, caption, text, Yes|No|Cancel, Yes);
}
+ static QMessageBox::StandardButton questionYesNoCancel(QWidget *parent, const QString &text,
+ const QString &caption,
+ int y=0,
+ int n=0,
+ int c=0,
+ const QString &dontAskAgainName=QString())
+ {
+ Q_UNUSED(y) Q_UNUSED(n) Q_UNUSED(c) Q_UNUSED(dontAskAgainName)
+ return question(parent, caption, text, Yes|No|Cancel, Yes);
+ }
+
static QMessageBox::StandardButton questionYesNo(QWidget *parent, const QString &text,
const QString &caption,
int y=0,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lokalize-16.04.3/src/nokde-stubs/prefs.cpp new/lokalize-16.08.0/src/nokde-stubs/prefs.cpp
--- old/lokalize-16.04.3/src/nokde-stubs/prefs.cpp 2016-05-16 15:11:11.000000000 +0200
+++ new/lokalize-16.08.0/src/nokde-stubs/prefs.cpp 2016-07-27 14:33:40.000000000 +0200
@@ -141,12 +141,14 @@
{
QSettings s;
mRole = s.value("Project/AuthorRole", mRole).toInt();
+ mSourceDir = s.value("Project/SourceDir", mSourceDir).toString();
}
void ProjectLocal::save()
{
QSettings s;
s.setValue(QStringLiteral("Project/AuthorRole"), mRole);
+ s.setValue(QStringLiteral("Project/SourceDir"), mSourceDir);
}
EditorTab* ProjectBase::fileOpen(QString filePath, int entry, bool setAsActive, const QString& mergeFile, bool silent)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lokalize-16.04.3/src/nokde-stubs/projectlocal.h new/lokalize-16.08.0/src/nokde-stubs/projectlocal.h
--- old/lokalize-16.04.3/src/nokde-stubs/projectlocal.h 2016-05-16 15:11:11.000000000 +0200
+++ new/lokalize-16.08.0/src/nokde-stubs/projectlocal.h 2016-07-27 14:33:40.000000000 +0200
@@ -22,6 +22,9 @@
void setFirstRun( bool v ){mFirstRun = v;}
bool firstRun() const{return mFirstRun;}
+ void setSourceDir( const QString& s){mSourceDir = s;}
+ QString sourceDir() const{return mSourceDir;}
+
void save();
void setDefaults(){}
protected:
@@ -29,6 +32,7 @@
// Personal
int mRole;
bool mFirstRun;
+ QString mSourceDir;
private:
};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lokalize-16.04.3/src/prefs/prefs.cpp new/lokalize-16.08.0/src/prefs/prefs.cpp
--- old/lokalize-16.04.3/src/prefs/prefs.cpp 2016-05-16 15:11:11.000000000 +0200
+++ new/lokalize-16.08.0/src/prefs/prefs.cpp 2016-07-27 14:33:40.000000000 +0200
@@ -282,8 +282,8 @@
ui_prefs_projectmain.kcfg_PoBaseDir,SLOT(setText(QString)));
connect(ui_prefs_projectmain.glossaryTbx,SIGNAL(textChanged(QString)),
ui_prefs_projectmain.kcfg_GlossaryTbx,SLOT(setText(QString)));
- ui_prefs_projectmain.poBaseDir->setUrl(p.poDir());
- ui_prefs_projectmain.glossaryTbx->setUrl(p.glossaryPath());
+ ui_prefs_projectmain.poBaseDir->setUrl(QUrl::fromLocalFile(p.poDir()));
+ ui_prefs_projectmain.glossaryTbx->setUrl(QUrl::fromLocalFile(p.glossaryPath()));
@@ -302,9 +302,9 @@
connect(ui_project_advanced.potBaseDir,SIGNAL(textChanged(QString)), ui_project_advanced.kcfg_PotBaseDir,SLOT(setText(QString)));
connect(ui_project_advanced.branchDir,SIGNAL(textChanged(QString)), ui_project_advanced.kcfg_BranchDir,SLOT(setText(QString)));
connect(ui_project_advanced.altDir,SIGNAL(textChanged(QString)), ui_project_advanced.kcfg_AltDir,SLOT(setText(QString)));
- ui_project_advanced.potBaseDir->setUrl(p.potDir());
- ui_project_advanced.branchDir->setUrl(p.branchDir());
- ui_project_advanced.altDir->setUrl(p.altTransDir());
+ ui_project_advanced.potBaseDir->setUrl(QUrl::fromLocalFile(p.potDir()));
+ ui_project_advanced.branchDir->setUrl(QUrl::fromLocalFile(p.branchDir()));
+ ui_project_advanced.altDir->setUrl(QUrl::fromLocalFile(p.altTransDir()));
dialog->addPage(w, i18nc("@title:tab","Advanced"), "applications-development-translation");
//Scripts
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lokalize-16.04.3/src/project/project.cpp new/lokalize-16.08.0/src/project/project.cpp
--- old/lokalize-16.04.3/src/project/project.cpp 2016-05-16 15:11:11.000000000 +0200
+++ new/lokalize-16.08.0/src/project/project.cpp 2016-07-27 14:33:40.000000000 +0200
@@ -37,7 +37,6 @@
#include
#include
-#include
#include <QLocale>
#include <QTimer>
@@ -51,6 +50,8 @@
#include "projectmodel.h"
#include "webquerycontroller.h"
+#include
+
#include
#include
#include
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lokalize-16.04.3/src/project/projectmodel.cpp new/lokalize-16.08.0/src/project/projectmodel.cpp
--- old/lokalize-16.04.3/src/project/projectmodel.cpp 2016-05-16 15:11:11.000000000 +0200
+++ new/lokalize-16.08.0/src/project/projectmodel.cpp 2016-07-27 14:33:40.000000000 +0200
@@ -1111,7 +1111,7 @@
}
const FileMetaData& info=job->m_info.first();
- QModelIndex index = indexForUrl(info.filePath);
+ QModelIndex index = indexForUrl(QUrl::fromLocalFile(info.filePath));
if (!index.isValid())
return;