Browse Source

QNapi: Fix more minor issues

master
Fincer 7 years ago
parent
commit
684f2a8b37
3 changed files with 44 additions and 8 deletions
  1. +9
    -4
      qnapi/PKGBUILD
  2. BIN
      qnapi/en.png
  3. +35
    -4
      qnapi/languagefix_2.patch

+ 9
- 4
qnapi/PKGBUILD View File

@ -14,17 +14,22 @@ changelog=ChangeLog
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/QNapi/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz"
languagefix.patch
languagefix_2.patch
defaultsublanguage.patch)
defaultsublanguage.patch
en.png)
sha256sums=('d189150944b2524e06bec3215caf4aa8503ee4f2597954cba5c2568e4a3b8a92'
'3c285a477e3dcced2457486886401bb506001089c258c5315a835edbef4bab91'
'03df5456a7fa3ea97941f4fd348fcb92e89cee1553a34cd7942fe8c9c7f9a013'
'f985cd7f1c75ac0913b762b94d5ea102fdb3d3dd9b4bc72e305783d25315ed73')
'a48ab82ac0d444006ccc3810a75dc96fa894e500118b4b07ce24359f4cf3fa91'
'0861a56d7a8456b610f5c118cc7007aea177c07e5cde3ff4457f6301b28c013f'
'f985cd7f1c75ac0913b762b94d5ea102fdb3d3dd9b4bc72e305783d25315ed73'
'8e48a8d3e16c9e74af247fa52fc12094a31cad8d648a681831c17b479b9c898f')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i $srcdir/languagefix.patch
patch -Np1 -i $srcdir/languagefix_2.patch
patch -Np1 -i $srcdir/defaultsublanguage.patch
rm ./res/langs/en.png
cp $srcdir/en.png ./res/langs/
}
build() {


BIN
qnapi/en.png View File

Before After
Width: 32  |  Height: 32  |  Size: 2.4 KiB

+ 35
- 4
qnapi/languagefix_2.patch View File

@ -78,7 +78,7 @@
<widget class="QLabel" name="lbSrcSubFile">
<property name="text">
- <string>Źródłowy plik z napisami:</string>
+ <string>Source file with subtitles:</string>
+ <string>Source subtitle file:</string>
</property>
</widget>
</item>
@ -123,7 +123,7 @@
</property>
<property name="text">
- <string>Docelowe rozszerzenie napisów:</string>
+ <string>Extension of target subtitle file:</string>
+ <string>File extension for target subtitle file:</string>
</property>
</widget>
</item>
@ -145,6 +145,24 @@
</property>
</widget>
</item>
@@ -363,7 +363,7 @@
<bool>false</bool>
</property>
<property name="text">
- <string>z</string>
+ <string>from</string>
</property>
</widget>
</item>
@@ -429,7 +429,7 @@
<bool>false</bool>
</property>
<property name="text">
- <string>na</string>
+ <string>to</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
@@ -500,7 +500,7 @@
<bool>false</bool>
</property>
@ -159,10 +177,23 @@
</property>
<property name="text">
- <string>Przesuń napisy</string>
+ <string>Move subtitles</string>
+ <string>Shift subtitles</string>
</property>
</widget>
</item>
@@ -560,10 +560,10 @@
</size>
</property>
<property name="prefix">
- <string>o </string>
+ <string> </string>
</property>
<property name="suffix">
- <string> sekund</string>
+ <string> seconds</string>
</property>
<property name="minimum">
<double>-999999999.000000000000000</double>
@@ -581,7 +581,7 @@
<bool>false</bool>
</property>
@ -653,7 +684,7 @@
<widget class="QLabel" name="lbDirectory" >
<property name="text" >
- <string>Wskaż katalog do przeszukania:</string>
+ <string>Select the directory to search in:</string>
+ <string>Select directory to search for video files:</string>
</property>
</widget>
</item>


Loading…
Cancel
Save