commit okular for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/000404b9c3cf99a2a21283776f57d3b5.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package okular for openSUSE:Factory checked in at 2017-01-25 23:14:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/okular (Old) and /work/SRC/openSUSE:Factory/.okular.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "okular" Changes: -------- --- /work/SRC/openSUSE:Factory/okular/okular.changes 2016-12-17 10:56:55.030200968 +0100 +++ /work/SRC/openSUSE:Factory/.okular.new/okular.changes 2017-01-25 23:14:59.578257138 +0100 @@ -1,0 +2,13 @@ +Thu Jan 19 15:36:33 UTC 2017 - wbauer@tmo.at + +- Cleanup/update build requirements +- Add necessary dependencies to the devel package (boo#1020735) + +------------------------------------------------------------------- +Sat Jan 14 09:07:59 UTC 2017 - lbeltrame@kde.org + +- - Update to KDE Applications 16.12.1 + * KDE Applications 16.12.1 + * https://www.kde.org/announcements/announce-applications-16.12.1.php + +------------------------------------------------------------------- Old: ---- okular-16.12.0.tar.xz New: ---- okular-16.12.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ okular.spec ++++++ --- /var/tmp/diff_new_pack.5DDMMB/_old 2017-01-25 23:15:00.186165471 +0100 +++ /var/tmp/diff_new_pack.5DDMMB/_new 2017-01-25 23:15:00.190164868 +0100 @@ -17,66 +17,58 @@ Name: okular -Version: 16.12.0 +Version: 16.12.1 Release: 0 %define kf5_version 5.26.0 -# Latest stable Applications (e.g. 16.08 in KA, but 16.12.0 in KUA) +# Latest stable Applications (e.g. 16.08 in KA, but 16.12.1 in KUA) %{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} Summary: Document Viewer License: GPL-2.0+ Group: Productivity/Office/Other Url: http://www.kde.org Source: %{name}-%{version}.tar.xz -BuildRequires: OpenEXR-devel BuildRequires: chmlib-devel BuildRequires: extra-cmake-modules -BuildRequires: fdupes -BuildRequires: fribidi-devel +BuildRequires: freetype2-devel BuildRequires: kactivities5-devel BuildRequires: karchive-devel BuildRequires: kbookmarks-devel +BuildRequires: kcompletion-devel BuildRequires: kconfig-devel BuildRequires: kconfigwidgets-devel -BuildRequires: kdelibs4support-devel +BuildRequires: kcoreaddons-devel +BuildRequires: kdbusaddons-devel BuildRequires: kdoctools-devel -BuildRequires: kemoticons-devel BuildRequires: kf5-filesystem BuildRequires: khtml-devel -BuildRequires: ki18n-devel -BuildRequires: kidletime-devel +BuildRequires: kiconthemes-devel BuildRequires: kio-devel BuildRequires: kjs-devel -BuildRequires: knotifyconfig-devel -BuildRequires: kpackage-devel BuildRequires: kparts-devel BuildRequires: kpty-devel BuildRequires: kwallet-devel -BuildRequires: kwidgetsaddons-devel +BuildRequires: kwindowsystem-devel BuildRequires: libdjvulibre-devel BuildRequires: libepub-devel -BuildRequires: libgphoto2-devel BuildRequires: libjpeg-devel BuildRequires: libkexiv2-devel -BuildRequires: libkscreen2-devel BuildRequires: libpoppler-qt5-devel BuildRequires: libqca-qt5-devel BuildRequires: libspectre-devel BuildRequires: libtiff-devel BuildRequires: mobipocket-devel -BuildRequires: net-snmp-devel BuildRequires: phonon4qt5-devel BuildRequires: pkgconfig -BuildRequires: sane-backends-devel -BuildRequires: solid-devel -BuildRequires: sonnet-devel BuildRequires: threadweaver-devel -BuildRequires: pkgconfig(Qt5Concurrent) >= 5.2.0 -BuildRequires: pkgconfig(Qt5Core) >= 5.2.0 -BuildRequires: pkgconfig(Qt5Qml) >= 5.2.0 -BuildRequires: pkgconfig(Qt5Script) >= 5.2.0 -BuildRequires: pkgconfig(Qt5Svg) >= 5.2.0 -BuildRequires: pkgconfig(Qt5Test) >= 5.2.0 -BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0 +BuildRequires: pkgconfig(Qt5Core) >= 5.6.0 +BuildRequires: pkgconfig(Qt5DBus) >= 5.6.0 +BuildRequires: pkgconfig(Qt5PrintSupport) >= 5.6.0 +BuildRequires: pkgconfig(Qt5Qml) >= 5.6.0 +BuildRequires: pkgconfig(Qt5Quick) >= 5.6.0 +BuildRequires: pkgconfig(Qt5Svg) >= 5.6.0 +BuildRequires: pkgconfig(Qt5Test) >= 5.6.0 +BuildRequires: pkgconfig(Qt5Widgets) >= 5.6.0 +Buildrequires: zlib-devel Obsoletes: okular5 < %{version} Provides: okular5 = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -89,6 +81,12 @@ Summary: Document Viewer - Development Files Group: Development/Libraries/KDE Requires: %{name} = %{version} +Requires: cmake(Qt5Core) >= 5.6.0 +Requires: cmake(Qt5PrintSupport) >= 5.6.0 +Requires: cmake(Qt5Widgets) >= 5.6.0 +Requires: cmake(KF5CoreAddons) +Requires: cmake(KF5Config) +Requires: cmake(KF5XmlGui) Obsoletes: okular5-devel < %{version} Provides: okular5-devel = %{version} ++++++ okular-16.12.0.tar.xz -> okular-16.12.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/CMakeLists.txt new/okular-16.12.1/CMakeLists.txt --- old/okular-16.12.0/CMakeLists.txt 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/CMakeLists.txt 2017-01-08 19:38:42.000000000 +0100 @@ -11,7 +11,7 @@ # KDE Application Version, managed by release script set (KDE_APPLICATIONS_VERSION_MAJOR "16") set (KDE_APPLICATIONS_VERSION_MINOR "12") -set (KDE_APPLICATIONS_VERSION_MICRO "0") +set (KDE_APPLICATIONS_VERSION_MICRO "1") set (KDE_APPLICATIONS_VERSION "${KDE_APPLICATIONS_VERSION_MAJOR}.${KDE_APPLICATIONS_VERSION_MINOR}.${KDE_APPLICATIONS_VERSION_MICRO}") include(ECMInstallIcons) @@ -264,6 +264,7 @@ ui/ktreeviewsearchline.cpp ui/latexrenderer.cpp ui/minibar.cpp + ui/okmenutitle.cpp ui/pageitemdelegate.cpp ui/pagepainter.cpp ui/pagesizelabel.cpp diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/core/document.cpp new/okular-16.12.1/core/document.cpp --- old/okular-16.12.0/core/document.cpp 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/core/document.cpp 2017-01-08 19:38:42.000000000 +0100 @@ -2196,11 +2196,11 @@ foreach (const QString& supported, md.mimeTypes()) { QMimeType mimeType = mimeDatabase.mimeTypeForName(supported); - if (mimeType == type) { + if (mimeType == type && !exactMatches.contains(md)) { exactMatches << md; } - if (type.inherits(supported)) + if (type.inherits(supported) && !offers.contains(md)) { offers << md; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/generators/chm/libokularGenerator_chmlib.json new/okular-16.12.1/generators/chm/libokularGenerator_chmlib.json --- old/okular-16.12.0/generators/chm/libokularGenerator_chmlib.json 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/generators/chm/libokularGenerator_chmlib.json 2017-01-08 19:38:42.000000000 +0100 @@ -40,6 +40,7 @@ "Description[fi]": "Microsoft Windows -ohjetiedostohahmonnin", "Description[fr]": "Un système de rendu pour les fichiers d'aide Windows", "Description[it]": "Un visualizzatore per file di aiuto di Microsoft Windows", + "Description[ko]": "마이크로소프트 Windows 도움말 파일 표시기", "Description[nl]": "Een viewer voor Microsoft Windows-helpbestanden", "Description[nn]": "Ein framvisar for Microsoft Windows-hjelpefiler", "Description[pl]": "System zajmujący się wyświetlaniem plików pomocy Microsoft Windows", @@ -69,6 +70,7 @@ "Name[fi]": "CHM-taustaosa", "Name[fr]": "Moteur CHM", "Name[it]": "Backend CHM", + "Name[ko]": "CHM 백엔드", "Name[nl]": "CHM-backend", "Name[nn]": "CHM-motor", "Name[pl]": "Silnik CHM", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/generators/chm/org.kde.okular-chm.metainfo.xml new/okular-16.12.1/generators/chm/org.kde.okular-chm.metainfo.xml --- old/okular-16.12.0/generators/chm/org.kde.okular-chm.metainfo.xml 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/generators/chm/org.kde.okular-chm.metainfo.xml 2017-01-08 19:38:42.000000000 +0100 @@ -13,8 +13,10 @@ <name xml:lang="et">CHM-dokumendid</name> <name xml:lang="fi">CHM-tiedostot</name> <name xml:lang="it">Documenti CHM</name> + <name xml:lang="ko">CHM 문서</name> <name xml:lang="nl">CHM-documenten</name> <name xml:lang="nn">CHM-dokument</name> + <name xml:lang="pl">Dokumenty CHM</name> <name xml:lang="pt">Documentos CHM</name> <name xml:lang="sk">CHM dokumenty</name> <name xml:lang="sl">Dokumenti CHM</name> @@ -35,8 +37,10 @@ <summary xml:lang="et">CHM-dokumentide lugemise toetus</summary> <summary xml:lang="fi">Lisää CHM-tiedostojen lukutuen</summary> <summary xml:lang="it">Aggiunge il supporto per la lettura di documenti CHM</summary> + <summary xml:lang="ko">CHM 문서 읽기 지원 추가</summary> <summary xml:lang="nl">Voegt ondersteuning voor lezen van CHM-documenten toe</summary> <summary xml:lang="nn">Legg til støtte for å lesa CHM-dokument</summary> + <summary xml:lang="pl">Dodaje obsługę dokumentów CHM</summary> <summary xml:lang="pt">Adiciona o suporte para a leitura de documentos CHM</summary> <summary xml:lang="sk">Pridá podporu pre čítanie CHM dokumentov</summary> <summary xml:lang="sl">Doda podporo za branje dokumentov CHM</summary> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/generators/comicbook/libokularGenerator_comicbook.json new/okular-16.12.1/generators/comicbook/libokularGenerator_comicbook.json --- old/okular-16.12.0/generators/comicbook/libokularGenerator_comicbook.json 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/generators/comicbook/libokularGenerator_comicbook.json 2017-01-08 19:38:42.000000000 +0100 @@ -32,6 +32,7 @@ "Description[fi]": "Eri sarjakuvakirjamuotojen hahmonnin", "Description[fr]": "Un système de rendu pour divers formats de livres de BD", "Description[it]": "Un visualizzatore per vari formati di strisce a fumetti", + "Description[ko]": "다양한 만화책 형식 렌더러", "Description[nl]": "Een viewer voor diverse ComicBook-formaten", "Description[nn]": "Ein gjengjevar for ulike teikneserieformat", "Description[pl]": "Wyświetlanie różnych formatów comic book.", @@ -64,6 +65,7 @@ "Name[fi]": "ComicBook-taustaosa", "Name[fr]": "Moteur pour les livres de BD", "Name[it]": "Backend ComicBook", + "Name[ko]": "만화책 백엔드", "Name[nl]": "ComicBook-backend", "Name[nn]": "ComicBook-motor", "Name[pl]": "Moduł ComicBook", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/generators/comicbook/org.kde.okular-comicbook.metainfo.xml new/okular-16.12.1/generators/comicbook/org.kde.okular-comicbook.metainfo.xml --- old/okular-16.12.0/generators/comicbook/org.kde.okular-comicbook.metainfo.xml 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/generators/comicbook/org.kde.okular-comicbook.metainfo.xml 2017-01-08 19:38:42.000000000 +0100 @@ -13,8 +13,10 @@ <name xml:lang="et">Koomiksid</name> <name xml:lang="fi">Sarjakuvakirjat</name> <name xml:lang="it">Fumetti</name> + <name xml:lang="ko">만화책</name> <name xml:lang="nl">Stripboeken</name> <name xml:lang="nn">Teikneseriar</name> + <name xml:lang="pl">Komiksy</name> <name xml:lang="pt">Banda Desenhada</name> <name xml:lang="sk">Knihy komiksov</name> <name xml:lang="sl">Stripi</name> @@ -35,8 +37,10 @@ <summary xml:lang="et">Koomiksite lugemise toetus</summary> <summary xml:lang="fi">Lisää sarjakuvakirjojen lukutuen</summary> <summary xml:lang="it">Aggiunge il supporto per la lettura di fumetti</summary> + <summary xml:lang="ko">만화책 읽기 지원 추가</summary> <summary xml:lang="nl">Voegt ondersteuning voor lezen van stripboeken toe</summary> <summary xml:lang="nn">Legg til støtte for å lesa teikneseriefiler</summary> + <summary xml:lang="pl">Dodaje obsługę komiksów</summary> <summary xml:lang="pt">Adiciona o suporte para ler livros de banda desenhada</summary> <summary xml:lang="sk">Pridá podporu pre čítanie komiksov</summary> <summary xml:lang="sl">Doda podporo za branje stripov</summary> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/generators/djvu/libokularGenerator_djvu.json new/okular-16.12.1/generators/djvu/libokularGenerator_djvu.json --- old/okular-16.12.0/generators/djvu/libokularGenerator_djvu.json 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/generators/djvu/libokularGenerator_djvu.json 2017-01-08 19:38:42.000000000 +0100 @@ -31,6 +31,7 @@ "Description[fi]": "DjVuLibreen perustuva DjVu-taustaosa", "Description[fr]": "Moteur DjVu utilisant DjVuLibre", "Description[it]": "Backend DjVu basato su DjVuLibre", + "Description[ko]": "DjVuLibre 기반 DjVu 백엔드", "Description[nl]": "DjVu-backend gebaseerd op DjVuLibre", "Description[nn]": "DjVu-motor basert på DjVuLibre", "Description[pl]": "Silnik DjVu oparty na DjVuLibre", @@ -60,6 +61,7 @@ "Name[fi]": "DjVu-taustaosa", "Name[fr]": "Moteur DjVu", "Name[it]": "Backend DjVu", + "Name[ko]": "DjVu 백엔드", "Name[nl]": "DjVu-backend", "Name[nn]": "DjVu-motor", "Name[pl]": "Silnik DjVu", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/generators/djvu/org.kde.okular-djvu.metainfo.xml new/okular-16.12.1/generators/djvu/org.kde.okular-djvu.metainfo.xml --- old/okular-16.12.0/generators/djvu/org.kde.okular-djvu.metainfo.xml 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/generators/djvu/org.kde.okular-djvu.metainfo.xml 2017-01-08 19:38:42.000000000 +0100 @@ -13,8 +13,10 @@ <name xml:lang="et">DjVu dokumendid</name> <name xml:lang="fi">DjVu-tiedostot</name> <name xml:lang="it">Documenti DjVu</name> + <name xml:lang="ko">DjVu 문서</name> <name xml:lang="nl">DjVu-documenten</name> <name xml:lang="nn">DjVu-dokument</name> + <name xml:lang="pl">Dokumenty DjVu</name> <name xml:lang="pt">Documentos DjVu</name> <name xml:lang="sk">DjVu dokumenty</name> <name xml:lang="sl">Dokumenti DjVu</name> @@ -35,8 +37,10 @@ <summary xml:lang="et">DjVu dokumentide lugemise toetus</summary> <summary xml:lang="fi">Lisää DjVu-tiedostojen lukutuen</summary> <summary xml:lang="it">Aggiunge il supporto per la lettura di documenti DjVu</summary> + <summary xml:lang="ko">DjVu 문서 읽기 지원 추가</summary> <summary xml:lang="nl">Voegt ondersteuning voor lezen van DjVu-documenten toe</summary> <summary xml:lang="nn">Legg til støtte for å lesa DjVu-dokument</summary> + <summary xml:lang="pl">Dodaje obsługę czytania dokumentów DjVu</summary> <summary xml:lang="pt">Adiciona o suporte para a leitura de documentos DjVu</summary> <summary xml:lang="sk">Pridá podporu pre čítanie DjVu dokumentov</summary> <summary xml:lang="sl">Doda podporo za branje dokumentov DjVu</summary> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/generators/dvi/libokularGenerator_dvi.json new/okular-16.12.1/generators/dvi/libokularGenerator_dvi.json --- old/okular-16.12.0/generators/dvi/libokularGenerator_dvi.json 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/generators/dvi/libokularGenerator_dvi.json 2017-01-08 19:38:42.000000000 +0100 @@ -29,6 +29,7 @@ "Description[fi]": "DVI-tiedostohahmonnin", "Description[fr]": "Système de rendu pour fichiers « DVI »", "Description[it]": "Un visualizzatore di file DVI", + "Description[ko]": "DVI 파일 렌더러", "Description[nl]": "Een DVI-bestandsweergever", "Description[nn]": "Ein gjengjevar for DVI-filer", "Description[pl]": "Wyświetlanie pliku DVI", @@ -58,6 +59,7 @@ "Name[fi]": "DVI-taustaosa", "Name[fr]": "Moteur DVI", "Name[it]": "Backend DVI", + "Name[ko]": "DVI 백엔드", "Name[nl]": "DVI-backend", "Name[nn]": "DVI-motor", "Name[pl]": "Obsługa DVI", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/generators/dvi/org.kde.okular-dvi.metainfo.xml new/okular-16.12.1/generators/dvi/org.kde.okular-dvi.metainfo.xml --- old/okular-16.12.0/generators/dvi/org.kde.okular-dvi.metainfo.xml 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/generators/dvi/org.kde.okular-dvi.metainfo.xml 2017-01-08 19:38:42.000000000 +0100 @@ -13,8 +13,10 @@ <name xml:lang="et">DVI dokumendid</name> <name xml:lang="fi">DVI-tiedostot</name> <name xml:lang="it">Documenti DVI</name> + <name xml:lang="ko">DVI 문서</name> <name xml:lang="nl">DVI-documenten</name> <name xml:lang="nn">DVI-dokument</name> + <name xml:lang="pl">Dokumenty DVI</name> <name xml:lang="pt">Documentos DVI</name> <name xml:lang="sk">DVI dokumenty</name> <name xml:lang="sl">Dokumenti DVI</name> @@ -35,8 +37,10 @@ <summary xml:lang="et">DVI dokumentide lugemise toetus</summary> <summary xml:lang="fi">Lisää DVI-tiedostojen lukutuen</summary> <summary xml:lang="it">Aggiunge il supporto per la lettura di documenti DVI</summary> + <summary xml:lang="ko">DVI 문서 읽기 지원 추가</summary> <summary xml:lang="nl">Voegt ondersteuning voor lezen van DVI-documenten toe</summary> <summary xml:lang="nn">Legg til støtte for å lesa DVI-dokument</summary> + <summary xml:lang="pl">Dodaje obsługę dokumentów DVI</summary> <summary xml:lang="pt">Adiciona o suporte para a leitura de documentos DVI</summary> <summary xml:lang="sk">Pridá podporu pre čítanie DVI dokumentov</summary> <summary xml:lang="sl">Doda podporo za branje dokumentov DVI</summary> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/generators/epub/libokularGenerator_epub.json new/okular-16.12.1/generators/epub/libokularGenerator_epub.json --- old/okular-16.12.0/generators/epub/libokularGenerator_epub.json 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/generators/epub/libokularGenerator_epub.json 2017-01-08 19:38:42.000000000 +0100 @@ -29,6 +29,7 @@ "Description[fi]": "EPub-taustaosa", "Description[fr]": "Un moteur EPub", "Description[it]": "Backend EPub", + "Description[ko]": "EPub 백엔드", "Description[nl]": "Een EPub-backend", "Description[nn]": "Ein EPUB-motor", "Description[pl]": "Moduł EPub", @@ -58,6 +59,7 @@ "Name[fi]": "EPub-taustaosa", "Name[fr]": "Moteur EPub", "Name[it]": "Backend EPub", + "Name[ko]": "EPub 백엔드", "Name[nl]": "EPub-backend", "Name[nn]": "EPUB-motor", "Name[pl]": "Moduł EPub", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/generators/epub/org.kde.okular-epub.metainfo.xml new/okular-16.12.1/generators/epub/org.kde.okular-epub.metainfo.xml --- old/okular-16.12.0/generators/epub/org.kde.okular-epub.metainfo.xml 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/generators/epub/org.kde.okular-epub.metainfo.xml 2017-01-08 19:38:42.000000000 +0100 @@ -13,8 +13,10 @@ <name xml:lang="et">EPub</name> <name xml:lang="fi">EPub</name> <name xml:lang="it">EPub</name> + <name xml:lang="ko">EPub</name> <name xml:lang="nl">EPub</name> <name xml:lang="nn">EPUB</name> + <name xml:lang="pl">EPub</name> <name xml:lang="pt">EPub</name> <name xml:lang="sk">EPub</name> <name xml:lang="sl">EPub</name> @@ -35,8 +37,10 @@ <summary xml:lang="et">E-raamatute lugemise toetus</summary> <summary xml:lang="fi">Lisää e-kirjojen lukutuen</summary> <summary xml:lang="it">Aggiunge il supporto per la lettura di libri digitali in formato EPub</summary> + <summary xml:lang="ko">전자책 읽기 지원 추가</summary> <summary xml:lang="nl">Voegt ondersteuning voor lezen van e-boeken toe</summary> <summary xml:lang="nn">Legg til støtte for å lesa e-bøker i EPUB-formatet</summary> + <summary xml:lang="pl">Dodaje obsługę czytania ebooków</summary> <summary xml:lang="pt">Adiciona o suporte para a leitura de E-Books</summary> <summary xml:lang="sk">Pridá podporu pre čítanie e-kníh</summary> <summary xml:lang="sl">Doda podporo za branje e-knjig</summary> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/generators/fax/libokularGenerator_fax.json new/okular-16.12.1/generators/fax/libokularGenerator_fax.json --- old/okular-16.12.0/generators/fax/libokularGenerator_fax.json 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/generators/fax/libokularGenerator_fax.json 2017-01-08 19:38:42.000000000 +0100 @@ -31,6 +31,7 @@ "Description[fi]": "G3/G4-faksitiedostotaustaosa", "Description[fr]": "Un moteur de document fax G3/G4", "Description[it]": "Un backend per documenti fax G3/G4", + "Description[ko]": "G3/G4 팩스 문서 백엔드", "Description[nl]": "Een backend voor een G3/G4 faxdocument", "Description[nn]": "Ein motor for G3/G4-faksdokument", "Description[pl]": "Obsługa dokumentów faksowych G3/G4", @@ -61,6 +62,7 @@ "Name[fi]": "Faksitaustaosa", "Name[fr]": "Moteur Fax", "Name[it]": "Backend fax", + "Name[ko]": "팩스 백엔드", "Name[nl]": "Faxbackend", "Name[nn]": "Faksmotor", "Name[pl]": "Obsługa faksu", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/generators/fax/org.kde.okular-fax.metainfo.xml new/okular-16.12.1/generators/fax/org.kde.okular-fax.metainfo.xml --- old/okular-16.12.0/generators/fax/org.kde.okular-fax.metainfo.xml 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/generators/fax/org.kde.okular-fax.metainfo.xml 2017-01-08 19:38:42.000000000 +0100 @@ -13,8 +13,10 @@ <name xml:lang="et">Faks</name> <name xml:lang="fi">Faksi</name> <name xml:lang="it">Fax</name> + <name xml:lang="ko">팩스</name> <name xml:lang="nl">Fax</name> <name xml:lang="nn">Faks</name> + <name xml:lang="pl">Fax</name> <name xml:lang="pt">Fax</name> <name xml:lang="sk">Fax</name> <name xml:lang="sl">Faks</name> @@ -35,8 +37,10 @@ <summary xml:lang="et">Faksidokumentide lugemise toetus</summary> <summary xml:lang="fi">Lisää faksitiedostojen lukutuen</summary> <summary xml:lang="it">Aggiunge il supporto per la lettura di documenti Fax</summary> + <summary xml:lang="ko">팩스 문서 읽기 지원 추가</summary> <summary xml:lang="nl">Voegt ondersteuning voor lezen van faxdocumenten toe</summary> <summary xml:lang="nn">Legg til støtte for å lesa faksdokument</summary> + <summary xml:lang="pl">Dodaje obsługę czytania faksów</summary> <summary xml:lang="pt">Adiciona o suporte para a leitura de documentos de Fax</summary> <summary xml:lang="sk">Pridá podporu pre čítanie faxových dokumentov</summary> <summary xml:lang="sl">Doda podporo za branje faksiranih dokumentov</summary> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/generators/fictionbook/libokularGenerator_fb.json new/okular-16.12.1/generators/fictionbook/libokularGenerator_fb.json --- old/okular-16.12.0/generators/fictionbook/libokularGenerator_fb.json 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/generators/fictionbook/libokularGenerator_fb.json 2017-01-08 19:38:42.000000000 +0100 @@ -32,6 +32,7 @@ "Description[fi]": "FictionBook-e-kirjojen hahmonnin", "Description[fr]": "Système de rendu pour les livres électroniques FictionBook", "Description[it]": "Un visualizzatore per ebook FictionBook", + "Description[ko]": "FictionBook 전자책 렌더러", "Description[nl]": "Een viewer voor FictionBooks eBooks", "Description[nn]": "Ein lesar for e-bøker av typen FictionBook", "Description[pl]": "Wyświetlanie eksiążek FictionBook", @@ -61,6 +62,7 @@ "Name[fi]": "FictionBook-taustaosa", "Name[fr]": "Moteur pour FictionBook", "Name[it]": "Backend Fiction Book", + "Name[ko]": "Fiction Book 백엔드", "Name[nl]": "FictionBook-backend", "Name[nn]": "FictionBook-motor", "Name[pl]": "Obsługa Fiction Book", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/generators/fictionbook/org.kde.okular-fb.metainfo.xml new/okular-16.12.1/generators/fictionbook/org.kde.okular-fb.metainfo.xml --- old/okular-16.12.0/generators/fictionbook/org.kde.okular-fb.metainfo.xml 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/generators/fictionbook/org.kde.okular-fb.metainfo.xml 2017-01-08 19:38:42.000000000 +0100 @@ -13,8 +13,10 @@ <name xml:lang="et">FictionBook</name> <name xml:lang="fi">FictionBook</name> <name xml:lang="it">FictionBook</name> + <name xml:lang="ko">FictionBook</name> <name xml:lang="nl">Fictie boek</name> <name xml:lang="nn">FictionBook</name> + <name xml:lang="pl">Fikcja</name> <name xml:lang="pt">FictionBook</name> <name xml:lang="sk">FictionBook</name> <name xml:lang="sl">FictionBook</name> @@ -35,8 +37,10 @@ <summary xml:lang="et">FictionBooki lugemise toetus</summary> <summary xml:lang="fi">Lisää FictionBook-lukutuen</summary> <summary xml:lang="it">Aggiunge il supporto per la lettura di documenti in formato FictionBooks</summary> + <summary xml:lang="ko">FictionBook 읽기 지원 추가</summary> <summary xml:lang="nl">Voegt ondersteuning voor lezen van fictie boeken toe</summary> <summary xml:lang="nn">Legg til støtte for å lesa e-bøker i FictionBook-formatet</summary> + <summary xml:lang="pl">Dodaje obsługę czytania fikcji</summary> <summary xml:lang="pt">Adiciona o suporte para a leitura de livros no formato FictionBooks</summary> <summary xml:lang="sk">Pridá podporu pre čítanie FictionBook</summary> <summary xml:lang="sl">Doda podporo za branje dokumentov FictionBook</summary> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/generators/kimgio/libokularGenerator_kimgio.json new/okular-16.12.1/generators/kimgio/libokularGenerator_kimgio.json --- old/okular-16.12.0/generators/kimgio/libokularGenerator_kimgio.json 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/generators/kimgio/libokularGenerator_kimgio.json 2017-01-08 19:38:42.000000000 +0100 @@ -51,6 +51,7 @@ "Description[fi]": "Yksinkertainen kuvataustaosa", "Description[fr]": "Un moteur simple pour image", "Description[it]": "Un semplice backend per le immagini", + "Description[ko]": "간단한 그림 백엔드", "Description[nl]": "Een eenvoudige afbeeldingsbackend", "Description[nn]": "Ein enkel biletmotor", "Description[pl]": "Silnik prostych obrazków", @@ -101,6 +102,7 @@ "Name[fi]": "Kuvataustaosa", "Name[fr]": "Moteur image", "Name[it]": "Backend immagini", + "Name[ko]": "그림 백엔드", "Name[nl]": "Afbeeldings-backend", "Name[nn]": "Biletmotor", "Name[pl]": "Silnik obrazów", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/generators/kimgio/org.kde.okular-kimgio.metainfo.xml new/okular-16.12.1/generators/kimgio/org.kde.okular-kimgio.metainfo.xml --- old/okular-16.12.0/generators/kimgio/org.kde.okular-kimgio.metainfo.xml 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/generators/kimgio/org.kde.okular-kimgio.metainfo.xml 2017-01-08 19:38:42.000000000 +0100 @@ -13,8 +13,10 @@ <name xml:lang="et">Pildid</name> <name xml:lang="fi">Kuvat</name> <name xml:lang="it">Immagini</name> + <name xml:lang="ko">그림</name> <name xml:lang="nl">Afbeeldingen</name> <name xml:lang="nn">Bilete</name> + <name xml:lang="pl">Obrazy</name> <name xml:lang="pt">Imagens</name> <name xml:lang="sk">Obrázky</name> <name xml:lang="sl">Slike</name> @@ -35,8 +37,10 @@ <summary xml:lang="et">Paljude pildivormingute lugemise toetus</summary> <summary xml:lang="fi">Lisää monien kuvatiedostomuotojen lukutuen</summary> <summary xml:lang="it">Aggiunge il supporto per la lettura di vari formati di immagini</summary> + <summary xml:lang="ko">다양한 그림 형식 읽기 지원 추가</summary> <summary xml:lang="nl">Ondersteuning toevoegen om vele afbeeldingsformaten te lezen</summary> <summary xml:lang="nn">Legg til støtte for å lesa mange ulike biletformat</summary> + <summary xml:lang="pl">Dodaje obsługę czytania wielu formatów obrazów</summary> <summary xml:lang="pt">Adiciona o suporte para ler muitos formatos de imagem</summary> <summary xml:lang="sk">Pridá podporu pre čítanie mnohých obrazových formátov</summary> <summary xml:lang="sl">Doda podporo za branje številnih slikovnih vrst</summary> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/generators/mobipocket/libokularGenerator_mobi.json new/okular-16.12.1/generators/mobipocket/libokularGenerator_mobi.json --- old/okular-16.12.0/generators/mobipocket/libokularGenerator_mobi.json 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/generators/mobipocket/libokularGenerator_mobi.json 2017-01-08 19:38:42.000000000 +0100 @@ -31,6 +31,7 @@ "Description[fi]": "MobiPocket-taustaosa", "Description[fr]": "Un moteur Mobipocket", "Description[it]": "Un backend per mobipocket", + "Description[ko]": "Mobipocket 백엔드", "Description[nl]": "Een mobipocket-backend", "Description[nn]": "Ein Mobipocket-motor", "Description[pl]": "Obsługa mobipocket", @@ -60,6 +61,7 @@ "Name[fi]": "Mobipocket-taustaosa", "Name[fr]": "Moteur Mobipocket", "Name[it]": "Backend Mobipocket", + "Name[ko]": "Mobipocket 백엔드", "Name[nl]": "Mobipocket-backend", "Name[nn]": "Mobipocket-motor", "Name[pl]": "Obsługa Mobipocket", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/generators/mobipocket/org.kde.okular-mobipocket.metainfo.xml new/okular-16.12.1/generators/mobipocket/org.kde.okular-mobipocket.metainfo.xml --- old/okular-16.12.0/generators/mobipocket/org.kde.okular-mobipocket.metainfo.xml 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/generators/mobipocket/org.kde.okular-mobipocket.metainfo.xml 2017-01-08 19:38:42.000000000 +0100 @@ -13,8 +13,10 @@ <name xml:lang="et">Mobipocket</name> <name xml:lang="fi">Mobipocket</name> <name xml:lang="it">Mobipocket</name> + <name xml:lang="ko">Mobipocket</name> <name xml:lang="nl">Mobipocket</name> <name xml:lang="nn">Mobipocket</name> + <name xml:lang="pl">Mobipocket</name> <name xml:lang="pt">Mobipocket</name> <name xml:lang="sk">Mobipocket</name> <name xml:lang="sl">Mobipocket</name> @@ -35,8 +37,10 @@ <summary xml:lang="et">Mobipocketi e-raamatute lugemise toetus</summary> <summary xml:lang="fi">Lisää MobiPocket-e-kirjojen lukutuen</summary> <summary xml:lang="it">Aggiunge il supporto per la lettura di libri digitali in formato Mobipocket</summary> + <summary xml:lang="ko">Mobipocket 전자책 읽기 지원 추가</summary> <summary xml:lang="nl">Voegt ondersteuning voor lezen van Mobipocket e-boeken toe</summary> <summary xml:lang="nn">Legg til støtte for å lesa e-bøker i Mobipocket-formatet</summary> + <summary xml:lang="pl">Dodaje obsługę czytania ebooków Mobipocket</summary> <summary xml:lang="pt">Adiciona o suporte para ler E-books da Mobipocket</summary> <summary xml:lang="sk">Pridá podporu pre čítanie e-kníh Mobipocket</summary> <summary xml:lang="sl">Doda podporo za branje e-knjig Mobipocket</summary> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/generators/ooo/libokularGenerator_ooo.json new/okular-16.12.1/generators/ooo/libokularGenerator_ooo.json --- old/okular-16.12.0/generators/ooo/libokularGenerator_ooo.json 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/generators/ooo/libokularGenerator_ooo.json 2017-01-08 19:38:42.000000000 +0100 @@ -32,6 +32,7 @@ "Description[fi]": "OpenDocument-tekstitiedostojen hahmonnin", "Description[fr]": "Un système de rendu pour documents textes OpenDocument", "Description[it]": "Un visualizzatore per documenti OpenDocument Text", + "Description[ko]": "OpenDocument 텍스트 문서 렌더러", "Description[nl]": "Een viewer voor OpenDocument-tekstdocumenten", "Description[nn]": "Ein lesar for OpenDocument-tekstdokument", "Description[pl]": "Program wyświetlający dokumentów tekstowych OpenDocument", @@ -61,6 +62,7 @@ "Name[fi]": "OpenDocument-tekstitaustaosa", "Name[fr]": "Moteur pour texte OpenDocument", "Name[it]": "Backend OpenDocument Text", + "Name[ko]": "OpenDocument 텍스트 백엔드", "Name[nl]": "OpenDocument-tekst-backend", "Name[nn]": "OpenDocument-tekstmotor", "Name[pl]": "Silnik dokumentów OpenDocument", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/generators/ooo/org.kde.okular-ooo.metainfo.xml new/okular-16.12.1/generators/ooo/org.kde.okular-ooo.metainfo.xml --- old/okular-16.12.0/generators/ooo/org.kde.okular-ooo.metainfo.xml 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/generators/ooo/org.kde.okular-ooo.metainfo.xml 2017-01-08 19:38:42.000000000 +0100 @@ -13,8 +13,10 @@ <name xml:lang="et">OpenDocument</name> <name xml:lang="fi">OpenDocument</name> <name xml:lang="it">OpenDocument</name> + <name xml:lang="ko">OpenDocument</name> <name xml:lang="nl">OpenDocument</name> <name xml:lang="nn">OpenDocument</name> + <name xml:lang="pl">OpenDocument</name> <name xml:lang="pt">OpenDocument</name> <name xml:lang="sk">OpenDocument</name> <name xml:lang="sl">OpenDocument</name> @@ -35,8 +37,10 @@ <summary xml:lang="et">OpenDocument tekstifailide lugemise toetus</summary> <summary xml:lang="fi">Lisää OpenDocument-tekstitiedostojen lukutuen</summary> <summary xml:lang="it">Aggiunge il supporto per la lettura di documenti di testo OpenDocument</summary> + <summary xml:lang="ko">OpenDocument 텍스트 파일 읽기 지원 추가</summary> <summary xml:lang="nl">Voegt ondersteuning voor lezen van OpenDocument tekstbestanden toe</summary> <summary xml:lang="nn">Legg til støtte for å lesa tekstfiler i OpenDocument-formatet</summary> + <summary xml:lang="pl">Dodaje obsługę czytania plików tekstowych OpenDocument</summary> <summary xml:lang="pt">Adiciona o suporte para ler documentos de texto em OpenDocument</summary> <summary xml:lang="sk">Pridá podporu pre čítanie textových súborov OpenDocument</summary> <summary xml:lang="sl">Doda podporo za branje besedilnih datotek OpenDocument</summary> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/generators/plucker/libokularGenerator_plucker.json new/okular-16.12.1/generators/plucker/libokularGenerator_plucker.json --- old/okular-16.12.0/generators/plucker/libokularGenerator_plucker.json 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/generators/plucker/libokularGenerator_plucker.json 2017-01-08 19:38:42.000000000 +0100 @@ -32,6 +32,7 @@ "Description[fi]": "Plucker-e-kirjojen hahmonnin", "Description[fr]": "Système de rendu pour les livres électroniques Plucker", "Description[it]": "Un visualizzatore per eBook Plucker", + "Description[ko]": "Plucker 전자책 렌더러", "Description[nl]": "Een viewer voor Plucker eBooks", "Description[nn]": "Ein gjengjevar for Plucker-e-bøker", "Description[pl]": "Wyświetlanie eksiążek w formacie Plucker", @@ -61,6 +62,7 @@ "Name[fi]": "Plucker-tiedostotaustaosa", "Name[fr]": "Moteur de document Plucker", "Name[it]": "Backend per documenti Plucker", + "Name[ko]": "Plucker 문서 백엔드", "Name[nl]": "Plucker Document-backend", "Name[nn]": "Plucker-dokumentmotor", "Name[pl]": "Obsługa dokumentów Plucker", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/generators/plucker/org.kde.okular-plucker.metainfo.xml new/okular-16.12.1/generators/plucker/org.kde.okular-plucker.metainfo.xml --- old/okular-16.12.0/generators/plucker/org.kde.okular-plucker.metainfo.xml 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/generators/plucker/org.kde.okular-plucker.metainfo.xml 2017-01-08 19:38:42.000000000 +0100 @@ -13,8 +13,10 @@ <name xml:lang="et">Plucker</name> <name xml:lang="fi">Plucker</name> <name xml:lang="it">Plucker</name> + <name xml:lang="ko">plucker</name> <name xml:lang="nl">Plucker</name> <name xml:lang="nn">Plucker</name> + <name xml:lang="pl">Plucker</name> <name xml:lang="pt">Plucker</name> <name xml:lang="sk">Plucker</name> <name xml:lang="sl">Plucker</name> @@ -35,8 +37,10 @@ <summary xml:lang="et">Pluckeri dokumentide lugemise toetus</summary> <summary xml:lang="fi">Lisää Plucker-tiedostojen lukutuen</summary> <summary xml:lang="it">Aggiunge il supporto per la lettura di documenti Plucker</summary> + <summary xml:lang="ko">Plucker 문서 읽기 지원 추가</summary> <summary xml:lang="nl">Voegt ondersteuning voor lezen van Plucker-documenten toe</summary> <summary xml:lang="nn">Legg til støtte for å lesa Plucker-dokument</summary> + <summary xml:lang="pl">Dodaje obsługę czytania dokumentów Plucker</summary> <summary xml:lang="pt">Adiciona o suporte para ler documentos do Plucker</summary> <summary xml:lang="sk">Pridá podporu pre čítanie dokumentov Plucker</summary> <summary xml:lang="sl">Doda podporo za branje dokumentov Plucker</summary> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/generators/poppler/generator_pdf.cpp new/okular-16.12.1/generators/poppler/generator_pdf.cpp --- old/okular-16.12.0/generators/poppler/generator_pdf.cpp 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/generators/poppler/generator_pdf.cpp 2017-01-08 19:38:42.000000000 +0100 @@ -1643,9 +1643,7 @@ { case SaveChanges: { - // Saving files with /Encrypt is not supported before Poppler 0.22 - QMutexLocker locker( userMutex() ); - return pdfdoc->isEncrypted() ? false : true; + return true; } default: ; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/generators/poppler/libokularGenerator_poppler.json new/okular-16.12.1/generators/poppler/libokularGenerator_poppler.json --- old/okular-16.12.0/generators/poppler/libokularGenerator_poppler.json 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/generators/poppler/libokularGenerator_poppler.json 2017-01-08 19:38:42.000000000 +0100 @@ -31,6 +31,7 @@ "Description[fi]": "PDF-tiedostohahmonnin", "Description[fr]": "Système de rendu pour les fichiers « PDF »", "Description[it]": "Un visualizzatore di file PDF", + "Description[ko]": "PDF 파일 렌더러", "Description[nl]": "Een PDF-bestandsviewer", "Description[nn]": "Ein gjengjevar for PDF-filer", "Description[pl]": "Wyświetlanie pliku PDF", @@ -62,6 +63,7 @@ "Name[fi]": "PDF-taustaosa", "Name[fr]": "Moteur PDF", "Name[it]": "Backend PDF", + "Name[ko]": "PDF 백엔드", "Name[nl]": "PDF-backend", "Name[nn]": "PDF-motor", "Name[pl]": "Silnik PDF", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/generators/poppler/org.kde.okular-poppler.metainfo.xml new/okular-16.12.1/generators/poppler/org.kde.okular-poppler.metainfo.xml --- old/okular-16.12.0/generators/poppler/org.kde.okular-poppler.metainfo.xml 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/generators/poppler/org.kde.okular-poppler.metainfo.xml 2017-01-08 19:38:42.000000000 +0100 @@ -13,8 +13,10 @@ <name xml:lang="et">PDF</name> <name xml:lang="fi">PDF</name> <name xml:lang="it">PDF</name> + <name xml:lang="ko">PDF</name> <name xml:lang="nl">PDF</name> <name xml:lang="nn">PDF</name> + <name xml:lang="pl">PDF</name> <name xml:lang="pt">PDF</name> <name xml:lang="sk">PDF</name> <name xml:lang="sl">PDF</name> @@ -35,8 +37,10 @@ <summary xml:lang="et">PDF-dokumentide lugemise toetus</summary> <summary xml:lang="fi">Lisää PDF-tiedostojen lukutuen</summary> <summary xml:lang="it">Aggiunge il supporto per la lettura di documenti PDF</summary> + <summary xml:lang="ko">PDF 문서 읽기 지원 추가</summary> <summary xml:lang="nl">Voegt ondersteuning voor lezen van PDF-documenten toe</summary> <summary xml:lang="nn">Legg til støtte for å lesa PDF-dokument</summary> + <summary xml:lang="pl">Dodaje obsługę czytania PDFów</summary> <summary xml:lang="pt">Adiciona o suporte para ler documentos em PDF</summary> <summary xml:lang="sk">Pridá podporu pre čítanie PDF dokumentov</summary> <summary xml:lang="sl">Doda podporo za branje dokumentov PDF</summary> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/generators/spectre/libokularGenerator_ghostview.json new/okular-16.12.1/generators/spectre/libokularGenerator_ghostview.json --- old/okular-16.12.0/generators/spectre/libokularGenerator_ghostview.json 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/generators/spectre/libokularGenerator_ghostview.json 2017-01-08 19:38:42.000000000 +0100 @@ -30,6 +30,7 @@ "Description[fi]": "Spectre-kirjastoon pohjautuva PostScript-tiedostohahmonnin", "Description[fr]": "Système de rendu pour les fichiers « PostScript » utilisant la librairie Spectre", "Description[it]": "Un visualizzatore di file PostScript basato sulla libreria Spectre", + "Description[ko]": "Spectre 라이브러리를 사용하는 포스트스크립트 파일 렌더러", "Description[nl]": "Een renderer van PostScript bestanden gebaseerd op de bibliotheek Spectre", "Description[nn]": "Ein gjengjevar for PostScript-filer, basert på Spectre-biblioteket", "Description[pl]": "Wyświetlanie plików PostScript oparte o bibliotekę Spectre", @@ -60,6 +61,7 @@ "Name[fi]": "PS-taustaosa", "Name[fr]": "Moteur PS", "Name[it]": "Backend PS", + "Name[ko]": "PS 백엔드", "Name[nl]": "PS-backend", "Name[nn]": "PS-motor", "Name[pl]": "Silnik PS", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/generators/spectre/org.kde.okular-spectre.metainfo.xml new/okular-16.12.1/generators/spectre/org.kde.okular-spectre.metainfo.xml --- old/okular-16.12.0/generators/spectre/org.kde.okular-spectre.metainfo.xml 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/generators/spectre/org.kde.okular-spectre.metainfo.xml 2017-01-08 19:38:42.000000000 +0100 @@ -13,8 +13,10 @@ <name xml:lang="et">PostScript</name> <name xml:lang="fi">PostScript</name> <name xml:lang="it">PostScript</name> + <name xml:lang="ko">포스트스크립트</name> <name xml:lang="nl">PostScript</name> <name xml:lang="nn">PostScript</name> + <name xml:lang="pl">PostScript</name> <name xml:lang="pt">PostScript</name> <name xml:lang="sk">PostScript</name> <name xml:lang="sl">PostScript</name> @@ -35,8 +37,10 @@ <summary xml:lang="et">PostScript-dokumentide lugemise toetus</summary> <summary xml:lang="fi">Lisää PostScript-tiedostojen lukutuen</summary> <summary xml:lang="it">Aggiunge il supporto per la lettura di documenti PostScript</summary> + <summary xml:lang="ko">포스트스크립트 문서 읽기 지원 추가</summary> <summary xml:lang="nl">Voegt ondersteuning voor lezen van PostScript-documenten toe</summary> <summary xml:lang="nn">Legg til støtte for å lesa PostScript-dokument</summary> + <summary xml:lang="pl">Dodaje obsługę czytania dokumentów PostScript</summary> <summary xml:lang="pt">Adiciona o suporte para ler documentos em PostScript</summary> <summary xml:lang="sk">Pridá podporu pre čítanie dokumentov PostScript</summary> <summary xml:lang="sl">Doda podporo za branje dokumentov PostScript</summary> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/generators/tiff/libokularGenerator_tiff.json new/okular-16.12.1/generators/tiff/libokularGenerator_tiff.json --- old/okular-16.12.0/generators/tiff/libokularGenerator_tiff.json 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/generators/tiff/libokularGenerator_tiff.json 2017-01-08 19:38:42.000000000 +0100 @@ -31,6 +31,7 @@ "Description[fi]": "TIFF-taustaosa", "Description[fr]": "Un moteur TIFF", "Description[it]": "Un backend per TIFF", + "Description[ko]": "TIFF 백엔드", "Description[nl]": "Een TIFF-backend", "Description[nn]": "Ein TIFF-motor", "Description[pl]": "Jeden z silników TIFF", @@ -60,6 +61,7 @@ "Name[fi]": "TIFF-taustaosa", "Name[fr]": "Moteur TIFF", "Name[it]": "Backend TIFF", + "Name[ko]": "TIFF 백엔드", "Name[nl]": "TIFF-backend", "Name[nn]": "TIFF-motor", "Name[pl]": "Silnik TIFF", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/generators/tiff/org.kde.okular-tiff.metainfo.xml new/okular-16.12.1/generators/tiff/org.kde.okular-tiff.metainfo.xml --- old/okular-16.12.0/generators/tiff/org.kde.okular-tiff.metainfo.xml 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/generators/tiff/org.kde.okular-tiff.metainfo.xml 2017-01-08 19:38:42.000000000 +0100 @@ -13,8 +13,10 @@ <name xml:lang="et">TIFF</name> <name xml:lang="fi">TIFF</name> <name xml:lang="it">Tiff</name> + <name xml:lang="ko">TIFF</name> <name xml:lang="nl">Tiff</name> <name xml:lang="nn">TIFF</name> + <name xml:lang="pl">Tiff</name> <name xml:lang="pt">TIFF</name> <name xml:lang="sk">Tiff</name> <name xml:lang="sl">Tiff</name> @@ -35,8 +37,10 @@ <summary xml:lang="et">TIFF-dokumentide lugemise toetus</summary> <summary xml:lang="fi">Lisää TIFF-kuvatiedostojen lukutuen</summary> <summary xml:lang="it">Aggiunge il supporto per la lettura di documenti Tiff</summary> + <summary xml:lang="ko">TIFF 문서 읽기 지원 추가</summary> <summary xml:lang="nl">Voegt ondersteuning voor lezen van Tiff-documenten toe</summary> <summary xml:lang="nn">Legg til støtte for å lesa TIFF-dokument</summary> + <summary xml:lang="pl">Dodaje obsługę czytania dokumentów Tiff</summary> <summary xml:lang="pt">Adiciona o suporte para ler documentos em TIFF</summary> <summary xml:lang="sk">Pridá podporu pre čítanie Tiff dokumentov</summary> <summary xml:lang="sl">Doda podporo za branje dokumentov Tiff</summary> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/generators/txt/libokularGenerator_txt.json new/okular-16.12.1/generators/txt/libokularGenerator_txt.json --- old/okular-16.12.0/generators/txt/libokularGenerator_txt.json 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/generators/txt/libokularGenerator_txt.json 2017-01-08 19:38:42.000000000 +0100 @@ -29,6 +29,7 @@ "Description[fi]": "Txt-taustaosa", "Description[fr]": "Moteur Txt", "Description[it]": "Backend di testo semplice", + "Description[ko]": "TXT 백엔드", "Description[nl]": "Txt-backend", "Description[nn]": "Txt-motor", "Description[pl]": "Silnik tekstowy", @@ -57,6 +58,7 @@ "Name[fi]": "Txt-taustaosa", "Name[fr]": "Moteur Txt", "Name[it]": "Backend di testo semplice", + "Name[ko]": "TXT 백엔드", "Name[nl]": "Txt-backend", "Name[nn]": "Txt-motor", "Name[pl]": "Silnik tekstowy", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/generators/txt/org.kde.okular-txt.metainfo.xml new/okular-16.12.1/generators/txt/org.kde.okular-txt.metainfo.xml --- old/okular-16.12.0/generators/txt/org.kde.okular-txt.metainfo.xml 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/generators/txt/org.kde.okular-txt.metainfo.xml 2017-01-08 19:38:42.000000000 +0100 @@ -13,8 +13,10 @@ <name xml:lang="et">Tekst</name> <name xml:lang="fi">Teksti</name> <name xml:lang="it">Testo</name> + <name xml:lang="ko">텍스트</name> <name xml:lang="nl">Tekst</name> <name xml:lang="nn">Tekst</name> + <name xml:lang="pl">Tekst</name> <name xml:lang="pt">Texto</name> <name xml:lang="sk">Text</name> <name xml:lang="sl">Besedilo</name> @@ -35,8 +37,10 @@ <summary xml:lang="et">Lihttekstidokumentide lugemise toetus</summary> <summary xml:lang="fi">Lisää paljaiden tekstitiedostojen lukutuen</summary> <summary xml:lang="it">Aggiunge il supporto per la lettura di documenti in testo semplice</summary> + <summary xml:lang="ko">일반 텍스트 문서 읽기 지원 추가</summary> <summary xml:lang="nl">Voegt ondersteuning voor lezen van gewone tekstdocumenten toe</summary> <summary xml:lang="nn">Legg til støtte for å lesa reintekstdokument</summary> + <summary xml:lang="pl">Dodaje obsługę czytania zwykłych plików tekstowych</summary> <summary xml:lang="pt">Adiciona o suporte para ler documentos em texto simples</summary> <summary xml:lang="sk">Pridá podporu pre čítanie čistých textových dokumentov</summary> <summary xml:lang="sl">Doda podporo za branje besedilnih dokumentov</summary> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/generators/xps/libokularGenerator_xps.json new/okular-16.12.1/generators/xps/libokularGenerator_xps.json --- old/okular-16.12.0/generators/xps/libokularGenerator_xps.json 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/generators/xps/libokularGenerator_xps.json 2017-01-08 19:38:42.000000000 +0100 @@ -50,6 +50,7 @@ "Description[fi]": "XPS-taustaosa", "Description[fr]": "Un moteur XPS", "Description[it]": "Un backend per XPS", + "Description[ko]": "XPS 백엔드", "Description[nl]": "Een XPS-backend", "Description[nn]": "Ein XPS-motor", "Description[pl]": "Jeden z silników XPS", @@ -80,6 +81,7 @@ "Name[fi]": "XPS-taustaosa", "Name[fr]": "Moteur XPS", "Name[it]": "Backend XPS", + "Name[ko]": "XPS 백엔드", "Name[nl]": "XPS-backend", "Name[nn]": "XPS-motor", "Name[pl]": "Silnik XPS", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/generators/xps/org.kde.okular-xps.metainfo.xml new/okular-16.12.1/generators/xps/org.kde.okular-xps.metainfo.xml --- old/okular-16.12.0/generators/xps/org.kde.okular-xps.metainfo.xml 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/generators/xps/org.kde.okular-xps.metainfo.xml 2017-01-08 19:38:42.000000000 +0100 @@ -13,8 +13,10 @@ <name xml:lang="et">XPS</name> <name xml:lang="fi">XPS</name> <name xml:lang="it">XPS</name> + <name xml:lang="ko">XPS</name> <name xml:lang="nl">XPS</name> <name xml:lang="nn">XPS</name> + <name xml:lang="pl">XPS</name> <name xml:lang="pt">XPS</name> <name xml:lang="sk">XPS</name> <name xml:lang="sl">XPS</name> @@ -35,8 +37,10 @@ <summary xml:lang="et">XPS-dokumentide lugemise toetus</summary> <summary xml:lang="fi">Lisää XPS-tiedostojen lukutuen</summary> <summary xml:lang="it">Aggiunge il supporto per la lettura di documenti XPS</summary> + <summary xml:lang="ko">XPS 문서 읽기 지원 추가</summary> <summary xml:lang="nl">Voegt ondersteuning voor lezen van XPS-documenten toe</summary> <summary xml:lang="nn">Legg til støtte for å lesa XPS-dokument</summary> + <summary xml:lang="pl">Dodaje obsługę dokumentów XPS</summary> <summary xml:lang="pt">Adiciona o suporte para ler documentos em XPS</summary> <summary xml:lang="sk">Pridá podporu pre čítanie XPS dokumentov</summary> <summary xml:lang="sl">Doda podporo za branje dokumentov XPS</summary> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/part.cpp new/okular-16.12.1/part.cpp --- old/okular-16.12.0/part.cpp 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/part.cpp 2017-01-08 19:38:42.000000000 +0100 @@ -94,6 +94,7 @@ #include "ui/fileprinterpreview.h" #include "ui/guiutils.h" #include "ui/layers.h" +#include "ui/okmenutitle.h" #include "conf/preferencesdialog.h" #include "settings.h" #include "core/action.h" @@ -2518,7 +2519,7 @@ QAction *fitPageWidth = 0; if (page) { - popup->setTitle( i18n( "Page %1", page->number() + 1 ) ); + popup->addAction( new OKMenuTitle( popup, i18n( "Page %1", page->number() + 1 ) ) ); if ( ( !currentPage && m_document->bookmarkManager()->isBookmarked( page->number() ) ) || ( currentPage && m_document->bookmarkManager()->isBookmarked( m_document->viewport() ) ) ) removeBookmark = popup->addAction( QIcon::fromTheme(QStringLiteral("edit-delete-bookmark")), i18n("Remove Bookmark") ); @@ -2533,7 +2534,7 @@ if ((m_showMenuBarAction && !m_showMenuBarAction->isChecked()) || (m_showFullScreenAction && m_showFullScreenAction->isChecked())) { - popup->setTitle( i18n( "Tools" ) ); + popup->addAction( new OKMenuTitle( popup, i18n( "Tools" ) ) ); if (m_showMenuBarAction && !m_showMenuBarAction->isChecked()) popup->addAction(m_showMenuBarAction); if (m_showFullScreenAction && m_showFullScreenAction->isChecked()) popup->addAction(m_showFullScreenAction); reallyShow = true; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/shell/org.kde.okular.appdata.xml new/okular-16.12.1/shell/org.kde.okular.appdata.xml --- old/okular-16.12.0/shell/org.kde.okular.appdata.xml 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/shell/org.kde.okular.appdata.xml 2017-01-08 19:38:42.000000000 +0100 @@ -12,9 +12,12 @@ <name xml:lang="et">Okular</name> <name xml:lang="fi">Okular</name> <name xml:lang="it">Okular</name> + <name xml:lang="ko">Okular</name> <name xml:lang="nl">Okular</name> <name xml:lang="nn">Okular</name> + <name xml:lang="pl">Okular</name> <name xml:lang="pt">Okular</name> + <name xml:lang="pt-BR">Okular</name> <name xml:lang="sk">Okular</name> <name xml:lang="sl">Okular</name> <name xml:lang="sr">Окулар</name> @@ -34,9 +37,12 @@ <summary xml:lang="et">Dokumendinäitaja</summary> <summary xml:lang="fi">Asiakirjakatselin</summary> <summary xml:lang="it">Visore di documenti</summary> + <summary xml:lang="ko">문서 뷰어</summary> <summary xml:lang="nl">Documentenviewer</summary> <summary xml:lang="nn">Dokumentvisar</summary> + <summary xml:lang="pl">Przeglądarka dokumentów</summary> <summary xml:lang="pt">Visualizador do Documento</summary> + <summary xml:lang="pt-BR">Visualizador de documentos</summary> <summary xml:lang="sk">Prehliadač dokumentov</summary> <summary xml:lang="sl">Pregledovalnik dokumentov</summary> <summary xml:lang="sr">Приказивач докумената</summary> @@ -58,8 +64,10 @@ <p xml:lang="et">Okular on KDE välja töötatud universaalne dokumentide näitaja. Okular võib töötada eri platvormidel, kaasa arvatud Linux, Windows, Mac OS X, *BSD jne.</p> <p xml:lang="fi">Okular on KDE:n kehittämä yleiskäyttöinen asiakirjakatselin. Okular toimii useissa ympäristöissä kuten Linuxissa, Windowsissa, Mac OS X:ssä, *BSD:ssä jne.</p> <p xml:lang="it">Okular è un lettore universale di documenti sviluppato da KDE. Okular funziona su varie piattaforme, incluse (ma non solo) Linux, Windows, Mac OS X, *BSD, ecc.</p> + <p xml:lang="ko">Okular는 만능 문서 뷰어입니다. Okular는 리눅스, macOS, Windows, *BSD 등 여러 플랫폼에서 동작합니다.</p> <p xml:lang="nl">Okular is een universele documentviewer ontwikkeld door KDE. Okular werkt op meerdere platforms, inclusief, maar niet beperkt tot Linux, Windows, Mac OS X, *BSD, etc.</p> <p xml:lang="nn">Okular er ein dokumentvisar for mange ulike filformat, og er utvikla av KDE. Okular køyrer på fleire plattformer, blant anna Linux, Windows, Mac OS X og *BSD.</p> + <p xml:lang="pl">Okular jest wszechstronną przeglądarką dokumentów opracowaną przez KDE. Okular działa na wielu platformach takich jak Linux, Windows, Mac OS X, *BSD, itp.</p> <p xml:lang="pt">O Okular é um visualizador universal de documentos desenvolvido pelo KDE. O Okular funciona em diversas plataformas, incluindo mas não se limitando ao Linux, Windows, Mac OS X, *BSD, etc.</p> <p xml:lang="sk">Okular je univerzálny prehliadač dokumentov vyvinutý v KDE. Okular beží na mnohých platformách, vrátane Linux, Windows, Mac OS X, *BSD, atď.</p> <p xml:lang="sl">Okular je univerzalni pregledovalnik dokumentov, ki so ga razvili pri KDE. Dela v več okoljih vključno s sistemi Linux, Windows, Mac OS X in *BSD.</p> @@ -80,9 +88,12 @@ <p xml:lang="et">Omadused:</p> <p xml:lang="fi">Ominaisuuksia:</p> <p xml:lang="it">Funzionalità:</p> + <p xml:lang="ko">기능:</p> <p xml:lang="nl">Kenmerken:</p> <p xml:lang="nn">Funksjonar:</p> + <p xml:lang="pl">Możliwości:</p> <p xml:lang="pt">Funcionalidades:</p> + <p xml:lang="pt-BR">Recursos:</p> <p xml:lang="sk">Funkcie:</p> <p xml:lang="sl">Zmožnosti:</p> <p xml:lang="sr">Могућности:</p> @@ -102,8 +113,10 @@ <li xml:lang="et">Toetatud vormingud: PDF, PS, Tiff, CHM, DjVu, pildid, DVI, XPS, ODT, Fiction Book, Comic Book, Plucker, EPub, faks</li> <li xml:lang="fi">Tuetut tiedostomuodot: PDF, PS, TIFF, CHM, DjVu, kuvatiedostot, DVI, XPS, ODT, FictionBook, sarjakuvakirjat, Plucker, EPub, faksit</li> <li xml:lang="it">Formati supportati: PDF, PS, Tiff, CHM, DjVu, immagini, DVI, XPS, ODT, Fiction Book, fumetti, Plucker, EPub, Fax</li> + <li xml:lang="ko">지원하는 형식: PDF, PS, Tiff, CHM, DjVu, 사진, DVI, XPS, ODT, Fiction Book, 만화책, Plucker, EPub, 팩스</li> <li xml:lang="nl">Ondersteunde formaten: PDF, PS, Tiff, CHM, DjVu, Afbeeldingen, DVI, XPS, ODT, Fictie boek, Stripboek, Plucker, EPub, Fax</li> <li xml:lang="nn">Støtta format: PDF, PS, Tiff, CHM, DjVu, bilete, DVI, XPS, ODT, e-bøker, teikneseriar, Plucker, EPub, Fax</li> + <li xml:lang="pl">Obsługa formatów: PDF, PS, Tiff, CHM, DjVu, Obrazy, DVI, XPS, ODT, Fikcja, Komiksy, Plucker, EPub, Fax</li> <li xml:lang="pt">Formatos Suportados: PDF, PS, Tiff, CHM, DjVu, Imagens, DVI, XPS, ODT, Fiction Book, Comic Book, Plucker, EPub, Fax</li> <li xml:lang="sk">Podporované formáty: PDF, PS, Tiff, CHM, DjVu, Images, DVI, XPS, ODT, Fiction Book, Comic Book, Plucker, EPub, Fax</li> <li xml:lang="sl">Podprte vrste: PDF, PS, Tiff, CHM, DjVu, slike, DVI, XPS, ODT, Fiction Book, stripi, Plucker, EPub, faks</li> @@ -123,8 +136,10 @@ <li xml:lang="et">Külgriba sisukorra, pisipiltide, annotatsioonide ja järjehoidjatega</li> <li xml:lang="fi">Sivupaneeli, jossa sisältö, pienoiskuvat, tarkastelut ja kirjanmerkit</li> <li xml:lang="it">Barra laterale con contenuti, miniature, revisioni e segnalibri</li> + <li xml:lang="ko">목차, 책갈피, 미리 보기, 주석이 있는 사이드바</li> <li xml:lang="nl">Zijbalk met inhoud, miniaturen, reviews en bladwijzers</li> <li xml:lang="nn">Sidestolpe med innhaldsliste, miniatyrbilete, omtalar og bokmerke</li> + <li xml:lang="pl">Pasek boczny z treścią, miniaturami, recenzją i zakładkami</li> <li xml:lang="pt">Barra lateral com o conteúdo, miniaturas, revisões e marcação de favoritos</li> <li xml:lang="sk">Posuvník s obsahom, miniatúrami, revíziami a záložkami</li> <li xml:lang="sl">Stranska vrstica z vsebino, sličicami, ocenami in zaznamki</li> @@ -144,8 +159,10 @@ <li xml:lang="et">Annotatsioonide toetus</li> <li xml:lang="fi">Merkintöjen tuki</li> <li xml:lang="it">Supporto per le annotazioni</li> + <li xml:lang="ko">주석 지원</li> <li xml:lang="nl">Ondersteuning van annotaties</li> <li xml:lang="nn">Støtte for merknadar</li> + <li xml:lang="pl">Obsługa przypisów</li> <li xml:lang="pt">Suporte para anotações</li> <li xml:lang="sk">Podpora anotácií</li> <li xml:lang="sl">Podpora zabeležkam</li> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/ui/annotationpopup.cpp new/okular-16.12.1/ui/annotationpopup.cpp --- old/okular-16.12.0/ui/annotationpopup.cpp 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/ui/annotationpopup.cpp 2017-01-08 19:38:42.000000000 +0100 @@ -18,6 +18,7 @@ #include "core/annotations.h" #include "core/document.h" #include "guiutils.h" +#include "okmenutitle.h" Q_DECLARE_METATYPE( AnnotationPopup::AnnotPagePair ) @@ -84,7 +85,7 @@ const AnnotPagePair &pair = mAnnotations.at(0); - menu.setTitle( i18np( "Annotation", "%1 Annotations", mAnnotations.count() ) ); + menu.addAction( new OKMenuTitle( &menu, i18np( "Annotation", "%1 Annotations", mAnnotations.count() ) ) ); action = menu.addAction( QIcon::fromTheme( QStringLiteral("comment") ), i18n( "&Open Pop-up Note" ) ); action->setData( QVariant::fromValue( pair ) ); @@ -124,7 +125,7 @@ { foreach ( const AnnotPagePair& pair, mAnnotations ) { - menu.setTitle( GuiUtils::captionForAnnotation( pair.annotation ) ); + menu.addAction( new OKMenuTitle( &menu, GuiUtils::captionForAnnotation( pair.annotation ) ) ); action = menu.addAction( QIcon::fromTheme( QStringLiteral("comment") ), i18n( "&Open Pop-up Note" ) ); action->setData( QVariant::fromValue( pair ) ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/ui/okmenutitle.cpp new/okular-16.12.1/ui/okmenutitle.cpp --- old/okular-16.12.0/ui/okmenutitle.cpp 1970-01-01 01:00:00.000000000 +0100 +++ new/okular-16.12.1/ui/okmenutitle.cpp 2017-01-08 19:38:42.000000000 +0100 @@ -0,0 +1,65 @@ +/* This file was part of the KDE libraries (copied partially from kmenu.cpp) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License version 2 as published by the Free Software Foundation. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public License + along with this library; see the file COPYING.LIB. If not, write to + the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. +*/ + +#include "okmenutitle.h" + +#include <QApplication> +#include <QEvent> +#include <QKeyEvent> +#include <QMenu> +#include <QToolButton> + +OKMenuTitle::OKMenuTitle(QMenu *menu, const QString &text, const QIcon &icon) + : QWidgetAction(menu) +{ + QAction *buttonAction = new QAction(menu); + QFont font = buttonAction->font(); + font.setBold(true); + buttonAction->setFont(font); + buttonAction->setText(text); + buttonAction->setIcon(icon); + + QToolButton *titleButton = new QToolButton(menu); + titleButton->installEventFilter(this); // prevent clicks on the title of the menu + titleButton->setDefaultAction(buttonAction); + titleButton->setDown(true); // prevent hover style changes in some styles + titleButton->setToolButtonStyle(Qt::ToolButtonTextBesideIcon); + setDefaultWidget(titleButton); +} + +bool OKMenuTitle::eventFilter(QObject *object, QEvent *event) +{ + Q_UNUSED(object); + + if (event->type() == QEvent::Paint) { + return false; + } else if (event->type() == QEvent::KeyRelease) { + // If we're receiving the key release event is because we just gained + // focus though a key event, use the same key to move it to the next action + if (static_cast<QMenu*>(parentWidget())->activeAction() == this) { + QKeyEvent *ke = static_cast<QKeyEvent*>(event); + QKeyEvent newKe(QEvent::KeyPress, ke->key(), ke->modifiers(), ke->text(), ke->isAutoRepeat(), ke->count()); + QApplication::sendEvent(parentWidget(), &newKe); + } + + // TODO What happens when there's multiple OKMenuTitle or only OKMenuTitle in a menu + } + + event->accept(); + return true; +} + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/ui/okmenutitle.h new/okular-16.12.1/ui/okmenutitle.h --- old/okular-16.12.0/ui/okmenutitle.h 1970-01-01 01:00:00.000000000 +0100 +++ new/okular-16.12.1/ui/okmenutitle.h 2017-01-08 19:38:42.000000000 +0100 @@ -0,0 +1,31 @@ +/* This file was part of the KDE libraries (copied partially from kmenu.cpp) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License version 2 as published by the Free Software Foundation. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public License + along with this library; see the file COPYING.LIB. If not, write to + the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. +*/ + +#ifndef OKMENUTITLE_H +#define OKMENUTITLE_H + +#include <QWidgetAction> + +class OKMenuTitle : public QWidgetAction +{ +public: + OKMenuTitle(QMenu *menu, const QString &text, const QIcon &icon = QIcon()); + + bool eventFilter(QObject *object, QEvent *event) override; +}; + +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/okular-16.12.0/ui/pageview.cpp new/okular-16.12.1/ui/pageview.cpp --- old/okular-16.12.0/ui/pageview.cpp 2016-12-09 23:00:22.000000000 +0100 +++ new/okular-16.12.1/ui/pageview.cpp 2017-01-08 19:38:42.000000000 +0100 @@ -70,6 +70,7 @@ #include "pageviewannotator.h" #include "priorities.h" #include "toolaction.h" +#include "okmenutitle.h" #ifdef HAVE_SPEECH #include "tts.h" #endif @@ -2774,7 +2775,7 @@ QAction *imageToFile = 0; if ( d->document->supportsSearching() && !selectedText.isEmpty() ) { - menu.setTitle( i18np( "Text (1 character)", "Text (%1 characters)", selectedText.length() ) ); + menu.addAction( new OKMenuTitle( &menu, i18np( "Text (1 character)", "Text (%1 characters)", selectedText.length() ) ) ); textToClipboard = menu.addAction( QIcon::fromTheme(QStringLiteral("edit-copy")), i18n( "Copy to Clipboard" ) ); bool copyAllowed = d->document->isAllowed( Okular::AllowCopy ); if ( !copyAllowed ) @@ -2791,7 +2792,7 @@ addWebShortcutsMenu( &menu, selectedText ); } } - menu.setTitle( i18n( "Image (%1 by %2 pixels)", selectionRect.width(), selectionRect.height() ) ); + menu.addAction( new OKMenuTitle( &menu, i18n( "Image (%1 by %2 pixels)", selectionRect.width(), selectionRect.height() ) ) ); imageToClipboard = menu.addAction( QIcon::fromTheme(QStringLiteral("image-x-generic")), i18n( "Copy to Clipboard" ) ); imageToFile = menu.addAction( QIcon::fromTheme(QStringLiteral("document-save")), i18n( "Save to File..." ) ); QAction *choice = menu.exec( e->globalPos() );
participants (1)
-
root@hilbertn.suse.de