Browse Source

Update repository

master
Pekka Helenius 5 years ago
parent
commit
abb0c3368e
19 changed files with 137 additions and 5283 deletions
  1. +137
    -229
      Readme.md
  2. +0
    -122
      dolphin/dolphin-media-autoplay-new-version.patch
  3. +0
    -72
      dolphin/media-autoplay-oldversion.patch
  4. +0
    -49
      kdegraphics-dreamdesktop/PKGBUILD
  5. +0
    -11
      kdegraphics-dreamdesktop/crashfix.patch
  6. +0
    -17
      mlv2dng/PKGBUILD
  7. +0
    -19
      plasma-workspace-wallpaper-video/PKGBUILD
  8. +0
    -12
      plasma-workspace-wallpaper-video/m3uwrapper.desktop
  9. BIN
      plasma-workspace-wallpaper-video/org.kde.video.tar.gz
  10. BIN
      plasma-workspace-wallpaper-video/org.kde.videoplaylist.tar.gz
  11. +0
    -17
      purple-whatsapp/.SRCINFO
  12. +0
    -28
      purple-whatsapp/PKGBUILD
  13. +0
    -46
      qnapi/PKGBUILD
  14. +0
    -13
      qnapi/defaultsublanguage.patch
  15. BIN
      qnapi/en.png
  16. +0
    -2074
      qnapi/languagefix.patch
  17. +0
    -836
      qnapi/multilang-implementation-draft/en.po
  18. +0
    -902
      qnapi/multilang-implementation-draft/frmoptions.ui
  19. +0
    -836
      qnapi/multilang-implementation-draft/pl.po

+ 137
- 229
Readme.md View File

