Browse Source

QNapi: More language fixes

master
Fincer 7 years ago
parent
commit
f89b5365ee
2 changed files with 57 additions and 0 deletions
  1. +3
    -0
      qnapi/PKGBUILD
  2. +54
    -0
      qnapi/languagefix_3.patch

+ 3
- 0
qnapi/PKGBUILD View File

@ -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


+ 54
- 0
qnapi/languagefix_3.patch View File

@ -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

Loading…
Cancel
Save