@ -1,122 +0,0 @@ | |||
--- a/src/settings/dolphin_generalsettings.kcfg | |||
+++ b/src/settings/dolphin_generalsettings.kcfg | |||
@@ -81,6 +81,10 @@ | |||
<label>Use auto-expanding folders for all view types</label> | |||
<default>false</default> | |||
</entry> | |||
+ <entry name="AutoPlayMediaFiles" type="Bool"> | |||
+ <label>Play media files automatically while hovering a cursor</label> | |||
+ <default>false</default> | |||
+ </entry> | |||
<entry name="ShowZoomSlider" type="Bool"> | |||
<label>Show zoom slider in the statusbar</label> | |||
<default>true</default> | |||
--- a/src/settings/navigation/navigationsettingspage.cpp | |||
+++ b/src/settings/navigation/navigationsettingspage.cpp | |||
@@ -29,7 +29,8 @@ | |||
NavigationSettingsPage::NavigationSettingsPage(QWidget* parent) : | |||
SettingsPageBase(parent), | |||
m_openArchivesAsFolder(0), | |||
- m_autoExpandFolders(0) | |||
+ m_autoExpandFolders(0), | |||
+ m_autoPlayMediaFiles(0) | |||
{ | |||
QVBoxLayout* topLayout = new QVBoxLayout(this); | |||
QWidget* vBox = new QWidget(this); | |||
@@ -43,12 +44,16 @@ | |||
m_autoExpandFolders = new QCheckBox(i18nc("option:check", "Open folders during drag operations"), vBox); | |||
vBoxLayout->addWidget(m_autoExpandFolders); | |||
+ m_autoPlayMediaFiles = new QCheckBox(i18nc("@option:check", "Play media files automatically"), vBox); | |||
+ vBoxLayout->addWidget(m_autoPlayMediaFiles); | |||
+ | |||
topLayout->addWidget(vBox); | |||
loadSettings(); | |||
connect(m_openArchivesAsFolder, &QCheckBox::toggled, this, &NavigationSettingsPage::changed); | |||
connect(m_autoExpandFolders, &QCheckBox::toggled, this, &NavigationSettingsPage::changed); | |||
+ connect(m_autoPlayMediaFiles, &QCheckBox::toggled, this, &NavigationSettingsPage::changed); | |||
} | |||
NavigationSettingsPage::~NavigationSettingsPage() | |||
@@ -60,6 +65,7 @@ | |||
GeneralSettings* settings = GeneralSettings::self(); | |||
settings->setBrowseThroughArchives(m_openArchivesAsFolder->isChecked()); | |||
settings->setAutoExpandFolders(m_autoExpandFolders->isChecked()); | |||
+ settings->setAutoPlayMediaFiles(m_autoPlayMediaFiles->isChecked()); | |||
settings->save(); | |||
} | |||
@@ -76,5 +82,6 @@ | |||
{ | |||
m_openArchivesAsFolder->setChecked(GeneralSettings::browseThroughArchives()); | |||
m_autoExpandFolders->setChecked(GeneralSettings::autoExpandFolders()); | |||
+ m_autoPlayMediaFiles->setChecked(GeneralSettings::autoPlayMediaFiles()); | |||
} | |||
--- a/src/settings/navigation/navigationsettingspage.h | |||
+++ b/src/settings/navigation/navigationsettingspage.h | |||
@@ -46,6 +46,7 @@ | |||
private: | |||
QCheckBox* m_openArchivesAsFolder; | |||
QCheckBox* m_autoExpandFolders; | |||
+ QCheckBox* m_autoPlayMediaFiles; | |||
}; | |||
#endif | |||
--- a/src/panels/information/phononwidget.cpp | |||
+++ b/src/panels/information/phononwidget.cpp | |||
@@ -19,6 +19,8 @@ | |||
*/ | |||
#include "phononwidget.h" | |||
+#include "dolphin_generalsettings.h" | |||
+#include "dolphinmainwindow.h" | |||
#include <Phonon/AudioOutput> | |||
#include <Phonon/Global> | |||
@@ -32,6 +34,7 @@ | |||
#include <QToolButton> | |||
#include <QDialog> | |||
#include <QIcon> | |||
+#include <QTimer> | |||
#include <KIconLoader> | |||
#include <QUrl> | |||
#include <KLocalizedString> | |||
@@ -79,6 +82,20 @@ | |||
if (m_url != url) { | |||
stop(); // emits playingStopped() signal | |||
m_url = url; | |||
+ | |||
+ //TODO: autoplay starts (related to qtimer) even if the target file has changed before the timer has run out | |||
+ //TODO: stop/destroy the preview once user does not highlight the item/Dolphin main window or use the window | |||
+ //TODO: the autoplay feature should only apply to audio files, exclude video files (as it works in Caja/Nautilus) | |||
+ | |||
+ // Enables autoplay feature if it's enabled in Navigation Settings | |||
+ // page. Set a single shot time delay (in msec) for media preview. | |||
+ QTimer *m_autoplaytimer = new QTimer(this); | |||
+ | |||
+ if(GeneralSettings::autoPlayMediaFiles()) { //If the this radiobutton is checked, then | |||
+ connect(m_autoplaytimer, SIGNAL(timeout()), this, SLOT(play())); | |||
+ m_autoplaytimer->setSingleShot(true); // Play only once, otherwise this loops in 1 sec cycles | |||
+ m_autoplaytimer->start(1000); // Delay to start the autoplay | |||
+ } | |||
} | |||
} | |||
--- a/src/panels/information/phononwidget.h | |||
+++ b/src/panels/information/phononwidget.h | |||
@@ -78,6 +78,8 @@ | |||
private: | |||
QUrl m_url; | |||
QSize m_videoSize; | |||
+ | |||
+ QTimer* m_autoplaytimer; | |||
QToolButton *m_playButton; | |||
QToolButton *m_stopButton; |
@ -1,72 +0,0 @@ | |||
--- a/src/panels/information/phononwidget.cpp | |||
+++ b/src/panels/information/phononwidget.cpp | |||
@@ -30,6 +30,7 @@ | |||
#include <QHBoxLayout> | |||
#include <QShowEvent> | |||
#include <QToolButton> | |||
+#include <QCheckBox> | |||
#include <QDialog> | |||
#include <QIcon> | |||
#include <KIconLoader> | |||
@@ -69,6 +70,7 @@ | |||
m_topLayout(0), | |||
m_media(0), | |||
m_seekSlider(0), | |||
+ m_playAut(0), | |||
m_audioOutput(0), | |||
m_videoPlayer(0) | |||
{ | |||
@@ -79,6 +81,9 @@ | |||
if (m_url != url) { | |||
stop(); // emits playingStopped() signal | |||
m_url = url; | |||
+ if(m_playAut ->isChecked()){ | |||
+ play(); | |||
+ } | |||
} | |||
} | |||
@@ -115,6 +120,8 @@ | |||
controlsLayout->setMargin(0); | |||
controlsLayout->setSpacing(0); | |||
+ m_playAut = new QCheckBox(this); | |||
+ | |||
m_playButton = new QToolButton(this); | |||
m_stopButton = new QToolButton(this); | |||
m_seekSlider = new Phonon::SeekSlider(this); | |||
@@ -122,11 +129,15 @@ | |||
controlsLayout->addWidget(m_playButton); | |||
controlsLayout->addWidget(m_stopButton); | |||
controlsLayout->addWidget(m_seekSlider); | |||
+ controlsLayout->addWidget(m_playAut); | |||
m_topLayout->addLayout(controlsLayout); | |||
const int smallIconSize = IconSize(KIconLoader::Small); | |||
const QSize buttonSize(smallIconSize, smallIconSize); | |||
+ | |||
+ m_playAut->setToolTip(i18n("play automatically")); | |||
+ m_playAut->setIconSize(buttonSize); | |||
m_playButton->setToolTip(i18n("play")); | |||
m_playButton->setIconSize(buttonSize); | |||
--- a/src/panels/information/phononwidget.h | |||
+++ b/src/panels/information/phononwidget.h | |||
@@ -38,6 +38,7 @@ | |||
class EmbeddedVideoPlayer; | |||
class QToolButton; | |||
class QVBoxLayout; | |||
+class QCheckBox; | |||
class PhononWidget : public QWidget | |||
{ | |||
@@ -81,6 +82,7 @@ | |||
QToolButton *m_playButton; | |||
QToolButton *m_stopButton; | |||
+ QCheckBox *m_playAut; | |||
QVBoxLayout *m_topLayout; | |||
Phonon::MediaObject *m_media; |
@ -1,49 +0,0 @@ | |||
pkgname=kdegraphics-dreamdesktop | |||
_pkgname=plasma-video-wallpaper | |||
pkgver=06012014 | |||
pkgrel=1 | |||
pkgdesc="Animated wallpaper for KDE 4 environment" | |||
arch=('any') | |||
url="https://github.com/Fincer/Plasma-Wallpaper-DreamDesktop" ## Developed by Korneliusz Jarzębski | |||
license=('GPL') | |||
depends=('kdebase-workspace' 'ffmpeg') | |||
source=(crashfix.patch) | |||
_gitname="Plasma-Wallpaper-DreamDesktop" | |||
_gitroot="https://github.com/Fincer/${_gitname}.git" | |||
build() { | |||
cd $srcdir | |||
msg "Connecting to GIT (${_gitroot}) ..." | |||
if [ -d $_gitname ]; then | |||
cd $_gitname && git pull origin | |||
msg "The local files of ${_gitname} were updated." | |||
else | |||
git clone $_gitroot $_gitname | |||
fi | |||
msg "GIT checkout done or server timeout" | |||
cd $srcdir/${_gitname} | |||
patch -Np1 -i "$srcdir/crashfix.patch" | |||
mkdir build | |||
cd build | |||
cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` | |||
make all | |||
} | |||
package() { | |||
mkdir -p $pkgdir/usr/lib/kde4/ | |||
mkdir -p $pkgdir/usr/share/kde4/services/ | |||
mkdir -p $pkgdir/usr/share/doc/$pkgname | |||
mkdir -p $pkgdir/usr/share/kde4/apps/dreamdesktop/thumbs/ | |||
chmod 755 $srcdir/${_gitname}/thumbs/default.png | |||
mv $srcdir/${_gitname}/build/lib/dreamdesktop.so $pkgdir/usr/lib/kde4/ | |||
mv $srcdir/${_gitname}/dreamdesktop.desktop $pkgdir/usr/share/kde4/services/ | |||
mv $srcdir/${_gitname}/README.ENGLISH $pkgdir/usr/share/doc/$pkgname/ | |||
mv $srcdir/${_gitname}/thumbs/default.png $pkgdir/usr/share/kde4/apps/dreamdesktop/thumbs/ | |||
} | |||
md5sums=('acd498b8ad87989469912f35ce396c9e') |
@ -1,11 +0,0 @@ | |||
--- a/dreamdesktop.cpp | |||
+++ b/dreamdesktop.cpp | |||
@@ -256,7 +256,7 @@ | |||
case DD_F_SPLINE: useFilter = SWS_SPLINE; break; | |||
} | |||
- SwsContext *img_convert_ctx = sws_getContext(pCodecCtx->width, pCodecCtx->height, pCodecCtx->pix_fmt, dd->boundingWidth, dd->boundingHeight, PIX_FMT_RGB32, useFilter, NULL, NULL, NULL); | |||
+ SwsContext *img_convert_ctx = sws_getContext(pCodecCtx->width, pCodecCtx->height, pCodecCtx->pix_fmt, pCodecCtx->width, pCodecCtx->height, PIX_FMT_RGB32, useFilter, NULL, NULL, NULL); | |||
dd->mutex->lock(); | |||
@ -1,17 +0,0 @@ | |||
pkgname=mlv2dng | |||
pkgver=2013.09.02 | |||
pkgrel=1 | |||
pkgdesc="Magic Lantern Raw file conversion tool." | |||
arch=('any') | |||
url='https://www.bitbucket.org/gnarr/mlv2dng' | |||
license="GPL" | |||
depends=() | |||
makedepends=('wget') | |||
source=(https://dl.dropboxusercontent.com/u/3181048/mlv2dng_linux.zip) | |||
md5sums=('8722547d51a3fe81ae38a3bf3da9c6dc') | |||
package() | |||
{ | |||
mkdir -p "$pkgdir/usr/bin" | |||
install -m755 $srcdir/mlv2dng "$pkgdir/usr/bin" | |||
} |
@ -1,19 +0,0 @@ | |||
pkgname=plasma-workspace-wallpaper-video | |||
pkgver=1 | |||
pkgrel=1 | |||
pkgdesc="Video wallpaper for Plasma 5 workspace" | |||
arch=('any') | |||
license=('GPL3') | |||
depends=('plasma-workspace') #gstreamer0.10-ffmpeg | |||
source=('org.kde.video.tar.gz' 'org.kde.videoplaylist.tar.gz' 'm3uwrapper.desktop') | |||
md5sums=('05f58cc99405f9c87aab10106b5525f7' | |||
'f3f21f3e67c3aaf22614c023566eadcb' | |||
'79ce66e4eb2a316640d3b38f6f3cf6fc') | |||
package() { | |||
mkdir -p $pkgdir/usr/share/{plasma/wallpapers/,/kservices5/ServiceMenus} | |||
cp -R $srcdir/{org.kde.video,org.kde.videoplaylist} $pkgdir/usr/share/plasma/wallpapers/ | |||
install -D -m644 $srcdir/m3uwrapper.desktop $pkgdir/usr/share/kservices5/ServiceMenus/m3uwrapper.desktop | |||
} |
@ -1,12 +0,0 @@ | |||
[Desktop Entry] | |||
Type=Service | |||
Icon=m3u-file-icon | |||
X-KDE-ServiceTypes=KonqPopupMenu/Plugin | |||
MimeType=video/*;application/x-flash-video;application/vnd.ms-asf;application/vnd.rn-realmedia; | |||
Actions=videoPlaylist; | |||
Encoding=UTF-8 | |||
[Desktop Action videoPlaylist] | |||
Name=Make video playlist | |||
Icon=m3u-file-icon | |||
Exec=echo "%U" | sed 's# /#\\n/#g' > Video-Playlist.m3u |
@ -1,17 +0,0 @@ | |||
pkgbase = purple-whatsapp | |||
pkgdesc = WhatsApp protocol implementation for libpurple (pidgin) | |||
pkgver = 0.8.5 | |||
pkgrel = 1 | |||
url = https://github.com/davidgfnet/whatsapp-purple | |||
arch = i686 | |||
arch = x86_64 | |||
license = GPLv2 | |||
depends = libpurple | |||
depends = freeimage | |||
optdepends = pidgin | |||
provides = purple-whatsapp | |||
source = git+https://github.com/davidgfnet/whatsapp-purple.git#tag=v0.8.5 | |||
sha512sums = SKIP | |||
pkgname = purple-whatsapp | |||
@ -1,28 +0,0 @@ | |||
# Contributor: Jonas Heinrich <onny@project-insanity.org> | |||
# Contributor: Jorge Barroso <jorge.barroso.11 at gmail dot com> | |||
# Maintainer: Vinícius dos Santos Oliveira <vini.ipsmaker@gmail.com> | |||
pkgname=purple-whatsapp | |||
pkgver=0.8.6 | |||
pkgrel=1 | |||
pkgdesc="WhatsApp protocol implementation for libpurple (pidgin)" | |||
arch=('i686' 'x86_64') | |||
url="https://github.com/Fincer/whatsapp-purple" | |||
license=('GPLv2') | |||
depends=('libpurple' 'freeimage') | |||
optdepends=('pidgin') | |||
provides=('purple-whatsapp') | |||
source=("git+https://github.com/Fincer/whatsapp-purple.git#tag=v${pkgver}") ## Developed by David G. F. | |||
sha512sums=('SKIP') | |||
build() { | |||
cd "$srcdir/whatsapp-purple" | |||
make | |||
} | |||
package() { | |||
cd "$srcdir/whatsapp-purple" | |||
make DESTDIR=$pkgdir install | |||
} | |||
# vim:set ts=2 sw=2 et: |
@ -1,46 +0,0 @@ | |||
# Maintainer: FadeMind <fademind@gmail.com> | |||
# Contributor: Jakub Schmidtke <sjakub-at-gmail.com> | |||
# Contributor: Piotr Krzemiński <pio.krzeminski@gmail.com> | |||
pkgname=qnapi | |||
pkgver=0.2.2 | |||
pkgrel=3 | |||
pkgdesc="Qt5 client for downloading movie subtitles from NapiProjekt, OpenSubtitles, Napisy24" | |||
arch=('i686' 'x86_64' 'armv7h') | |||
url="https://github.com/QNapi/${pkgname}" | |||
license=('GPL') | |||
depends=('qt5-base' 'libmediainfo' 'p7zip') | |||
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/QNapi/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz" | |||
languagefix.patch | |||
defaultsublanguage.patch | |||
en.png) | |||
sha256sums=('d189150944b2524e06bec3215caf4aa8503ee4f2597954cba5c2568e4a3b8a92' | |||
'445752f86c999d3938edf6ab10d0a12a89dfee5a2c61f356ccc76d4ca732751e' | |||
'f985cd7f1c75ac0913b762b94d5ea102fdb3d3dd9b4bc72e305783d25315ed73' | |||
'8e48a8d3e16c9e74af247fa52fc12094a31cad8d648a681831c17b479b9c898f') | |||
prepare() { | |||
cd "${srcdir}/${pkgname}-${pkgver}" | |||
patch -Np1 -i $srcdir/languagefix.patch | |||
patch -Np1 -i $srcdir/defaultsublanguage.patch | |||
rm ./res/langs/en.png | |||
cp $srcdir/en.png ./res/langs/ | |||
} | |||
build() { | |||
cd "${srcdir}/${pkgname}-${pkgver}" | |||
qmake-qt5 QMAKE_DEFAULT_INCDIRS="" ${pkgname}.pro | |||
make | |||
} | |||
package() { | |||
cd "${srcdir}/${pkgname}-${pkgver}" | |||
make -j2 | |||
make INSTALL_ROOT="${pkgdir}/" install | |||
mkdir -p ${pkgdir}/usr/share/{kde4/services,kservices5}/ServiceMenus/ | |||
mv ${pkgdir}/usr/share/doc/${pkgname}/${pkgname}-scan.desktop ${pkgdir}/usr/share/kde4/services/ServiceMenus/${pkgname}-scan.desktop | |||
mv ${pkgdir}/usr/share/doc/${pkgname}/${pkgname}-download.desktop ${pkgdir}/usr/share/kde4/services/ServiceMenus/${pkgname}-download.desktop | |||
cp ${pkgdir}/usr/share/kde4/services/ServiceMenus/${pkgname}-scan.desktop ${pkgdir}/usr/share/kservices5/ServiceMenus/${pkgname}-scan.desktop | |||
cp ${pkgdir}/usr/share/kde4/services/ServiceMenus/${pkgname}-download.desktop ${pkgdir}/usr/share/kservices5/ServiceMenus/${pkgname}-download.desktop | |||
} |
@ -1,13 +0,0 @@ | |||
--- a/src/forms/frmoptions.cpp | |||
+++ b/src/forms/frmoptions.cpp | |||
@@ -435,8 +435,8 @@ | |||
{ | |||
GlobalConfig().setP7zipPath(""); | |||
GlobalConfig().setTmpPath(QDir::tempPath()); | |||
- GlobalConfig().setLanguage("pl"); | |||
- GlobalConfig().setLanguageBackup("en"); | |||
+ GlobalConfig().setLanguage("en"); | |||
+ GlobalConfig().setLanguageBackup("de"); | |||
GlobalConfig().setNoBackup(false); | |||
GlobalConfig().setQuietBatch(false); | |||
GlobalConfig().setChangePermissions(false); |
@ -1,836 +0,0 @@ | |||
#This is a draft file for english translation for QNapi program. It doesn't follow any specific standard but does include just all human-readable strings extracted from QNapi source code. | |||
#This file is meant to be used as a base file for final & correctly formatted en.po file. | |||
#Feel free to edit the file in need. | |||
################################################################################ | |||
#gui/src/main.cpp | |||
if(QMessageBox::question(0, QObject::tr("First Run"), | |||
QObject::tr("This is the first launch of the program QNapi. Do you want to " | |||
"configure it now?"), QMessageBox::Yes | QMessageBox::No ) | |||
if(QMessageBox::question(0, "QNapi", "Invalid language code!\n" | |||
"Do you want to download the subtitles in the default language?", | |||
qDebug() << "\nQNapi: deleting temporary files..."; | |||
################################################################################ | |||
#/gui/src/qnapi.cpp | |||
errorMsg = QString("Unsupported download engine: %1.").arg(engine); | |||
errorMsg = "No subtitles found!"; | |||
################################################################################ | |||
#/gui/src/qnapiapp.cpp | |||
getAction = new QAction(tr("Download subtitles"), 0); | |||
scanAction = new QAction(tr("Scan directories"), 0); | |||
convertAction = new QAction(tr("Convert subtitles"), 0); | |||
napiGetAction = new QAction(tr("Download subtitles"), 0); | |||
napiCreateUserAction = new QAction(tr("Create an account"), 0); | |||
osGetAction = new QAction(tr("Download subtitles"), 0); | |||
osAddAction = new QAction(tr("Upload subtitles"), 0); | |||
osCreateUserAction = new QAction(tr("Create an account"), 0); | |||
napisy24GetAction = new QAction(tr("Download subtitles"), 0); | |||
napisy24CreateUserAction = new QAction(tr("Create an account"), 0); | |||
settingsAction = new QAction(tr("Settings"), 0); | |||
aboutAction = new QAction(tr("About"), 0); | |||
quitAction = new QAction(tr("Quit"), 0); | |||
tr("Select one or more video files to download subtitles for"), | |||
################################################################################ | |||
#gui/src/qnapicli.cpp | |||
printCli(QString("Invalid language code: %1").arg(p)); | |||
printCli("File not found!"); | |||
printCli("Path to the program p7zip is incorrect! Check your settings.."); | |||
printCli("Can not write to the temporary directory! Check your settings."); | |||
printCli(QString("Error: ") + napi.error()); | |||
printCli(QString(QString(" * Downloading subtitles for '%1'")).arg(QFileInfo(movie).fileName())); | |||
printCli(QString(" No permission to write to the directory '%1'!").arg(QFileInfo(movie).path())); | |||
printCli(QString(QString(" Calculating checksums..."))); | |||
printCli(QString(QString(" Searching subtitles [%1] (%2)...").arg(lang, e))); | |||
printCli(QString(QString(" Searching alternative subtitles [%1] (%2)...").arg(langBackup, e))); | |||
printCli(QString(QString(" Searching subtitles [%1] (%2)...").arg(lang, e))); | |||
printCli(QString(QString(" Searching alternative subtitles [%1] (%2)...").arg(langBackup, e))); | |||
printCli(QString(QString(" Subtitles not found!"))); | |||
printCli(QString(" 0)\tDo not download subtitle for this video")); | |||
printCli(" Found subtitles:"); | |||
std::cout << " Select subtitles to download: "; | |||
printCli(" You must enter a number!"); | |||
printCli(" Enter a number from the list!"); | |||
printCli(QString(QString(" Downloading subtitles..."))); | |||
printCli(QString(QString(" Unable to download subtitles!"))); | |||
printCli(QString(QString(" Unpacking subtitles..."))); | |||
printCli(QString(QString(" Failed to unpack subtitles!"))); | |||
printCli(QString(QString(" Post-processing subtitles..."))); | |||
printCli(QString(QString(" Adjusting subtitles..."))); | |||
printCli(QString(QString(" Could not adjust subtitles!"))); | |||
printCli(QString("QNapi %1, %2\nQt version: %3\n") | |||
printCli(QString("QNapi is distributed under the GNU General Public License v2.\n")); | |||
printCli(QString("Syntax: %1 [options] [list of files]").arg(QFileInfo(arguments().at(0)).fileName())); | |||
printCli(QString("Available options:")); | |||
printCli(QString(" -c, --console Download subtitles with console")); | |||
printCli(QString(" -q, --quiet Download subtitles quietly without showing")); | |||
printCli(QString(" any messages or windows (implies -d)\n")); | |||
printCli(QString(" -s, --show-list Show a list of subtitles (works only with -c)")); | |||
printCli(QString(" -d, --dont-show-list Do not show a list of subtitles (works only with -c)\n")); | |||
printCli(QString(" -l, --lang Preferred subtitle language")); | |||
printCli(QString(" -lb,--lang-backup Alternative subtitle language\n")); | |||
printCli(QString(" -o, --options Show program options (only GUI)\n")); | |||
printCli(QString(" -h, --help Show help text")); | |||
printCli(QString(" -hl,--help-languages List of available subtitle languages\n")); | |||
printCli(QString("List of languages recognized by QNapi, including corresponding")); | |||
printCli(QString("two-letter language codes:\n")); | |||
printCli(QString("\nCurrent default subtitle language: %1 (%2)") | |||
printCli(QString("No alternative subtitle language has been set")); | |||
printCli(QString("Current alternative subtitle language: %1 (%2)") | |||
################################################################################ | |||
#/libqnapi/src/qnapilanguage.cpp | |||
names << tr("Albanian"); | |||
names << tr("English"); | |||
names << tr("Arabic"); | |||
names << tr("Bulgarian"); | |||
names << tr("Chinese"); | |||
names << tr("Croatian"); | |||
names << tr("Czech"); | |||
names << tr("Danish"); | |||
names << tr("Estonian"); | |||
names << tr("Finnish"); | |||
names << tr("French"); | |||
names << tr("Galician"); | |||
names << tr("Greek"); | |||
names << tr("Hebrew"); | |||
names << tr("Spanish"); | |||
names << tr("Dutch"); | |||
names << tr("Indonesian"); | |||
names << tr("Japanese"); | |||
names << tr("Korean"); | |||
names << tr("Macedonian"); | |||
names << tr("German"); | |||
names << tr("Norwegian"); | |||
names << tr("Occitan"); | |||
names << tr("Persian (farsi)"); | |||
names << tr("Polish"); | |||
names << tr("Portuguese"); | |||
names << tr("Portuguese-BR"); | |||
names << tr("Russian"); | |||
names << tr("Romanian"); | |||
names << tr("Serbian"); | |||
names << tr("Slovenian"); | |||
names << tr("Swedish"); | |||
names << tr("Slovak"); | |||
names << tr("Turkish"); | |||
names << tr("Vietnamese"); | |||
names << tr("Hungarian"); | |||
names << tr("Italian"); | |||
################################################################################ | |||
#/gui/src/qnapiopendialog.cpp | |||
setNameFilter(tr("Videos (%1);;All files (*.*)").arg(GlobalConfig().movieExtensionsFilter())); | |||
setNameFilter(tr("Subtitles (%1);;All files (*.*)").arg(GlobalConfig().subtitleExtensionsFilter())); | |||
<< QString(QDir::homePath() + "/Videos") << QString(QDir::homePath() + "/videos") | |||
################################################################################ | |||
#/gui/src/forms/frmlistsubtitles.cpp | |||
ui.lbSelectSubtitles->setText(QString( "Select the subtitle which you want to" | |||
" adjust to the video file<br><br><b>%1</b>") | |||
QMessageBox::warning( this, | |||
"No subtitle selected", | |||
"You need to select a subtitle from the list!"); | |||
################################################################################ | |||
#/gui/src/forms/frmconvert.cpp | |||
QNapiOpenDialog openSubtitle(this, tr("Choose a subtitles file"), | |||
ui.lbDetectedFormatValue->setText(tr("incorrect")); | |||
ui.cbTargetExtension->setItemText(0, tr("Default (%1)").arg(targetDefaultExt)); | |||
QNapiOpenDialog openMovie(this, tr("Select a video file"), | |||
QNapiOpenDialog openMovie(this, tr("Select a video file"), | |||
QMessageBox::information(this, tr("Subtitles converted"), | |||
tr("Changed subtitles format from '%1' to '%2'").arg(srcFormat, targetFormat)); | |||
QMessageBox::warning(this, tr("An error occured while converting strings"), | |||
tr("Could not change subtitle format!")); | |||
################################################################################ | |||
#/gui/src/forms/frmabout.cpp | |||
ui.lbQtVersion->setText(QString("Qt version: ") + qVersion()); | |||
################################################################################ | |||
#/gui/src/forms/frmoptions.cpp | |||
ui.cbLangBackup->addItem("None", QVariant("")); | |||
QString path7z = QFileDialog::getOpenFileName(this, tr("Specify the path for 7z executable"), | |||
QMessageBox::warning(this, tr("Invalid path"), | |||
tr("Defined path to 7z executable is invalid. If you can not " | |||
"locate 7z executable, try installing p7zip-full package.")); | |||
QString tmpDir = QFileDialog::getExistingDirectory(this, | |||
tr("Specify temporary directory"), | |||
QMessageBox::warning(this, | |||
"Warning", | |||
"At least one subtitle engine must remain active!"); | |||
QString("%1 subtitle engine info").arg(engineName), | |||
ui.cbSubExtension->setItemText(0, tr("Default")); | |||
ui.cbSubExtension->setItemText(0, tr("Default (%1)").arg(targetDefaultExt)); | |||
################################################################################ | |||
#/gui/src/forms/frmprogress.cpp | |||
QMessageBox::warning(0, tr("Can not find p7zip!"), | |||
tr("The path to the program p7zip is incorrect!")); | |||
QMessageBox::warning(0, tr("Invalid temporary directory!"), | |||
tr("Unable to write to the temporary directory! Check your settings.")); | |||
QMessageBox::warning(0, tr("No files!"), | |||
tr("Can't download subtitles as no movie files specified!")); | |||
? QString(tr("QNapi - downloading subtitle (%1/%2)")).arg(lastCurrent + 1).arg(lastAll) | |||
: QString(tr("QNapi - downloading subtitle...")); | |||
QMessageBox::critical(0, tr("Critical error!"), getThread.criticalMessage); | |||
tr("Do you want to cancel subtitles downloading?"), | |||
ui.lbAction->setText(tr("Finishing the tasks...")); | |||
emit criticalError(tr("Error: ") + napi->error()); | |||
emit actionChange(tr("Checking permissions of the video directory...")); | |||
emit criticalError(tr("No permission to write to the directory '%1'!").arg(QFileInfo(queue[i]).path())); | |||
emit actionChange(tr("Calculating checksum of the file...")); | |||
emit actionChange(tr("Searching subtitles [%1] (%2)...").arg(language, e)); | |||
emit actionChange(tr("Searching alternative subtitles [%1] (%2)...").arg(languageBackup, e)); | |||
emit actionChange(tr("Searching subtitles [%1] (%2)...").arg(language, e)); | |||
emit actionChange(tr("Searching alternative subtitles [%1] (%2)...").arg(languageBackup, e)); | |||
emit actionChange(tr("Downloading subtitles file...")); | |||
emit actionChange(tr("Unpacking subtitles file...")); | |||
emit actionChange(tr("Post-processing subtitles...")); | |||
emit actionChange(tr("Adjusting subtitles...")); | |||
emit criticalError(tr("Could not adjust subtitles!")); | |||
################################################################################ | |||
#/gui/src/forms/frmscan.cpp | |||
QNapiOpenDialog openDialog(this, tr("Select the folder to scan"), | |||
ui.pbScan->setText(tr("Cancel")); | |||
ui.lbAction->setText(tr("Scanning directories...")); | |||
ui.lbAction->setText(tr("Interrupting directory scanning...")); | |||
ui.lbAction->setText(QString("Scanning directory <b>%1</b>..").arg(dirName)); | |||
ui.pbScan->setText("Scan"); | |||
ui.lbAction->setText(tr((ui.lwMovies->count() > 0) | |||
? "Select the videos you wish to download subtitles for." | |||
: "No video files found.")); | |||
################################################################################ | |||
#/gui/src/forms/frmsummary.cpp | |||
ui.lbSuccess->setText(tr("Subtitles downloaded for %1 %2") | |||
.arg(goodCount).arg(tr(goodCount > 1 ? "files" : "file"))); | |||
ui.lbFail->setText(tr("Could not download subtitles for %1 %2") | |||
.arg(badCount).arg(tr(badCount > 1 ? "files" : "file"))); | |||
################################################################################ | |||
#/libqnapi/src/engines/qnapiprojektengine.cpp | |||
return "Fetching from <b>www.napiprojekt.pl</b>"; | |||
################################################################################ | |||
#/libqnapi/src/engines/qnapisy24engine.cpp | |||
return "Fetching from <b>www.napisy24.pl</b><br />"; | |||
################################################################################ | |||
#/libqnapi/src/engines/qopensubtitlesengine.cpp | |||
return "Fetching from <b>www.opensubtitles.org</b>"; | |||
################################################################################ | |||
#/libqnapi/src/subconvert/subtitleconverter.cpp | |||
QString ad = QString("QNapi has downloaded and processed the subtitles|"); | |||
################################################################################ | |||
#/libqnapi/src/qsubmatcher.cpp | |||
QString newName = constructSubtitlePath(targetMoviefilePath, targetSubtitlesFileInfo.suffix(), "_copy"); | |||
################################################################################ | |||
#/gui/ui/frmabout.ui | |||
#################### | |||
#<property name="windowTitle"> | |||
<string>QNapi - About</string> | |||
#################### | |||
#<widget class="QLabel" name="lbAbout"> | |||
<string><html><head/><body><p>QNapi is a program for automatic downloading and matching subtitles for movies. </p><p>The program is distributed under the GNU General Public License version second or later.</p><p><a href="http://qnapi.github.io"><span style=" text-decoration: underline; color:#0000ff;">http://qnapi.github.io</span></a></p><p>I thank all those who in any way supported the development of the project.</p></body></html></string> | |||
#################### | |||
#<widget class="QLabel" name="lbQtVersion"> | |||
<string>Qt version: x.y.z</string> | |||
#################### | |||
#<widget class="QLabel" name="lbUseNP" | |||
<string>The program uses www.napiprojekt.pl subtitle database</string> | |||
#################### | |||
#<widget class="QLabel" name="lbUseOS"> | |||
<string>The program uses www.opensubtitles.org subtitle database</string> | |||
#################### | |||
#<widget class="QLabel" name="lbUseNP24"> | |||
<string>The program uses www.napisy24.pl subtitle database</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbClose"> | |||
<string>Close</string> | |||
################################################################################ | |||
#/gui/ui/frmconvert.ui | |||
#################### | |||
#<property name="windowTitle"> | |||
<string>Convert subtitles</string> | |||
#################### | |||
#<widget class="QLabel" name="lbSrcSubFile"> | |||
<string>Source subtitle file:</string> | |||
#################### | |||
#<widget class="QLabel" name="lbDetectedFormat"> | |||
<string>Detected format:</string> | |||
#################### | |||
#<widget class="QLabel" name="lbTargetFormat"> | |||
<string>Target subtitle format:</string> | |||
#################### | |||
#<widget class="QLabel" name="lbMovieFPS"> | |||
<string>Video framerate (FPS):</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbMovieFPSSelect"> | |||
<string>Detected video framerate (FPS)</string> | |||
#################### | |||
#<widget class="QLabel" name="lbTargetExtension"> | |||
<string>File extension for target subtitle file:</string> | |||
#################### | |||
#<widget class="QComboBox" name="cbTargetExtension"> | |||
<string>Default</string> | |||
#################### | |||
#<widget class="QCheckBox" name="cbChangeFPS"> | |||
<string>Change FPS (frames/second) of subtitle</string> | |||
#################### | |||
#<widget class="QLabel" name="lbFrom"> | |||
<string>from</string> | |||
#################### | |||
#<widget class="QLabel" name="lbTo"> | |||
<string>to</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbTargetMovieFPSSelect"> | |||
<string>Detect framerate for file</string> | |||
#################### | |||
#<widget class="QCheckBox" name="cbDelaySubtitles"> | |||
<string>Shift subtitles</string> | |||
#################### | |||
#<widget class="QDoubleSpinBox" name="sbDelayOffset"> | |||
<string> </string> | |||
#################### | |||
#<widget class="QDoubleSpinBox" name="sbDelayOffset"> | |||
<string> seconds</string> | |||
#################### | |||
#<widget class="QLabel" name="lbTargetFileName"> | |||
<string>Target subtitle file name:</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbConvert"> | |||
<string>Convert</string> | |||
################################################################################ | |||
#/gui/ui/frmlistsubtitles.ui | |||
#################### | |||
#<property name="windowTitle"> | |||
<string>QNapi - Select subtitles from the list</string> | |||
#################### | |||
#<widget class="QLabel" name="lbSelectSubtitles"> | |||
<string><html><head/><body><p>Select the subtitle which you want to adjust to the video file</p><p><span style=" font-weight:600;">film.avi</span></p></body></html></string> | |||
#################### | |||
#<widget class="QPushButton" name="pbDownload"> | |||
<string>Download subtitle</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbDontDownload"> | |||
<string>Do not download the subtitles for this video</string> | |||
#################### | |||
#<widget class="QLabel" name="lbGreenHint"> | |||
<string>Subtitles <b>likely matching</b> with your video highlighted with green.</string> | |||
#################### | |||
#<widget class="QLabel" name="lbRedHint"> | |||
<string>Subtitles <b>likely not matching</b> with your video highlighted with red.</string> | |||
################################################################################ | |||
#/gui/ui/frmoptions.ui | |||
#################### | |||
#<property name="windowTitle"> | |||
<string>QNapi - Settings</string> | |||
#################### | |||
#<widget class="QWidget" name="tabGeneral"> | |||
<string>Main</string> | |||
#################### | |||
#<widget class="QCheckBox" name="cbNoBackup"> | |||
<string>Do not create a copy of existing subtitles. Overwrite them without question.</string> | |||
#################### | |||
#<widget class="QLabel" name="lbLang"> | |||
<string>Preferred subtitle language:</string> | |||
#################### | |||
#<widget class="QCheckBox" name="cbShowDockIcon"> | |||
<string>Show icon in the system tray (requires application restart)</string> | |||
#################### | |||
#<widget class="QCheckBox" name="cbChangePermissions"> | |||
<string>Subtitle file permissions: </string> | |||
#################### | |||
#<widget class="QLabel" name="lbLangBackup"> | |||
<string>Alternative subtitle language:</string> | |||
#################### | |||
#<widget class="QLabel" name="lbTmpPath"> | |||
<string>Path to temporary directory:</string> | |||
#################### | |||
#<widget class="QLabel" name="lb7zPath"> | |||
<string>Path to 7z executable:</string> | |||
#################### | |||
#<widget class="QCheckBox" name="cbQuietBatch"> | |||
<string>Do not show any windows while retrieving subtitles in command-line</string> | |||
#################### | |||
#<widget class="QCheckBox" name="cbQuietBatch"> | |||
<string>Silent batch mode</string> | |||
#################### | |||
#<widget class="QWidget" name="tabDownloadEngines"> | |||
<string>Download engines</string> | |||
#################### | |||
#<widget class="QLabel" name="lbAvailableEngines"> | |||
<string>Available engines to download subtitles from:</string> | |||
#################### | |||
#<widget class="QLabel" name="lbDownloadPolicy"> | |||
<string>Subtitle download policy:</string> | |||
#################### | |||
#<widget class="QComboBox" name="cbDownloadPolicy"> | |||
<string>Always show a list of available subtitles</string> | |||
#################### | |||
#<widget class="QComboBox" name="cbDownloadPolicy"> | |||
<string>Show a list of available subtitles only if needed</string> | |||
#################### | |||
#<widget class="QComboBox" name="cbDownloadPolicy"> | |||
<string>Always obtain first matching subtitles and never show a list</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbMoveUp"> | |||
<string>Move up</string> | |||
#################### | |||
#<widget class="QLabel" name="lbSearchPolicy"> | |||
<string>Search subtitles:</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbMoveDown"> | |||
<string>Move down </string> | |||
#################### | |||
#<widget class="QPushButton" name="pbEngineInfo"> | |||
<string>Information</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbEngineConf"> | |||
<string>Configure</string> | |||
#################### | |||
#<widget class="QComboBox" name="cbSearchPolicy"> | |||
<string>Stop the search after finding a matching subtitle (faster)</string> | |||
#################### | |||
#<widget class="QComboBox" name="cbSearchPolicy"> | |||
<string>Search all available subtitles (slower)</string> | |||
#################### | |||
#<widget class="QComboBox" name="cbSearchPolicy"> | |||
<string>Find all subtitles, also in alternative language (slowest)</string> | |||
#################### | |||
#<widget class="QWidget" name="tabPostProcessing"> | |||
<string>Subtitle processing</string> | |||
#################### | |||
#<widget class="QGroupBox" name="gbPpEnable"> | |||
<string>Turn on processing for downloaded subtitles</string> | |||
#################### | |||
#<widget class="QLabel" name="lbEncoding"> | |||
<string>Character encoding:</string> | |||
#################### | |||
#<widget class="QComboBox" name="cbEncodingMethod"> | |||
<string>Keep the original</string> | |||
#################### | |||
#<widget class="QComboBox" name="cbEncodingMethod"> | |||
<string>Convert (settings below)</string> | |||
#################### | |||
#<widget class="QComboBox" name="cbEncodingMethod"> | |||
<string>Replace accented characters with their ASCII equivalents</string> | |||
#################### | |||
#<widget class="QLabel" name="lbConvertFrom"> | |||
<string>From:</string> | |||
#################### | |||
#<widget class="QLabel" name="lbConvert"> | |||
<string>to:</string> | |||
#################### | |||
#<widget class="QCheckBox" name="cbShowAllEncodings"> | |||
<string>Show all available character encodings</string> | |||
#################### | |||
#<widget class="QLabel" name="lbSubFormat"> | |||
<string>Subtitle format:</string> | |||
#################### | |||
#<widget class="QComboBox" name="cbSubFormat"> | |||
<string>Keep the original</string> | |||
#################### | |||
#<widget class="QLabel" name="lbSubExtension"> | |||
<string>Subtitle extension:</string> | |||
#################### | |||
#<widget class="QComboBox" name="cbSubExtension"> | |||
<string>Default</string> | |||
#################### | |||
#<widget class="QCheckBox" name="cbSkipConvertAds"> | |||
<string>Do not add information about QNapi while converting between formats</string> | |||
#################### | |||
#<widget class="QCheckBox" name="cbAutoDetectEncoding"> | |||
<string>Attempt to automatically detect encoding</string> | |||
#################### | |||
#<widget class="QCheckBox" name="cbRemoveLines"> | |||
<string>Remove subtitle lines that contain the following words:</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbRestoreDefaults"> | |||
<string>Restore defaults</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbCancel"> | |||
<string>Cancel</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbSave"> | |||
<string>Save</string> | |||
################################################################################ | |||
#/gui/ui/frmprogress.ui | |||
#################### | |||
#<property name="windowTitle" > | |||
<string>QNapi - downloading subtitle...</string> | |||
#################### | |||
#<widget class="QLabel" name="lbAction" > | |||
<string>Downloading the subtitle...</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbCancel" > | |||
<string>Cancel</string> | |||
################################################################################ | |||
#/gui/ui/frmscan.ui | |||
#################### | |||
#<property name="windowTitle" > | |||
<string>QNapi - Directory scanning and subtitle matching</string> | |||
#################### | |||
#<widget class="QLabel" name="lbDirectory" > | |||
<string>Select directory to search for video files:</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbScan" > | |||
<string>Scan</string> | |||
#################### | |||
#<widget class="QLabel" name="lbFilter" > | |||
<string>Filter file extensions:</string> | |||
#################### | |||
#<widget class="QLabel" name="lbSkip" > | |||
<string>Skip files whose names contain:</string> | |||
#################### | |||
#<widget class="QCheckBox" name="cbSkipIfSubtitlesExists" > | |||
<string>Skip video files which already have subtitles</string> | |||
#################### | |||
#<widget class="QLabel" name="lbMovies" > | |||
<string>Found video files:</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbSelectAll" > | |||
<string>Select all</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbUnselectAll" > | |||
<string>Uncheck all</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbInvertSelection" > | |||
<string>Invert selection</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbCancel" > | |||
<string>Cancel</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbGet" > | |||
<string>Download subtitles</string> | |||
#################### | |||
#<widget class="QCheckBox" name="cbFollowSymLinks" > | |||
<string>Follow symbolic links</string> | |||
################################################################################ | |||
#/gui/ui/frmsummary.ui | |||
#################### | |||
#<property name="windowTitle"> | |||
<string>QNapi - the result of matching strings</string> | |||
#################### | |||
#<widget class="QLabel" name="lbSuccess"> | |||
<string>Downloading subtitles for 5 video files</string> | |||
#################### | |||
#<widget class="QLabel" name="lbFail"> | |||
<string>Could not find the subtitles for 3 video files</string> | |||
################################################################################ | |||
#/gui/ui/napiprojekt/frmnapiprojektconfig.ui | |||
#################### | |||
#<property name="windowTitle" > | |||
<string>NapiProjekt - configuration</string> | |||
#################### | |||
#<widget class="QLabel" name="lbPass" > | |||
<string>Password:</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbRegister" > | |||
<string>Create an account</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbCancel" > | |||
<string>Cancel</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbSave" > | |||
<string>Save</string> | |||
################################################################################ | |||
#/gui/ui/napisy24/frmnapisy24config.ui | |||
#################### | |||
#<property name="windowTitle" > | |||
<string>Napisy24 - configuration</string> | |||
#################### | |||
#<widget class="QLabel" name="lbPass" > | |||
<string>Password:</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbRegister" > | |||
<string>Create an account</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbCancel" > | |||
<string>Cancel</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbSave" > | |||
<string>Save</string> | |||
################################################################################ | |||
#/gui/ui/opensubtitles/frmopensubtitlesconfig.ui | |||
#################### | |||
#<property name="windowTitle" > | |||
<string>OpenSubtitles - configuration</string> | |||
#################### | |||
#<widget class="QLabel" name="lbPass" > | |||
<string>Password:</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbRegister" > | |||
<string>Create an account</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbCancel" > | |||
<string>Cancel</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbSave" > | |||
<string>Save</string> |
@ -1,902 +0,0 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<ui version="4.0"> | |||
<class>frmOptions</class> | |||
<widget class="QDialog" name="frmOptions"> | |||
<property name="geometry"> | |||
<rect> | |||
<x>0</x> | |||
<y>0</y> | |||
<width>700</width> | |||
<height>462</height> | |||
</rect> | |||
</property> | |||
<property name="windowTitle"> | |||
<string>QNapi - Settings</string> | |||
</property> | |||
<property name="windowIcon"> | |||
<iconset resource="../res/resources.qrc"> | |||
<normaloff>:/icon/qnapi.png</normaloff>:/icon/qnapi.png</iconset> | |||
</property> | |||
<layout class="QVBoxLayout"> | |||
<item> | |||
<widget class="QTabWidget" name="tabOptions"> | |||
<property name="currentIndex"> | |||
<number>0</number> | |||
</property> | |||
<widget class="QWidget" name="tabGeneral"> | |||
<attribute name="title"> | |||
<string>Main</string> | |||
</attribute> | |||
<layout class="QGridLayout" name="gridLayout"> | |||
<item row="4" column="0" colspan="3"> | |||
<widget class="QCheckBox" name="cbNoBackup"> | |||
<property name="text"> | |||
<string>Do not create a copy of existing subtitles. Overwrite them without question.</string> | |||
</property> | |||
</widget> | |||
</item> | |||
<item row="0" column="3"> | |||
<widget class="QPushButton" name="pb7zPathSelect"> | |||
<property name="text"> | |||
<string/> | |||
</property> | |||
<property name="icon"> | |||
<iconset resource="../res/resources.qrc"> | |||
<normaloff>:/ui/folder.png</normaloff>:/ui/folder.png</iconset> | |||
</property> | |||
</widget> | |||
</item> | |||
<item row="1" column="1" colspan="2"> | |||
<widget class="QLineEdit" name="leTmpPath"> | |||
<property name="text"> | |||
<string>/tmp</string> | |||
</property> | |||
</widget> | |||
</item> | |||
<item row="2" column="1" colspan="2"> | |||
<widget class="QComboBox" name="cbLang"/> | |||
</item> | |||
<item row="3" column="1" colspan="2"> | |||
<widget class="QComboBox" name="cbLangBackup"/> | |||
</item> | |||
<item row="2" column="0"> | |||
<widget class="QLabel" name="lbLang"> | |||
<property name="text"> | |||
<string>Preferred subtitle language:</string> | |||
</property> | |||
</widget> | |||
</item> | |||
<item row="7" column="0" colspan="3"> | |||
<widget class="QCheckBox" name="cbShowDockIcon"> | |||
<property name="text"> | |||
<string>Show icon in the system tray (requires application restart)</string> | |||
</property> | |||
<property name="checked"> | |||
<bool>true</bool> | |||
</property> | |||
</widget> | |||
</item> | |||
<item row="1" column="3"> | |||
<widget class="QPushButton" name="pbTmpPathSelect"> | |||
<property name="text"> | |||
<string/> | |||
</property> | |||
<property name="icon"> | |||
<iconset resource="../res/resources.qrc"> | |||
<normaloff>:/ui/folder.png</normaloff>:/ui/folder.png</iconset> | |||
</property> | |||
</widget> | |||
</item> | |||
<item row="6" column="2"> | |||
<layout class="QHBoxLayout" name="_2"> | |||
<property name="spacing"> | |||
<number>6</number> | |||
</property> | |||
<property name="topMargin"> | |||
<number>0</number> | |||
</property> | |||
<item> | |||
<widget class="QSpinBox" name="sbUPerm"> | |||
<property name="enabled"> | |||
<bool>false</bool> | |||
</property> | |||
<property name="maximum"> | |||
<number>7</number> | |||
</property> | |||
<property name="value"> | |||
<number>6</number> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QSpinBox" name="sbGPerm"> | |||
<property name="enabled"> | |||
<bool>false</bool> | |||
</property> | |||
<property name="maximum"> | |||
<number>7</number> | |||
</property> | |||
<property name="value"> | |||
<number>4</number> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QSpinBox" name="sbOPerm"> | |||
<property name="enabled"> | |||
<bool>false</bool> | |||
</property> | |||
<property name="maximum"> | |||
<number>7</number> | |||
</property> | |||
<property name="value"> | |||
<number>4</number> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<spacer name="horizontalSpacer_2"> | |||
<property name="orientation"> | |||
<enum>Qt::Horizontal</enum> | |||
</property> | |||
<property name="sizeHint" stdset="0"> | |||
<size> | |||
<width>40</width> | |||
<height>20</height> | |||
</size> | |||
</property> | |||
</spacer> | |||
</item> | |||
</layout> | |||
</item> | |||
<item row="6" column="0" colspan="2"> | |||
<widget class="QCheckBox" name="cbChangePermissions"> | |||
<property name="text"> | |||
<string>Subtitle file permissions: </string> | |||
</property> | |||
</widget> | |||
</item> | |||
<item row="0" column="1" colspan="2"> | |||
<widget class="QLineEdit" name="le7zPath"> | |||
<property name="text"> | |||
<string>/usr/bin/7z</string> | |||
</property> | |||
<property name="cursorPosition"> | |||
<number>11</number> | |||
</property> | |||
<property name="readOnly"> | |||
<bool>false</bool> | |||
</property> | |||
</widget> | |||
</item> | |||
<item row="3" column="0"> | |||
<widget class="QLabel" name="lbLangBackup"> | |||
<property name="text"> | |||
<string>Alternative subtitle language:</string> | |||
</property> | |||
</widget> | |||
</item> | |||
<item row="1" column="0"> | |||
<widget class="QLabel" name="lbTmpPath"> | |||
<property name="text"> | |||
<string>Path to temporary directory:</string> | |||
</property> | |||
</widget> | |||
</item> | |||
<item row="0" column="0"> | |||
<widget class="QLabel" name="lb7zPath"> | |||
<property name="text"> | |||
<string>Path to 7z executable:</string> | |||
</property> | |||
</widget> | |||
</item> | |||
<item row="5" column="0" colspan="3"> | |||
<widget class="QCheckBox" name="cbQuietBatch"> | |||
<property name="toolTip"> | |||
<string>Do not show any windows while retrieving subtitles in command-line</string> | |||
</property> | |||
<property name="toolTipDuration"> | |||
<number>5000</number> | |||
</property> | |||
<property name="text"> | |||
<string>Silent batch mode</string> | |||
</property> | |||
</widget> | |||
</item> | |||
<item row="12" column="0" colspan="3"> | |||
<spacer name="verticalSpacer"> | |||
<property name="orientation"> | |||
<enum>Qt::Vertical</enum> | |||
</property> | |||
<property name="sizeHint" stdset="0"> | |||
<size> | |||
<width>568</width> | |||
<height>172</height> | |||
</size> | |||
</property> | |||
</spacer> | |||
</item> | |||
<item row="11" column="2"> | |||
<widget class="QComboBox" name="cbLangUI"/> | |||
</item> | |||
<item row="11" column="0"> | |||
<widget class="QLabel" name="lbLangUI"> | |||
<property name="layoutDirection"> | |||
<enum>Qt::LeftToRight</enum> | |||
</property> | |||
<property name="text"> | |||
<string>Interface language:</string> | |||
</property> | |||
<property name="alignment"> | |||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> | |||
</property> | |||
</widget> | |||
</item> | |||
</layout> | |||
</widget> | |||
<widget class="QWidget" name="tabDownloadEngines"> | |||
<attribute name="title"> | |||
<string>Download engines</string> | |||
</attribute> | |||
<layout class="QGridLayout" name="gridLayout_2"> | |||
<item row="0" column="0"> | |||
<widget class="QLabel" name="lbAvailableEngines"> | |||
<property name="text"> | |||
<string>Available engines to download subtitles from:</string> | |||
</property> | |||
</widget> | |||
</item> | |||
<item row="11" column="0"> | |||
<widget class="QLabel" name="lbDownloadPolicy"> | |||
<property name="sizePolicy"> | |||
<sizepolicy hsizetype="Preferred" vsizetype="Maximum"> | |||
<horstretch>0</horstretch> | |||
<verstretch>0</verstretch> | |||
</sizepolicy> | |||
</property> | |||
<property name="text"> | |||
<string>Subtitle download policy:</string> | |||
</property> | |||
</widget> | |||
</item> | |||
<item row="12" column="0" colspan="2"> | |||
<widget class="QComboBox" name="cbDownloadPolicy"> | |||
<property name="currentIndex"> | |||
<number>1</number> | |||
</property> | |||
<property name="maxCount"> | |||
<number>3</number> | |||
</property> | |||
<item> | |||
<property name="text"> | |||
<string>Always show a list of available subtitles</string> | |||
</property> | |||
</item> | |||
<item> | |||
<property name="text"> | |||
<string>Show a list of available subtitles only if needed</string> | |||
</property> | |||
</item> | |||
<item> | |||
<property name="text"> | |||
<string>Always obtain first matching subtitles and never show a list</string> | |||
</property> | |||
</item> | |||
</widget> | |||
</item> | |||
<item row="1" column="0" rowspan="7"> | |||
<widget class="QTableWidget" name="twEngines"> | |||
<property name="editTriggers"> | |||
<set>QAbstractItemView::NoEditTriggers</set> | |||
</property> | |||
<property name="dragDropMode"> | |||
<enum>QAbstractItemView::NoDragDrop</enum> | |||
</property> | |||
<property name="selectionMode"> | |||
<enum>QAbstractItemView::SingleSelection</enum> | |||
</property> | |||
<property name="selectionBehavior"> | |||
<enum>QAbstractItemView::SelectRows</enum> | |||
</property> | |||
<property name="verticalScrollMode"> | |||
<enum>QAbstractItemView::ScrollPerPixel</enum> | |||
</property> | |||
<property name="horizontalScrollMode"> | |||
<enum>QAbstractItemView::ScrollPerPixel</enum> | |||
</property> | |||
</widget> | |||
</item> | |||
<item row="1" column="1"> | |||
<widget class="QPushButton" name="pbMoveUp"> | |||
<property name="enabled"> | |||
<bool>false</bool> | |||
</property> | |||
<property name="text"> | |||
<string>Move up</string> | |||
</property> | |||
<property name="icon"> | |||
<iconset resource="../res/resources.qrc"> | |||
<normaloff>:/ui/arrow_up.png</normaloff>:/ui/arrow_up.png</iconset> | |||
</property> | |||
</widget> | |||
</item> | |||
<item row="8" column="0" colspan="2"> | |||
<widget class="QLabel" name="lbSearchPolicy"> | |||
<property name="sizePolicy"> | |||
<sizepolicy hsizetype="Preferred" vsizetype="Maximum"> | |||
<horstretch>0</horstretch> | |||
<verstretch>0</verstretch> | |||
</sizepolicy> | |||
</property> | |||
<property name="text"> | |||
<string>Search subtitles:</string> | |||
</property> | |||
</widget> | |||
</item> | |||
<item row="2" column="1"> | |||
<widget class="QPushButton" name="pbMoveDown"> | |||
<property name="enabled"> | |||
<bool>false</bool> | |||
</property> | |||
<property name="text"> | |||
<string>Move down </string> | |||
</property> | |||
<property name="icon"> | |||
<iconset resource="../res/resources.qrc"> | |||
<normaloff>:/ui/arrow_down.png</normaloff>:/ui/arrow_down.png</iconset> | |||
</property> | |||
</widget> | |||
</item> | |||
<item row="4" column="1"> | |||
<widget class="QPushButton" name="pbEngineInfo"> | |||
<property name="enabled"> | |||
<bool>false</bool> | |||
</property> | |||
<property name="text"> | |||
<string>Information</string> | |||
</property> | |||
<property name="icon"> | |||
<iconset resource="../res/resources.qrc"> | |||
<normaloff>:/ui/information.png</normaloff>:/ui/information.png</iconset> | |||
</property> | |||
</widget> | |||
</item> | |||
<item row="3" column="1"> | |||
<widget class="QPushButton" name="pbEngineConf"> | |||
<property name="enabled"> | |||
<bool>false</bool> | |||
</property> | |||
<property name="text"> | |||
<string>Configure</string> | |||
</property> | |||
<property name="icon"> | |||
<iconset resource="../res/resources.qrc"> | |||
<normaloff>:/ui/wrench.png</normaloff>:/ui/wrench.png</iconset> | |||
</property> | |||
</widget> | |||
</item> | |||
<item row="9" column="0"> | |||
<widget class="QComboBox" name="cbSearchPolicy"> | |||
<property name="currentIndex"> | |||
<number>1</number> | |||
</property> | |||
<item> | |||
<property name="text"> | |||
<string>Stop the search after finding a matching subtitle (faster)</string> | |||
</property> | |||
</item> | |||
<item> | |||
<property name="text"> | |||
<string>Search all available subtitles (slower)</string> | |||
</property> | |||
</item> | |||
<item> | |||
<property name="text"> | |||
<string>Find all subtitles, also in alternative language (slowest)</string> | |||
</property> | |||
</item> | |||
</widget> | |||
</item> | |||
</layout> | |||
</widget> | |||
<widget class="QWidget" name="tabPostProcessing"> | |||
<attribute name="title"> | |||
<string>Subtitle processing</string> | |||
</attribute> | |||
<layout class="QGridLayout" name="gridLayout_3"> | |||
<item row="0" column="0"> | |||
<widget class="QGroupBox" name="gbPpEnable"> | |||
<property name="title"> | |||
<string>Turn on processing for downloaded subtitles</string> | |||
</property> | |||
<property name="checkable"> | |||
<bool>true</bool> | |||
</property> | |||
<property name="checked"> | |||
<bool>true</bool> | |||
</property> | |||
<layout class="QGridLayout" name="gridLayout_4"> | |||
<item row="0" column="0" colspan="4"> | |||
<layout class="QHBoxLayout" name="horizontalLayout_2"> | |||
<item> | |||
<widget class="QLabel" name="lbEncoding"> | |||
<property name="text"> | |||
<string>Character encoding:</string> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QComboBox" name="cbEncodingMethod"> | |||
<property name="sizePolicy"> | |||
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> | |||
<horstretch>0</horstretch> | |||
<verstretch>0</verstretch> | |||
</sizepolicy> | |||
</property> | |||
<item> | |||
<property name="text"> | |||
<string>Keep the original</string> | |||
</property> | |||
</item> | |||
<item> | |||
<property name="text"> | |||
<string>Convert (settings below)</string> | |||
</property> | |||
</item> | |||
<item> | |||
<property name="text"> | |||
<string>Replace accented characters with their ASCII equivalents</string> | |||
</property> | |||
</item> | |||
</widget> | |||
</item> | |||
</layout> | |||
</item> | |||
<item row="2" column="0" colspan="4"> | |||
<layout class="QHBoxLayout"> | |||
<item> | |||
<spacer> | |||
<property name="orientation"> | |||
<enum>Qt::Horizontal</enum> | |||
</property> | |||
<property name="sizeType"> | |||
<enum>QSizePolicy::Fixed</enum> | |||
</property> | |||
<property name="sizeHint" stdset="0"> | |||
<size> | |||
<width>30</width> | |||
<height>20</height> | |||
</size> | |||
</property> | |||
</spacer> | |||
</item> | |||
<item> | |||
<widget class="QLabel" name="lbConvertFrom"> | |||
<property name="enabled"> | |||
<bool>false</bool> | |||
</property> | |||
<property name="sizePolicy"> | |||
<sizepolicy hsizetype="Minimum" vsizetype="Preferred"> | |||
<horstretch>0</horstretch> | |||
<verstretch>0</verstretch> | |||
</sizepolicy> | |||
</property> | |||
<property name="text"> | |||
<string>From:</string> | |||
</property> | |||
<property name="alignment"> | |||
<set>Qt::AlignCenter</set> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QComboBox" name="cbEncFrom"> | |||
<property name="enabled"> | |||
<bool>false</bool> | |||
</property> | |||
<property name="sizePolicy"> | |||
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> | |||
<horstretch>0</horstretch> | |||
<verstretch>0</verstretch> | |||
</sizepolicy> | |||
</property> | |||
<item> | |||
<property name="text"> | |||
<string>Windows-1250</string> | |||
</property> | |||
</item> | |||
</widget> | |||
</item> | |||
<item> | |||
<spacer> | |||
<property name="orientation"> | |||
<enum>Qt::Horizontal</enum> | |||
</property> | |||
<property name="sizeType"> | |||
<enum>QSizePolicy::Fixed</enum> | |||
</property> | |||
<property name="sizeHint" stdset="0"> | |||
<size> | |||
<width>25</width> | |||
<height>20</height> | |||
</size> | |||
</property> | |||
</spacer> | |||
</item> | |||
<item> | |||
<widget class="QLabel" name="lbConvert"> | |||
<property name="enabled"> | |||
<bool>false</bool> | |||
</property> | |||
<property name="sizePolicy"> | |||
<sizepolicy hsizetype="Minimum" vsizetype="Preferred"> | |||
<horstretch>0</horstretch> | |||
<verstretch>0</verstretch> | |||
</sizepolicy> | |||
</property> | |||
<property name="text"> | |||
<string>to:</string> | |||
</property> | |||
<property name="alignment"> | |||
<set>Qt::AlignCenter</set> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QComboBox" name="cbEncTo"> | |||
<property name="enabled"> | |||
<bool>false</bool> | |||
</property> | |||
<property name="sizePolicy"> | |||
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> | |||
<horstretch>0</horstretch> | |||
<verstretch>0</verstretch> | |||
</sizepolicy> | |||
</property> | |||
<item> | |||
<property name="text"> | |||
<string>UTF-8</string> | |||
</property> | |||
</item> | |||
</widget> | |||
</item> | |||
<item> | |||
<spacer> | |||
<property name="orientation"> | |||
<enum>Qt::Horizontal</enum> | |||
</property> | |||
<property name="sizeType"> | |||
<enum>QSizePolicy::Fixed</enum> | |||
</property> | |||
<property name="sizeHint" stdset="0"> | |||
<size> | |||
<width>25</width> | |||
<height>20</height> | |||
</size> | |||
</property> | |||
</spacer> | |||
</item> | |||
</layout> | |||
</item> | |||
<item row="3" column="0" colspan="4"> | |||
<layout class="QHBoxLayout" name="horizontalLayout"> | |||
<property name="topMargin"> | |||
<number>0</number> | |||
</property> | |||
<item> | |||
<spacer name="horizontalSpacer"> | |||
<property name="orientation"> | |||
<enum>Qt::Horizontal</enum> | |||
</property> | |||
<property name="sizeType"> | |||
<enum>QSizePolicy::Fixed</enum> | |||
</property> | |||
<property name="sizeHint" stdset="0"> | |||
<size> | |||
<width>30</width> | |||
<height>20</height> | |||
</size> | |||
</property> | |||
</spacer> | |||
</item> | |||
<item> | |||
<widget class="QCheckBox" name="cbShowAllEncodings"> | |||
<property name="enabled"> | |||
<bool>false</bool> | |||
</property> | |||
<property name="text"> | |||
<string>Show all available character encodings</string> | |||
</property> | |||
</widget> | |||
</item> | |||
</layout> | |||
</item> | |||
<item row="5" column="0" colspan="4"> | |||
<widget class="QTextEdit" name="teRemoveWords"> | |||
<property name="enabled"> | |||
<bool>false</bool> | |||
</property> | |||
<property name="html"> | |||
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |||
<html><head><meta name="qrichtext" content="1" /><style type="text/css"> | |||
p, li { white-space: pre-wrap; } | |||
</style></head><body style=" font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;"> | |||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'DejaVu Sans';">movie info</span></p> | |||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'DejaVu Sans';">synchro</span></p></body></html></string> | |||
</property> | |||
<property name="acceptRichText"> | |||
<bool>false</bool> | |||
</property> | |||
</widget> | |||
</item> | |||
<item row="6" column="0"> | |||
<widget class="QLabel" name="lbSubFormat"> | |||
<property name="text"> | |||
<string>Subtitle format:</string> | |||
</property> | |||
</widget> | |||
</item> | |||
<item row="6" column="1"> | |||
<widget class="QComboBox" name="cbSubFormat"> | |||
<property name="sizePolicy"> | |||
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> | |||
<horstretch>0</horstretch> | |||
<verstretch>0</verstretch> | |||
</sizepolicy> | |||
</property> | |||
<item> | |||
<property name="text"> | |||
<string>Keep the original</string> | |||
</property> | |||
</item> | |||
</widget> | |||
</item> | |||
<item row="6" column="2"> | |||
<widget class="QLabel" name="lbSubExtension"> | |||
<property name="text"> | |||
<string>Subtitle extension:</string> | |||
</property> | |||
</widget> | |||
</item> | |||
<item row="6" column="3"> | |||
<widget class="QComboBox" name="cbSubExtension"> | |||
<property name="sizePolicy"> | |||
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> | |||
<horstretch>0</horstretch> | |||
<verstretch>0</verstretch> | |||
</sizepolicy> | |||
</property> | |||
<item> | |||
<property name="text"> | |||
<string>Default</string> | |||
</property> | |||
</item> | |||
<item> | |||
<property name="text"> | |||
<string>srt</string> | |||
</property> | |||
</item> | |||
<item> | |||
<property name="text"> | |||
<string>sub</string> | |||
</property> | |||
</item> | |||
<item> | |||
<property name="text"> | |||
<string>txt</string> | |||
</property> | |||
</item> | |||
</widget> | |||
</item> | |||
<item row="7" column="0" colspan="4"> | |||
<widget class="QCheckBox" name="cbSkipConvertAds"> | |||
<property name="enabled"> | |||
<bool>true</bool> | |||
</property> | |||
<property name="text"> | |||
<string>Do not add information about QNapi while converting between formats</string> | |||
</property> | |||
</widget> | |||
</item> | |||
<item row="1" column="0" colspan="4"> | |||
<widget class="QCheckBox" name="cbAutoDetectEncoding"> | |||
<property name="enabled"> | |||
<bool>false</bool> | |||
</property> | |||
<property name="text"> | |||
<string>Attempt to automatically detect encoding</string> | |||
</property> | |||
<property name="checked"> | |||
<bool>false</bool> | |||
</property> | |||
</widget> | |||
</item> | |||
<item row="4" column="0" colspan="4"> | |||
<widget class="QCheckBox" name="cbRemoveLines"> | |||
<property name="text"> | |||
<string>Remove subtitle lines that contain the following words:</string> | |||
</property> | |||
</widget> | |||
</item> | |||
</layout> | |||
<zorder>cbAutoDetectEncoding</zorder> | |||
<zorder>cbRemoveLines</zorder> | |||
<zorder>teRemoveWords</zorder> | |||
<zorder>lbSubFormat</zorder> | |||
<zorder>cbSubFormat</zorder> | |||
<zorder>lbSubExtension</zorder> | |||
<zorder>cbSubExtension</zorder> | |||
<zorder>cbSkipConvertAds</zorder> | |||
</widget> | |||
</item> | |||
</layout> | |||
</widget> | |||
</widget> | |||
</item> | |||
<item> | |||
<layout class="QHBoxLayout"> | |||
<item> | |||
<widget class="QPushButton" name="pbRestoreDefaults"> | |||
<property name="text"> | |||
<string>Restore defaults</string> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<spacer> | |||
<property name="orientation"> | |||
<enum>Qt::Horizontal</enum> | |||
</property> | |||
<property name="sizeHint" stdset="0"> | |||
<size> | |||
<width>40</width> | |||
<height>20</height> | |||
</size> | |||
</property> | |||
</spacer> | |||
</item> | |||
<item> | |||
<widget class="QPushButton" name="pbCancel"> | |||
<property name="text"> | |||
<string>Cancel</string> | |||
</property> | |||
</widget> | |||
</item> | |||
<item> | |||
<widget class="QPushButton" name="pbSave"> | |||
<property name="text"> | |||
<string>Save</string> | |||
</property> | |||
</widget> | |||
</item> | |||
</layout> | |||
</item> | |||
</layout> | |||
</widget> | |||
<tabstops> | |||
<tabstop>tabOptions</tabstop> | |||
<tabstop>le7zPath</tabstop> | |||
<tabstop>pb7zPathSelect</tabstop> | |||
<tabstop>leTmpPath</tabstop> | |||
<tabstop>pbTmpPathSelect</tabstop> | |||
<tabstop>cbLang</tabstop> | |||
<tabstop>cbNoBackup</tabstop> | |||
<tabstop>cbShowDockIcon</tabstop> | |||
<tabstop>twEngines</tabstop> | |||
<tabstop>pbMoveUp</tabstop> | |||
<tabstop>pbMoveDown</tabstop> | |||
<tabstop>pbEngineConf</tabstop> | |||
<tabstop>pbEngineInfo</tabstop> | |||
<tabstop>cbDownloadPolicy</tabstop> | |||
<tabstop>cbAutoDetectEncoding</tabstop> | |||
<tabstop>cbEncFrom</tabstop> | |||
<tabstop>cbEncTo</tabstop> | |||
<tabstop>cbShowAllEncodings</tabstop> | |||
<tabstop>cbRemoveLines</tabstop> | |||
<tabstop>teRemoveWords</tabstop> | |||
<tabstop>pbRestoreDefaults</tabstop> | |||
<tabstop>pbCancel</tabstop> | |||
<tabstop>pbSave</tabstop> | |||
</tabstops> | |||
<resources> | |||
<include location="../res/resources.qrc"/> | |||
</resources> | |||
<connections> | |||
<connection> | |||
<sender>pbSave</sender> | |||
<signal>clicked()</signal> | |||
<receiver>frmOptions</receiver> | |||
<slot>accept()</slot> | |||
<hints> | |||
<hint type="sourcelabel"> | |||
<x>607</x> | |||
<y>404</y> | |||
</hint> | |||
<hint type="destinationlabel"> | |||
<x>327</x> | |||
<y>211</y> | |||
</hint> | |||
</hints> | |||
</connection> | |||
<connection> | |||
<sender>pbCancel</sender> | |||
<signal>clicked()</signal> | |||
<receiver>frmOptions</receiver> | |||
<slot>reject()</slot> | |||
<hints> | |||
<hint type="sourcelabel"> | |||
<x>528</x> | |||
<y>404</y> | |||
</hint> | |||
<hint type="destinationlabel"> | |||
<x>327</x> | |||
<y>211</y> | |||
</hint> | |||
</hints> | |||
</connection> | |||
<connection> | |||
<sender>cbRemoveLines</sender> | |||
<signal>toggled(bool)</signal> | |||
<receiver>teRemoveWords</receiver> | |||
<slot>setEnabled(bool)</slot> | |||
<hints> | |||
<hint type="sourcelabel"> | |||
<x>191</x> | |||
<y>213</y> | |||
</hint> | |||
<hint type="destinationlabel"> | |||
<x>129</x> | |||
<y>251</y> | |||
</hint> | |||
</hints> | |||
</connection> | |||
<connection> | |||
<sender>cbChangePermissions</sender> | |||
<signal>toggled(bool)</signal> | |||
<receiver>sbUPerm</receiver> | |||
<slot>setEnabled(bool)</slot> | |||
<hints> | |||
<hint type="sourcelabel"> | |||
<x>108</x> | |||
<y>225</y> | |||
</hint> | |||
<hint type="destinationlabel"> | |||
<x>450</x> | |||
<y>244</y> | |||
</hint> | |||
</hints> | |||
</connection> | |||
<connection> | |||
<sender>cbChangePermissions</sender> | |||
<signal>toggled(bool)</signal> | |||
<receiver>sbGPerm</receiver> | |||
<slot>setEnabled(bool)</slot> | |||
<hints> | |||
<hint type="sourcelabel"> | |||
<x>176</x> | |||
<y>224</y> | |||
</hint> | |||
<hint type="destinationlabel"> | |||
<x>496</x> | |||
<y>244</y> | |||
</hint> | |||
</hints> | |||
</connection> | |||
<connection> | |||
<sender>cbChangePermissions</sender> | |||
<signal>toggled(bool)</signal> | |||
<receiver>sbOPerm</receiver> | |||
<slot>setEnabled(bool)</slot> | |||
<hints> | |||
<hint type="sourcelabel"> | |||
<x>124</x> | |||
<y>225</y> | |||
</hint> | |||
<hint type="destinationlabel"> | |||
<x>542</x> | |||
<y>244</y> | |||
</hint> | |||
</hints> | |||
</connection> | |||
</connections> | |||
</ui> |
@ -1,836 +0,0 @@ | |||
#This is a draft file for polish translation for QNapi program. It doesn't follow any specific standard but does include just all human-readable strings extracted from QNapi source code. | |||
#This file is meant to be used as a base file for final & correctly formatted pl.po file. | |||
#Feel free to edit the file in need. | |||
################################################################################ | |||
#gui/src/main.cpp | |||
if(QMessageBox::question(0, QObject::tr("Pierwsze uruchomienie"), | |||
QObject::tr("To jest pierwsze uruchomienie programu QNapi. Czy chcesz go " | |||
"teraz skonfigurować?"), QMessageBox::Yes | QMessageBox::No ) | |||
if(QMessageBox::question(0, "QNapi", "Niepoprawny kod językowy!\n" | |||
"Czy chcesz pobrać napisy w domyślnym języku?", | |||
qDebug() << "\nQNapi: usuwanie plików tymczasowych..."; | |||
################################################################################ | |||
#/gui/src/qnapi.cpp | |||
errorMsg = QString("Nieobsługiwany silnik pobierania: %1.").arg(engine); | |||
errorMsg = "Nie znaleziono napisów!"; | |||
################################################################################ | |||
#/gui/src/qnapiapp.cpp | |||
getAction = new QAction(tr("Pobierz napisy"), 0); | |||
scanAction = new QAction(tr("Skanuj katalogi"), 0); | |||
convertAction = new QAction(tr("Konwertuj napisy"), 0); | |||
napiGetAction = new QAction(tr("Pobierz napisy"), 0); | |||
napiCreateUserAction = new QAction(tr("Załóż konto"), 0); | |||
osGetAction = new QAction(tr("Pobierz napisy"), 0); | |||
osAddAction = new QAction(tr("Dodaj napisy"), 0); | |||
osCreateUserAction = new QAction(tr("Załóż konto"), 0); | |||
napisy24GetAction = new QAction(tr("Pobierz napisy"), 0); | |||
napisy24CreateUserAction = new QAction(tr("Załóż konto"), 0); | |||
settingsAction = new QAction(tr("Opcje"), 0); | |||
aboutAction = new QAction(tr("O programie"), 0); | |||
quitAction = new QAction(tr("Zakończ"), 0); | |||
tr("Wybierz jeden lub więcej plików z filmami"), | |||
################################################################################ | |||
#gui/src/qnapicli.cpp | |||
printCli(QString("Niepoprawny kod jezykowy: %1").arg(p)); | |||
printCli("Nie znaleziono pliku!"); | |||
printCli("Sciezka do programu p7zip jest nieprawidlowa! Sprawdz swoje ustawienia."); | |||
printCli("Nie można pisac do katalogu tymczasowego! Sprawdz swoje ustawienia."); | |||
printCli(QString("Blad: ") + napi.error()); | |||
printCli(QString(QString(" * Pobieranie napisow dla '%1'")).arg(QFileInfo(movie).fileName())); | |||
printCli(QString(" Brak uprawnien zapisu do katalogu '%1'!").arg(QFileInfo(movie).path())); | |||
printCli(QString(QString(" Obliczanie sum kontrolnych..."))); | |||
printCli(QString(QString(" Szukanie napisow [%1] (%2)...").arg(lang, e))); | |||
printCli(QString(QString(" Szukanie napisow w jezyku zapasowym [%1] (%2)...").arg(langBackup, e))); | |||
printCli(QString(QString(" Szukanie napisow [%1] (%2)...").arg(lang, e))); | |||
printCli(QString(QString(" Szukanie napisow w jezyku zapasowym [%1] (%2)...").arg(langBackup, e))); | |||
printCli(QString(QString(" Nie znaleziono napisow!"))); | |||
printCli(QString(" 0)\tNie pobieraj napisow dla tego filmu")); | |||
printCli(" Znalezione napisy:"); | |||
std::cout << " Wybierz napisy do pobrania: "; | |||
printCli(" Wpisz liczbe!"); | |||
printCli(" Wpisz liczbe z listy!"); | |||
printCli(QString(QString(" Pobieranie napisow z serwera..."))); | |||
printCli(QString(QString(" Nie udalo sie pobrac napisow!"))); | |||
printCli(QString(QString(" Rozpakowywanie napisow..."))); | |||
printCli(QString(QString(" Nie udało sie poprawnie rozpakowac napisow!"))); | |||
printCli(QString(QString(" Przetwarzanie pobranych napisow..."))); | |||
printCli(QString(QString(" Dopasowywanie napisow..."))); | |||
printCli(QString(QString(" Nie udalo sie dopasowac napisow!"))); | |||
printCli(QString("QNapi %1, %2\nwersja Qt: %3\n") | |||
printCli(QString("QNapi rozprowadzany jest na warunkach licencji GNU General Public License v2.\n")); | |||
printCli(QString("Skladnia: %1 [opcje] [lista plikow]").arg(QFileInfo(arguments().at(0)).fileName())); | |||
printCli(QString("Dostepne opcje:")); | |||
printCli(QString(" -c, --console pobieranie napisow z konsoli")); | |||
printCli(QString(" -q, --quiet pobiera napisy nie wypisujac zadnych komunikatow")); | |||
printCli(QString(" ani nie pokazujac zadnych okien (implikuje -d)\n")); | |||
printCli(QString(" -s, --show-list pokazuj liste napisow (dziala tylko z -c)")); | |||
printCli(QString(" -d, --dont-show-list nie pokazuj listy napisow (dziala tylko z -c)\n")); | |||
printCli(QString(" -l, --lang [jezyk] preferowany jezyk napisow")); | |||
printCli(QString(" -lb,--lang-backup [jezyk] zapasowy jezyk napisow\n")); | |||
printCli(QString(" -o, --options wywoluje okno konfiguracji programu (tylko GUI)\n")); | |||
printCli(QString(" -h, --help pokazuje tekst pomocy")); | |||
printCli(QString(" -hl,--help-languages listuje jezyki, w jakich mozna pobierac napisy\n")); | |||
printCli(QString("Oto lista rozpoznawanych przez QNapi jezykow i odpowiadajacym")); | |||
printCli(QString("im dwuliterowych kodow:\n")); | |||
printCli(QString("\nAktualnie ustawiony domyslny jezyk napisow: %1 (%2)") | |||
printCli(QString("Brak ustawionego zapasowego jezyka napisow")); | |||
printCli(QString("Aktualnie ustawiony zapasowy jezyk napisow: %1 (%2)") | |||
################################################################################ | |||
#/libqnapi/src/qnapilanguage.cpp | |||
names << tr("Albański"); | |||
names << tr("Angielski"); | |||
names << tr("Arabski"); | |||
names << tr("Bułgarski"); | |||
names << tr("Chiński"); | |||
names << tr("Chorwacki"); | |||
names << tr("Czeski"); | |||
names << tr("Duński"); | |||
names << tr("Estoński"); | |||
names << tr("Fiński"); | |||
names << tr("Francuski"); | |||
names << tr("Galicyjski"); | |||
names << tr("Grecki"); | |||
names << tr("Hebrajski"); | |||
names << tr("Hiszpanski"); | |||
names << tr("Holenderski"); | |||
names << tr("Indonezyjski"); | |||
names << tr("Japoński"); | |||
names << tr("Koreański"); | |||
names << tr("Macedoński"); | |||
names << tr("Niemiecki"); | |||
names << tr("Norweski"); | |||
names << tr("Oksytański"); | |||
names << tr("Perski (farsi)"); | |||
names << tr("Polski"); | |||
names << tr("Portugalski"); | |||
names << tr("Portugalski-BR"); | |||
names << tr("Rosyjski"); | |||
names << tr("Rumuński"); | |||
names << tr("Serbski"); | |||
names << tr("Słoweński"); | |||
names << tr("Szwedzki"); | |||
names << tr("Słowacki"); | |||
names << tr("Turecki"); | |||
names << tr("Wietnamski"); | |||
names << tr("Węgierski"); | |||
names << tr("Włoski"); | |||
################################################################################ | |||
#/gui/src/qnapiopendialog.cpp | |||
setNameFilter(tr("Filmy (%1);;Wszystkie pliki (*.*)").arg(GlobalConfig().movieExtensionsFilter())); | |||
setNameFilter(tr("Napisy (%1);;Wszystkie pliki (*.*)").arg(GlobalConfig().subtitleExtensionsFilter())); | |||
<< QString(QDir::homePath() + "/Filmy") << QString(QDir::homePath() + "/filmy") | |||
################################################################################ | |||
#/gui/src/forms/frmlistsubtitles.cpp | |||
ui.lbSelectSubtitles->setText(QString( "Z poniższej listy wybierz napisy, które" | |||
" chcesz dopasować do pliku<br><br><b>%1</b>") | |||
QMessageBox::warning( this, | |||
"Nie wybrano napisów z listy", | |||
"Musisz wybrać napisy z listy!"); | |||
################################################################################ | |||
#/gui/src/forms/frmconvert.cpp | |||
QNapiOpenDialog openSubtitle(this, tr("Wybierz plik z napisami"), | |||
ui.lbDetectedFormatValue->setText(tr("niepoprawny")); | |||
ui.cbTargetExtension->setItemText(0, tr("Domyślne (%1)").arg(targetDefaultExt)); | |||
QNapiOpenDialog openMovie(this, tr("Wybierz plik z filmem"), | |||
QNapiOpenDialog openMovie(this, tr("Wybierz plik z filmem"), | |||
QMessageBox::information(this, tr("Przekonwertowano napisy"), | |||
tr("Poprawnie zmieniono format napisów z '%1' na '%2'").arg(srcFormat, targetFormat)); | |||
QMessageBox::warning(this, tr("Problem podczas konwertowania napisów"), | |||
tr("Wystąpił problem podczas zamiany formatu napisów!")); | |||
################################################################################ | |||
#/gui/src/forms/frmabout.cpp | |||
ui.lbQtVersion->setText(QString("Wersja Qt: ") + qVersion()); | |||
################################################################################ | |||
#/gui/src/forms/frmoptions.cpp | |||
ui.cbLangBackup->addItem("Brak", QVariant("")); | |||
QString path7z = QFileDialog::getOpenFileName(this, tr("Wskaż ścieżkę do programu 7z"), | |||
QMessageBox::warning(this, tr("Niepoprawna ścieżka"), | |||
tr("Wskazana przez Ciebie ścieżka do programu 7z jest niepoprawna. Jeśli nie możesz " | |||
"odnaleźć programu 7z, spróbuj zainstalować pakiet p7zip-full.")); | |||
QString tmpDir = QFileDialog::getExistingDirectory(this, | |||
tr("Wskaż katalog tymczasowy"), | |||
QMessageBox::warning(this, | |||
"Ostrzeżenie", | |||
"Przynajmniej jeden moduł pobierania musi pozostać aktywny!"); | |||
QString("Informacje o silniku %1").arg(engineName), | |||
ui.cbSubExtension->setItemText(0, tr("Domyślne")); | |||
ui.cbSubExtension->setItemText(0, tr("Domyślne (%1)").arg(targetDefaultExt)); | |||
################################################################################ | |||
#/gui/src/forms/frmprogress.cpp | |||
QMessageBox::warning(0, tr("Brak programu p7zip!"), | |||
tr("Ścieżka do programu p7zip jest nieprawidłowa!")); | |||
QMessageBox::warning(0, tr("Nieprawidłowy katalog tymczasowy!"), | |||
tr("Nie można pisać do katalogu tymczasowego! Sprawdź swoje ustawienia.")); | |||
QMessageBox::warning(0, tr("Brak plików!"), | |||
tr("Nie wskazano filmów do pobrania napisów!")); | |||
? QString(tr("QNapi - pobieranie napisów (%1/%2)")).arg(lastCurrent + 1).arg(lastAll) | |||
: QString(tr("QNapi - pobieranie napisów...")); | |||
QMessageBox::critical(0, tr("Błąd krytyczny!"), getThread.criticalMessage); | |||
tr("Czy chcesz przerwać pobieranie napisów?"), | |||
ui.lbAction->setText(tr("Kończenie zadań...")); | |||
emit criticalError(tr("Błąd: ") + napi->error()); | |||
emit actionChange(tr("Sprawdzanie uprawnień do katalogu z filmem...")); | |||
emit criticalError(tr("Brak uprawnień zapisu do katalogu '%1'!").arg(QFileInfo(queue[i]).path())); | |||
emit actionChange(tr("Obliczanie sumy kontrolnej pliku...")); | |||
emit actionChange(tr("Szukanie napisów [%1] (%2)...").arg(language, e)); | |||
emit actionChange(tr("Szukanie napisów w języku zapasowym [%1] (%2)...").arg(languageBackup, e)); | |||
emit actionChange(tr("Szukanie napisów [%1] (%2)...").arg(language, e)); | |||
emit actionChange(tr("Szukanie napisów w języku zapasowym [%1] (%2)...").arg(languageBackup, e)); | |||
emit actionChange(tr("Pobieranie napisów dla pliku...")); | |||
emit actionChange(tr("Rozpakowywanie napisów...")); | |||
emit actionChange(tr("Przetwarzanie napisów...")); | |||
emit actionChange(tr("Dopasowywanie napisów...")); | |||
emit criticalError(tr("Nie udało się dopasować napisów!")); | |||
################################################################################ | |||
#/gui/src/forms/frmscan.cpp | |||
QNapiOpenDialog openDialog(this, tr("Wskaż katalog do skanowania"), | |||
ui.pbScan->setText(tr("Przerwij")); | |||
ui.lbAction->setText(tr("Skanowanie katalogów...")); | |||
ui.lbAction->setText(tr("Przerywanie skanowania katalogów...")); | |||
ui.lbAction->setText(QString("Skanowanie katalogu <b>%1</b>..").arg(dirName)); | |||
ui.pbScan->setText("Skanuj"); | |||
ui.lbAction->setText(tr((ui.lwMovies->count() > 0) | |||
? "Zaznacz filmy, do których chcesz pobrać napisy." | |||
: "Nie znaleziono plików z filmami.")); | |||
################################################################################ | |||
#/gui/src/forms/frmsummary.cpp | |||
ui.lbSuccess->setText(tr("Pobrano napisy dla %1 %2") | |||
.arg(goodCount).arg(tr(goodCount > 1 ? "plików" : "pliku"))); | |||
ui.lbFail->setText(tr("Nie pobrano napisów dla %1 %2") | |||
.arg(badCount).arg(tr(badCount > 1 ? "plików" : "pliku"))); | |||
################################################################################ | |||
#/libqnapi/src/engines/qnapiprojektengine.cpp | |||
return "Moduł pobierania napisów z bazy <b>www.napiprojekt.pl</b>"; | |||
################################################################################ | |||
#/libqnapi/src/engines/qnapisy24engine.cpp | |||
return "Moduł pobierania napisów z bazy <b>www.napisy24.pl</b><br />"; | |||
################################################################################ | |||
#/libqnapi/src/engines/qopensubtitlesengine.cpp | |||
return "Moduł pobierania napisów z bazy <b>www.opensubtitles.org</b>"; | |||
################################################################################ | |||
#/libqnapi/src/subconvert/subtitleconverter.cpp | |||
QString ad = QString("Napisy pobrane i przetworzone programem QNapi|"); | |||
################################################################################ | |||
#/libqnapi/src/qsubmatcher.cpp | |||
QString newName = constructSubtitlePath(targetMoviefilePath, targetSubtitlesFileInfo.suffix(), "_kopia"); | |||
################################################################################ | |||
#/gui/ui/frmabout.ui | |||
#################### | |||
#<property name="windowTitle"> | |||
<string>QNapi - informacje o programie</string> | |||
#################### | |||
#<widget class="QLabel" name="lbAbout"> | |||
<string><html><head/><body><p>QNapi jest programem do automatycznego pobierania i dopasowywania napisów do filmów. </p><p>Program rozprowadzany jest na licencji GNU General Public License w wersji drugiej lub późniejszej.</p><p><a href="http://qnapi.github.io"><span style=" text-decoration: underline; color:#0000ff;">http://qnapi.github.io</span></a></p><p>Dziękuję wszystkim osobom, które w jakikolwiek sposób wsparły rozwój projektu.</p></body></html></string> | |||
#################### | |||
#<widget class="QLabel" name="lbQtVersion"> | |||
<string>Wersja Qt: x.y.z</string> | |||
#################### | |||
#<widget class="QLabel" name="lbUseNP" | |||
<string>Program korzysta z bazy www.napiprojekt.pl</string> | |||
#################### | |||
#<widget class="QLabel" name="lbUseOS"> | |||
<string>Program korzysta z bazy www.opensubtitles.org</string> | |||
#################### | |||
#<widget class="QLabel" name="lbUseNP24"> | |||
<string>Program korzysta z bazy www.napisy24.pl</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbClose"> | |||
<string>Zamknij</string> | |||
################################################################################ | |||
#/gui/ui/frmconvert.ui | |||
#################### | |||
#<property name="windowTitle"> | |||
<string>Konwertuj napisy</string> | |||
#################### | |||
#<widget class="QLabel" name="lbSrcSubFile"> | |||
<string>Źródłowy plik z napisami:</string> | |||
#################### | |||
#<widget class="QLabel" name="lbDetectedFormat"> | |||
<string>Wykryto format:</string> | |||
#################### | |||
#<widget class="QLabel" name="lbTargetFormat"> | |||
<string>Docelowy format napisów:</string> | |||
#################### | |||
#<widget class="QLabel" name="lbMovieFPS"> | |||
<string>Liczba klatek na sekundę filmu (FPS):</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbMovieFPSSelect"> | |||
<string>Wykryj docelowy FPS z pliku</string> | |||
#################### | |||
#<widget class="QLabel" name="lbTargetExtension"> | |||
<string>Docelowe rozszerzenie napisów:</string> | |||
#################### | |||
#<widget class="QComboBox" name="cbTargetExtension"> | |||
<string>Domyślne</string> | |||
#################### | |||
#<widget class="QCheckBox" name="cbChangeFPS"> | |||
<string>Zmień FPS (klatki/sekundę) napisów</string> | |||
#################### | |||
#<widget class="QLabel" name="lbFrom"> | |||
<string>z</string> | |||
#################### | |||
#<widget class="QLabel" name="lbTo"> | |||
<string>na</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbTargetMovieFPSSelect"> | |||
<string>Wykryj docelowy FPS z pliku</string> | |||
#################### | |||
#<widget class="QCheckBox" name="cbDelaySubtitles"> | |||
<string>Przesuń napisy</string> | |||
#################### | |||
#<widget class="QDoubleSpinBox" name="sbDelayOffset"> | |||
<string>o </string> | |||
#################### | |||
#<widget class="QDoubleSpinBox" name="sbDelayOffset"> | |||
<string> sekund</string> | |||
#################### | |||
#<widget class="QLabel" name="lbTargetFileName"> | |||
<string>Docelowa nazwa pliku:</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbConvert"> | |||
<string>Konwertuj</string> | |||
################################################################################ | |||
#/gui/ui/frmlistsubtitles.ui | |||
#################### | |||
#<property name="windowTitle"> | |||
<string>QNapi - wybierz napisy z listy</string> | |||
#################### | |||
#<widget class="QLabel" name="lbSelectSubtitles"> | |||
<string><html><head/><body><p>Z poniższej listy wybierz napisy, które chcesz dopasować do pliku</p><p><span style=" font-weight:600;">film.avi</span></p></body></html></string> | |||
#################### | |||
#<widget class="QPushButton" name="pbDownload"> | |||
<string>Pobierz napisy</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbDontDownload"> | |||
<string>Nie pobieraj napisów dla tego filmu</string> | |||
#################### | |||
#<widget class="QLabel" name="lbGreenHint"> | |||
<string>Na zielono podświetlono napisy <b>prawdopodobnie</b> pasujące do Twojego filmu.</string> | |||
#################### | |||
#<widget class="QLabel" name="lbRedHint"> | |||
<string>Na czerwono podświetlono napisy <b>prawdopodobnie</b> niepasujące do Twojego filmu.</string> | |||
################################################################################ | |||
#/gui/ui/frmoptions.ui | |||
#################### | |||
#<property name="windowTitle"> | |||
<string>QNapi - opcje programu</string> | |||
#################### | |||
#<widget class="QWidget" name="tabGeneral"> | |||
<string>Główne</string> | |||
#################### | |||
#<widget class="QCheckBox" name="cbNoBackup"> | |||
<string>Nie twórz kopii istniejących napisów. Nadpisuj je bez pytania.</string> | |||
#################### | |||
#<widget class="QLabel" name="lbLang"> | |||
<string>Preferowany język napisów:</string> | |||
#################### | |||
#<widget class="QCheckBox" name="cbShowDockIcon"> | |||
<string>Pokazuj ikonę w doku systemowym (wymaga ponownego uruchomienia aplikacji)</string> | |||
#################### | |||
#<widget class="QCheckBox" name="cbChangePermissions"> | |||
<string>Zmień uprawnienia do pliku z napisami na: </string> | |||
#################### | |||
#<widget class="QLabel" name="lbLangBackup"> | |||
<string>Zapasowy język napisów:</string> | |||
#################### | |||
#<widget class="QLabel" name="lbTmpPath"> | |||
<string>Ścieżka do katalogu tymczasowego:</string> | |||
#################### | |||
#<widget class="QLabel" name="lb7zPath"> | |||
<string>Ścieżka do programu 7z:</string> | |||
#################### | |||
#<widget class="QCheckBox" name="cbQuietBatch"> | |||
<string>Nie pokazuje żadnych okien przy pobieraniu napisów z menu kontekstowego w menedżerze plików lub przy podaniu plików jako argumenty wiersza poleceń</string> | |||
#################### | |||
#<widget class="QCheckBox" name="cbQuietBatch"> | |||
<string>Cichy tryb wsadowy</string> | |||
#################### | |||
#<widget class="QWidget" name="tabDownloadEngines"> | |||
<string>Moduły pobierania napisów</string> | |||
#################### | |||
#<widget class="QLabel" name="lbAvailableEngines"> | |||
<string>Dostępne moduły pobierania napisów:</string> | |||
#################### | |||
#<widget class="QLabel" name="lbDownloadPolicy"> | |||
<string>Polityka pobierania napisów:</string> | |||
#################### | |||
#<widget class="QComboBox" name="cbDownloadPolicy"> | |||
<string>Zawsze pokazuj listę dostępnych napisów</string> | |||
#################### | |||
#<widget class="QComboBox" name="cbDownloadPolicy"> | |||
<string>Pokazuj listę dostępnych napisów tylko wtedy, gdy potrzeba</string> | |||
#################### | |||
#<widget class="QComboBox" name="cbDownloadPolicy"> | |||
<string>Zawsze pobieraj pierwsze pasujące napisy i nigdy nie pokazuj listy</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbMoveUp"> | |||
<string>Przesuń w górę</string> | |||
#################### | |||
#<widget class="QLabel" name="lbSearchPolicy"> | |||
<string>Wyszukiwanie napisów:</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbMoveDown"> | |||
<string>Przesuń w dół </string> | |||
#################### | |||
#<widget class="QPushButton" name="pbEngineInfo"> | |||
<string>Informacje</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbEngineConf"> | |||
<string>Konfiguruj</string> | |||
#################### | |||
#<widget class="QComboBox" name="cbSearchPolicy"> | |||
<string>Przerwij wyszukiwanie po znalezieniu pasujących napisów (szybciej)</string> | |||
#################### | |||
#<widget class="QComboBox" name="cbSearchPolicy"> | |||
<string>Wyszukaj wszystkie dostępne napisy (wolniej)</string> | |||
#################### | |||
#<widget class="QComboBox" name="cbSearchPolicy"> | |||
<string>Wyszukaj wszystkie napisy, także w zapasowym języku (najwolniej)</string> | |||
#################### | |||
#<widget class="QWidget" name="tabPostProcessing"> | |||
<string>Przetwarzanie napisów</string> | |||
#################### | |||
#<widget class="QGroupBox" name="gbPpEnable"> | |||
<string>Włącz przetwarzanie pobranych napisów</string> | |||
#################### | |||
#<widget class="QLabel" name="lbEncoding"> | |||
<string>Kodowanie znaków:</string> | |||
#################### | |||
#<widget class="QComboBox" name="cbEncodingMethod"> | |||
<string>Pozostaw oryginalne</string> | |||
#################### | |||
#<widget class="QComboBox" name="cbEncodingMethod"> | |||
<string>Konwertuj (ustawienia poniżej)</string> | |||
#################### | |||
#<widget class="QComboBox" name="cbEncodingMethod"> | |||
<string>Zamień znaki diakrytyczne na ich odpowiedniki ASCII</string> | |||
#################### | |||
#<widget class="QLabel" name="lbConvertFrom"> | |||
<string>Z:</string> | |||
#################### | |||
#<widget class="QLabel" name="lbConvert"> | |||
<string>Na:</string> | |||
#################### | |||
#<widget class="QCheckBox" name="cbShowAllEncodings"> | |||
<string>Pokaż wszystkie dostępne kodowania znaków</string> | |||
#################### | |||
#<widget class="QLabel" name="lbSubFormat"> | |||
<string>Format napisów:</string> | |||
#################### | |||
#<widget class="QComboBox" name="cbSubFormat"> | |||
<string>Pozostaw oryginalny</string> | |||
#################### | |||
#<widget class="QLabel" name="lbSubExtension"> | |||
<string>Rozszerzenie napisów:</string> | |||
#################### | |||
#<widget class="QComboBox" name="cbSubExtension"> | |||
<string>Domyślne</string> | |||
#################### | |||
#<widget class="QCheckBox" name="cbSkipConvertAds"> | |||
<string>Nie dodawaj informacji o QNapi przy konwersji pomiędzy formatami</string> | |||
#################### | |||
#<widget class="QCheckBox" name="cbAutoDetectEncoding"> | |||
<string>Próbuj automatycznie wykrywać kodowanie źródłowe</string> | |||
#################### | |||
#<widget class="QCheckBox" name="cbRemoveLines"> | |||
<string>Usuń z pliku z napisami linie, które zawierają następujące słowa:</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbRestoreDefaults"> | |||
<string>Przywróć domyślne</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbCancel"> | |||
<string>Anuluj</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbSave"> | |||
<string>Zapisz</string> | |||
################################################################################ | |||
#/gui/ui/frmprogress.ui | |||
#################### | |||
#<property name="windowTitle" > | |||
<string>QNapi - pobieranie napisów...</string> | |||
#################### | |||
#<widget class="QLabel" name="lbAction" > | |||
<string>Pobieranie napisów do filmu...</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbCancel" > | |||
<string>Anuluj</string> | |||
################################################################################ | |||
#/gui/ui/frmscan.ui | |||
#################### | |||
#<property name="windowTitle" > | |||
<string>QNapi - skanowanie katalogów i dopasowywanie napisów</string> | |||
#################### | |||
#<widget class="QLabel" name="lbDirectory" > | |||
<string>Wskaż katalog do przeszukania:</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbScan" > | |||
<string>Skanuj</string> | |||
#################### | |||
#<widget class="QLabel" name="lbFilter" > | |||
<string>Filtr rozszerzeń plików:</string> | |||
#################### | |||
#<widget class="QLabel" name="lbSkip" > | |||
<string>Pomiń pliki zawierające w nazwie:</string> | |||
#################### | |||
#<widget class="QCheckBox" name="cbSkipIfSubtitlesExists" > | |||
<string>Podczas wyszukiwania pomijaj pliki, do których istnieją już napisy</string> | |||
#################### | |||
#<widget class="QLabel" name="lbMovies" > | |||
<string>Znalezione pliki z filmami:</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbSelectAll" > | |||
<string>Zaznacz wszystko</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbUnselectAll" > | |||
<string>Odznacz wszystko</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbInvertSelection" > | |||
<string>Odwróć zaznaczenie</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbCancel" > | |||
<string>Anuluj</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbGet" > | |||
<string>Pobierz napisy</string> | |||
#################### | |||
#<widget class="QCheckBox" name="cbFollowSymLinks" > | |||
<string>Podążaj za dowiązaniami symbolicznymi</string> | |||
################################################################################ | |||
#/gui/ui/frmsummary.ui | |||
#################### | |||
#<property name="windowTitle"> | |||
<string>QNapi - rezultat dopasowania napisów</string> | |||
#################### | |||
#<widget class="QLabel" name="lbSuccess"> | |||
<string>Pobrano napisy dla 5 plików</string> | |||
#################### | |||
#<widget class="QLabel" name="lbFail"> | |||
<string>Nie udało się znaleźć napisów dla 3 plików</string> | |||
################################################################################ | |||
#/gui/ui/napiprojekt/frmnapiprojektconfig.ui | |||
#################### | |||
#<property name="windowTitle" > | |||
<string>NapiProjekt - konfiguracja</string> | |||
#################### | |||
#<widget class="QLabel" name="lbPass" > | |||
<string>Hasło:</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbRegister" > | |||
<string>Załóż konto</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbCancel" > | |||
<string>Anuluj</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbSave" > | |||
<string>Zapisz</string> | |||
################################################################################ | |||
#/gui/ui/napisy24/frmnapisy24config.ui | |||
#################### | |||
#<property name="windowTitle" > | |||
<string>Napisy24 - konfiguracja</string> | |||
#################### | |||
#<widget class="QLabel" name="lbPass" > | |||
<string>Hasło:</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbRegister" > | |||
<string>Załóż konto</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbCancel" > | |||
<string>Anuluj</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbSave" > | |||
<string>Zapisz</string> | |||
################################################################################ | |||
#/gui/ui/opensubtitles/frmopensubtitlesconfig.ui | |||
#################### | |||
#<property name="windowTitle" > | |||
<string>OpenSubtitles - konfiguracja</string> | |||
#################### | |||
#<widget class="QLabel" name="lbPass" > | |||
<string>Hasło:</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbRegister" > | |||
<string>Załóż konto</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbCancel" > | |||
<string>Anuluj</string> | |||
#################### | |||
#<widget class="QPushButton" name="pbSave" > | |||
<string>Zapisz</string> |