@ -1,15 +1,12 @@
Introduction
==============
# Introduction
Various programs & patches for Linux programs.
Various programs & patches for selected Linux programs.
Includes universal patch files and Arch Linux specific PKGBUILD scripts.
**Packages included**
--------------
# Packages included
**cr2fits**
--------------
## [cr2fits](cr2fits)
Convert Canon CR2 RAW images to FITS images. FITS format is used in astronomical applications.
@ -17,164 +14,142 @@ More about cr2fits:
[Github.com - eaydin/cr2fits](https://github.com/eaydin/cr2fits)
FORMAT: Arch Linux PKGBUILD script.
**FORMAT:** Arch Linux PKGBUILD script.
**cr2hdr**
--------------
## [cr2hdr](cr2hdr)
Dual ISO image processing tool for Canon DSLR's with Magic Lantern firmware. Convert Dual ISO DNG raw images to editable format for further processing with Photoshop/Lightroom etc.
More about Dual ISO:
### More about Dual ISO:
[Magic Lantern Forum - Dual ISO - massive dynamic range improvement](http://www.magiclantern.fm/forum/index.php?topic=7139.0)
FORMAT: Arch Linux PKGBUILD script.
**FORMAT:** Arch Linux PKGBUILD script.
**dolphin**
--------------
A patch for Dolphin 16.12 (Plasma 5). The patch lets you autoplay all supported media formats (audio & video) in Dolphin file browser instead of clicking manually the play button every time you want preview a media file.
To use this feature, enable information panel in Dolphin (shortcut F11) and press a radio button on the right side.
Original patch code [here](https://nowardev.wordpress.com/2014/03/18/automatic-videoaudio-preview-hovering-a-file-with-phonon-in-dolphin-kde-file-manager/)
FORMAT: Patch file.
**haguichi**
--------------
## [haguichi](haguichi)
Graphical front-end for LogMeIn Hamachi by Stephen Brandt. Version 1.0.26 (GTK2).
Homepage:
### Homepage:
[Haguichi](https://www.haguichi.net/)
FORMAT: Arch Linux PKGBUILD script + source archive.
**FORMAT:** Arch Linux PKGBUILD script + source archive.
**kbd-fi-nbsp**
--------------
## [kbd-fi-nbsp](kbd-fi-nbsp)
Custom Finnish keyboard settings and recommendations to eliminate non-breaking space character which is usually typed unintentionally in commands.
- Adds a custom 'fi_nbsp' keymap for TTY sessions (CLI)
- Adds a custom `fi_nbsp` keymap for TTY sessions (CLI)
- Recommendations to use similar layout in X11 (GUI) environments
The package includes installation instructions to set up these settings on your system.
**kde-cdemu-manager**
--------------
## [kde-cdemu-manager](kde-cdemu-manager)
CDEmu Daemon manager for Plasma 5 desktop with an additional "start in systray" patch.
- minimize-at-startup.patch = Adds '--systray' option as a start parameter. When enabled, the program main window remains closed and the program is started only in the systray.
- `minimize-at-startup.patch` = Adds `--systray` option as a start parameter. When enabled, the program main window remains closed and the program is started only in the systray.
FORMAT: Arch Linux PKGBUILD script + patch file.
**FORMAT:** Arch Linux PKGBUILD script + patch file.
**kde-magiclantern-shortcut**
--------------
## [kde-magiclantern-shortcut](kde-magiclantern-shortcut)
Adds a KDE5 compatible shortcut file (Kicker/Kickoff launchers) for magiclantern-bootablecard package.
Adds a KDE5 compatible shortcut file for magiclantern-bootablecard package. If you use another DE, feel free to modify `Exec=` entry in provided `ml-bootablecard.desktop` file.
FORMAT: Arch Linux PKGBUILD script + source files.
**FORMAT:** Arch Linux PKGBUILD script + source files.
**kde-servicemenus-cr2fits**
--------------
## [kde-servicemenus-cr2fits](kde-servicemenus-cr2fits)
Plasma 5 Dolphin service menu script for cr2fits package.
FORMAT: Arch Linux PKGBUILD script.
**FORMAT:** Arch Linux PKGBUILD script.
**kde-servicemenus-dualiso**
--------------
## [kde-servicemenus-dualiso](kde-servicemenus-dualiso)
Plasma 5 Dolphin service menu script for cr2hdr package.
FORMAT: Arch Linux PKGBUILD script.
**FORMAT:** Arch Linux PKGBUILD script.
**kde-servicemenus-flifconversion**
--------------
## [kde-servicemenus-flifconversion](kde-servicemenus-flifconversion)
Plasma 5 Dolphin service menu script for converting images to FLIF format.
Requirements: FLIF libraries ([GitHub source](https://github.com/FLIF-hub/FLIF) or [AUR Package](https://aur.archlinux.org/packages/flif-git/))
It is recommended that you add FLIF mimetype (as image/x-flif) in system-wide.
It is recommended that you add FLIF mimetype (as `image/x-flif`) in system-wide.
You may consider building imagemagick with FLIF support, too (use configure flag --with-flif) and installing qt-flif-plugin package (see it below).
You may consider building imagemagick with FLIF support, too (use configure flag `--with-flif`) and installing qt-flif-plugin package (see it below).
FORMAT: Arch Linux PKGBUILD script + source files.
**FORMAT:** Arch Linux PKGBUILD script + source files.
**kde-servicemenus-hexstrings**
--------------
## [kde-servicemenus-hexstrings](kde-servicemenus-hexstrings)
Plasma 5 Dolphin service menu script. Extract all readable strings from a file (binary files included). Useful for file analysis.
Plasma 5 Dolphin service menu script. Extract all readable strings from a file (binary files included). Useful for quick file analysis.
FORMAT: Arch Linux PKGBUILD script.
**FORMAT:** Arch Linux PKGBUILD script.
**kde-servicemenus-mediainfo**
--------------
## [kde-servicemenus-mediainfo](kde-servicemenus-mediainfo)
Plasma 5 Dolphin service menu script. Show useful media information. Applies to all audio & video files.
Shows
Shows following information:
- media duration
- audio & video bitrate
- audio & video format
- audio channels
- video resolution
- video framerate
FORMAT: Arch Linux PKGBUILD script.
**FORMAT:** Arch Linux PKGBUILD script.
**kde-servicemenus-multimediatools**
--------------
## [kde-servicemenus-multimediatools](kde-servicemenus-multimediatools)
Plasma 5 Dolphin service menu script for converting various video & audio files from format to format.
Supported audio formats are: aac, ac3, mp3, ogg, opus, wav, wma
Supported video formats are: avi, flv, m4v, mkv, mov, mp4, mpg, ogv, webm, wmv
Supported audio formats are: `aac, ac3, mp3, ogg, opus, wav, wma`
Supported video formats are: `avi, flv, m4v, mkv, mov, mp4, mpg, ogv, webm, wmv`
This script can be used for multiple files at the same time but is developed for individual files only.
FORMAT: Arch Linux PKGBUILD script.
**FORMAT:** Arch Linux PKGBUILD script.
**kde-servicemenus-qnapi**
--------------
## [kde-servicemenus-qnapi](kde-servicemenus-qnapi)
Plasma 5 Dolphin service menu script for downloading video subtitles.
Custom Plasma 5 Dolphin service menu script for downloading video subtitles.
Requires qnapi.
Requires qnapi installed beforehand.
FORMAT: Arch Linux PKGBUILD script + source files.
**FORMAT:** Arch Linux PKGBUILD script + source files.
**kde-servicemenus-searchactions**
--------------
## [kde-servicemenus-searchactions](kde-servicemenus-searchactions)
Plasma 5 Dolphin service menu script for searching strings inside files.
FORMAT: Arch Linux PKGBUILD script + source files.
**FORMAT:** Arch Linux PKGBUILD script + source files.
**kde-servicemenus-unlockpdf**
--------------
## [kde-servicemenus-unlockpdf](kde-servicemenus-unlockpdf)
Plasma 5 Dolphin service menu script for hacking and breaking PDF password protection. Allows you to edit read-only PDF files.
Plasma 5 Dolphin service menu script for breaking PDF password protection. Allows you to edit read-only PDF files.
FORMAT: Arch Linux PKGBUILD script.
**FORMAT:** Arch Linux PKGBUILD script.
**kde-servicemenus-virtualbox**
--------------
## [kde-servicemenus-virtualbox](kde-servicemenus-virtualbox)
Plasma 5 Dolphin service menu script for resizing VirtualBox VDI files (virtual machines) via right clicking.
Input value: size in gigabyte (only a number, nothing else)
**Input value:** size in gigabyte (only a number, nothing else)
FORMAT: Arch Linux PKGBUILD script + source files.
**FORMAT:** Arch Linux PKGBUILD script + source files.
**kde-thumbnailer-ooxml-kf5**
--------------
## [kde-thumbnailer-ooxml-kf5](kde-thumbnailer-ooxml-kf5)
Plasma 5 thumbnailer for Microsoft Office Open XML Documents.
@ -184,21 +159,13 @@ According to the developer:
*It only depends on qt and kde library. It is shipped with internal libkowmf copy for rendering wmf graphics from calligra suite. You do not need any office suite installed to make this plugin work.*
Homepage:
### Homepage:
[KDE Office Open XML Document Thumbnailer](https://www.linux-apps.com/content/show.php?content=149048)
FORMAT: Arch Linux PKGBUILD script + a patch file.
**kdegraphics-dreamdesktop**
--------------
Video background for Plasma 4/KDE4 desktop environment.
**FORMAT:** Arch Linux PKGBUILD script + a patch file.
FORMAT: Arch Linux PKGBUILD script + patch file.
**magiclantern-bootablecard**
--------------
## [magiclantern-bootablecard](magiclantern-bootablecard)
Add Canon's boot flag into a SD card, as required by Magic Lantern firmware. Original source code [here](https://bitbucket.org/hudson/magic-lantern/src/11f405b62b31/contrib/make-bootable/?at=crop_rec_4k)
@ -206,24 +173,15 @@ The bash script file has been modified to be more user-friendly. You can use a c
Usage: once you've inserted a SD card into your computer, use 'ml-bootablecard' command to add the boot flag.
FORMAT: Arch Linux PKGBUILD script + custom source files.
**mlv2dng**
--------------
Magic Lantern Raw file conversion tool for MLV files. Extract individual DNG frames from MLV files.
FORMAT: Arch Linux PKGBUILD script.
**FORMAT:** Arch Linux PKGBUILD script + custom source files.
**mlvdump**
--------------
## [mlvdump](mlvdump)
Magic Lantern Raw file conversion tool for MLV files. Extract individual DNG frames from MLV files.
FORMAT: Arch Linux PKGBUILD script.
**FORMAT:** Arch Linux PKGBUILD script.
**pacvis-git**
--------------
## [pacvis-git](pacvis-git)
pacvis by [Jiachen Yang](https://github.com/farseerfc/pacvis)
@ -235,231 +193,183 @@ Quote from the original source GitHub page:
This repository includes patched service file which changes the default pacvis service file behaviour in the following ways:
- run the server service as a regular user, not as root (potential security issue, and root is not truly required)
- remove restart loop which renders the server unusable
- run the server service as a regular user, not as root
- remove restart loop which renders the server unusable
FORMAT: Arch Linux PKGBUILD script + patch file.
**FORMAT:** Arch Linux PKGBUILD script + patch file.
**pano2vr**
--------------
## [pano2vr](pano2vr)
Create virtual panorama tours using panorama images.
NOTE: The PKGBUILD script is outdated but can still be useful for some people.
**NOTE:** The PKGBUILD script is outdated but can still be useful for some people.
Homepage:
### Homepage:
[Garden Gnome Software - Pano2VR](https://ggnome.com/pano2vr)
FORMAT: Arch Linux PKGBUILD script.
**FORMAT:** Arch Linux PKGBUILD script.
**panotour**
--------------
## [panotour](panotour)
Create virtual panorama tours using panorama images.
Homepage:
### Homepage:
[Kolor - Panotour](http://www.kolor.com/panotour/download/)
FORMAT: Arch Linux PKGBUILD script.
**FORMAT:** Arch Linux PKGBUILD script.
## [panotourpro](panotourpro)
**panotourpro**
--------------
**NOTE:** This software is no longer available from official sources.
Create virtual panorama tours using panorama images. Professional version with additional features.
Homepage:
### Homepage:
[Kolor - Panotour](http://www.kolor.com/panotour/download/)
FORMAT: Arch Linux PKGBUILD script.
**FORMAT:** Arch Linux PKGBUILD script.
**photoscan**
--------------
## [photoscan](photoscan)
Create textured 3D models from multiple still images.
Homepage:
### Homepage:
[Agisoft - Photoscan](http://www.agisoft.com/)
FORMAT: Arch Linux PKGBUILD script.
**FORMAT:** Arch Linux PKGBUILD script.
**photoscan-pro**
--------------
## [photoscan-pro](photoscan-pro)
Create textured 3D models from multiple still images. Professional version with additional features.
Homepage:
### Homepage:
[Agisoft - Photoscan](http://www.agisoft.com/)
FORMAT: Arch Linux PKGBUILD script.
**FORMAT:** Arch Linux PKGBUILD script.
**pidgin-smileys-facebook**
--------------
## [pidgin-smileys-facebook](pidgin-smileys-facebook)
Facebook smileys for Pidgin.
FORMAT: Arch Linux PKGBUILD script + source archive.
**FORMAT:** Arch Linux PKGBUILD script + source archive.
**pidgin-smileys-msn**
--------------
## [pidgin-smileys-msn](pidgin-smileys-msn)
Windows Live Messenger smileys for Pidgin
FORMAT: Arch Linux PKGBUILD script.
**FORMAT:** Arch Linux PKGBUILD script.
Homepage:
### Homepage:
[Pidgin Themes - Windows Live Messenger smilies](http://www.pidginthemes.com/smilies/windows%20live%20messenger/)
**plasma-workspace-wallpaper-video**
--------------
Video and video playlist background for Plasma 5/KDE5 desktop.
For details, please see the following KDE forum topic:
[Video and HTML wallpaper types - KDE Community Forums](https://forum.kde.org/viewtopic.php?f=289&t=131783)
NOTE: The video background may still be buggy. For example, I lose the background video immediately after closing the desktop settings window. I may miss some dependencies but couldn't been able to narrow down the issue yet.
FORMAT: Arch Linux PKGBUILD script + source files.
**playonlinux**
--------------
## [playonlinux](playonlinux)
Patches for PlayOnLinux 4.2.10.
- 0001-remove-menuitems.patch = Remove Twitter, Facebook, Google+ menu items. Remove duplicate Run, Remove, Install menu items. Remove Donate menu item.
- `0001-remove-menuitems.patch` = Remove Twitter, Facebook, Google+ menu items. Remove duplicate Run, Remove, Install menu items. Remove Donate menu item.
- 0002-add-shortcutitems.patch = Add an option to remove shortcuts from Desktop & .local/share/applications/ directory. While creating a shortcut, add it to both of these places instead of only Desktop. Create winexec bash script file for Wine, and link it to "Execute" field of each shortcut/.desktop file. Remove French localization & "Comment=PlayOnLinux" fields from desktop files.
- `0002-add-shortcutitems.patch = Add an option to remove shortcuts from Desktop & .local/share/applications/ directory. While creating a shortcut, add it to both of these places instead of only Desktop. Create winexec bash script file for Wine, and link it to "Execute" field of each shortcut/.desktop file. Remove French localization & "Comment=PlayOnLinux" fields from desktop files.
For details about Winexec bash script, see this [AskUbuntu](https://askubuntu.com/questions/123092/open-file-using-custom-command-how-to-specify-the-file-in-cmd-line) page.
- 0003-add-addremoveprograms.patch = Add Add/Remove programs menu shortcut for each program listed on PlayOnLinux program menu.
- `0003-add-addremoveprograms.patch` = Add Add/Remove programs menu shortcut for each program listed on PlayOnLinux program menu.
- 0004-change-wineversions.patch = Highlight unused Wine versions.
- `0004-change-wineversions.patch` = Highlight unused Wine versions.
- 0005-add-optimussupport.patch = Doesn't work? Attempt to add Optimus/Optirun support for PlayOnLinux
- `0005-add-optimussupport.patch` = Doesn't work? Attempt to add Optimus/Optirun support for PlayOnLinux
- 0006-disable-updatenotification.patch = Disable pop-up update notification.
- `0006-disable-updatenotification.patch` = Disable pop-up update notification.
- 0007-disable-closingandwinemessage.patch = Disable confirmation for closing the program. Remove Wine dependency (so that user don't need to install Wine on their systems in order to use PlayOnLinux)
- `0007-disable-closingandwinemessage.patch` = Disable confirmation for closing the program. Remove Wine dependency (so that user don't need to install Wine on their systems in order to use PlayOnLinux)
FORMAT: Arch Linux PKGBUILD script + patch files.
**FORMAT:** Arch Linux PKGBUILD script + patch files.
**purple-whatsapp**
--------------
## [qgifer](qgifer)
WhatsApp protocol implementation for libpurple (Pidgin)
Patch qgifer codebase for Qt5 & the newest giflib.
NOTE: Deprecated plugin, the development has been suspended. Doesn't support the new whatsapp web interface.
**NOTE:** Qgifer is a deprecated/abandoned program.
FORMAT: Arch Linux PKGBUILD script.
**qgifer**
--------------
Patch qgifer codebase for Qt5 & the newest giflib. NOTE: Qgifer is a deprecated/abandoned program.
Homepage:
### Homepage:
[SourceForge.net - QGifer](https://sourceforge.net/projects/qgifer/)
FORMAT: Arch Linux PKGBUILD script + patch files.
**qnapi**
--------------
Qt5 client for downloading movie subtitles from NapiProjekt, OpenSubtitles, Napisy24
Includes patch files for translation of polish strings to english.
Homepage:
[Github - QNapi](https://github.com/QNapi/qnapi/)
FORMAT: Arch Linux PKGBUILD script + patch files.
**FORMAT:** Arch Linux PKGBUILD script + patch files.
**qt-flif-plugin**
--------------
## [qt-flif-plugin](qt-flif-plugin)
Add FLIF image format support for KDE environment.
NOTE: Add image/x-flif Mimetype to get this work (works with gwenview & kolourpaint at least).
**NOTE:** Add `image/x-flif` Mimetype to get this work (works with gwenview & kolourpaint at least).
FORMAT: Arch Linux PKGBUILD script.
**FORMAT:** Arch Linux PKGBUILD script.
**snic**
--------------
## [snic](snic)
- [Repository link](https://github.com/Fincer/snic)
Switch network interface mode from router to client and vice versa on Linux.
FORMAT: Arch Linux PKGBUILD script.
**FORMAT:** Arch Linux PKGBUILD script.
**sockstat**
--------------
## [sockstat](sockstat)
Linux variant of [FreeBSD sockstat command](https://www.freebsd.org/cgi/man.cgi?query=sockstat&apropos=0&sektion=0&manpath=FreeBSD+7.1-RELEASE&format=html)
"The sockstat command lists open Internet or UNIX domain sockets."
FORMAT: Arch Linux PKGBUILD script + patch files.
**FORMAT:** Arch Linux PKGBUILD script + patch files.
**u3d**
--------------
## [u3d](u3d)
Set of libraries to manipulate U3D-formatted data. IDTF to U3D converter.
FORMAT: Arch Linux PKGBUILD script + source archive.
**FORMAT:** Arch Linux PKGBUILD script + source archive.
**wine-playonlinux**
--------------
## [wine-playonlinux](wine-playonlinux)
Patches & customized PKGBUILD script for Wine (Staging). Automatic PlayOnLinux installation script included.
Usage: To compile Wine-Staging with all included custom patches, please run 1-install-wine-to-pol.sh.
**Usage:** To compile Wine-Staging with all included custom patches, please run `1-install-wine-to-pol.sh`.
NOTE: Compiled package is not very well compatible with standard Wine installation methods on Arch Linux, thus the script removes compiled tar.xz file.
**NOTE:** Compiled package is not very well compatible with standard Wine installation methods on Arch Linux, thus the script removes compiled tar.xz file.
- custompatch_default-documents-dir.patch = Use XDG_WINEDOCUMENTS_DIR as a default Documents directory for Wine prefixes by default. You need to specify XDG_WINEDOCUMENTS_DIR in your $HOME/.config/user-dirs.dirs file.
- `custompatch_default-documents-dir.patch` = Use `XDG_WINEDOCUMENTS_DIR` as a default Documents directory for Wine prefixes by default. You need to specify `XDG_WINEDOCUMENTS_DIR` in your `$HOME/.config/user-dirs.dirs` file.
For more information, check [this](https://forum.winehq.org/viewtopic.php?f=8&t=28582) WineHQ forum topic.
- custompatch_disable_automatic_menubuilding.patch = Disable winemenubuilder.exe, just to prevent automatic file associations.
- `custompatch_disable_automatic_menubuilding.patch` = Disable winemenubuilder.exe to prevent automatic file associations.
- custompatch_glsl_shader.patch = GLSL shaders patch for Wine.
- `custompatch_glsl_shader.patch` = GLSL shaders patch for Wine.
- custompatch_msi-add-dummyactionthreads.patch = Add MSI dummy actions since Wine lacks a proper implementation of MSI custom action server. See details [here](https://bugs.winehq.org/show_bug.cgi?id=18070)
- `custompatch_msi-add-dummyactionthreads.patch` = Add MSI dummy actions since Wine lacks a proper implementation of MSI custom action server. See details [here](https://bugs.winehq.org/show_bug.cgi?id=18070)
Basically, this patch helps you installing many useful programs on Wine which would otherwise be impossible.
- custompatch_photoshop_getticks_input.c.patch = Photoshop brush patch for Wine. Details [here](https://bugs.winehq.org/show_bug.cgi?id=29871)
- `custompatch_photoshop_getticks_input.c.patch` = Photoshop brush patch for Wine. Details [here](https://bugs.winehq.org/show_bug.cgi?id=29871)
- custompatch_photoshop_keepfocus_message.c.patch = Patch for keeping window focus while using Camera Raw plugin.
- `custompatch_photoshop_keepfocus_message.c.patch` = Patch for keeping window focus while using Camera Raw plugin.
- custompatch_photoshop_tooltip_win.c.patch = Patch for hovering Photoshop tooltip pop-ups.
- `custompatch_photoshop_tooltip_win.c.patch` = Patch for hovering Photoshop tooltip pop-ups.
Includes *install-wine-theme-to-polprefixes* subfolder which includes a script that changes theme for all existing PlayOnLinux wine prefixes automatically.
You can customize the script to suit your needs. The purpose of this script is to improve & automate management of multiple prefix themes.
Includes *install-wine-theme-to-polprefixes* subfolder which includes a script that changes theme for all existing PlayOnLinux wine prefixes automatically. You can customize the script to suit your needs. The purpose of this script is to improve & automate management of multiple prefix themes.
FORMAT: Arch Linux PKGBUILD script + patch files + PlayOnLinux script & files.
**FORMAT:** Arch Linux PKGBUILD script + patch files + PlayOnLinux script & files.
**wine-launcher-creator**
--------------
## [wine-launcher-creator](wine-launcher-creator)
A Python-based GUI for creating Wine application launchers/Desktop shortcuts.
FORMAT: Arch Linux PKGBUILD script + source archive.
**FORMAT:** Arch Linux PKGBUILD script + source archive.
**xclipshow**
--------------
## [xclipshow](xclipshow)
QT5 based program which shows information about the current clipboard content.
@ -467,32 +377,30 @@ Original program code & instructions here:
[Application that allows to show clipboard contents and its MIME type?](https://unix.stackexchange.com/questions/163081/application-that-allows-to-show-clipboard-contents-and-its-mime-type)
FORMAT: Arch Linux PKGBUILD script + source files.
**FORMAT:** Arch Linux PKGBUILD script + source files.
NOTE: This program is useful if used with a combination of commands. I tend to use the program to automate 'take a screenshot and paste it to Kolourpaint' process. To achieve my goal, I need Plasma 5 desktop environment + two additional command-line programs: loliclip & imagemagick.
**NOTE:** This program is useful for automating 'take a screenshot and paste it to Kolourpaint' process. To achieve this behavior, use Plasma 5 desktop environment + two additional command-line programs: loliclip & imagemagick.
For additional info and exact commands (and where to put them), please take a look into /xclipshow/printscreen file.
For additional info and exact commands (and where to put them), please take a look into [xclipshow/printscreen](xclipshow/printscreen) file.
**xephem**
--------------
## [xephem](xephem)
A Serious Interactive Astronomical Software Ephemeris.
Includes a custom desktop shortcut image & desktop shortcut which are not included in the AUR package.
Homepage:
### Homepage:
[XEphem](http://www.clearskyinstitute.com/xephem/)
FORMAT: Arch Linux PKGBUILD script + desktop shortcut + custom desktop shortcut image.
**FORMAT:** Arch Linux PKGBUILD script + desktop shortcut + custom desktop shortcut image.
**zsnes-netplay**
--------------
## [zsnes-netplay](zsnes-netplay)
ZSnes Nintendo SNES emulator for Linux. Netplay version.
Homepage:
### Homepage:
[ZSnes Emulator](http://www.zsnes.com/)
FORMAT: Arch Linux PKGBUILD script + source archive + patch files.
**FORMAT:** Arch Linux PKGBUILD script + source archive + patch files.

+ 0
- 122
dolphin/dolphin-media-autoplay-new-version.patch View File

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

+ 0
- 72
dolphin/media-autoplay-oldversion.patch View File

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

+ 0
- 49
kdegraphics-dreamdesktop/PKGBUILD View File

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

+ 0
- 11
kdegraphics-dreamdesktop/crashfix.patch View File

@ -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();

+ 0
- 17
mlv2dng/PKGBUILD View File

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

+ 0
- 19
plasma-workspace-wallpaper-video/PKGBUILD View File

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

+ 0
- 12
plasma-workspace-wallpaper-video/m3uwrapper.desktop View File

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

BIN
plasma-workspace-wallpaper-video/org.kde.video.tar.gz View File


BIN
plasma-workspace-wallpaper-video/org.kde.videoplaylist.tar.gz View File


+ 0
- 17
purple-whatsapp/.SRCINFO View File

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

+ 0
- 28
purple-whatsapp/PKGBUILD View File

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

+ 0
- 46
qnapi/PKGBUILD View File

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

+ 0
- 13
qnapi/defaultsublanguage.patch View File

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

BIN
qnapi/en.png View File

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

+ 0
- 2074
qnapi/languagefix.patch
File diff suppressed because it is too large
View File


+ 0
- 836
qnapi/multilang-implementation-draft/en.po View File

@ -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>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;QNapi is a program for automatic downloading and matching subtitles for movies. &lt;/p&gt;&lt;p&gt;The program is distributed under the GNU General Public License version second or later.&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://qnapi.github.io&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;http://qnapi.github.io&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;I thank all those who in any way supported the development of the project.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Select the subtitle which you want to adjust to the video file&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;film.avi&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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 &lt;b&gt;likely matching&lt;/b&gt; with your video highlighted with green.</string>
####################
#<widget class="QLabel" name="lbRedHint">
<string>Subtitles &lt;b&gt;likely not matching&lt;/b&gt; 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>

+ 0
- 902
qnapi/multilang-implementation-draft/frmoptions.ui View File

@ -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>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'DejaVu Sans';&quot;&gt;movie info&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;&lt;span style=&quot; font-family:'DejaVu Sans';&quot;&gt;synchro&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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>

+ 0
- 836
qnapi/multilang-implementation-draft/pl.po View File

@ -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>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;QNapi jest programem do automatycznego pobierania i dopasowywania napisów do filmów. &lt;/p&gt;&lt;p&gt;Program rozprowadzany jest na licencji GNU General Public License w wersji drugiej lub późniejszej.&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://qnapi.github.io&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;http://qnapi.github.io&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Dziękuję wszystkim osobom, które w jakikolwiek sposób wsparły rozwój projektu.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Z poniższej listy wybierz napisy, które chcesz dopasować do pliku&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;film.avi&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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 &lt;b&gt;prawdopodobnie&lt;/b&gt; pasujące do Twojego filmu.</string>
####################
#<widget class="QLabel" name="lbRedHint">
<string>Na czerwono podświetlono napisy &lt;b&gt;prawdopodobnie&lt;/b&gt; 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>

Loading…
Cancel
Save