From f89b5365ee7719ceed9a4e8743d77a6c0f4efa5b Mon Sep 17 00:00:00 2001 From: Fincer Date: Thu, 23 Mar 2017 14:12:02 +0200 Subject: [PATCH] QNapi: More language fixes --- qnapi/PKGBUILD | 3 +++ qnapi/languagefix_3.patch | 54 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 qnapi/languagefix_3.patch diff --git a/qnapi/PKGBUILD b/qnapi/PKGBUILD index 3842fa7..67ee100 100644 --- a/qnapi/PKGBUILD +++ b/qnapi/PKGBUILD @@ -14,11 +14,13 @@ changelog=ChangeLog source=("${pkgname}-${pkgver}.tar.gz::https://github.com/QNapi/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz" languagefix.patch languagefix_2.patch +languagefix_3.patch defaultsublanguage.patch en.png) sha256sums=('d189150944b2524e06bec3215caf4aa8503ee4f2597954cba5c2568e4a3b8a92' '72329d56129ee7a3fb7a34eac5b17365ac23ec8f2bc32939befa6ecac36e98cd' 'a9f6f0c80219e29a79d731426e3e85062673b8a3773500e415bf6cea828ea79e' + 'd4f3210a8f242a1d4e70ea9270f4b46d2855b0d30445083800d3dd266078a14f' 'f985cd7f1c75ac0913b762b94d5ea102fdb3d3dd9b4bc72e305783d25315ed73' '8e48a8d3e16c9e74af247fa52fc12094a31cad8d648a681831c17b479b9c898f') @@ -26,6 +28,7 @@ prepare() { cd "${srcdir}/${pkgname}-${pkgver}" patch -Np1 -i $srcdir/languagefix.patch patch -Np1 -i $srcdir/languagefix_2.patch + patch -Np1 -i $srcdir/languagefix_3.patch patch -Np1 -i $srcdir/defaultsublanguage.patch rm ./res/langs/en.png diff --git a/qnapi/languagefix_3.patch b/qnapi/languagefix_3.patch new file mode 100644 index 0000000..216233f --- /dev/null +++ b/qnapi/languagefix_3.patch @@ -0,0 +1,54 @@ +--- a/doc/qnapi-download.desktop ++++ b/doc/qnapi-download.desktop +@@ -1,14 +1,14 @@ + [Desktop Entry] + Version=1.0 + Actions=QNapiDownload; +-Name=Pobierz napisy do filmu z QNapi +-GenericName=Pobierz napisy do filmu z QNapi ++Name=Download subtitles with QNapi ++GenericName=Download subtitles with QNapi + Icon=qnapi-48 + ServiceTypes=video/x-msvideo,video/x-ms-asf,video/mpeg,video/x-ms-wmv,video/mp4,video/quicktime,video/x-theora,video/x-matroska,video/3gpp,application/vnd.rn-realmedia,application/vnd.rn-realmedia-vbr + X-KDE-ServiceTypes=KonqPopupMenu/Plugin + Type=Service + + [Desktop Action QNapiDownload] +-Name=Pobierz napisy do filmu z QNapi ++Name=Download subtitles with QNapi + Exec=qnapi %F + Icon=qnapi-48 + +--- a/doc/qnapi-scan.desktop ++++ b/doc/qnapi-scan.desktop +@@ -1,14 +1,14 @@ + [Desktop Entry] + Version=1.0 + Actions=QNapiScan; +-Name=Przeskanuj katalog i pobierz napisy +-GenericName=Przeskanuj katalogu i pobierz napisy ++Name=Scan directory and download subtitles ++GenericName=Scan directory and download subtitles + Icon=qnapi-48 + ServiceTypes=inode/directory + X-KDE-ServiceTypes=KonqPopupMenu/Plugin + Type=Service + + [Desktop Action QNapiScan] +-Name=Przeskanuj katalog i pobierz napisy ++Name=Scan directory and download subtitles + Exec=qnapi %U + Icon=qnapi-48 + +--- a/doc/qnapi.desktop ++++ b/doc/qnapi.desktop +@@ -4,7 +4,7 @@ + Icon=qnapi + Type=Application + Categories=AudioVideo; +-Comment=Program do pobierania napisów do filmów +-GenericName=Program do pobierania napisów do filmów ++Comment=Program for downloading video subtitles ++GenericName=Program for downloading video subtitles + Terminal=false + X-KDE-StartupNotify=false