From b945231de8a72ac9d2567464673cd14fa76e4774 Mon Sep 17 00:00:00 2001 From: Fincer Date: Sun, 19 Mar 2017 00:28:36 +0200 Subject: [PATCH] QNapi: Add translation fixes --- qnapi/PKGBUILD | 2 +- qnapi/languagefix.patch | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/qnapi/PKGBUILD b/qnapi/PKGBUILD index 89351b7..9cb18e3 100644 --- a/qnapi/PKGBUILD +++ b/qnapi/PKGBUILD @@ -16,7 +16,7 @@ languagefix.patch languagefix_2.patch defaultsublanguage.patch) sha256sums=('d189150944b2524e06bec3215caf4aa8503ee4f2597954cba5c2568e4a3b8a92' - '5bc59852f63ff6b2bf98d50b9c5ab2a60781e4036bf7584795b2e10e0c1e31d7' + '3c285a477e3dcced2457486886401bb506001089c258c5315a835edbef4bab91' '03df5456a7fa3ea97941f4fd348fcb92e89cee1553a34cd7942fe8c9c7f9a013' 'f985cd7f1c75ac0913b762b94d5ea102fdb3d3dd9b4bc72e305783d25315ed73') diff --git a/qnapi/languagefix.patch b/qnapi/languagefix.patch index c0a1275..b7e4f7f 100644 --- a/qnapi/languagefix.patch +++ b/qnapi/languagefix.patch @@ -1046,3 +1046,15 @@ adEntry.tokens = targetFormat->decodeTokenStream(ad); SubToken urlToken; urlToken.type = STT_WORD; + +--- a/src/qsubmatcher.cpp ++++ b/src/qsubmatcher.cpp +@@ -74,7 +74,7 @@ + if(!noBackup) + { + QFileInfo targetSubtitlesFileInfo(targetSubtitlesFilePath); +- QString newName = constructSubtitlePath(targetMoviefilePath, targetSubtitlesFileInfo.suffix(), "_kopia"); ++ QString newName = constructSubtitlePath(targetMoviefilePath, targetSubtitlesFileInfo.suffix(), "_copy"); + + if(QFile::exists(newName)) + QFile::remove(newName);