267 Commits

Author SHA1 Message Date
Alexandre Arnt
0d98280272 - Bugfix in groups code. 2016-03-27 16:54:26 -03:00
Alexandre Arnt
9fa9190813 - Added ccr to getAUR URL code. 2016-03-27 12:36:15 -03:00
Alexandre Arnt
2557f971fe - Bugfix in url aur code. 2016-03-27 12:13:10 -03:00
Alexandre Arnt
fa3b31a7ac - Bugfix in url show code. 2016-03-27 12:07:42 -03:00
Alexandre Arnt
4454ed520f - Add AUR pkg URL information at Info tab. 2016-03-27 11:59:13 -03:00
Alexandre Arnt
3fabfcda1c - BugFix: Whenever a pkg is called "sh" in optional list, let's anchor
it to "bash".
2016-03-27 10:55:03 -03:00
Alexandre Arnt
6e0debe014 - Bugfixes in groups code. 2016-03-27 10:06:17 -03:00
Alexandre Arnt
739c336a78 - Removed useless code. 2016-03-27 09:04:22 -03:00
Alexandre Arnt
96b06ca89f - Bugfix in toolbutton code. 2016-03-27 08:52:33 -03:00
Alexandre Arnt
002b207fcc - Let's refresh AUR tool button just in the main package list screen. 2016-03-27 08:07:44 -03:00
Alexandre Arnt
6034fc7ac9 - Optimize code. 2016-03-26 12:16:58 -03:00
Alexandre Arnt
d45645bb7c - Bugfix in buildPackageList. 2016-03-26 12:12:36 -03:00
Alexandre Arnt
c0bed628d2 - BugFix in pkglist method. 2016-03-26 12:09:26 -03:00
Alexandre Arnt
742ce81bce - Package list now also preserves sort column and sort order while in
AUR/KCP/CCR mode.
2016-03-26 11:19:19 -03:00
Alexandre Arnt
9596adc9c3 - Bugfix to comply to new pacaur tool;
- Preparation for release.
2016-03-25 23:06:00 -03:00
Alexandre Arnt
28a7f96f78 - Added <F2> shortcut to focus package list. 2016-03-25 20:00:21 -03:00
Alexandre Arnt
89de8dcc62 - Fixed a crash in anchor click while package list did not have focus. 2016-03-25 18:39:44 -03:00
Alexandre Arnt
1115b0e345 - BugFix: When user commits a transaction, commit and cancel buttons
must get disabled.
2016-03-24 20:23:58 -03:00
Alexandre Arnt
ed557f5677 - Use DELETE key to remove pkgs. 2016-03-24 19:34:51 -03:00
Alexandre Arnt
8573e748c2 - Added a shortcut to repoeditor. 2016-03-20 18:29:28 -03:00
Alexandre Arnt
76df1ffb28 - Added shortcuts to some tools. 2016-03-20 12:29:38 -03:00
Alexandre Arnt
ac922ca980 - Small fixes. 2016-03-20 10:43:36 -03:00
Alexandre Arnt
4922e18a1a - Pressing <ENTER> or <RETURN> key on package list triggers package
actions.
2016-03-20 10:31:22 -03:00
Alexandre Arnt
d3c89e293b - Make Octopi more keyboard friendly;
- Some refactorings.
2016-03-20 00:04:21 -03:00
Alexandre Arnt
66fd0746ba - Forgot header info. 2016-03-12 19:05:05 -03:00
Alexandre Arnt
2e45b25cc6 - Refactor in debug mode. 2016-03-12 19:02:49 -03:00
Alexandre Arnt
390cfdc1c5 - Refactoring in remove AUR pkg in a kcp environment. 2016-03-12 18:11:01 -03:00
Alexandre Arnt
3bfa9a1c09 - BugFix: removing AUR pkgs with ccr and kcp were buggy. 2016-03-12 17:37:11 -03:00
Alexandre Arnt
97e63a7b2a - Warn for plasma5 systems using notifier code. 2016-03-12 12:20:20 -03:00
Alexandre Arnt
881b80ad1e - Enhance debugmode output. 2016-03-12 11:54:50 -03:00
Alexandre Arnt
dd09f19d8a - Stop using 'notify-send' in octopi-notifier: the era of annoying
notifiers is over;
- Updated translations.
2016-03-12 10:23:43 -03:00
Alexandre Arnt
1829a288be - Back to defaulting to qt4 for notifier (PKGBUILD). 2016-03-03 17:22:42 -03:00
Alexandre Arnt
aeddfc5816 - Tries to keep notifier compatible with Qt4 libs. 2016-03-03 17:10:04 -03:00
Alexandre Arnt
d1c52c07f1 - Tries to keep notifier compatible with Qt4. 2016-03-03 17:06:17 -03:00
Alexandre Arnt
5a27a68d29 - Use only Qt5 in PKGBUILD. 2016-03-03 15:48:09 -03:00
Alexandre Arnt
2c629c7fcc - BugFix in cache cleaner .pro file. 2016-03-03 14:31:32 -03:00
Alexandre Arnt
f34408cf11 - OutputDialog: first add progressBar. 2016-03-03 12:27:39 -03:00
Alexandre Arnt
e3ccd48c17 - BugFix in get AUR pkg list. 2016-03-03 12:00:45 -03:00
Alexandre Arnt
9827c4231a - BugFix in Get AUR package list. 2016-03-03 11:53:47 -03:00
Alexandre Arnt
9765d48bda - BugFix in makeAnchorOfPackage code. 2016-03-03 11:32:26 -03:00
Alexandre Arnt
b459545aa2 - Refactor to make code generic. 2016-03-03 10:41:57 -03:00
Alexandre Arnt
63cf13150a - Fix in action code. 2016-03-02 21:29:40 -03:00
Alexandre Arnt
e7dddc4b65 - BugFix: test action before seting value. 2016-03-02 21:24:44 -03:00
Alexandre Arnt
2214b1ea40 - Fix outputdialog code. 2016-03-02 18:37:11 -03:00
Alexandre Arnt
92bab445f4 - Missed command execute flag. 2016-03-02 18:18:39 -03:00
Alexandre Arnt
8cc5ef5b76 - Fix slot parameter. 2016-03-02 18:11:02 -03:00
Alexandre Arnt
e034267666 - BugFix in slot parameter. 2016-03-02 18:08:15 -03:00
Alexandre Arnt
71bb830f46 - BugFix in slot parameters. 2016-03-02 18:06:10 -03:00
Alexandre Arnt
0504431389 - Forgot to lock notifier interface... 2016-03-02 18:01:47 -03:00
Alexandre Arnt
9709ce3486 - BugFix in notifier code. 2016-03-02 17:43:34 -03:00
Alexandre Arnt
db87a8f904 - Changed some headers. 2016-03-02 17:35:01 -03:00
Alexandre Arnt
559c025832 - Fix. 2016-03-02 17:02:37 -03:00
Alexandre Arnt
f0af41bfb3 - Add another include. 2016-03-02 17:00:21 -03:00
Alexandre Arnt
28560aca23 - Those files missed default project header. 2016-03-02 16:06:26 -03:00
Alexandre Arnt
08a62b466a - Updated translations. 2016-03-02 15:57:51 -03:00
Alexandre Arnt
f1ef4fa4c0 - Oooops :-) 2016-03-02 15:52:22 -03:00
Alexandre Arnt
93cc403567 Merge branch 'master' of https://github.com/aarnt/octopi 2016-03-02 15:50:32 -03:00
Alexandre Arnt
800cd164e8 - Major refactoring: Decoupling of Pacman executor and parser code from
the UI as well as SearchBar slots for QTextBrowser objects;
- Added an output dialog to notifier, so users can do a system upgrade
without a terminal.
2016-03-02 15:50:06 -03:00
Alexandre Arnt
0c1deb4c22 - Major refactoring: Decoupling of Pacman executor and parser code from
the UI as well as SearchBar slots for QTextBrowser objects;
- Added an output dialog to notifier, so users can do a system upgrade
without a terminal.
2016-03-02 15:47:08 -03:00
Alexandre Arnt
d81bf0e28d - spaces... 2016-03-01 19:02:35 -03:00
Alexandre Arnt
8344157840 - BugFix: When you were searching for a pkg and the Files tab was
selected, focus got lost;
- BugFix: Package dependencies with >, <, =, >= and <= signals were not
clickable in Info tab;
- Major refactoring: Decoupling of Pacman executor and parser code from
the UI.
2016-03-01 19:01:04 -03:00
Alexandre Arnt
a114840c3c - BugFix: When there's a pkg change outside Octopi, we trigger a flag to
refresh the lists.
2016-02-28 18:16:17 -03:00
Alexandre Arnt
d360d3a150 - Updated translation. 2016-02-28 14:31:37 -03:00
Alexandre Arnt
17fa8e7c04 - Updated translations. 2016-02-27 19:07:26 -03:00
Alexandre Arnt
6c0d32b401 - BugFix: Do not permit two or more octopi instances if one is in root
mode.
2016-02-27 15:37:56 -03:00
Alexandre Arnt
1a6f05a107 - Adjusted notifier to handle 1 month check intervals. 2016-02-27 15:22:18 -03:00
Alexandre Arnt
7002ed6471 - BugFix in run with root mode;
- BugFix: Got rid of that annoying ampersand in mainwindow.ui.
2016-02-27 15:02:30 -03:00
Alexandre Arnt
6d20a2817b - BugFix: Tab files was not refreshing when enabling KCP mode in KaOS. 2016-02-26 19:31:23 -03:00
Alexandre Arnt
6137cd17c7 - Added an entry for Mirror-check in Tools menu. 2016-02-26 17:55:44 -03:00
Alexandre Arnt
ceb8afca9f - Added an entry for Mirror-check in File menu;
- Added "pkgfile -u" (if available) in sync db transaction.
2016-02-26 16:57:16 -03:00
Alexandre Arnt
36c68e9567 - BugFix: Distro news now works with https KaOS site. 2016-02-25 16:48:42 -03:00
Alexandre Arnt
d1515168a5 - Updated README.md file. 2016-02-07 15:44:15 -02:00
Alexandre Arnt
2f32ea859f - Removed mirror-check from Chakra. 2016-02-06 18:16:39 -02:00
Alexandre Arnt
402bc37847 - Added Calamares install log when in KaOS. 2016-02-06 17:47:30 -02:00
Alexandre Arnt
34b2dcfec6 - BugFix: simplified chinese translation. 2016-02-06 17:36:49 -02:00
Alexandre Arnt
4d89648fe5 - Added Simplified Chinese translation. 2016-02-06 17:11:33 -02:00
Alexandre Arnt
55199bce21 Merge pull request #149 from philmmanjaro/master
Add lxqt-sudo support
2016-02-06 16:41:54 -02:00
Philip
9a1ebdbca7 lxqt-sudo support
add a method to retrieve lxqt-sudo used with su backend

Signed-off-by: udeved <artoo@manjaro.org>
Signed-off-by: philm <philm@manjaro.org>
2016-01-06 09:11:52 +01:00
Alexandre Arnt
e6fdecb6e3 - New dev cycle begins... 2015-11-14 12:07:51 -02:00
Alexandre Arnt
a32aef964a - Updated CHAKRA RSS site (thanks to s8321414). 2015-11-14 12:03:42 -02:00
Alexandre Arnt
5abb0fca0f - Bumped version number in PKGBUILD. 2015-11-08 20:20:40 -02:00
Alexandre Arnt
ef6ee413b9 - Preparing for 0.8 release;
- Updated README.md.
2015-11-08 20:05:29 -02:00
Alexandre Arnt
a9be6dc995 - Updated README.md. 2015-11-08 19:40:43 -02:00
Alexandre Arnt
bfc5bb9a6b - Updated README.md. 2015-11-08 19:39:17 -02:00
Alexandre Arnt
46241ebccc - Updated README.md. 2015-11-08 19:25:29 -02:00
Alexandre Arnt
38975b4531 - Updated README.md. 2015-11-08 19:23:25 -02:00
Alexandre Arnt
80ef8f064f - README.md updated. 2015-11-08 19:18:11 -02:00
Alexandre Arnt
5de95c83d8 - Changed README to MD style. 2015-11-08 18:09:42 -02:00
Alexandre Arnt
2a944d31b9 - Changes in gitignore. 2015-11-08 18:04:53 -02:00
Alexandre Arnt
7e2cdc3f55 - Added a .gitignore file. 2015-11-08 17:50:19 -02:00
Alexandre Arnt
380fbec59e Merge branch 'master' of https://github.com/aarnt/octopi 2015-11-08 17:39:37 -02:00
Alexandre Arnt
f153e9e781 - Updated translations. 2015-11-08 17:38:54 -02:00
Alexandre Arnt
55f63bc616 - Updated translations. 2015-10-27 22:24:42 -02:00
Alexandre Arnt
28ce6706ca Merge pull request #140 from pmattern/notif-desktop
Octopi notifier: improve integration into LXQt
2015-10-20 11:39:08 -02:00
Alexandre Arnt
12ba6a089f - Fix in tab files refresh at startup. 2015-10-19 23:14:14 -02:00
Peter Mattern
ea65987f4e Octopi notifier: improve integration into LXQt
adds a key needed to make Octopi notifier work reliably in plugin-statusnotifier of LXQt
2015-10-18 21:51:36 +02:00
Alexandre Arnt
c5f56cc94f - BugFix in AUR refresh repository code. 2015-10-14 21:39:30 -03:00
Alexandre Arnt
0c74815c91 - Small code refactorings. 2015-10-14 21:25:39 -03:00
Alexandre Arnt
6cfb78a8e0 - Updated translations. 2015-10-13 22:41:46 -03:00
Alexandre Arnt
d5ba6cb44b - BugFix: Speed optimizations in startup code (AUR outdated list). 2015-10-13 00:46:54 -03:00
Alexandre Arnt
7d954d324c - Fish shell fixes. 2015-10-10 12:31:24 -03:00
Alexandre Arnt
3989f56ea0 - Trying to make Octopi fish-compatible... 2015-10-04 18:11:14 -03:00
Alexandre Arnt
5de6a1b1f6 - BugFix: "Clear" tooltip was not showing in lineedit when in plasma
desktop.
2015-10-04 11:17:52 -03:00
Alexandre Arnt
63ba41c31e - Yaourt compatibility bugfix. 2015-10-04 10:25:57 -03:00
Alexandre Arnt
4bc105c068 - BugFix: Octopi now honors the $SHELL variable (thanks to LAC1213). 2015-10-03 20:40:52 -03:00
Alexandre Arnt
21f20d0115 Merge pull request #136 from LAC1213/master
Close Issue #92
2015-10-04 09:40:31 -03:00
Alexandre Arnt
e0f818a8f7 - Removed ugly color change in URLs. 2015-10-03 15:22:12 -03:00
Alexandre Arnt
e96950a5fc - Updated translations;
- Fixes in SysInfo code.
2015-10-03 15:13:19 -03:00
Alexandre Arnt
635287d3e1 Merge pull request #137 from phoewass/bug/get-outdated-aur-packages
BugFix: getAUROutdatedPackagesNameVersion wrong behaviour with yaourt
2015-10-03 15:12:25 -03:00
Wassim
a0cbdc8ca3 BugFix: getAUROutdatedPackagesNameVersion wrong behaviour with yaourt
The issue results in AUR toolButton showing 0 packages, wrong "Outdated version" and *no* "Available version" in output tab.
"""yaourt -Qua""" yields something like this: aur/package-name 1.0.2-2 -> 1.0.3-1
2015-10-02 01:18:16 +02:00
Wassim
af0004de87 Merge pull request #1 from aarnt/master
Sync with aarnt/octopi
2015-10-02 01:04:10 +02:00
LAC1213
d7d754775f remove swap files 2015-09-27 01:25:27 +02:00
LAC1213
ad2246d440 look up $SHELL environment variable instead of using bash when running commands in terminal 2015-09-27 01:20:26 +02:00
Alexandre Arnt
44d2c5c6f7 - Removed QT_VERSION swtich code from searchlineedit;
- Reverted code change in doInstall() for running inside terminals.
2015-09-26 18:27:03 -03:00
Alexandre Arnt
76a97eaa32 Merge pull request #133 from LAC1213/master
use sudo when running command in terminal
2015-09-26 18:08:45 -03:00
Alexandre Arnt
33190350e1 - BugFix: Added option to search files with "\+" (escaping the plus
sign). This would find things such    as C++ => "c\+\+" (thanks to
maxis11).
2015-09-26 18:00:36 -03:00
Alexandre Arnt
1212ad3ac9 - Obfuscation in <HOSTNAME> and <HOME_PATH> outputs of SysInfo;
- Updated translations.
2015-09-26 17:49:08 -03:00
Alexandre Arnt
29e7f4bb70 - Updated translations. 2015-09-20 16:46:28 -03:00
Alexandre Arnt
3b196a5253 Merge branch 'master' of https://github.com/aarnt/octopi 2015-09-17 22:21:31 -03:00
Alexandre Arnt
109b7f1ad7 - Updated translation. 2015-09-17 22:20:56 -03:00
LAC1213
1059921827 use sudo when running command in terminal 2015-09-17 20:34:34 +02:00
Alexandre Arnt
02a4df3729 - BugFix: Outdated AUR pkgs were not showing outdated versions
correctly, when using "yaourt" tool.
2015-09-13 18:31:59 -03:00
Alexandre Arnt
1920d511f1 - Updated translations. 2015-09-13 12:14:20 -03:00
Alexandre Arnt
54beab98db - Updated translation. 2015-09-07 18:42:21 -03:00
Alexandre Arnt
e811845fd7 - Updated translations. 2015-09-07 18:17:12 -03:00
Alexandre Arnt
fa6e945e67 - Updated translations. 2015-09-07 18:10:35 -03:00
Alexandre Arnt
3ae05a4518 - Updated translations. 2015-09-07 17:48:15 -03:00
Alexandre Arnt
aa623c94ad - Updated translations;
- Added 'kcp --information' to a separate thread.
2015-09-07 16:04:30 -03:00
Alexandre Arnt
8168a0ed56 - Updated translations. 2015-09-07 12:39:17 -03:00
Alexandre Arnt
32a5287a98 - Updated 8 translations! 2015-09-07 09:44:28 -03:00
Alexandre Arnt
8e6409e7f2 - Removed debug code from class Package. 2015-09-06 18:43:27 -03:00
Alexandre Arnt
32286dc736 - Added support to "kcp --information" at Info tab. 2015-09-05 19:34:55 -03:00
Alexandre Arnt
59b945ea4c - Updated translations. 2015-09-05 16:48:57 -03:00
Alexandre Arnt
fb4755d10f - Now tab Files shows a progressbar while building the list of files. 2015-08-15 18:02:45 -03:00
Alexandre Arnt
a0ec3a2b2c - Upgraded translation;
- BugFix: A wrong index number was taken when parsing the output of
yaourt -Qua (thanks to jdelmas).
2015-08-15 17:42:56 -03:00
Alexandre Arnt
f9fb3b86aa - Added green font color to mirror check output (synced repos). 2015-08-09 17:12:51 -03:00
Alexandre Arnt
05bb8acb6c Merge branch 'master' of https://github.com/aarnt/octopi 2015-08-09 16:51:37 -03:00
Alexandre Arnt
0cb937d6b3 - BugFix: No columns warning while executing actions inside Octopi
(thanks to flying-sheep).
2015-08-09 16:51:15 -03:00
Alexandre Arnt
08c392a4c1 Merge pull request #126 from jdelmas/master
BugFix: In Cinnamon, gnome-terminal wasn't handled properly causing Xterm to be used as a fallback.
2015-08-09 12:29:50 -03:00
Jean Delmas
0eb06cebd6 BugFix: In Cinnamon, gnome-terminal wasn't handled properly causing Xterm to be used as a fallback. 2015-08-09 16:49:51 +02:00
Alexandre Arnt
b486e9a091 - Updated translations. 2015-08-09 11:11:13 -03:00
Alexandre Arnt
2ee166c9b7 - BugFix: Transaction dialog can now be resized and new value is
persisted on disk;
- Updated translations.
2015-08-01 09:26:24 -03:00
Alexandre Arnt
3906d74396 - BugFix: TransactionDialog can now be resized;
- Yellow notifier icon tooltip now displays Foreign repo tool name;
- Updated translations.
2015-07-22 21:54:11 -03:00
Alexandre Arnt
67a6603c4c Merge pull request #123 from flying-sheep/patch-1
Don’t constrain dialog size needlessly
2015-07-21 12:57:36 -03:00
Philipp A.
54c8eb676b Don’t constrain dialog size needlessly 2015-07-21 17:45:44 +02:00
Alexandre Arnt
6df0f8a03d - BugFix: If user refused to remove pacman's lock file, commands should
be canceled!
2015-07-12 18:32:44 -03:00
Alexandre Arnt
78640ff72f - Updated translations. 2015-07-12 17:30:42 -03:00
Alexandre Arnt
b8e662c7d2 - Updated CHANGELOG file. 2015-07-12 16:56:55 -03:00
Alexandre Arnt
7954e39ad9 - Removed Qt4 compatibility from cachecleaner and repoeditor
subprojects.
2015-07-12 16:23:49 -03:00
Alexandre Arnt
ea5caa0ea3 - Updated translations. 2015-07-12 16:16:51 -03:00
Alexandre Arnt
0e215b619b - Added Parabola GNU/Linux-libre support (thanks to coadde). 2015-07-11 18:13:51 -03:00
Alexandre Arnt
fb0320a395 - Updated some translations. 2015-07-09 22:52:27 -03:00
Alexandre Arnt
236fafa8b2 - Added galician translation (thanks to Ismael Ordóñez) and updated
others.
2015-07-09 22:19:58 -03:00
Alexandre Arnt
f0d95aeabe - Fixed Copyright issue with Pacman help/about string. 2015-07-05 16:10:22 -03:00
Alexandre Arnt
d9848f6b13 - BugFix: When user closed searchbar inside a QTextBrowser, cursor
position was reseted.
2015-07-05 13:48:00 -03:00
Alexandre Arnt
8b6455b92f - Updated translations. 2015-07-04 20:00:45 -03:00
Alexandre Arnt
61e4c631be - When outdated packages are printed at Output tab, you can see their
information just hovering the mouse over them;
- At Info tab, packages in "depends On" field are shown as clickable
anchors;
- Information tab now supports "ctrl+F" searching;
- Help/About dialog now shows Pacman information.
2015-07-04 19:53:16 -03:00
Alexandre Arnt
9c66c2c0f4 - BugFix for compilation in Qt 5.5 systems. 2015-06-27 17:42:35 -03:00
Alexandre Arnt
6a51980b4c - BugFix: If user tried to sync db with kdesu and clicked "ESC", some
garbage went to Output tab.
2015-06-27 12:27:17 -03:00
Alexandre Arnt
5d38bb56ad - BugFix: In some very specific situations Info tab did not refresh info
of selected package;
- StatusBar msg got updated with number of selected packages more
visible;
- Updated pt_BR translation.
2015-06-27 10:53:58 -03:00
Alexandre Arnt
ab6ed11e56 - Updated translations and initialization code fix (thanks to offa). 2015-06-10 17:31:40 -03:00
Alexandre Arnt
cd8837cef3 Merge pull request #114 from offa/code_tweak
Code tweak
2015-06-10 17:21:25 -03:00
offa
169ea13eba Memberinitialisation changed to init-list. 2015-06-10 11:52:16 +02:00
Alexandre Arnt
68a96a7118 - BugFix: Package counters were not zeroing when searches found no
results.
2015-06-09 11:03:15 -03:00
Alexandre Arnt
737cc611c6 - Fixes in remove method call. 2015-06-07 20:29:48 -03:00
Alexandre Arnt
bffb34a7d8 - Added bugfix code from "phoewass";
- Updated some translations.
2015-06-03 21:25:29 -03:00
Alexandre Arnt
874b4ca57a Merge pull request #113 from phoewass/patch-1
BugFix: Crash when UnixCommand::getPackageList doesn't yield results
2015-06-03 21:00:35 -03:00
Wassim
b0db738663 BugFix: Crash when UnixCommand::getPackageList doesn't yield results
This bug happens when UnixCommand::getPackageList retruns
an empty QString after running pacman command.
2015-05-28 02:02:56 +02:00
Alexandre Arnt
b9d40becde - Updated portuguese translations. 2015-05-16 17:47:19 -03:00
Alexandre Arnt
e01f58d7ee - BugFix: Sync Interval dialog was not showing strings in some
languages.
2015-05-12 20:50:49 -03:00
Alexandre Arnt
43b75264f5 BugFix: Qt4 translation issues at menubar. 2015-04-27 20:05:43 -03:00
Alexandre Arnt
f17ee4f211 - Fix an Octopi compile bug with Qt4 libs. 2015-04-25 19:21:46 -03:00
Alexandre Arnt
9b85932c0e - Added space chars to filter line edit widget. 2015-04-25 18:06:40 -03:00
Alexandre Arnt
acdd152437 - Trying to get a translated SU dialog... 2015-04-25 17:17:15 -03:00
Alexandre Arnt
ecd6701de0 - Release prep... 2015-04-25 16:33:37 -03:00
Alexandre Arnt
f5edc8bf69 - Some changes in notifier (-d switch);
- Updated asturian translation.
2015-04-25 10:42:21 -03:00
Alexandre Arnt
4bc88b8502 - Added a "-d" switch to octopi to show some debug info (speed related). 2015-04-18 02:41:24 -03:00
Alexandre Arnt
3eb3836f94 - Size fix in head command. 2015-04-18 02:20:34 -03:00
Alexandre Arnt
d61ecd533d - Fixed refreshTools method. 2015-04-18 01:49:27 -03:00
Alexandre Arnt
9e27bcb1de - Tools menu refresh code. 2015-04-18 01:39:33 -03:00
Alexandre Arnt
045c17b5e2 - Restrict pacman.log output to the first 256K while not in KaOS. 2015-04-18 00:47:13 -03:00
Alexandre Arnt
b7f1931ce3 - Removed some color codes from pacaur output. 2015-04-18 11:32:02 -03:00
Alexandre Arnt
1a288a3461 - Updated turkish translation. 2015-04-17 20:36:23 -03:00
Alexandre Arnt
82cffd10ab - Now Package treeview columns get their widths saved. 2015-04-10 09:09:08 -03:00
Alexandre Arnt
42f9042c0c - BugFix: Use user language in SU dialog while in CacheCleaner. 2015-04-09 23:17:40 -03:00
Alexandre Arnt
4ce02a273a - Removed another annoying string in parser;
- Present SU dialog in user's language when Ctrl+Shif+C.
2015-04-09 22:53:39 -03:00
Alexandre Arnt
71a3244ff6 - Updated translations. 2015-04-08 21:47:30 -03:00
Alexandre Arnt
8d2ac9ab47 - Reenabled Pacaur support. 2015-04-08 21:45:25 -03:00
Alexandre Arnt
2a6e5c639f - BUGFIX: description of foreign pkgs were not being shown in dependency
pkgs removal dialog (thanks to FadeMind);
- Updated translations.
2015-04-06 20:06:40 -03:00
Alexandre Arnt
6f82d23d5c - Updated hebrew translation. 2015-03-31 22:29:10 -03:00
Alexandre Arnt
8829e2cf74 - Updated translations. 2015-03-24 21:03:26 -03:00
Alexandre Arnt
454be62345 - Added 'gist' in optdeps. 2015-03-24 17:31:14 -03:00
Alexandre Arnt
ea99a38f65 Merge pull request #90 from offa/some_codeimprovements
Thanks!
2015-03-24 17:23:19 -03:00
Alexandre Arnt
fecca49bfd - Added "pacman -Qm" to SysInfo. 2015-03-24 17:21:19 -03:00
offa
dcaf8dffba Missing inits added to ctor's. 2015-03-24 20:46:57 +01:00
offa
7c1a16f9e1 More efficient iterator increment. 2015-03-24 20:35:15 +01:00
offa
16fbcb820c The value of n is always != 1 if it's > 1380. 2015-03-24 20:26:54 +01:00
Alexandre Arnt
297129490a - Changed SysInfo commands. 2015-03-24 13:34:54 -03:00
Alexandre Arnt
8ea872b5de - Had to remove ampersand texts manually as Qt Designer insists on
putting them in menus and action texts.
2015-03-24 13:26:35 -03:00
Alexandre Arnt
0cce7fbe50 - Added "uname -a" to SysInfo;
- Made SysInfo available in all distros.
2015-03-24 12:41:20 -03:00
Alexandre Arnt
dec80408b0 - Added "/etc/KaOS-release" to SysInfo. 2015-03-24 11:04:28 -03:00
Alexandre Arnt
39a10b79c1 - Added SysInfo to Tools menu;
- Updated translation.
2015-03-24 10:22:52 -03:00
Alexandre Arnt
8550919a11 - Generate a system info report if "gist" is available in KaOS;
- Updated translation.
2015-03-23 22:10:02 -03:00
Alexandre Arnt
011b335bc7 - Gets the pkg file list from another thread. 2015-03-23 17:48:25 -03:00
Alexandre Arnt
00f4cab3c2 - Updated translations. 2015-03-23 13:26:25 -03:00
Alexandre Arnt
de9636e78b - Updated CHANGELOG. 2015-03-22 16:11:34 -03:00
Alexandre Arnt
c0f70009ab - BugFix: Sometimes downloaded and installed size information were in
KiB, instead of MiB;
- Updated translations.
2015-03-22 15:42:41 -03:00
Alexandre Arnt
343f70f899 BugFix: description tooltips of foreign pkgs were not showing. 2015-03-22 14:04:09 -03:00
Alexandre Arnt
7c46f29e53 - Updated german translation. 2015-03-22 13:41:56 -03:00
Alexandre Arnt
ecabd0ef99 - Updated german translation (thanks to Gyges). 2015-03-22 12:57:26 -03:00
Alexandre Arnt
dee0487534 - BugFix: Changes in the getFieldFromPacmanConf code. 2015-03-22 10:47:05 -03:00
Alexandre Arnt
d866675bde - BugFix: SetupDialog selection code and UI. 2015-03-20 21:49:23 -03:00
Alexandre Arnt
027cb325b4 Merge branch 'master' of https://github.com/aarnt/octopi 2015-03-21 10:49:21 -03:00
Alexandre Arnt
fff446709a - Updated translations. 2015-03-21 10:48:58 -03:00
Alexandre Arnt
1e98aa8bf4 - Updated translation;
- Fix in buggy string that could pop into sync db.
2015-03-20 15:38:27 -03:00
A
5e7853eb35 - BugFix: toggle setInterval action as well. 2015-03-13 22:27:29 -03:00
A
d1a443526c - Added SetupDialog layout managers. 2015-03-13 22:01:35 -03:00
Alexandre Arnt
457c317139 - It's better to default to a Qt4 build for notifier in case of non KDE
systems;
2015-03-13 03:27:24 -03:00
Alexandre Arnt
28d5e29388 - Updated translations. 2015-03-13 03:11:01 -03:00
Alexandre Arnt
0c97a21a45 - Minimum minutes interval is 5;
- Updated translations.
2015-03-19 22:12:08 -03:00
Alexandre Arnt
2cc070a4e1 - Updated translations. 2015-03-19 21:40:28 -03:00
Alexandre Arnt
e699035f62 - Another string in SetupDialog. 2015-03-19 21:29:12 -03:00
Alexandre Arnt
7fba0a27fa - Updated translations. 2015-03-19 21:17:32 -03:00
Alexandre Arnt
9cbd325a71 - More strings to notifier setup dialog. 2015-03-19 21:05:16 -03:00
Alexandre Arnt
cd7450e6f6 - Add a notifier setup dialog to set "sync database" interval. 2015-03-19 20:41:14 -03:00
Alexandre Arnt
be4d2dcbb4 - Updated translation. 2015-03-18 17:51:46 -03:00
Alexandre Arnt
724b84f19e Updated translations 2015-03-18 13:33:42 -03:00
Alexandre Arnt
73b684d231 - BugFix: removed some annoying fontconfig warning. 2015-03-17 22:51:38 -03:00
Alexandre Arnt
45427b66e6 - Reverted an UI buggy change. 2015-03-17 15:51:07 -03:00
Alexandre Arnt
809ab326c0 - BugFix: AUR list was not honoring View menu changes. 2015-03-17 12:42:28 -03:00
Alexandre Arnt
81442491e3 - mirrorCheck() was commented :-) 2015-03-16 23:17:18 -03:00
Alexandre Arnt
84feaa08ac - BugFix: No more horizontal scrollbar in AUR mode. 2015-03-16 23:14:13 -03:00
Alexandre Arnt
27e33704f1 - Updated bulgarian translation. 2015-03-16 21:28:15 -03:00
Alexandre Arnt
66cf5dad0b - BugFix: compilation error in notifier (thanks to UndeadKernel and
FadeMind).
2015-03-16 21:25:38 -03:00
Alexandre Arnt
ff206fa18f - Some refactorings;
- BugFix: AUR outdated icon must honor IgnorePkg.
2015-03-16 18:47:53 -03:00
Alexandre Arnt
8781b20696 fix in toggle buttons code 2015-03-16 11:47:05 -03:00
Alexandre Arnt
6e64544c25 - BugFix: When a transaction is available, disable sync pkg and system
upgrade, as well as mirror-check and AUR mode;
- BugFix: Repository column would get wider after switching from AUR
mode.
2015-03-13 00:57:02 -03:00
Alexandre Arnt
a1a3d62813 - All qt5 dependencies can be brought up by that one: qt5-quickcontrols. 2015-03-12 22:18:20 -03:00
Alexandre Arnt
769835484e - SearchBar now reacts to an ENTER or RETURN key press to search for
next found item.
2015-03-12 21:51:31 -03:00
A
a0a554d76e - It's better to disable repoeditor while in a pacman "transaction". 2015-03-13 18:41:14 -03:00
Alexandre Arnt
79445660ba - Disable cachecleaner in menu while in a pacman transaction,
- Updated german translation.
2015-03-13 15:58:02 -03:00
Alexandre Arnt
9fee78dcc2 - Tries to refresh events when we are updating pkg list after a pacman
command that changed it;
- Some refactorings;
- Updated translations.
2015-03-13 14:43:59 -03:00
Alexandre Arnt
2f0db01266 - Updated romanian translation. 2015-03-12 21:38:36 -03:00
Alexandre Arnt
96b475a6ac - Added Systemd's "octopi.service" to speed up the very first Octopi
startup time.
2015-03-12 21:16:39 -03:00
A
b29acff5f9 - Had to serialize first two QFuture calls to avoid a segfault due to a
null pointer read.
2015-03-12 18:39:41 -03:00
Alexandre Arnt
029aa42073 - Another time mesurement. 2015-03-11 22:04:01 -03:00
A
a604cd5fff - Trying to hunt down a segfault at startup. 2015-03-11 23:02:41 -03:00
Alexandre Arnt
72788fc7df - parenthesis for clarity... 2015-03-12 14:59:21 -03:00
Alexandre Arnt
9c16ff387d - BugFix: outdated foreign packages were not being marked in the main
list;
- Some refactorings.
2015-03-12 14:42:39 -03:00
Alexandre Arnt
5421bf328c - Reverting a small change... 2015-03-11 21:15:16 -03:00
Alexandre Arnt
030d646673 - BugFix: If user had no gksu/kdesu/root when clicking "clean" button in
cachecleaner, cursor would remain waiting (thanks to imperator-);
- More time measurements.
2015-03-11 21:08:21 -03:00
Alexandre Arnt
05221396cf - BugFix: F3 and Shift+F3 keys at SearchBar were not working;
- Removed the eventfilter.
2015-03-11 18:06:15 -03:00
Alexandre Arnt
b47678f14b - Using some QFutures to speed up startup time;
- Updated translations;
- Some naming refactorings.
2015-03-11 16:50:20 -03:00
A
14d9f45dff - Disabled "View/Repository/kcp" menu item in KaOS. 2015-03-10 21:40:38 -03:00
Alexandre Arnt
c1a0e57aed - Updated translations. 2015-03-10 20:14:18 -03:00
Alexandre Arnt
2a78942c0b - new resource icon. 2015-03-10 18:18:57 -03:00
Alexandre Arnt
a1c6a7a183 - Added "Copy path to clipboard" context menu option in file list
treeview;
- Toolbar now shows AUR tool button instead of a fake pacman group;
- BugFix: Search by name was not being used after reverting from AUR
search.
2015-03-10 18:16:29 -03:00
Alexandre Arnt
b7d127e479 - Toolbar now shows AUR tool button instead of a fake pacman group;
- BugFix: Search by name was not being used after reverting from AUR
search.
2015-03-10 16:23:01 -03:00
Alexandre Arnt
f5c2acd391 - Bunch of refactorings;
- Updated italian translation.
2015-03-10 10:20:54 -03:00
Alexandre Arnt
eb07995085 - Count miliseconds in pkg list building. 2015-03-10 09:45:15 -03:00
Alexandre Arnt
42f0feee7b - Trying to get rid of buildPackageList(false) calls. 2015-03-10 09:30:33 -03:00
Alexandre Arnt
8199bdeb42 - Remove "Yes" button from transaction dialog, everytime 'pacman' is one
of the target packages.
2015-03-09 14:56:24 -03:00
Alexandre Arnt
5fcb1bd7c4 - Now pacman.conf's "IgnoreGroup" option is honored;
- Some refactorings.
2015-03-08 19:20:36 -03:00
Alexandre Arnt
cce3c0b331 - Progressbar again shows pkg list creation. 2015-03-08 17:41:15 -03:00
Alexandre Arnt
c7ee993741 - BugFix: Filter connect chain bug decreased filter's performance over
time.
2015-03-08 16:18:58 -03:00
Alexandre Arnt
69d4d558c0 - Updated translations. 2015-03-08 12:01:38 -03:00
Alexandre Arnt
54f31695ab - Begin of 0.6.1 dev cycle;
- Major speed fix: Faster pkg list building;
- Reverted to showing ALL packages at startup.
2015-03-08 11:28:13 -03:00
264 changed files with 25879 additions and 7679 deletions

9
.gitignore vendored Normal file
View File

@@ -0,0 +1,9 @@
Makefile
bin/**
build/**
cachecleaner/bin/**
cachecleaner/build/**
notifier/bin/**
notifier/build/**
qrc_resources.cpp
octopi.pro.user

View File

@@ -1,3 +1,87 @@
0.8.1
BugFix: Updated CHAKRA RSS site (thanks to s8321414).
BugFix: Distro news now works with https KaOS site.
BugFix: Files tab was not refreshing when enabling KCP mode in KaOS.
BugFix: Do not permit two or more octopi instances if one is in root mode.
BugFix: When there's a pkg change outside Octopi, we trigger a flag to refresh the lists.
BugFix: When you were searching for a pkg and the Files tab was selected, focus got lost.
BugFix: Package dependencies with >, <, =, >= and <= signals were not clickable in Info tab.
BugFix: When user commits a transaction, commit and cancel buttons must get disabled.
Package list now also preserves sort column and sort order while in AUR/KCP/CCR mode.
Make Octopi more keyboard friendly.
Pressing <ENTER>, <RETURN> and <DELETE> keys on package list triggers package actions.
Stop using 'notify-send' in octopi-notifier: the era of annoying notifiers is over.
Major refactoring: Decoupling of Pacman executor and parser code from the UI as well as
SearchBar slots for QTextBrowser objects.
Added URL information to yaourt/pacaur remote pkgs at Info tab.
Added <F2> shortcut to focus package list.
Added an output dialog to notifier, so users can do a system upgrade without a terminal.
Added an entry for Mirror-check in Tools menu.
Added support for Simplified Chinese (zh_CN).
Added support for lxqt-sudo tool (thanks to Manjaro team).
Added "pkgfile -u" (if available) in sync db transaction.
0.8.0
This is a Qt5 only version (with the exception of 'octopi-notifier').
BugFix: Speed optimizations in startup code (AUR outdated list).
BugFix: Octopi now honors the $SHELL variable (thanks to LAC1213).
BugFix: If user refused to remove pacman's lock file, commands
should be canceled!
BugFix: Sync Interval dialog was not showing strings in some languages.
BugFix: Package counters were not zeroing when searches found no results.
BugFix: In some very specific situations Info tab did not refresh info of
selected package.
BugFix: If user tried to sync db with kdesu and clicked "ESC", some garbage
went to Output tab.
BugFix: When user closed searchbar inside a QTextBrowser, cursor position was
reseted.
BugFix: Transaction dialog can now be resized and new value is persisted on disk.
BugFix: No columns warning while executing actions inside Octopi (thanks to flying-sheep).
BugFix: Cinnamon DE detection fix (thanks to jdelmas).
BugFix: Added option to search files with "\+" (escaping the plus sign). This would find things such
as C++ => "c\+\+" (thanks to maxis11).
Added support to "kcp --information" at Info tab.
Now Files tab shows a progressbar while building the list of files.
Yellow notifier icon tooltip now displays Foreign repo tool name.
When outdated packages are printed at Output tab, you can see their
information just hovering the mouse over them.
Added Parabola GNU/Linux-libre support (thanks to coadde).
Added galician translation (thanks to Ismael Ordóñez).
At Info tab, packages in "depends On" field are shown as clickable anchors.
Information tab now supports "ctrl+F" searching.
Help/About dialog now shows Pacman information.
StatusBar msg got updated with number of selected packages more visible.
0.7.0
Major speed fix: Faster pkg list building.
Reverted to showing ALL packages at startup.
Added a systemd service to speed up the very first octopi startup time.
Added "Copy path to clipboard" context menu option in file list treeview.
Now pacman.conf's "IgnoreGroup" option is honored.
Disabled "View/Repository/[kcp | aur]" menu item.
Toolbar now shows AUR tool button instead of a fake pacman group.
Reenabled Pacaur support.
Now Package treeview columns get their widths saved.
Remove "Yes" button from transaction dialog, everytime 'pacman'
is one of the target packages.
SearchBar now reacts to an ENTER or RETURN key press to search for
next found item.
Added a notifier setup dialog to set "sync database" interval.
Generate a system info report if "gist" tool is available.
Added a "-d" switch to octopi and notifier to show some debug info.
BugFix: No more horizontal scrollbar in AUR mode.
BugFix: When a transaction is available, disable sync pkg and system
upgrade, as well as mirror-check and AUR mode.
BugFix: Repository column would get wider after switching from AUR
mode.
BugFix: Filter connect chain bug decreased filter's performance over time.
BugFix: Search by name was not being used after reverting from AUR search.
BugFix: F3 and Shift+F3 keys at SearchBar were not working.
BugFix: Sometimes downloaded and installed size information were in KiB,
instead of MiB.
BugFix: If user had no gksu/kdesu/root when clicking "clean" button in
cachecleaner, cursor would remain waiting (thanks to imperator-).
0.6.0
BugFix: Pkg list was being refreshed twice sometimes.
BugFix: Removed some buggy strings from Output tab while in KF5.
@@ -73,7 +157,7 @@
BugFix: Adapted ArchBang changes.
BugFix: Removed unused Ctrl+N help text.
BugFix: Some changes in LXQt support.
BugFix: Download and installed size info at info tab.
BugFix: Download and installed size info at Info tab.
BugFix: The 'Enter' key (numeric keyboard) is now supported.
BugFix: At start when there is no pacman db, octopi hangs (thanks to anex).
BugFix: After a pkg list rebuild the Files and Info cache were not
@@ -305,7 +389,7 @@ terminal, the package actions remained disabled.
0.1.3
Added better support to Qt dark themes.
Added context menu support inside Files tab.
Made URLs clickable inside output tab.
Made URLs clickable inside Output tab.
Fixed the annoying Packager information display bug.
0.1.2

View File

@@ -1,5 +1,5 @@
pkgname=('octopi' 'octopi-notifier' 'octopi-repoeditor' 'octopi-cachecleaner')
pkgver=0.6.0
pkgver=0.8.1
pkgrel=1
pkgdesc="a powerful Pacman frontend using Qt libs"
arch=('i686' 'x86_64')
@@ -7,11 +7,12 @@ url="http://octopiproject.wordpress.com"
license=('GPL2')
install=$pkgname.install
makedepends=('git')
depends=('qt5-base' 'qt5-declarative' 'xterm')
depends=('qt4' 'qt5-quickcontrols' 'xterm')
optdepends=('kdesu: for KDE'
'gksu: for XFCE, Gnome, LXDE, Cinnamon'
'gnome-keyring: for password management'
'yaourt: for AUR support'
'gist: for SysInfo report'
'yaourt: for AUR support'
'octopi-notifier: for notifications'
'pkgfile: to view uninstalled pkg contents in ArchLinux')
provides=('octopi')
@@ -35,7 +36,7 @@ build() {
cd $startdir/notifier/octopi-notifier
msg "Building octopi-notifier..."
qmake-qt5 octopi-notifier.pro
qmake-qt4 octopi-notifier.pro
make -j $jc
cd $startdir/repoeditor
@@ -59,6 +60,10 @@ package_octopi() {
install -D -m644 $startdir/resources/images/${pkgname}_red.png ${pkgdir}/usr/share/icons/${pkgname}_red.png
install -D -m644 $startdir/resources/images/${pkgname}_yellow.png ${pkgdir}/usr/share/icons/${pkgname}_yellow.png
#speedup files
install -D -m755 $startdir/speedup/speedup-octopi.sh ${pkgdir}/usr/bin/speedup-octopi.sh
install -D -m644 $startdir/speedup/${pkgname}.service ${pkgdir}/etc/systemd/system/${pkgname}.service
#Pacmaneditor files
install -D -m755 $startdir/repoeditor/bin/octopi-repoeditor ${pkgdir}/usr/bin/octopi-repoeditor

18
README
View File

@@ -1,18 +0,0 @@
This is Octopi, a powerful Pacman/AUR frontend using Qt libs.
================================================================
The project's source code is hosted at
https://github.com/aarnt/octopi.
You'll need a privilege escalation tool to use it, once running as
root will ONLY work in KDE. Octopi supports kdesu and gksu for that.
For AUR support, "yaourt" and "pacaur" are supported.
When you are in Chakra, "ccr" is supported.
While in KaOS, "kcp" is supported.
Do you understand english? Wanna help this project?
You can translate it to your mother language at
https://www.transifex.com/projects/p/octopi/.
Enjoy!

61
README.md Normal file
View File

@@ -0,0 +1,61 @@
## This is Octopi, a powerful Pacman/AUR frontend using Qt libs.
The project site is hosted at https://octopiproject.wordpress.com
Currently, 10 Linux distros are compatible with it
* [Antergos] (https://antergos.com/)
* [ArchBang] (http://wiki.archbang.org/index.php?title=Main_Page)
* [Arch] (https://www.archlinux.org/)
* [ArchBSD] (https://pacbsd.org/)
* [Chakra] (https://chakraos.org/)
* [KaOS] (http://kaosx.us/)
* [Manjaro] (http://manjaro.github.io/)
* [mooOS] (http://mooos.org/)
* [Netrunner (rolling)]
(http://www.netrunner.com/netrunner-rolling-release/)
* [Parabola GNU/Linux-libre] (http://www.parabola.nu/https/)
### What you must install in your system to have Octopi fully functional
You'll need a privilege escalation tool to use it, once running as
root will ONLY work in KDE. Octopi supports gksu, kdesu and lxqt-sudo for
that.
### Simple steps to build Octopi code
Assuming you have Qt5 libs properly installed, go to the directory where the code is located:
```
$ cd OCTOPI_PATH
$ qmake
$ make
```
You can also use the available PKGBUILD script that helps you build Octopi with all its tools:
```
$ cd OCTOPI_PATH
$ makepkg -f
```
### How to enable the "alien" icon at toolbar
To enable AUR support, you'll need to install "yaourt" or "pacaur" in your system.
In Chakra, "ccr" will be supported out of the box.
In KaOS, "kcp" will be supported out of the box.
### Ways to help/support Octopi
* You can "Star" it at the Github page - https://github.com/aarnt/octopi/star
* You can vote in the AUR package available at https://aur.archlinux.org/packages/octopi/
* You can translate it to your mother language at https://www.transifex.com/projects/p/octopi/
* You can follow author's twitter account at https://twitter.com/aaarnt
* You can buy author's technical book (currently in portuguese) about Octopi and Qt5 at
http://www.amazon.com.br/Aprendendo-Qt-com-projeto-Octopi-ebook/dp/B015ICHKV6
* You can write a review about it (text / video)
* You can donate money to the project Paypal - http://sourceforge.net/donate/index.php?group_id=186459
* You can join the project ;-)
Enjoy!

View File

@@ -9,6 +9,7 @@ Brazilian Portuguese: arnt (Alexandre Albuquerque Arnt)
Bulgarian: loot270 (Galin Iskrenov)
Catalan: oriolfa (Oriol Fernandez)
Chinese (Taiwan): s8321414 (冥王歐西里斯)
Croatian: rokadar (Robert Okadar)
Czech: fri
Danish: Snubbi (Carl Andersen)
Dutch: jsm (Jasper van der Marel)
@@ -16,6 +17,7 @@ English: source language
English (Great Britain): jonathon (J Fernyhough)
Finnish: Sami Korkalainen (Sami-Perkele)
French: Loubrix (David Roux)
Galician: Isorfe (Ismael Ordóñez)
German: Veraendert
Greek: angel_solomos
Hebrew: GenghisKhan

View File

@@ -4,12 +4,9 @@
#
#-------------------------------------------------
QT += core gui network xml
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
QT += core gui network xml widgets
CONFIG += qt console warn_on debug
TEMPLATE = app
DESTDIR += bin
OBJECTS_DIR += build
@@ -18,10 +15,12 @@ UI_DIR += build
HEADERS += cachecleaner.h \
packagegroupmodel.h \
../src/strconstants.h \
../src/unixcommand.h \
../src/wmhelper.h \
../src/terminal.h \
../src/settingsmanager.h \
../src/searchlineedit.h \
../src/utils.h \
../src/package.h \
../src/QtSolutions/qtsingleapplication.h \
@@ -37,6 +36,7 @@ SOURCES += main.cpp \
../src/wmhelper.cpp \
../src/terminal.cpp \
../src/settingsmanager.cpp \
../src/searchlineedit.cpp \
../src/utils.cpp \
../src/package.cpp \
../src/QtSolutions/qtsingleapplication.cpp \
@@ -74,6 +74,7 @@ TRANSLATIONS += resources/translations/octopi_cachecleaner_pt_BR.ts \
resources/translations/octopi_cachecleaner_ru.ts \
resources/translations/octopi_cachecleaner_uz.ts \
resources/translations/octopi_cachecleaner_fi.ts \
resources/translations/octopi_cachecleaner_fi_FI.ts \
resources/translations/octopi_cachecleaner_vi.ts \
resources/translations/octopi_cachecleaner_en_GB.ts \
resources/translations/octopi_cachecleaner_pt_PT.ts \
@@ -84,8 +85,9 @@ TRANSLATIONS += resources/translations/octopi_cachecleaner_pt_BR.ts \
resources/translations/octopi_cachecleaner_uk.ts \
resources/translations/octopi_cachecleaner_sk.ts \
resources/translations/octopi_cachecleaner_ja.ts \
resources/translations/octopi_cachecleaner_eu.ts
greaterThan(QT_MAJOR_VERSION, 4){
TRANSLATIONS += resources/translations/octopi_cachecleaner_ast.ts
}
resources/translations/octopi_cachecleaner_eu.ts \
resources/translations/octopi_cachecleaner_gl_ES.ts \
resources/translations/octopi_cachecleaner_ast.ts \
resources/translations/octopi_cachecleaner_hr.ts \
resources/translations/octopi_cachecleaner_zh-Hans.ts
resources/translations/octopi_cachecleaner_zh_CN.ts

View File

@@ -19,6 +19,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "packagegroupmodel.h"
#include "../src/strconstants.h"
#include <QApplication>
#include <QMessageBox>
@@ -34,19 +36,19 @@ PackageGroupModel::PackageGroupModel(QString optionsString,
QListWidget *listView,
QSpinBox *spinner,
QPushButton *refreshBtn,
QPushButton *cleanBtn) : QObject(NULL)
QPushButton *cleanBtn)
: QObject(NULL),
m_optionsString(optionsString),
m_listView(listView),
m_spinner(spinner),
m_refreshButton(refreshBtn),
m_cleanButton(cleanBtn),
m_cmd(new UnixCommand(this)),
m_acc(new ProcessOutputAccumulator(m_cmd)),
m_oldKeepValue(spinner->value())
{
m_optionsString = optionsString;
m_listView = listView;
m_spinner = spinner;
m_refreshButton = refreshBtn;
m_cleanButton = cleanBtn;
m_cleanButton->setText(tr("Clean"));
m_cmd = new UnixCommand(this);
m_acc = new ProcessOutputAccumulator(m_cmd);
m_oldKeepValue = m_spinner->value();
//setup UI slots
connect( m_spinner, SIGNAL( valueChanged(int) ), SLOT( updateKeepArchives() ) );
connect( m_spinner, SIGNAL( valueChanged(int) ), SLOT( refreshCacheView() ) );
@@ -116,11 +118,35 @@ void PackageGroupModel::refreshCacheView()
m_cmd->executeCommandAsNormalUser("paccache -v -d " + getOptions());
}
/*
* Checks if some SU utility is available...
* Returns false if not!
*/
bool PackageGroupModel::isSUAvailable()
{
//If there are no means to run the actions, we must warn!
if (UnixCommand::isRootRunning() && WMHelper::isKDERunning())
{
return true;
}
else if (WMHelper::getSUCommand() == ctn_NO_SU_COMMAND){
QMessageBox::critical( 0, StrConstants::getApplicationName(),
StrConstants::getErrorNoSuCommand() +
"\n" + StrConstants::getYoullNeedSuFrontend());
return false;
}
else
return true;
}
/*
* Call paccache to effectively clear the cache
*/
void PackageGroupModel::cleanCache()
{
if (!isSUAvailable())
return;
//update UI buttons
QApplication::setOverrideCursor(Qt::WaitCursor);
m_acc->reset();
@@ -131,7 +157,8 @@ void PackageGroupModel::cleanCache()
QObject::connect(m_cmd, SIGNAL( finished ( int, QProcess::ExitStatus )),
this, SLOT( finishedClean( int, QProcess::ExitStatus )) );
m_cmd->executeCommand("paccache -r " + getOptions());
QByteArray tmp = "paccache -r " + getOptions().toLatin1();
m_cmd->executeCommand(QLatin1String(tmp), ectn_LANG_USER_DEFINED);
}
/*

View File

@@ -27,6 +27,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include <QPushButton>
#include "../src/unixcommand.h"
#include "../src/wmhelper.h"
/*
* Helper class to accumulate UnixCommand standard and error output
@@ -79,6 +80,9 @@ class PackageGroupModel : public QObject
{
Q_OBJECT
private:
bool isSUAvailable();
public:
PackageGroupModel(QString, QListWidget *, QSpinBox *, QPushButton *, QPushButton *);
~PackageGroupModel();
@@ -89,11 +93,9 @@ protected:
QSpinBox *m_spinner;
QPushButton *m_refreshButton;
QPushButton *m_cleanButton;
int m_oldKeepValue;
UnixCommand *m_cmd;
ProcessOutputAccumulator *m_acc;
int m_oldKeepValue;
void processDryrunResult(QString);
QString getOptions();
@@ -103,7 +105,6 @@ public slots:
void cleanCache();
void updateKeepArchives();
void keepArchivesChanged();
void finishedDryrun(int, QProcess::ExitStatus);
void finishedClean(int, QProcess::ExitStatus);
};

View File

@@ -1,9 +0,0 @@
#/bin/sh
# Helper for Qt5 libs to generate all Octopi translations
TRANSLATIONS=./resources/translations/*
for f in $TRANSLATIONS
do
lrelease-qt5 $f
done

View File

@@ -16,6 +16,7 @@
<file>resources/translations/octopi_cachecleaner_es_ES.qm</file>
<file>resources/translations/octopi_cachecleaner_eu.qm</file>
<file>resources/translations/octopi_cachecleaner_fi.qm</file>
<file>resources/translations/octopi_cachecleaner_fi_FI.qm</file>
<file>resources/translations/octopi_cachecleaner_fr_FR.qm</file>
<file>resources/translations/octopi_cachecleaner_he.qm</file>
<file>resources/translations/octopi_cachecleaner_hu.qm</file>
@@ -40,5 +41,8 @@
<file>resources/translations/octopi_cachecleaner_uz.qm</file>
<file>resources/translations/octopi_cachecleaner_vi.qm</file>
<file>resources/translations/octopi_cachecleaner_zh_TW.qm</file>
<file>resources/translations/octopi_cachecleaner_zh-Hans.qm</file>
<file>resources/translations/octopi_cachecleaner_zh_CN.qm</file>
<file>resources/translations/octopi_cachecleaner_hr.qm</file>
</qresource>
</RCC>

View File

@@ -4,35 +4,35 @@
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="14"/>
<source>Cache Cleaner - Octopi</source>
<translation type="unfinished"/>
<translation>منظف الكاش - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="49"/>
<source>Uninstalled packages</source>
<translation type="unfinished"/>
<translation>حزم غير مثبتة</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="75"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="150"/>
<source>Keep :</source>
<translation type="unfinished"/>
<translation>إحتفظ:</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="82"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="157"/>
<source>Number of old versions to keep</source>
<translation type="unfinished"/>
<translation>عدد النُسخ القديمة للإبقاء عليها</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="102"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="183"/>
<source>Refresh</source>
<translation type="unfinished"/>
<translation>تحديث</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="127"/>
<source>Installed packages</source>
<translation type="unfinished"/>
<translation>حزم مثبتة</translation>
</message>
</context>
<context>
@@ -40,12 +40,12 @@
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="199"/>
<source>Clean</source>
<translation type="unfinished"/>
<translation>مسح</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="222"/>
<source>Clean %1</source>
<translation type="unfinished"/>
<translation>إمسح %1</translation>
</message>
</context>
</TS>

View File

@@ -4,35 +4,35 @@
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="14"/>
<source>Cache Cleaner - Octopi</source>
<translation type="unfinished"/>
<translation>Netejador de la cau (Cache) - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="49"/>
<source>Uninstalled packages</source>
<translation type="unfinished"/>
<translation>Paquets desinstal·lats</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="75"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="150"/>
<source>Keep :</source>
<translation type="unfinished"/>
<translation>Mantén:</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="82"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="157"/>
<source>Number of old versions to keep</source>
<translation type="unfinished"/>
<translation>Quantitat de versions antigues a mantenir:</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="102"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="183"/>
<source>Refresh</source>
<translation type="unfinished"/>
<translation>Refresca</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="127"/>
<source>Installed packages</source>
<translation type="unfinished"/>
<translation>Paquets instal·lats</translation>
</message>
</context>
<context>
@@ -40,12 +40,12 @@
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="199"/>
<source>Clean</source>
<translation type="unfinished"/>
<translation>Neteja</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="222"/>
<source>Clean %1</source>
<translation type="unfinished"/>
<translation>Neteja %1</translation>
</message>
</context>
</TS>

View File

@@ -4,35 +4,35 @@
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="14"/>
<source>Cache Cleaner - Octopi</source>
<translation type="unfinished"/>
<translation>Čistič vyrovnávací paměti</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="49"/>
<source>Uninstalled packages</source>
<translation type="unfinished"/>
<translation>Odinstalované balíčky</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="75"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="150"/>
<source>Keep :</source>
<translation type="unfinished"/>
<translation>Zachovat :</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="82"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="157"/>
<source>Number of old versions to keep</source>
<translation type="unfinished"/>
<translation>Počet starých verzí k zachování</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="102"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="183"/>
<source>Refresh</source>
<translation type="unfinished"/>
<translation>Obnovit</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="127"/>
<source>Installed packages</source>
<translation type="unfinished"/>
<translation>Nainstalované balíčky</translation>
</message>
</context>
<context>
@@ -40,12 +40,12 @@
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="199"/>
<source>Clean</source>
<translation type="unfinished"/>
<translation>Vyčistit</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="222"/>
<source>Clean %1</source>
<translation type="unfinished"/>
<translation>Vyčistit %1</translation>
</message>
</context>
</TS>

View File

@@ -4,35 +4,35 @@
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="14"/>
<source>Cache Cleaner - Octopi</source>
<translation type="unfinished"/>
<translation>Cache Renser - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="49"/>
<source>Uninstalled packages</source>
<translation type="unfinished"/>
<translation>Afinstallerede pakker</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="75"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="150"/>
<source>Keep :</source>
<translation type="unfinished"/>
<translation>Behold :</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="82"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="157"/>
<source>Number of old versions to keep</source>
<translation type="unfinished"/>
<translation>Antal gamle versioner der skal beholdes</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="102"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="183"/>
<source>Refresh</source>
<translation type="unfinished"/>
<translation>Genopfrisk</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="127"/>
<source>Installed packages</source>
<translation type="unfinished"/>
<translation>Installerede pakker</translation>
</message>
</context>
<context>
@@ -40,12 +40,12 @@
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="199"/>
<source>Clean</source>
<translation type="unfinished"/>
<translation>Rens</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="222"/>
<source>Clean %1</source>
<translation type="unfinished"/>
<translation>Rens %1</translation>
</message>
</context>
</TS>

View File

@@ -4,35 +4,35 @@
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="14"/>
<source>Cache Cleaner - Octopi</source>
<translation type="unfinished"/>
<translation>Καθαριστικό μνήμης cache - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="49"/>
<source>Uninstalled packages</source>
<translation type="unfinished"/>
<translation>Μη εγκατεστημένα πακέτα</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="75"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="150"/>
<source>Keep :</source>
<translation type="unfinished"/>
<translation>Διατηρηση:</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="82"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="157"/>
<source>Number of old versions to keep</source>
<translation type="unfinished"/>
<translation>Αριθμός των παλαιών εκδόσεων για διατηρηση</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="102"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="183"/>
<source>Refresh</source>
<translation type="unfinished"/>
<translation>Ανανέωση</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="127"/>
<source>Installed packages</source>
<translation type="unfinished"/>
<translation>Εγκατεστημένα πακέτα</translation>
</message>
</context>
<context>
@@ -40,12 +40,12 @@
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="199"/>
<source>Clean</source>
<translation type="unfinished"/>
<translation>Εκκαθαριση</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="222"/>
<source>Clean %1</source>
<translation type="unfinished"/>
<translation>Εκκαθαριση %1</translation>
</message>
</context>
</TS>

View File

@@ -4,35 +4,35 @@
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="14"/>
<source>Cache Cleaner - Octopi</source>
<translation type="unfinished"/>
<translation>Cache Cleaner - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="49"/>
<source>Uninstalled packages</source>
<translation type="unfinished"/>
<translation>Uninstalled packages</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="75"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="150"/>
<source>Keep :</source>
<translation type="unfinished"/>
<translation>Keep :</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="82"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="157"/>
<source>Number of old versions to keep</source>
<translation type="unfinished"/>
<translation>Number of old versions to keep</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="102"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="183"/>
<source>Refresh</source>
<translation type="unfinished"/>
<translation>Refresh</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="127"/>
<source>Installed packages</source>
<translation type="unfinished"/>
<translation>Installed packages</translation>
</message>
</context>
<context>
@@ -40,12 +40,12 @@
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="199"/>
<source>Clean</source>
<translation type="unfinished"/>
<translation>Clean</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="222"/>
<source>Clean %1</source>
<translation type="unfinished"/>
<translation>Clean %1</translation>
</message>
</context>
</TS>

View File

@@ -4,35 +4,35 @@
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="14"/>
<source>Cache Cleaner - Octopi</source>
<translation type="unfinished"/>
<translation>Limpiador de Cache - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="49"/>
<source>Uninstalled packages</source>
<translation type="unfinished"/>
<translation>Paquetes desinstalados</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="75"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="150"/>
<source>Keep :</source>
<translation type="unfinished"/>
<translation>Mantener :</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="82"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="157"/>
<source>Number of old versions to keep</source>
<translation type="unfinished"/>
<translation>Número de versión anterior a mantener</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="102"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="183"/>
<source>Refresh</source>
<translation type="unfinished"/>
<translation>Actualizar</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="127"/>
<source>Installed packages</source>
<translation type="unfinished"/>
<translation>Paquetes instalados</translation>
</message>
</context>
<context>
@@ -40,12 +40,12 @@
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="199"/>
<source>Clean</source>
<translation type="unfinished"/>
<translation>Limpiar</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="222"/>
<source>Clean %1</source>
<translation type="unfinished"/>
<translation>Limpiar %1</translation>
</message>
</context>
</TS>

View File

@@ -4,35 +4,35 @@
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="14"/>
<source>Cache Cleaner - Octopi</source>
<translation type="unfinished"/>
<translation>Limpiador de Caché - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="49"/>
<source>Uninstalled packages</source>
<translation type="unfinished"/>
<translation>Paquetes desinstalados</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="75"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="150"/>
<source>Keep :</source>
<translation type="unfinished"/>
<translation>Conservar:</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="82"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="157"/>
<source>Number of old versions to keep</source>
<translation type="unfinished"/>
<translation>Número de versiones antiguas para conservar</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="102"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="183"/>
<source>Refresh</source>
<translation type="unfinished"/>
<translation>Refrescar</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="127"/>
<source>Installed packages</source>
<translation type="unfinished"/>
<translation>Paquetes instalados</translation>
</message>
</context>
<context>
@@ -40,12 +40,12 @@
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="199"/>
<source>Clean</source>
<translation type="unfinished"/>
<translation>Limpiar</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="222"/>
<source>Clean %1</source>
<translation type="unfinished"/>
<translation>Limpiar %1</translation>
</message>
</context>
</TS>

View File

@@ -4,35 +4,35 @@
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="14"/>
<source>Cache Cleaner - Octopi</source>
<translation type="unfinished"/>
<translation>Limpiador de Caché - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="49"/>
<source>Uninstalled packages</source>
<translation type="unfinished"/>
<translation>Paquetes desinstalados</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="75"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="150"/>
<source>Keep :</source>
<translation type="unfinished"/>
<translation>Conservar :</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="82"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="157"/>
<source>Number of old versions to keep</source>
<translation type="unfinished"/>
<translation>Número de versiones antiguas a conservar:</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="102"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="183"/>
<source>Refresh</source>
<translation type="unfinished"/>
<translation>Refrescar</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="127"/>
<source>Installed packages</source>
<translation type="unfinished"/>
<translation>Paquetes instalados</translation>
</message>
</context>
<context>
@@ -40,12 +40,12 @@
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="199"/>
<source>Clean</source>
<translation type="unfinished"/>
<translation>Limpiar</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="222"/>
<source>Clean %1</source>
<translation type="unfinished"/>
<translation>Limpiar %1</translation>
</message>
</context>
</TS>

View File

@@ -4,35 +4,35 @@
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="14"/>
<source>Cache Cleaner - Octopi</source>
<translation type="unfinished"/>
<translation>Cache Garbitzailea - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="49"/>
<source>Uninstalled packages</source>
<translation type="unfinished"/>
<translation>Ezabatutako paketeak</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="75"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="150"/>
<source>Keep :</source>
<translation type="unfinished"/>
<translation>Mantendu :</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="82"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="157"/>
<source>Number of old versions to keep</source>
<translation type="unfinished"/>
<translation>Zenbat bertsio zahar mantendu</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="102"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="183"/>
<source>Refresh</source>
<translation type="unfinished"/>
<translation>Eguneratu</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="127"/>
<source>Installed packages</source>
<translation type="unfinished"/>
<translation>Instalatutako paketeak</translation>
</message>
</context>
<context>
@@ -40,12 +40,12 @@
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="199"/>
<source>Clean</source>
<translation type="unfinished"/>
<translation>Garbitu</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="222"/>
<source>Clean %1</source>
<translation type="unfinished"/>
<translation>%1 Garbitu</translation>
</message>
</context>
</TS>

View File

@@ -4,35 +4,35 @@
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="14"/>
<source>Cache Cleaner - Octopi</source>
<translation type="unfinished"/>
<translation>Välimuistin tyhjennys - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="49"/>
<source>Uninstalled packages</source>
<translation type="unfinished"/>
<translation>Asentamattomat paketit</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="75"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="150"/>
<source>Keep :</source>
<translation type="unfinished"/>
<translation>Säilytä</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="82"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="157"/>
<source>Number of old versions to keep</source>
<translation type="unfinished"/>
<translation>Säilytettävien vanhojen versioiden määrä</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="102"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="183"/>
<source>Refresh</source>
<translation type="unfinished"/>
<translation>Päivitä</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="127"/>
<source>Installed packages</source>
<translation type="unfinished"/>
<translation>Asennetut paketit</translation>
</message>
</context>
<context>
@@ -40,12 +40,12 @@
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="199"/>
<source>Clean</source>
<translation type="unfinished"/>
<translation>Tyhjennä</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="222"/>
<source>Clean %1</source>
<translation type="unfinished"/>
<translation>Tyhjennä %1</translation>
</message>
</context>
</TS>

View File

@@ -0,0 +1,51 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS language="fi_FI" version="2.0">
<context>
<name>CacheCleaner</name>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="14"/>
<source>Cache Cleaner - Octopi</source>
<translation>Välimuistin tyhjennys - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="49"/>
<source>Uninstalled packages</source>
<translation>Asentamattomat paketit</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="75"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="150"/>
<source>Keep :</source>
<translation>Säilytä:</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="82"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="157"/>
<source>Number of old versions to keep</source>
<translation>Säilytettävien vanhojen versioiden lukumäärä</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="102"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="183"/>
<source>Refresh</source>
<translation>Päivitä</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="127"/>
<source>Installed packages</source>
<translation>Asennetut paketit</translation>
</message>
</context>
<context>
<name>PackageGroupModel</name>
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="199"/>
<source>Clean</source>
<translation>Putsaa</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="222"/>
<source>Clean %1</source>
<translation>Putsattu 1%</translation>
</message>
</context>
</TS>

View File

@@ -0,0 +1,51 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS language="gl_ES" version="2.0">
<context>
<name>CacheCleaner</name>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="14"/>
<source>Cache Cleaner - Octopi</source>
<translation>Limpador da caché de Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="49"/>
<source>Uninstalled packages</source>
<translation>Paquetes desinstalados</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="75"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="150"/>
<source>Keep :</source>
<translation>Manter:</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="82"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="157"/>
<source>Number of old versions to keep</source>
<translation>Número de versións antigas a manter</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="102"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="183"/>
<source>Refresh</source>
<translation>Refrescar</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="127"/>
<source>Installed packages</source>
<translation>Paquetes instalados</translation>
</message>
</context>
<context>
<name>PackageGroupModel</name>
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="199"/>
<source>Clean</source>
<translation>Limpar</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="222"/>
<source>Clean %1</source>
<translation>Limpar %1</translation>
</message>
</context>
</TS>

View File

@@ -0,0 +1,51 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS language="hr" version="2.0">
<context>
<name>CacheCleaner</name>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="14"/>
<source>Cache Cleaner - Octopi</source>
<translation>Čišćenje keša - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="49"/>
<source>Uninstalled packages</source>
<translation>Deinstalirani paketi</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="75"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="150"/>
<source>Keep :</source>
<translation>Zadrži :</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="82"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="157"/>
<source>Number of old versions to keep</source>
<translation>Broj zastarjelih verzija za zadržati</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="102"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="183"/>
<source>Refresh</source>
<translation>Osvježi</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="127"/>
<source>Installed packages</source>
<translation>Instaliranih paketa</translation>
</message>
</context>
<context>
<name>PackageGroupModel</name>
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="199"/>
<source>Clean</source>
<translation>Očisti</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="222"/>
<source>Clean %1</source>
<translation>Očisti %1</translation>
</message>
</context>
</TS>

View File

@@ -0,0 +1 @@
<<3C>d<18><EFBFBD>!<1C>`<60><><EFBFBD>

View File

@@ -0,0 +1,51 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS language="hu_HU" version="2.0">
<context>
<name>CacheCleaner</name>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="14"/>
<source>Cache Cleaner - Octopi</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="49"/>
<source>Uninstalled packages</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="75"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="150"/>
<source>Keep :</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="82"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="157"/>
<source>Number of old versions to keep</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="102"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="183"/>
<source>Refresh</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="127"/>
<source>Installed packages</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>PackageGroupModel</name>
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="199"/>
<source>Clean</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="222"/>
<source>Clean %1</source>
<translation type="unfinished"/>
</message>
</context>
</TS>

View File

@@ -4,7 +4,7 @@
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="14"/>
<source>Cache Cleaner - Octopi</source>
<translation type="unfinished"/>
<translation>Pulisci Cache - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="49"/>

View File

@@ -4,35 +4,35 @@
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="14"/>
<source>Cache Cleaner - Octopi</source>
<translation type="unfinished"/>
<translation>Pencuci Cache - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="49"/>
<source>Uninstalled packages</source>
<translation type="unfinished"/>
<translation>Nyah-pasang pakej</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="75"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="150"/>
<source>Keep :</source>
<translation type="unfinished"/>
<translation>Simpan:</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="82"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="157"/>
<source>Number of old versions to keep</source>
<translation type="unfinished"/>
<translation>Bilangan versi lama untuk disimpan</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="102"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="183"/>
<source>Refresh</source>
<translation type="unfinished"/>
<translation>Segarkan</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="127"/>
<source>Installed packages</source>
<translation type="unfinished"/>
<translation>Pakej dipasang</translation>
</message>
</context>
<context>
@@ -40,12 +40,12 @@
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="199"/>
<source>Clean</source>
<translation type="unfinished"/>
<translation>Cuci</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="222"/>
<source>Clean %1</source>
<translation type="unfinished"/>
<translation>Cuci %1</translation>
</message>
</context>
</TS>

View File

@@ -4,35 +4,35 @@
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="14"/>
<source>Cache Cleaner - Octopi</source>
<translation type="unfinished"/>
<translation>Cache-tømmer -Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="49"/>
<source>Uninstalled packages</source>
<translation type="unfinished"/>
<translation>Ikke-installerte pakker</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="75"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="150"/>
<source>Keep :</source>
<translation type="unfinished"/>
<translation>Behold:</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="82"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="157"/>
<source>Number of old versions to keep</source>
<translation type="unfinished"/>
<translation>Antall gamle versjoner du vil beholde</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="102"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="183"/>
<source>Refresh</source>
<translation type="unfinished"/>
<translation>Oppdater</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="127"/>
<source>Installed packages</source>
<translation type="unfinished"/>
<translation>Installerte pakker</translation>
</message>
</context>
<context>
@@ -40,12 +40,12 @@
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="199"/>
<source>Clean</source>
<translation type="unfinished"/>
<translation>Tøm</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="222"/>
<source>Clean %1</source>
<translation type="unfinished"/>
<translation>Tøm %1</translation>
</message>
</context>
</TS>

View File

@@ -4,35 +4,35 @@
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="14"/>
<source>Cache Cleaner - Octopi</source>
<translation type="unfinished"/>
<translation>Очистка кэша - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="49"/>
<source>Uninstalled packages</source>
<translation type="unfinished"/>
<translation>Удаленные пакеты</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="75"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="150"/>
<source>Keep :</source>
<translation type="unfinished"/>
<translation>Оставить:</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="82"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="157"/>
<source>Number of old versions to keep</source>
<translation type="unfinished"/>
<translation>Сколько старых версий оставить</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="102"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="183"/>
<source>Refresh</source>
<translation type="unfinished"/>
<translation>Перечитать</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="127"/>
<source>Installed packages</source>
<translation type="unfinished"/>
<translation>Установленные пакеты</translation>
</message>
</context>
<context>
@@ -40,12 +40,12 @@
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="199"/>
<source>Clean</source>
<translation type="unfinished"/>
<translation>Очистить</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="222"/>
<source>Clean %1</source>
<translation type="unfinished"/>
<translation>Очистить %1</translation>
</message>
</context>
</TS>

View File

@@ -4,35 +4,35 @@
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="14"/>
<source>Cache Cleaner - Octopi</source>
<translation type="unfinished"/>
<translation>Čistač keša - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="49"/>
<source>Uninstalled packages</source>
<translation type="unfinished"/>
<translation>Uklonjeni paketi</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="75"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="150"/>
<source>Keep :</source>
<translation type="unfinished"/>
<translation>Zadrži:</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="82"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="157"/>
<source>Number of old versions to keep</source>
<translation type="unfinished"/>
<translation>Broj zadržanih starih verzija</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="102"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="183"/>
<source>Refresh</source>
<translation type="unfinished"/>
<translation>Osveži</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="127"/>
<source>Installed packages</source>
<translation type="unfinished"/>
<translation>Instalirani paketi</translation>
</message>
</context>
<context>
@@ -40,12 +40,12 @@
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="199"/>
<source>Clean</source>
<translation type="unfinished"/>
<translation>Očisti</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="222"/>
<source>Clean %1</source>
<translation type="unfinished"/>
<translation>Očisti %1</translation>
</message>
</context>
</TS>

View File

@@ -4,35 +4,35 @@
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="14"/>
<source>Cache Cleaner - Octopi</source>
<translation type="unfinished"/>
<translation>Чистач кеша - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="49"/>
<source>Uninstalled packages</source>
<translation type="unfinished"/>
<translation>Уклоњени пакети</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="75"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="150"/>
<source>Keep :</source>
<translation type="unfinished"/>
<translation>Задржи:</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="82"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="157"/>
<source>Number of old versions to keep</source>
<translation type="unfinished"/>
<translation>Број задржаних старих верзија </translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="102"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="183"/>
<source>Refresh</source>
<translation type="unfinished"/>
<translation>Освежи</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="127"/>
<source>Installed packages</source>
<translation type="unfinished"/>
<translation>Инсталирани пакети</translation>
</message>
</context>
<context>
@@ -40,12 +40,12 @@
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="199"/>
<source>Clean</source>
<translation type="unfinished"/>
<translation>Очисти</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="222"/>
<source>Clean %1</source>
<translation type="unfinished"/>
<translation>Очисти %1</translation>
</message>
</context>
</TS>

View File

@@ -4,35 +4,35 @@
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="14"/>
<source>Cache Cleaner - Octopi</source>
<translation type="unfinished"/>
<translation>Прибиральник кешу - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="49"/>
<source>Uninstalled packages</source>
<translation type="unfinished"/>
<translation>Вилучені пакунки</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="75"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="150"/>
<source>Keep :</source>
<translation type="unfinished"/>
<translation>Залишити:</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="82"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="157"/>
<source>Number of old versions to keep</source>
<translation type="unfinished"/>
<translation>Кількість застарілих версій для збереження</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="102"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="183"/>
<source>Refresh</source>
<translation type="unfinished"/>
<translation>Оновити</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="127"/>
<source>Installed packages</source>
<translation type="unfinished"/>
<translation>Установлені пакунки</translation>
</message>
</context>
<context>
@@ -40,12 +40,12 @@
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="199"/>
<source>Clean</source>
<translation type="unfinished"/>
<translation>Очистити</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="222"/>
<source>Clean %1</source>
<translation type="unfinished"/>
<translation>Очищено %1</translation>
</message>
</context>
</TS>

View File

@@ -4,35 +4,35 @@
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="14"/>
<source>Cache Cleaner - Octopi</source>
<translation type="unfinished"/>
<translation>Dọn dẹp bộ nhớ đm - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="49"/>
<source>Uninstalled packages</source>
<translation type="unfinished"/>
<translation>Gói chưa đưc cài đt</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="75"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="150"/>
<source>Keep :</source>
<translation type="unfinished"/>
<translation>Giữ lại</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="82"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="157"/>
<source>Number of old versions to keep</source>
<translation type="unfinished"/>
<translation>Số phiên bản đưc giữ lại</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="102"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="183"/>
<source>Refresh</source>
<translation type="unfinished"/>
<translation>Làm mới</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="127"/>
<source>Installed packages</source>
<translation type="unfinished"/>
<translation>Gói đã đưc cài đt</translation>
</message>
</context>
<context>
@@ -40,12 +40,12 @@
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="199"/>
<source>Clean</source>
<translation type="unfinished"/>
<translation>Dọn dẹp</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="222"/>
<source>Clean %1</source>
<translation type="unfinished"/>
<translation>Dọn dẹp %1</translation>
</message>
</context>
</TS>

View File

@@ -0,0 +1,51 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS language="zh-Hans" version="2.0">
<context>
<name>CacheCleaner</name>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="14"/>
<source>Cache Cleaner - Octopi</source>
<translation> - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="49"/>
<source>Uninstalled packages</source>
<translation></translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="75"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="150"/>
<source>Keep :</source>
<translation></translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="82"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="157"/>
<source>Number of old versions to keep</source>
<translation></translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="102"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="183"/>
<source>Refresh</source>
<translation></translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="127"/>
<source>Installed packages</source>
<translation></translation>
</message>
</context>
<context>
<name>PackageGroupModel</name>
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="199"/>
<source>Clean</source>
<translation></translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="222"/>
<source>Clean %1</source>
<translation> %1</translation>
</message>
</context>
</TS>

View File

@@ -0,0 +1,51 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS language="zh-Hans" version="2.0">
<context>
<name>CacheCleaner</name>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="14"/>
<source>Cache Cleaner - Octopi</source>
<translation> - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="49"/>
<source>Uninstalled packages</source>
<translation></translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="75"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="150"/>
<source>Keep :</source>
<translation></translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="82"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="157"/>
<source>Number of old versions to keep</source>
<translation></translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="102"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="183"/>
<source>Refresh</source>
<translation></translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="127"/>
<source>Installed packages</source>
<translation></translation>
</message>
</context>
<context>
<name>PackageGroupModel</name>
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="199"/>
<source>Clean</source>
<translation></translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/packagegroupmodel.cpp" line="222"/>
<source>Clean %1</source>
<translation> %1</translation>
</message>
</context>
</TS>

View File

@@ -1,18 +1,49 @@
/*
* This file is part of Octopi, an open-source GUI for pacman.
* Copyright (C) 2013 Alexandre Albuquerque Arnt
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
#include "../../src/unixcommand.h"
#include "../../src/wmhelper.h"
#include "../../src/strconstants.h"
#include "../../src/argumentlist.h"
#include "mainwindow.h"
#include <QApplication>
#include <QtGui>
#include <QDebug>
//#define NO_GTK_STYLE
#define NO_GTK_STYLE
int main(int argc, char *argv[])
{
qDebug() << QString("Octopi Notifier - " + StrConstants::getApplicationVersion() +
" (" + StrConstants::getQtVersion() + ")");
bool debugInfo = false;
ArgumentList *argList = new ArgumentList(argc, argv);
if (argList->getSwitch("-d"))
{
//If user chooses to switch debug info on...
debugInfo = true;
}
if (debugInfo)
qDebug() << QString("Octopi Notifier - " + StrConstants::getApplicationVersion() +
" (" + StrConstants::getQtVersion() + ")");
if (UnixCommand::isAppRunning("octopi-notifier"))
{
@@ -57,5 +88,8 @@ int main(int argc, char *argv[])
MainWindow w;
QResource::registerResource("./resources.qrc");
if (debugInfo)
w.turnDebugInfoOn();
return a.exec();
}

View File

@@ -1,8 +1,30 @@
/*
* This file is part of Octopi, an open-source GUI for pacman.
* Copyright (C) 2013 Alexandre Albuquerque Arnt
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
#include "mainwindow.h"
#include "setupdialog.h"
#include "outputdialog.h"
#include "../pacmanhelper/pacmanhelperclient.h"
#include "../../src/strconstants.h"
#include "../../src/uihelper.h"
#include "../../src/package.h"
#include "../pacmanhelper/pacmanhelperclient.h"
#include "../../src/transactiondialog.h"
#include <QTimer>
@@ -27,8 +49,8 @@
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent)
{
qDebug() << "At MainWindow constructor...";
m_debugInfo = false;
m_setupDialog = nullptr;
m_pacmanDatabaseSystemWatcher =
new QFileSystemWatcher(QStringList() << ctn_PACMAN_DATABASE_DIR, this);
@@ -50,9 +72,11 @@ MainWindow::~MainWindow()
*/
void MainWindow::initSystemTrayIcon()
{
qDebug() << "At initSystemTrayIcon()...";
if (m_debugInfo)
qDebug() << "At initSystemTrayIcon()...";
m_commandExecuting = ectn_NONE;
m_outdatedPackageList = new QStringList();
m_outdatedStringList = new QStringList();
#ifdef KSTATUS
m_systemTrayIcon = new KStatusNotifierItem(0);
@@ -81,6 +105,10 @@ void MainWindow::initSystemTrayIcon()
m_actionOctopi->setText("Octopi...");
connect(m_actionOctopi, SIGNAL(triggered()), this, SLOT(startOctopi()));
m_actionSetInterval = new QAction(this);
m_actionSetInterval->setText(StrConstants::getSetInterval());
connect(m_actionSetInterval, SIGNAL(triggered()), this, SLOT(showConfigDialog()));
m_actionSyncDatabase = new QAction(this);
m_actionSyncDatabase->setIconVisibleInMenu(true);
m_actionSyncDatabase->setText(StrConstants::getSyncDatabase());
@@ -98,6 +126,7 @@ void MainWindow::initSystemTrayIcon()
if (UnixCommand::hasTheExecutable("octopi"))
m_systemTrayIconMenu->addAction(m_actionOctopi);
m_systemTrayIconMenu->addAction(m_actionSetInterval);
m_systemTrayIconMenu->addAction(m_actionSyncDatabase);
m_systemTrayIconMenu->addAction(m_actionSystemUpgrade);
m_systemTrayIconMenu->addSeparator();
@@ -152,25 +181,55 @@ void MainWindow::pacmanHelperTimerTimeout()
//Is it time to syncdb again?
QDateTime lastCheckTime = SettingsManager::getLastSyncDbTime();
int syncDbInterval = SettingsManager::getSyncDbInterval();
QDateTime now = QDateTime::currentDateTime();
bool syncTime = false;
int syncHour = SettingsManager::getSyncDbHour();
if (syncHour >= 0)
//User did not set the check interval, so we assume it's once a day
if (syncDbInterval == -1)
{
if (lastCheckTime.daysTo(now) >= 1 && now.time().hour() == syncHour)
if (syncHour >= 0) //Once a day at a certain time?
{
syncTime = true;
if (m_debugInfo)
qDebug() << "SyncDb is scheduled once a day, at " << syncHour << " hours";
if (lastCheckTime.daysTo(now) >= 1 && now.time().hour() == syncHour)
{
syncTime = true;
}
}
else
{
if (m_debugInfo)
qDebug() << "SyncDb is scheduled once a day";
}
if ((syncHour == -1 && (
lastCheckTime.isNull() ||
lastCheckTime.daysTo(now) >= 1)) || (syncTime))
{
syncDatabase();
//Then we set new LastCheckTime...
SettingsManager::setLastSyncDbTime(now);
}
}
if ((syncHour == -1 && (
lastCheckTime.isNull() ||
lastCheckTime.daysTo(now) >= 1)) || (syncTime))
else
{
syncDatabase();
//Then we set new LastCheckTime...
SettingsManager::setLastSyncDbTime(now);
if (lastCheckTime.isNull() || now.addSecs(-(syncDbInterval * 60)) >= lastCheckTime)
{
syncDatabase();
//Then we set new LastCheckTime...
SettingsManager::setLastSyncDbTime(now);
}
else
{
if (m_debugInfo)
qDebug() << "SyncDb is scheduled once every " << syncDbInterval << " minutes.";
}
m_pacmanHelperTimer->stop();
m_pacmanHelperTimer->start();
}
}
@@ -187,10 +246,10 @@ void MainWindow::runOctopiSysUpgrade()
*/
void MainWindow::aboutOctopiNotifier()
{
QString aboutText = "<b>Octopi Notifier - " + StrConstants::getApplicationVersion() + "</b>" + " (" + StrConstants::getQtVersion() + ")<br>";
QString aboutText = "<b>Octopi Notifier - " +
StrConstants::getApplicationVersion() + "</b>" + " (" + StrConstants::getQtVersion() + ")<br>";
aboutText += "<a href=\"http://octopiproject.wordpress.com/\">http://octopiproject.wordpress.com</a><br><br>";
aboutText += "&copy; Alexandre Albuquerque Arnt";
QMessageBox::about(this, StrConstants::getHelpAbout(), aboutText);
}
@@ -229,11 +288,11 @@ void MainWindow::doSystemUpgrade()
QList<PackageListData> * targets = Package::getTargetUpgradeList();
//There are no new updates to install!
if (targets->count() == 0 && m_outdatedPackageList->count() == 0)
if (targets->count() == 0 && m_outdatedStringList->count() == 0)
{
return;
}
else if (targets->count() == 0 && m_outdatedPackageList->count() > 0)
else if (targets->count() == 0 && m_outdatedStringList->count() > 0)
{
return;
}
@@ -252,10 +311,6 @@ void MainWindow::doSystemUpgrade()
QString ds = Package::kbytesToSize(totalDownloadSize);
TransactionDialog question(this);
//If we're in Chakra, there are no graphical system upgrades!
if (UnixCommand::getLinuxDistro() == ectn_CHAKRA || !UnixCommand::hasTheExecutable("octopi"))
question.removeYesButton();
if(targets->count()==1)
question.setText(StrConstants::getRetrievePackage() +
"\n\n" + StrConstants::getTotalDownloadSize().arg(ds).remove(" KB"));
@@ -272,7 +327,20 @@ void MainWindow::doSystemUpgrade()
if (result == QDialogButtonBox::Yes)
{
runOctopi(ectn_SYSUPGRADE_NOCONFIRM_EXEC_OPT);
m_commandExecuting = ectn_SYSTEM_UPGRADE;
m_systemUpgradeDialog = false;
toggleEnableInterface(false);
m_actionSystemUpgrade->setEnabled(false);
OutputDialog *dlg = new OutputDialog(this);
if (m_debugInfo)
dlg->setDebugMode(true);
QObject::connect(dlg, SIGNAL( finished(int)),
this, SLOT( doSystemUpgradeFinished() ));
dlg->show();
}
else if(result == QDialogButtonBox::AcceptRole)
{
@@ -289,7 +357,7 @@ void MainWindow::doSystemUpgrade()
m_unixCommand = new UnixCommand(this);
QObject::connect(m_unixCommand, SIGNAL( finished ( int, QProcess::ExitStatus )),
this, SLOT( doSystemUpgradeFinished(int, QProcess::ExitStatus) ));
this, SLOT( doSystemUpgradeFinished() ));
toggleEnableInterface(false);
m_actionSystemUpgrade->setEnabled(false);
@@ -311,13 +379,14 @@ void MainWindow::doSystemUpgrade()
/*
* When system upgrade process is finished...
*/
void MainWindow::doSystemUpgradeFinished(int, QProcess::ExitStatus)
void MainWindow::doSystemUpgradeFinished()
{
m_commandExecuting = ectn_NONE;
refreshAppIcon();
//Does it still need to upgrade another packages due to SyncFirst issues???
if ((m_commandExecuting == ectn_RUN_SYSTEM_UPGRADE_IN_TERMINAL)
&& m_outdatedPackageList->count() > 0)
&& m_outdatedStringList->count() > 0)
{
m_commandExecuting = ectn_NONE;
m_unixCommand->removeTemporaryFile();
@@ -327,7 +396,6 @@ void MainWindow::doSystemUpgradeFinished(int, QProcess::ExitStatus)
return;
}
m_commandExecuting = ectn_NONE;
m_unixCommand->removeTemporaryFile();
toggleEnableInterface(true);
}
@@ -339,6 +407,7 @@ void MainWindow::toggleEnableInterface(bool state)
{
m_actionOctopi->setEnabled(state);
m_actionSyncDatabase->setEnabled(state);
m_actionSetInterval->setEnabled(state);
m_actionExit->setEnabled(state);
}
@@ -347,7 +416,8 @@ void MainWindow::toggleEnableInterface(bool state)
*/
void MainWindow::afterPacmanHelperSyncDatabase()
{
qDebug() << "At afterPacmanHelperSyncDatabase()...";
if (m_debugInfo)
qDebug() << "At afterPacmanHelperSyncDatabase()...";
toggleEnableInterface(true);
#ifndef KSTATUS
@@ -376,7 +446,7 @@ void MainWindow::afterPacmanHelperSyncDatabase()
notification, m_systemTrayIcon->iconName());
#else
m_systemTrayIcon->setToolTip(notification);
if (!UnixCommand::isAppRunning("spun", true)) sendNotification(notification);
//if (!UnixCommand::isAppRunning("spun", true)) sendNotification(notification);
#endif
}
else if (m_numberOfOutdatedPackages > 1)
@@ -389,7 +459,7 @@ void MainWindow::afterPacmanHelperSyncDatabase()
notification, m_systemTrayIcon->iconName());
#else
m_systemTrayIcon->setToolTip(notification);
if (!UnixCommand::isAppRunning("spun", true)) sendNotification(notification);
//if (!UnixCommand::isAppRunning("spun", true)) sendNotification(notification);
#endif
}
}
@@ -408,7 +478,7 @@ void MainWindow::afterPacmanHelperSyncDatabase()
notification, m_systemTrayIcon->iconName());
#else
m_systemTrayIcon->setToolTip(notification);
if (!UnixCommand::isAppRunning("spun", true)) sendNotification(notification);
//if (!UnixCommand::isAppRunning("spun", true)) sendNotification(notification);
#endif
}
else if (numberOfOutdatedPackages > 1)
@@ -421,7 +491,7 @@ void MainWindow::afterPacmanHelperSyncDatabase()
notification, m_systemTrayIcon->iconName());
#else
m_systemTrayIcon->setToolTip(notification);
if (!UnixCommand::isAppRunning("spun", true)) sendNotification(notification);
//if (!UnixCommand::isAppRunning("spun", true)) sendNotification(notification);
#endif
}
}
@@ -435,7 +505,9 @@ void MainWindow::syncDatabase()
disconnect(m_pacmanDatabaseSystemWatcher,
SIGNAL(directoryChanged(QString)), this, SLOT(refreshAppIcon()));
qDebug() << "At syncDatabase()...";
QTime now;
if (m_debugInfo)
qDebug() << now.currentTime().toString("HH:mm").toLatin1().data() << ": At syncDatabase()...";
toggleEnableInterface(false);
m_icon = IconHelper::getIconOctopiTransparent();
@@ -460,7 +532,11 @@ void MainWindow::syncDatabase()
//Let's synchronize kcp database too...
if (UnixCommand::getLinuxDistro() == ectn_KAOS && UnixCommand::hasTheExecutable("kcp"))
{
if (m_debugInfo)
qDebug() << "Synchronizing kcp database...";
UnixCommand::execCommandAsNormalUser("kcp -u");
}
m_pacmanHelperClient->syncdb();
}
@@ -488,21 +564,22 @@ void MainWindow::refreshAppIcon()
disconnect(m_pacmanDatabaseSystemWatcher,
SIGNAL(directoryChanged(QString)), this, SLOT(refreshAppIcon()));
qDebug() << "At refreshAppIcon()...";
m_outdatedPackageList = Package::getOutdatedPackageList();
if (m_debugInfo)
qDebug() << "At refreshAppIcon()...";
m_outdatedStringList = Package::getOutdatedStringList();
bool hasAURTool = UnixCommand::hasTheExecutable(StrConstants::getForeignRepositoryToolName());
if (hasAURTool)
{
m_outdatedAURPackageList = Package::getOutdatedAURPackageList();
m_outdatedAURStringList = Package::getOutdatedAURStringList();
}
else
{
m_outdatedAURPackageList = new QStringList();
m_outdatedAURStringList = new QStringList();
}
m_numberOfOutdatedPackages = m_outdatedPackageList->count();
m_numberOfOutdatedAURPackages = m_outdatedAURPackageList->count();
m_numberOfOutdatedPackages = m_outdatedStringList->count();
m_numberOfOutdatedAURPackages = m_outdatedAURStringList->count();
if (m_numberOfOutdatedPackages == 0 && m_numberOfOutdatedAURPackages == 0)
{
@@ -537,23 +614,27 @@ void MainWindow::refreshAppIcon()
if (m_numberOfOutdatedAURPackages == 1)
{
#ifdef KSTATUS
m_systemTrayIcon->setToolTipSubTitle(StrConstants::getOneNewUpdate());
m_systemTrayIcon->setToolTipSubTitle(StrConstants::getOneNewUpdate() +
" (" + StrConstants::getForeignRepositoryName() + ")");
#else
m_systemTrayIcon->setToolTip(StrConstants::getOneNewUpdate());
m_systemTrayIcon->setToolTip(StrConstants::getOneNewUpdate() +
" (" + StrConstants::getForeignRepositoryName() + ")");
#endif
}
else if (m_numberOfOutdatedAURPackages > 1)
{
#ifdef KSTATUS
m_systemTrayIcon->setToolTipSubTitle(
StrConstants::getNewUpdates(m_numberOfOutdatedAURPackages));
StrConstants::getNewUpdates(m_numberOfOutdatedAURPackages) +
" (" + StrConstants::getForeignRepositoryName() + ")");
#else
m_systemTrayIcon->setToolTip(StrConstants::getNewUpdates(m_numberOfOutdatedAURPackages));
m_systemTrayIcon->setToolTip(StrConstants::getNewUpdates(m_numberOfOutdatedAURPackages) +
" (" + StrConstants::getForeignRepositoryName() + ")");
#endif
}
}
if(m_outdatedPackageList->count() > 0) //RED ICON!
if(m_outdatedStringList->count() > 0) //RED ICON!
{
if(m_commandExecuting == ectn_NONE)
{
@@ -561,7 +642,8 @@ void MainWindow::refreshAppIcon()
m_actionSystemUpgrade->setVisible(true);
}
qDebug() << "Got a RED icon!";
if (m_debugInfo)
qDebug() << "Got a RED icon!";
m_icon = IconHelper::getIconOctopiRed();
@@ -570,11 +652,12 @@ void MainWindow::refreshAppIcon()
m_systemTrayIcon->setStatus(KStatusNotifierItem::NeedsAttention);
#endif
}
else if(m_outdatedAURPackageList->count() > 0) //YELLOW ICON!
else if(m_outdatedAURStringList->count() > 0) //YELLOW ICON!
{
m_actionSystemUpgrade->setVisible(false);
m_icon = IconHelper::getIconOctopiYellow();
qDebug() << "Got a YELLOW icon!";
if (m_debugInfo)
qDebug() << "Got a YELLOW icon!";
#ifdef KSTATUS
m_systemTrayIcon->setAttentionIconByPixmap(m_icon);
@@ -585,7 +668,8 @@ void MainWindow::refreshAppIcon()
{
m_actionSystemUpgrade->setVisible(false);
m_icon = IconHelper::getIconOctopiGreen();
qDebug() << "Got a GREEN icon!";
if (m_debugInfo)
qDebug() << "Got a GREEN icon!";
#ifdef KSTATUS
m_systemTrayIcon->setStatus(KStatusNotifierItem::Passive);
@@ -616,7 +700,7 @@ void MainWindow::execSystemTrayActivated(QSystemTrayIcon::ActivationReason ar)
{
case QSystemTrayIcon::DoubleClick:
{
if (m_outdatedPackageList->count() > 0)
if (m_outdatedStringList->count() > 0)
{
runOctopi(ectn_SYSUPGRADE_EXEC_OPT);
}
@@ -663,14 +747,8 @@ void MainWindow::execSystemTrayKF5()
*/
void MainWindow::exitNotifier()
{
qDebug() << "At exitNotifier()...";
/*if (UnixCommand::isAppRunning("octopi", true))
{
QProcess::startDetached("octopi -close");
qDebug() << "Closing Octopi too...";
}*/
if (m_debugInfo)
qDebug() << "At exitNotifier()...";
qApp->quit();
}
@@ -691,12 +769,12 @@ void MainWindow::runOctopi(ExecOpt execOptions)
}
}
else if (execOptions == ectn_SYSUPGRADE_EXEC_OPT &&
!UnixCommand::isAppRunning("octopi", true) && m_outdatedPackageList->count() > 0)
!UnixCommand::isAppRunning("octopi", true) && m_outdatedStringList->count() > 0)
{
doSystemUpgrade();
}
else if (execOptions == ectn_SYSUPGRADE_EXEC_OPT &&
UnixCommand::isAppRunning("octopi", true) && m_outdatedPackageList->count() > 0)
UnixCommand::isAppRunning("octopi", true) && m_outdatedStringList->count() > 0)
{
if (!WMHelper::isKDERunning() && (!WMHelper::isRazorQtRunning()) && (!WMHelper::isLXQTRunning()))
{
@@ -719,3 +797,21 @@ void MainWindow::runOctopi(ExecOpt execOptions)
}
}
}
/*
* Calls the QDialog to set notifier interval
*/
void MainWindow::showConfigDialog()
{
if (m_setupDialog == nullptr)
{
m_setupDialog = new SetupDialog(this);
#if QT_VERSION >= 0x050000
utils::positionWindowAtScreenCenter(m_setupDialog);
#endif
m_setupDialog->exec();
delete m_setupDialog;
m_setupDialog = nullptr;
}
}

View File

@@ -1,8 +1,30 @@
/*
* This file is part of Octopi, an open-source GUI for pacman.
* Copyright (C) 2013 Alexandre Albuquerque Arnt
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include "../../src/unixcommand.h"
#include "../../src/pacmanexec.h"
#include <QDialog>
#include <QProcess>
#include <QString>
#include <QMainWindow>
@@ -13,18 +35,12 @@ class QMenu;
class QAction;
class QFileSystemWatcher;
class PacmanHelperClient;
class SetupDialog;
#ifdef KSTATUS
class KStatusNotifierItem;
#endif
const QString ctn_PACMANHELPER_BINARY = "/usr/lib/octopi/pacmanhelper";
const QString ctn_DBUS_PACMANHELPER_SERVICE = "/usr/share/dbus-1/system-services/org.octopi.pacmanhelper.service";
enum ExecOpt { ectn_NORMAL_EXEC_OPT, ectn_SYSUPGRADE_EXEC_OPT,
ectn_SYSUPGRADE_NOCONFIRM_EXEC_OPT };
class MainWindow : public QMainWindow
{
Q_OBJECT
@@ -33,7 +49,8 @@ public:
explicit MainWindow(QWidget *parent = 0);
virtual ~MainWindow();
inline void turnDebugInfoOn() { m_debugInfo = true;}
private slots:
void pacmanHelperTimerTimeout();
@@ -43,22 +60,22 @@ private slots:
void execSystemTrayKF5();
void syncDatabase();
void refreshAppIcon();
void runOctopi(ExecOpt execOptions = ectn_SYSUPGRADE_EXEC_OPT);
void runOctopiSysUpgrade();
inline void startOctopi() { runOctopi(ectn_NORMAL_EXEC_OPT); }
void aboutOctopiNotifier();
void hideOctopi();
void exitNotifier();
void doSystemUpgrade();
void doSystemUpgradeFinished(int, QProcess::ExitStatus);
void doSystemUpgradeFinished();
void toggleEnableInterface(bool state);
void showConfigDialog();
private:
SetupDialog *m_setupDialog;
int m_numberOfOutdatedPackages;
int m_numberOfOutdatedAURPackages;
bool m_systemUpgradeDialog;
@@ -66,14 +83,17 @@ private:
UnixCommand *m_unixCommand;
QAction *m_actionOctopi;
QAction *m_actionSetInterval;
QAction *m_actionSyncDatabase;
QAction *m_actionSystemUpgrade;
QAction *m_actionAbout;
QAction *m_actionExit;
QIcon m_icon;
QStringList *m_outdatedPackageList;
QStringList *m_outdatedAURPackageList;
QStringList *m_outdatedStringList;
QStringList *m_outdatedAURStringList;
QTimer *m_pacmanHelperTimer;
bool m_debugInfo;
#ifdef KSTATUS
KStatusNotifierItem * m_systemTrayIcon;

View File

@@ -7,6 +7,7 @@
QT += core xml gui network dbus
# This controls whether octopi-notifier uses KStatusNotifier lib
# You SHOULD REALLY enable the following define in plasma 5 desktops!
#DEFINES += KSTATUS
contains(DEFINES, KSTATUS){
@@ -16,7 +17,7 @@ contains(DEFINES, KSTATUS){
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += qt console warn_on debug
QMAKE_CXXFLAGS += -std=c++11
TARGET = octopi-notifier
TEMPLATE = app
DESTDIR += ../bin
@@ -26,6 +27,8 @@ UI_DIR += ../build-octopi-notifier
SOURCES += main.cpp \
mainwindow.cpp \
setupdialog.cpp \
outputdialog.cpp \
../../src/terminal.cpp \
../../src/unixcommand.cpp \
../../src/package.cpp \
@@ -33,10 +36,16 @@ SOURCES += main.cpp \
../../src/settingsmanager.cpp \
../pacmanhelper/pacmanhelperclient.cpp \
../../src/utils.cpp \
../../src/transactiondialog.cpp
../../src/transactiondialog.cpp \
../../src/argumentlist.cpp \
../../src/pacmanexec.cpp \
../../src/searchlineedit.cpp \
../../src/searchbar.cpp
HEADERS += \
mainwindow.h \
setupdialog.h \
outputdialog.h \
../../src/uihelper.h \
../../src/terminal.h \
../../src/unixcommand.h \
@@ -45,9 +54,14 @@ HEADERS += \
../../src/package.h \
../pacmanhelper/pacmanhelperclient.h \
../../src/utils.h \
../../src/transactiondialog.h
../../src/transactiondialog.h \
../../src/argumentlist.h \
../../src/pacmanexec.h \
../../src/searchlineedit.h \
../../src/searchbar.h
FORMS += ../../ui/transactiondialog.ui
FORMS += ../../ui/transactiondialog.ui \
ui/setupdialog.ui
RESOURCES += \
../../resources.qrc

View File

@@ -0,0 +1,277 @@
/*
* This file is part of Octopi, an open-source GUI for pacman.
* Copyright (C) 2013 Alexandre Albuquerque Arnt
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
#include "outputdialog.h"
#include "../../src/pacmanexec.h"
#include "../../src/searchbar.h"
#include "../../src/uihelper.h"
#include "../../src/strconstants.h"
#include <QTextBrowser>
#include <QVBoxLayout>
#include <QProgressBar>
#include <QCloseEvent>
#include <QMessageBox>
/*
* Class that displays pacman output for system upgrade
*/
/*
* The obligatory constructor...
*/
OutputDialog::OutputDialog(QWidget *parent): QDialog(parent)
{
init();
m_upgradeRunning = false;
m_debugInfo = false;
}
/*
* Sets if pacmanExec will be called in debugMode or not
*/
void OutputDialog::setDebugMode(bool newValue)
{
m_debugInfo = newValue;
}
/*
* Let's build the main widgets...
*/
void OutputDialog::init()
{
this->resize(650, 500);
setWindowTitle(QCoreApplication::translate("MainWindow", "System upgrade"));
setWindowIcon(IconHelper::getIconSystemUpgrade());
m_mainLayout = new QVBoxLayout(this);
m_textBrowser = new QTextBrowser(this);
m_progressBar = new QProgressBar(this);
m_textBrowser->setGeometry(QRect(0, 0, 650, 500));
m_mainLayout->addWidget(m_textBrowser);
m_searchBar = new SearchBar(this);
connect(m_searchBar, SIGNAL(textChanged(QString)), this, SLOT(onSearchBarTextChanged(QString)));
connect(m_searchBar, SIGNAL(closed()), this, SLOT(onSearchBarClosed()));
connect(m_searchBar, SIGNAL(findNext()), this, SLOT(onSearchBarFindNext()));
connect(m_searchBar, SIGNAL(findPrevious()), this, SLOT(onSearchBarFindPrevious()));
m_mainLayout->addWidget(m_progressBar);
m_mainLayout->addWidget(m_searchBar);
m_mainLayout->setSpacing(0);
m_mainLayout->setSizeConstraint(QLayout::SetMinimumSize);
m_mainLayout->setContentsMargins(2, 2, 2, 2);
m_progressBar->setMinimum(0);
m_progressBar->setMaximum(100);
m_progressBar->setValue(0);
m_progressBar->close();
m_searchBar->show();
}
/*
* Calls PacmanExec to begin system upgrade
*/
void OutputDialog::doSystemUpgrade()
{
m_pacmanExec = new PacmanExec();
if (m_debugInfo)
m_pacmanExec->setDebugMode(true);
QObject::connect(m_pacmanExec, SIGNAL( finished ( int, QProcess::ExitStatus )),
this, SLOT( pacmanProcessFinished(int, QProcess::ExitStatus) ));
QObject::connect(m_pacmanExec, SIGNAL(percentage(int)), this, SLOT(onPencertange(int)));
QObject::connect(m_pacmanExec, SIGNAL(textToPrintExt(QString)), this, SLOT(onWriteOutput(QString)));
m_upgradeRunning = true;
m_pacmanExec->doSystemUpgrade();
//m_pacmanExec->doInstall("octopi"); //TEST CODE!
}
/*
* Centers the dialog in the screen
*/
void OutputDialog::show()
{
#if QT_VERSION >= 0x050000
utils::positionWindowAtScreenCenter(this);
#endif
QDialog::show();
doSystemUpgrade();
}
/*
* Whenever the user presses the ESC key
*/
void OutputDialog::reject()
{
if (!m_upgradeRunning)
{
QDialog::reject();
}
}
/*
* Slot called whenever PacmanExec emits a new percentage change
*/
void OutputDialog::onPencertange(int percentage)
{
if (percentage > 0 && !m_progressBar->isVisible()) m_progressBar->show();
m_progressBar->setValue(percentage);
}
/*
* Helper method to position the text cursor always in the end of doc
*/
void OutputDialog::positionTextEditCursorAtEnd()
{
QTextCursor tc = m_textBrowser->textCursor();
tc.clearSelection();
tc.movePosition(QTextCursor::End);
m_textBrowser->setTextCursor(tc);
}
/*
* A helper method which writes the given string to the textbrowser
*/
void OutputDialog::writeToTabOutput(const QString &msg, TreatURLLinks treatURLLinks)
{
utils::writeToTextBrowser(m_textBrowser, msg, treatURLLinks);
}
/*
* Slot called whenever PacmanExec emits a new output
*/
void OutputDialog::onWriteOutput(const QString &output)
{
utils::positionTextEditCursorAtEnd(m_textBrowser);
m_textBrowser->insertHtml(output);
m_textBrowser->ensureCursorVisible();
}
/*
* Helper method to find the given "findText" in a TextEdit
*/
bool OutputDialog::textInTabOutput(const QString& findText)
{
return (utils::strInQTextEdit(m_textBrowser, findText));
}
/*
* Slot called whenever PacmanExec finishes its job
*/
void OutputDialog::pacmanProcessFinished(int exitCode, QProcess::ExitStatus exitStatus)
{
m_progressBar->close();
if ((exitCode == 0) && exitStatus == QProcess::NormalExit)
{
writeToTabOutput("<br><b>" + StrConstants::getCommandFinishedOK() + "</b><br>");
}
else
{
writeToTabOutput("<br><b>" + StrConstants::getCommandFinishedWithErrors() + "</b><br>");
}
if (exitCode != 0 && (textInTabOutput("conflict"))) //|| _textInTabOutput("could not satisfy dependencies")))
{
int res = QMessageBox::question(this, StrConstants::getThereHasBeenATransactionError(),
StrConstants::getConfirmExecuteTransactionInTerminal(),
QMessageBox::Yes|QMessageBox::No, QMessageBox::No);
if (res == QMessageBox::Yes)
{
m_pacmanExec->runLastestCommandInTerminal();
return;
}
}
delete m_pacmanExec;
m_upgradeRunning = false;
}
/*
* User changed text to search in the line edit
*/
void OutputDialog::onSearchBarTextChanged(QString strToSearch)
{
utils::searchBarTextChangedInTextBrowser(m_textBrowser, m_searchBar, strToSearch);
}
/*
* User closed the search bar
*/
void OutputDialog::onSearchBarClosed()
{
utils::searchBarClosedInTextBrowser(m_textBrowser, m_searchBar);
}
/*
* User requested next found string
*/
void OutputDialog::onSearchBarFindNext()
{
utils::searchBarFindNextInTextBrowser(m_textBrowser, m_searchBar);
}
/*
* User requested previous found string
*/
void OutputDialog::onSearchBarFindPrevious()
{
utils::searchBarFindPreviousInTextBrowser(m_textBrowser, m_searchBar);
}
/*
* Let's not exit the dialog if a system upgrade is running
*/
void OutputDialog::closeEvent(QCloseEvent *event)
{
//We cannot quit while there is a running transaction!
if(m_upgradeRunning)
{
event->ignore();
}
else
{
emit finished(0);
event->accept();
}
}
/*
* Whenever user presses Ctrl+F, we show the searchbar again
*/
void OutputDialog::keyPressEvent(QKeyEvent *ke)
{
if(ke->key() == Qt::Key_F && ke->modifiers() == Qt::ControlModifier)
{
m_searchBar->show();
}
else if(ke->key() == Qt::Key_Escape)
{
reject();
}
else ke->accept();
}

View File

@@ -0,0 +1,83 @@
/*
* This file is part of Octopi, an open-source GUI for pacman.
* Copyright (C) 2013 Alexandre Albuquerque Arnt
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
#ifndef OUTPUTDIALOG_H
#define OUTPUTDIALOG_H
#include "../../src/constants.h"
#include <QDialog>
#include <QProcess>
class PacmanExec;
class QString;
class QTextBrowser;
class QVBoxLayout;
class QProgressBar;
class SearchBar;
class QWidget;
class QCloseEvent;
class QKeyEvent;
class OutputDialog : public QDialog
{
Q_OBJECT
private:
QTextBrowser *m_textBrowser;
QProgressBar *m_progressBar;
QVBoxLayout *m_mainLayout;
PacmanExec *m_pacmanExec;
SearchBar *m_searchBar;
bool m_upgradeRunning;
bool m_debugInfo;
void init();
void doSystemUpgrade();
void positionTextEditCursorAtEnd();
bool textInTabOutput(const QString& findText);
void writeToTabOutput(const QString &msg, TreatURLLinks treatURLLinks = ectn_TREAT_URL_LINK);
private slots:
void onPencertange(int percentage);
void onWriteOutput(const QString &output);
void pacmanProcessFinished(int exitCode, QProcess::ExitStatus exitStatus);
//SearchBar slots
void onSearchBarTextChanged(QString strToSearch);
void onSearchBarClosed();
void onSearchBarFindNext();
void onSearchBarFindPrevious();
protected:
virtual void closeEvent(QCloseEvent * event);
virtual void keyPressEvent(QKeyEvent * ke);
public:
explicit OutputDialog(QWidget *parent = 0);
void setDebugMode(bool newValue);
public slots:
void show();
void reject();
};
#endif // OUTPUTDIALOG_H

View File

@@ -0,0 +1,165 @@
/*
* This file is part of Octopi, an open-source GUI for pacman.
* Copyright (C) 2013 Alexandre Albuquerque Arnt
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
#include "../../src/settingsmanager.h"
#include "../../src/strconstants.h"
#include "setupdialog.h"
#include "ui_setupdialog.h"
SetupDialog::SetupDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::SetupDialog)
{
ui->setupUi(this);
init();
}
SetupDialog::~SetupDialog()
{
delete ui;
}
/*
* Here we read the values from ~/.config/octopi.conf...
*/
void SetupDialog::init()
{
connect(ui->buttonBox, SIGNAL(accepted()), this, SLOT(accept()));
connect(ui->buttonBox, SIGNAL(rejected()), this, SLOT(reject()));
setWindowTitle(StrConstants::getNotifierSetupDialogTitle());
ui->groupBox->setTitle(StrConstants::getNotiferSetupDialogGroupBoxTitle());
ui->rbOnceADay->setText(StrConstants::getOnceADay());
ui->rbOnceADayAt->setText(StrConstants::getOnceADayAt());
ui->lblOnceADayAt->setText(StrConstants::getOnceADayAtDesc());
ui->rbOnceEvery->setText(StrConstants::getOnceEvery());
ui->lblOnceEvery->setText(StrConstants::getOnceEveryDesc().arg(5).arg(44640));
connect(ui->rbOnceADay, SIGNAL(clicked()), this, SLOT(selectOnceADay()));
connect(ui->rbOnceADayAt, SIGNAL(clicked()), this, SLOT(selectOnceADayAt()));
connect(ui->rbOnceEvery, SIGNAL(clicked()), this, SLOT(selectOnceEvery()));
//First, which radio button do we select?
int syncDbInterval = SettingsManager::getSyncDbInterval();
int syncDbHour = SettingsManager::getSyncDbHour();
bool useSyncDbInterval = false;
bool useSyncDbHour = false;
if (syncDbInterval == -1)
{
ui->spinOnceEvery->setValue(5);
}
else if (syncDbInterval != -1)
{
ui->spinOnceEvery->setValue(syncDbInterval);
useSyncDbInterval = true;
}
if (syncDbHour == -1)
{
ui->spinOnceADayAt->setValue(0);
}
else if (syncDbHour != -1)
{
ui->spinOnceADayAt->setValue(syncDbHour);
useSyncDbHour = true;
}
if (useSyncDbInterval)
{
ui->rbOnceEvery->setChecked(true);
selectOnceEvery();
}
else if (useSyncDbHour)
{
ui->rbOnceADayAt->setChecked(true);
selectOnceADayAt();
}
else //We are using just "Once a day"!!!
{
ui->rbOnceADay->setChecked(true);
selectOnceADay();
}
}
/*
* Every time user clicks on OK button, we save his choice.
*/
void SetupDialog::accept()
{
saveChanges();
QDialog::accept();
}
/*
* Here we save the changes back into ~/.config/octopi.conf...
*/
void SetupDialog::saveChanges()
{
if (ui->rbOnceADay->isChecked())
{
SettingsManager::setSyncDbHour(-1);
SettingsManager::setSyncDbInterval(-1);
}
else if (ui->rbOnceADayAt->isChecked())
{
SettingsManager::setSyncDbHour(ui->spinOnceADayAt->value());
SettingsManager::setSyncDbInterval(-1);
}
else if (ui->rbOnceEvery->isChecked())
{
SettingsManager::setSyncDbInterval(ui->spinOnceEvery->value());
}
}
/*
* Whenever user selects the first radio button, we have to disable some widgets
*/
void SetupDialog::selectOnceADay()
{
ui->rbOnceADay->setChecked(true);
ui->spinOnceADayAt->setEnabled(false);
ui->spinOnceEvery->setEnabled(false);
ui->rbOnceADayAt->setChecked(false);
ui->rbOnceEvery->setChecked(false);
}
/*
* Whenever user selects the second radio button, we have to disable some widgets
*/
void SetupDialog::selectOnceADayAt()
{
ui->rbOnceADayAt->setChecked(true);
ui->spinOnceADayAt->setEnabled(true);
ui->spinOnceEvery->setEnabled(false);
ui->rbOnceADay->setChecked(false);
ui->rbOnceEvery->setChecked(false);
}
/*
* Whenever user selects the third radio button, we have to disable some widgets
*/
void SetupDialog::selectOnceEvery()
{
ui->rbOnceEvery->setChecked(true);
ui->spinOnceADayAt->setEnabled(false);
ui->spinOnceEvery->setEnabled(true);
ui->rbOnceADay->setChecked(false);
ui->rbOnceADayAt->setChecked(false);
}

View File

@@ -0,0 +1,52 @@
/*
* This file is part of Octopi, an open-source GUI for pacman.
* Copyright (C) 2013 Alexandre Albuquerque Arnt
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
#ifndef CONFIGDIALOG_H
#define CONFIGDIALOG_H
#include <QDialog>
namespace Ui {
class SetupDialog;
}
class SetupDialog : public QDialog
{
Q_OBJECT
public:
explicit SetupDialog(QWidget *parent = 0);
~SetupDialog();
public slots:
virtual void accept();
private:
Ui::SetupDialog *ui;
void init();
void saveChanges();
private slots:
void selectOnceADay();
void selectOnceADayAt();
void selectOnceEvery();
};
#endif // CONFIGDIALOG_H

View File

@@ -0,0 +1,238 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>SetupDialog</class>
<widget class="QDialog" name="SetupDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>510</width>
<height>295</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>510</width>
<height>295</height>
</size>
</property>
<property name="windowTitle">
<string>Setup</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string notr="true">rgTitle</string>
</property>
<property name="flat">
<bool>false</bool>
</property>
<property name="checkable">
<bool>false</bool>
</property>
<widget class="QRadioButton" name="rbOnceADay">
<property name="geometry">
<rect>
<x>8</x>
<y>33</y>
<width>371</width>
<height>21</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string notr="true">Once a day</string>
</property>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>8</x>
<y>71</y>
<width>481</width>
<height>64</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QRadioButton" name="rbOnceADayAt">
<property name="text">
<string notr="true">Once a day, but at:</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>24</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QSpinBox" name="spinOnceADayAt">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>72</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>150</width>
<height>16777215</height>
</size>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>23</number>
</property>
<property name="value">
<number>0</number>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lblOnceADayAt">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>(value in 24-hour format: 0 to 23)</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget_1">
<property name="geometry">
<rect>
<x>8</x>
<y>147</y>
<width>481</width>
<height>64</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QRadioButton" name="rbOnceEvery">
<property name="text">
<string notr="true">Once e&amp;very:</string>
</property>
<property name="autoExclusive">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<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>24</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QSpinBox" name="spinOnceEvery">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>66</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>150</width>
<height>16777215</height>
</size>
</property>
<property name="minimum">
<number>5</number>
</property>
<property name="maximum">
<number>44640</number>
</property>
<property name="value">
<number>60</number>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lblOnceEvery">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>(value in minutes: 5 to 1380)</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
</item>
<item row="1" column="0">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>

View File

@@ -7,3 +7,4 @@ Type=Application
Categories=GNOME;GTK;System;
#NotShowIn=GNOME;XFCE;LXDE;KDE;
StartupNotify=true
X-LXQt-Need-Tray=true

View File

@@ -1,6 +1,8 @@
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
update-desktop-database -q
systemctl enable octopi.service &> /dev/null
}
post_upgrade() {

View File

@@ -4,10 +4,7 @@
#
#-------------------------------------------------
QT += core gui network xml dbus
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets quick quickwidgets
QT += core gui network xml dbus widgets quick quickwidgets
DEFINES += OCTOPI_EXTENSIONS
CONFIG += qt warn_on debug
QMAKE_CXXFLAGS += -std=c++11
@@ -39,7 +36,9 @@ HEADERS += src/QtSolutions/qtsingleapplication.h \
src/model/packagemodel.h \
src/ui/octopitabinfo.h \
src/utils.h \
src/terminal.h
src/terminal.h \
src/pacmanexec.h \
src/constants.h
greaterThan(QT_VERSION, 5.3): HEADERS += src/terminalselectordialog.h
@@ -71,7 +70,8 @@ SOURCES += src/QtSolutions/qtsingleapplication.cpp \
src/model/packagemodel.cpp \
src/ui/octopitabinfo.cpp \
src/utils.cpp \
src/terminal.cpp
src/terminal.cpp \
src/pacmanexec.cpp
greaterThan(QT_VERSION, 5.3): SOURCES += src/terminalselectordialog.cpp
@@ -107,6 +107,7 @@ TRANSLATIONS += resources/translations/octopi_pt_BR.ts \
resources/translations/octopi_ru.ts \
resources/translations/octopi_uz.ts \
resources/translations/octopi_fi.ts \
resources/translations/octopi_fi_FI.ts \
resources/translations/octopi_vi.ts \
resources/translations/octopi_en_GB.ts \
resources/translations/octopi_pt_PT.ts \
@@ -117,8 +118,9 @@ TRANSLATIONS += resources/translations/octopi_pt_BR.ts \
resources/translations/octopi_uk.ts \
resources/translations/octopi_sk.ts \
resources/translations/octopi_ja.ts \
resources/translations/octopi_eu.ts
greaterThan(QT_MAJOR_VERSION, 4){
TRANSLATIONS += resources/translations/octopi_ast.ts
}
resources/translations/octopi_eu.ts \
resources/translations/octopi_gl_ES.ts \
resources/translations/octopi_ast.ts \
resources/translations/octopi_hr.ts \
resources/translations/octopi_zh-Hans.ts
resources/translations/octopi_zh_CN.ts

View File

@@ -1,9 +0,0 @@
#/bin/sh
# Helper for Qt5 libs to generate all Octopi translations
TRANSLATIONS=./resources/translations/*
for f in $TRANSLATIONS
do
lrelease-qt5 $f
done

34
release-translations.sh Executable file
View File

@@ -0,0 +1,34 @@
#/bin/sh
# Helper for Qt5 libs to generate all Octopi translations
# First we get all translations from Transifex
tx pull
# Then we release each of them
TRANSLATIONS=./resources/translations/*
for f in $TRANSLATIONS
do
lrelease-qt5 $f
done
# Repeat for Cachecleaner
cd cachecleaner
tx pull
# And release each of them
for f in $TRANSLATIONS
do
lrelease-qt5 $f
done
# Repeat for Repoeditor
cd ../repoeditor
tx pull
# And release each of them
for f in $TRANSLATIONS
do
lrelease-qt5 $f
done

View File

@@ -4,9 +4,7 @@
#
#-------------------------------------------------
QT += core gui network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
QT += core gui network widgets
CONFIG += qt console warn_on debug
@@ -44,24 +42,46 @@ FORMS += addrepo.ui \
RESOURCES += resources.qrc
TRANSLATIONS += resources/translations/octopi_repoeditor_en.ts \
resources/translations/octopi_repoeditor_it.ts \
resources/translations/octopi_repoeditor_sk.ts \
resources/translations/octopi_repoeditor_sv.ts \
resources/translations/octopi_repoeditor_pt_BR.ts \
resources/translations/octopi_repoeditor_zh_TW.ts \
resources/translations/octopi_repoeditor_id.ts \
resources/translations/octopi_repoeditor_he.ts \
resources/translations/octopi_repoeditor_lt.ts \
resources/translations/octopi_repoeditor_bg.ts \
resources/translations/octopi_repoeditor_cs.ts \
resources/translations/octopi_repoeditor_nl.ts \
resources/translations/octopi_repoeditor_pl.ts \
resources/translations/octopi_repoeditor_tr_TR.ts \
resources/translations/octopi_repoeditor_nb.ts \
resources/translations/octopi_repoeditor_es_ES.ts \
resources/translations/octopi_repoeditor_es_AR.ts \
resources/translations/octopi_repoeditor_de.ts \
resources/translations/octopi_repoeditor_hu.ts \
resources/translations/octopi_repoeditor_it.ts \
resources/translations/octopi_repoeditor_ja.ts
TRANSLATIONS += resources/translations/octopi_repoeditor_pt_BR.ts \
resources/translations/octopi_repoeditor_fr_FR.ts \
resources/translations/octopi_repoeditor_es_ES.ts \
resources/translations/octopi_repoeditor_es_419.ts \
resources/translations/octopi_repoeditor_es_AR.ts \
resources/translations/octopi_repoeditor_el.ts \
resources/translations/octopi_repoeditor_de.ts \
resources/translations/octopi_repoeditor_it.ts \
resources/translations/octopi_repoeditor_ro.ts \
resources/translations/octopi_repoeditor_tr_TR.ts \
resources/translations/octopi_repoeditor_ar.ts \
resources/translations/octopi_repoeditor_ca.ts \
resources/translations/octopi_repoeditor_bg.ts \
resources/translations/octopi_repoeditor_pl.ts \
resources/translations/octopi_repoeditor_id.ts \
resources/translations/octopi_repoeditor_da.ts \
resources/translations/octopi_repoeditor_cs.ts \
resources/translations/octopi_repoeditor_he.ts \
resources/translations/octopi_repoeditor_lt.ts \
resources/translations/octopi_repoeditor_nb.ts \
resources/translations/octopi_repoeditor_sr@latin.ts \
resources/translations/octopi_repoeditor_sr_RS.ts \
resources/translations/octopi_repoeditor_nl.ts \
resources/translations/octopi_repoeditor_ru.ts \
resources/translations/octopi_repoeditor_uz.ts \
resources/translations/octopi_repoeditor_fi.ts \
resources/translations/octopi_repoeditor_fi_FI.ts \
resources/translations/octopi_repoeditor_vi.ts \
resources/translations/octopi_repoeditor_en_GB.ts \
resources/translations/octopi_repoeditor_pt_PT.ts \
resources/translations/octopi_repoeditor_sv.ts \
resources/translations/octopi_repoeditor_hu.ts \
resources/translations/octopi_repoeditor_zh_TW.ts \
resources/translations/octopi_repoeditor_ms_MY.ts \
resources/translations/octopi_repoeditor_uk.ts \
resources/translations/octopi_repoeditor_sk.ts \
resources/translations/octopi_repoeditor_ja.ts \
resources/translations/octopi_repoeditor_eu.ts \
resources/translations/octopi_repoeditor_gl_ES.ts \
resources/translations/octopi_repoeditor_ast.ts \
resources/translations/octopi_repoeditor_hr.ts \
resources/translations/octopi_repoeditor_zh-Hans.ts
resources/translations/octopi_repoeditor_zh_CN.ts

View File

@@ -1,9 +0,0 @@
#/bin/sh
# Helper for Qt5 libs to generate all Octopi translations
TRANSLATIONS=./resources/translations/*
for f in $TRANSLATIONS
do
lrelease-qt5 $f
done

View File

@@ -2,26 +2,48 @@
<qresource prefix="/">
<file>resources/images/octopi_green.png</file>
<file>resources/images/binary.png</file>
<file>resources/translations/octopi_repoeditor_sk.qm</file>
<file>resources/translations/octopi_repoeditor_sv.qm</file>
<file>resources/translations/octopi_repoeditor_fr_FR.qm</file>
<file>resources/translations/octopi_repoeditor_zh_TW.qm</file>
<file>resources/translations/octopi_repoeditor_id.qm</file>
<file>resources/translations/octopi_repoeditor_pt_BR.qm</file>
<file>resources/translations/octopi_repoeditor_he.qm</file>
<file>resources/translations/octopi_repoeditor_lt.qm</file>
<file>resources/translations/octopi_repoeditor_ar.qm</file>
<file>resources/translations/octopi_repoeditor_ast.qm</file>
<file>resources/translations/octopi_repoeditor_bg.qm</file>
<file>resources/translations/octopi_repoeditor_ca.qm</file>
<file>resources/translations/octopi_repoeditor_cs.qm</file>
<file>resources/translations/octopi_repoeditor_da.qm</file>
<file>resources/translations/octopi_repoeditor_de.qm</file>
<file>resources/translations/octopi_repoeditor_el.qm</file>
<file>resources/translations/octopi_repoeditor_en_GB.qm</file>
<file>resources/translations/octopi_repoeditor_en.qm</file>
<file>resources/translations/octopi_repoeditor_nl.qm</file>
<file>resources/translations/octopi_repoeditor_pl.qm</file>
<file>resources/translations/octopi_repoeditor_tr_TR.qm</file>
<file>resources/translations/octopi_repoeditor_nb.qm</file>
<file>resources/translations/octopi_repoeditor_es_419.qm</file>
<file>resources/translations/octopi_repoeditor_es_AR.qm</file>
<file>resources/translations/octopi_repoeditor_es_ES.qm</file>
<file>resources/translations/octopi_repoeditor_de.qm</file>
<file>resources/translations/octopi_repoeditor_eu.qm</file>
<file>resources/translations/octopi_repoeditor_fi.qm</file>
<file>resources/translations/octopi_repoeditor_fi_FI.qm</file>
<file>resources/translations/octopi_repoeditor_fr_FR.qm</file>
<file>resources/translations/octopi_repoeditor_he.qm</file>
<file>resources/translations/octopi_repoeditor_hu.qm</file>
<file>resources/translations/octopi_repoeditor_id.qm</file>
<file>resources/translations/octopi_repoeditor_it.qm</file>
<file>resources/translations/octopi_repoeditor_ja.qm</file>
<file>resources/translations/octopi_repoeditor_lt.qm</file>
<file>resources/translations/octopi_repoeditor_ms_MY.qm</file>
<file>resources/translations/octopi_repoeditor_nb.qm</file>
<file>resources/translations/octopi_repoeditor_nl.qm</file>
<file>resources/translations/octopi_repoeditor_pl.qm</file>
<file>resources/translations/octopi_repoeditor_pt_BR.qm</file>
<file>resources/translations/octopi_repoeditor_pt_PT.qm</file>
<file>resources/translations/octopi_repoeditor_ro.qm</file>
<file>resources/translations/octopi_repoeditor_ru.qm</file>
<file>resources/translations/octopi_repoeditor_sk.qm</file>
<file>resources/translations/octopi_repoeditor_sr@latin.qm</file>
<file>resources/translations/octopi_repoeditor_sr_RS.qm</file>
<file>resources/translations/octopi_repoeditor_sv.qm</file>
<file>resources/translations/octopi_repoeditor_tr_TR.qm</file>
<file>resources/translations/octopi_repoeditor_uk.qm</file>
<file>resources/translations/octopi_repoeditor_uz.qm</file>
<file>resources/translations/octopi_repoeditor_vi.qm</file>
<file>resources/translations/octopi_repoeditor_zh_TW.qm</file>
<file>resources/translations/octopi_repoeditor_zh-Hans.qm</file>
<file>resources/translations/octopi_repoeditor_zh_CN.qm</file>
<file>resources/translations/octopi_repoeditor_hr.qm</file>
</qresource>
</RCC>

View File

@@ -0,0 +1,202 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ar" version="2.0">
<context>
<name>AddRepo</name>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="14"/>
<source>Add Repository - Octopi</source>
<translation>أضف مستودعات - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="22"/>
<source>Repository:</source>
<translation>مستودع:</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="32"/>
<source>Repository name</source>
<translation>إسم المستودع</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="39"/>
<source>Location:</source>
<translation>المكان:</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="86"/>
<source>The repository name field can&apos;t be blank.</source>
<translation>إسم المستودع يمكن تركه فارغا.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="101"/>
<source>The repository location field is not valid.</source>
<translation>الحقل مكان المستودع غير صالح</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="104"/>
<source>The repository name field is not valid.</source>
<translation>خانة إسم المستودع غير صالحة</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="111"/>
<source>Address of remote or local packages repository</source>
<translation>عنوان مستودع حزم محلي أو بعيد</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="115"/>
<source>Path to mirrors list file</source>
<translation>المسار لملف قائمة الميررز</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="124"/>
<source>Error</source>
<translation>خطأ</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="125"/>
<source>Can&apos;t add repository.</source>
<translation> يمكن إضافة مستودع.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="136"/>
<source>Select local repository</source>
<translation>إختر مستودع محلي</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="149"/>
<source>Select mirrors list</source>
<translation>إختيار قائمة المرايا</translation>
</message>
</context>
<context>
<name>RepoConf</name>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="176"/>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="185"/>
<source>Backup error</source>
<translation>خطأ في النسخ الإحتياطي</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="177"/>
<source>Backup file already exists.</source>
<translation>ملف النسخ الإحتياطي موجود مسبقا.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="177"/>
<source>Do you want to overwrite it?</source>
<translation>هل ترغب في إستبداله؟</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="186"/>
<source>Can&apos;t create backup file.</source>
<translation>لا يمكن إنشاء ملف نسخ إحتياطي.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="186"/>
<source>Do you want to proceed without a backup?</source>
<translation>هل تريد المتابعة بدون نسخة إحتياطية؟</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="242"/>
<source>Active</source>
<translation>نشط</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="242"/>
<source>Repository</source>
<translation>مستودع</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="242"/>
<source>Options</source>
<translation>خيارات</translation>
</message>
</context>
<context>
<name>RepoEditor</name>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="14"/>
<source>Repository Editor - Octopi</source>
<translation>محرر المستودعات - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="28"/>
<source>Available Repositories</source>
<translation>المستودعات المتاحة</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="76"/>
<source>Edit</source>
<translation>تعديل</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="91"/>
<source>Add</source>
<translation>إضافة</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="106"/>
<source>Remove</source>
<translation>إزالة</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="134"/>
<source>Move Up</source>
<translation>أنقل للأعلى</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="149"/>
<source>Move Down</source>
<translation>أنقل للأسفل</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="166"/>
<source>Backup</source>
<translation>نسخة إحتياطية</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="174"/>
<source>Create backup on save</source>
<translation>أنشئ نسخة إحتياطية أثناء الحفظ</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="197"/>
<source>Load a backup file</source>
<translation>حمَل ملف الإسترجاع</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="213"/>
<source>Backup file:</source>
<translation>ملف النسخة الإحتياطية:</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="99"/>
<source>Can&apos;t load backup file</source>
<translation>لا يمكن تحميل ملف النسخ الإحتياطي</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="100"/>
<source>Selected file is not valid</source>
<translation>الملف المختار غير صالح</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="149"/>
<source>Success</source>
<translation>نجاح</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="150"/>
<source>Repositories configuration successfully saved.</source>
<translation>تم حفظ إعدادات المستودعات بنجاح.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="155"/>
<source>Error</source>
<translation>خطأ</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="156"/>
<source>Repositories configuration not saved.</source>
<translation>لم يتم حفظ إعدادات المستودعات.</translation>
</message>
</context>
</TS>

View File

@@ -0,0 +1,202 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ast" version="2.0">
<context>
<name>AddRepo</name>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="14"/>
<source>Add Repository - Octopi</source>
<translation>Amestar repositorios - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="22"/>
<source>Repository:</source>
<translation>Repositoriu:</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="32"/>
<source>Repository name</source>
<translation>Nome del repositoriu</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="39"/>
<source>Location:</source>
<translation>Allugamientu:</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="86"/>
<source>The repository name field can&apos;t be blank.</source>
<translation>Nun pue tar baleru&apos;l nome&apos;l campu&apos;l repsitoriu.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="101"/>
<source>The repository location field is not valid.</source>
<translation>Nun ye válidu&apos;l campu d&apos;allugamientu del repositoriu.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="104"/>
<source>The repository name field is not valid.</source>
<translation>Nun ye válidu&apos;l campu del nome del repositoriu.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="111"/>
<source>Address of remote or local packages repository</source>
<translation>Direición del repositoriu de paquetes llocal o remotu</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="115"/>
<source>Path to mirrors list file</source>
<translation>Camín al ficheru de llista d&apos;espeyos</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="124"/>
<source>Error</source>
<translation>Fallu</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="125"/>
<source>Can&apos;t add repository.</source>
<translation>Nun pue amestase&apos;l repositoriu.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="136"/>
<source>Select local repository</source>
<translation>Esbillar repositoriu llocal</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="149"/>
<source>Select mirrors list</source>
<translation>Esbillar llistáu d&apos;espeyos</translation>
</message>
</context>
<context>
<name>RepoConf</name>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="176"/>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="185"/>
<source>Backup error</source>
<translation>Fallu de copia de seguranza</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="177"/>
<source>Backup file already exists.</source>
<translation> esiste&apos;l ficheru de copia de seguranza.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="177"/>
<source>Do you want to overwrite it?</source>
<translation>¿Quies sobrescribilu?</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="186"/>
<source>Can&apos;t create backup file.</source>
<translation>Nun pue crease&apos;l ficheru de copia de seguranza</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="186"/>
<source>Do you want to proceed without a backup?</source>
<translation>¿De xuru que quies siguir ensin una copia de seguranza?</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="242"/>
<source>Active</source>
<translation>Activu</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="242"/>
<source>Repository</source>
<translation>Repositoriu</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="242"/>
<source>Options</source>
<translation>Opciones</translation>
</message>
</context>
<context>
<name>RepoEditor</name>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="14"/>
<source>Repository Editor - Octopi</source>
<translation>Editor de repositoriu - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="28"/>
<source>Available Repositories</source>
<translation>Respositorios disponibles</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="76"/>
<source>Edit</source>
<translation>Editar</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="91"/>
<source>Add</source>
<translation>Amestar</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="106"/>
<source>Remove</source>
<translation>Desaniciar</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="134"/>
<source>Move Up</source>
<translation>Xubir</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="149"/>
<source>Move Down</source>
<translation>Baxar</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="166"/>
<source>Backup</source>
<translation>Copia de seguranza</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="174"/>
<source>Create backup on save</source>
<translation>Crear copia de seguranza al guardar</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="197"/>
<source>Load a backup file</source>
<translation>Cargar una copia de seguranza</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="213"/>
<source>Backup file:</source>
<translation>Ficheru de copia de seguranza:</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="99"/>
<source>Can&apos;t load backup file</source>
<translation>Nun pue cargase&apos;l ficheru de copia de seguranza</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="100"/>
<source>Selected file is not valid</source>
<translation>Nun ye válidu&apos;l ficheru esbilláu</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="149"/>
<source>Success</source>
<translation>Ésitu</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="150"/>
<source>Repositories configuration successfully saved.</source>
<translation>Guardóse con ésitu la configuración de los repositorios.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="155"/>
<source>Error</source>
<translation>Fallu</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="156"/>
<source>Repositories configuration not saved.</source>
<translation>Nun se guardó la configuración de los repositorios.</translation>
</message>
</context>
</TS>

View File

@@ -0,0 +1,202 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ca" version="2.0">
<context>
<name>AddRepo</name>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="14"/>
<source>Add Repository - Octopi</source>
<translation>Afegeix un repositori - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="22"/>
<source>Repository:</source>
<translation>Repositori:</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="32"/>
<source>Repository name</source>
<translation>Nom del repositori</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="39"/>
<source>Location:</source>
<translation>Ubicació:</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="86"/>
<source>The repository name field can&apos;t be blank.</source>
<translation>El camp del nom del repositori no pot estar en blanc.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="101"/>
<source>The repository location field is not valid.</source>
<translation>El camp de la ubicació del repositori no és vàlid.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="104"/>
<source>The repository name field is not valid.</source>
<translation>El camp del nom del repositori no és vàlid.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="111"/>
<source>Address of remote or local packages repository</source>
<translation>Adreça local o remota del repositori de paquets</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="115"/>
<source>Path to mirrors list file</source>
<translation>Camí al fitxer de la llista de rèpliques</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="124"/>
<source>Error</source>
<translation>Error</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="125"/>
<source>Can&apos;t add repository.</source>
<translation>No es pot afegir el repositori.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="136"/>
<source>Select local repository</source>
<translation>Seleccioneu un repositori local</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="149"/>
<source>Select mirrors list</source>
<translation>Seleccioneu una llista de rèpliques</translation>
</message>
</context>
<context>
<name>RepoConf</name>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="176"/>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="185"/>
<source>Backup error</source>
<translation>Error de còpia de seguretat</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="177"/>
<source>Backup file already exists.</source>
<translation>El fitxer de còpia de seguretat ja existeix.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="177"/>
<source>Do you want to overwrite it?</source>
<translation>Voleu sobreescriure&apos;l?</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="186"/>
<source>Can&apos;t create backup file.</source>
<translation>No es pot crear el fitxer de còpia de seguretat.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="186"/>
<source>Do you want to proceed without a backup?</source>
<translation>Voleu continuar sense una còpia de seguretat?</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="242"/>
<source>Active</source>
<translation>Actiu</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="242"/>
<source>Repository</source>
<translation>Repositori</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="242"/>
<source>Options</source>
<translation>Opcions</translation>
</message>
</context>
<context>
<name>RepoEditor</name>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="14"/>
<source>Repository Editor - Octopi</source>
<translation>Editor de repositoris - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="28"/>
<source>Available Repositories</source>
<translation>Repositoris disponibles</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="76"/>
<source>Edit</source>
<translation>Edita</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="91"/>
<source>Add</source>
<translation>Afegeix</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="106"/>
<source>Remove</source>
<translation>Suprimeix</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="134"/>
<source>Move Up</source>
<translation>Mou amunt</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="149"/>
<source>Move Down</source>
<translation>Mou avall</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="166"/>
<source>Backup</source>
<translation>Còpia de seguretat</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="174"/>
<source>Create backup on save</source>
<translation>Crea una còpia de seguretat en desar-ho</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="197"/>
<source>Load a backup file</source>
<translation>Carrega un fitxer de còpia de seguretat</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="213"/>
<source>Backup file:</source>
<translation>Fitxer de còpia de seguretat:</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="99"/>
<source>Can&apos;t load backup file</source>
<translation>No es pot carregar el fitxer de còpia de seguretat</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="100"/>
<source>Selected file is not valid</source>
<translation>El fitxer seleccionat no és vàlid</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="149"/>
<source>Success</source>
<translation>Èxit</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="150"/>
<source>Repositories configuration successfully saved.</source>
<translation>La configuració dels repositoris s&apos;ha desat correctament.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="155"/>
<source>Error</source>
<translation>Error</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="156"/>
<source>Repositories configuration not saved.</source>
<translation>No s&apos;ha desat la configuració dels repositoris</translation>
</message>
</context>
</TS>

View File

@@ -0,0 +1,202 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS language="da" version="2.0">
<context>
<name>AddRepo</name>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="14"/>
<source>Add Repository - Octopi</source>
<translation>Tilføj Repository - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="22"/>
<source>Repository:</source>
<translation>Repository:</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="32"/>
<source>Repository name</source>
<translation>Repository navn</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="39"/>
<source>Location:</source>
<translation>Beliggenhed:</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="86"/>
<source>The repository name field can&apos;t be blank.</source>
<translation>Repository navne feltet kan ikke være tomt.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="101"/>
<source>The repository location field is not valid.</source>
<translation>Repository belligenhed er ikke gyldig.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="104"/>
<source>The repository name field is not valid.</source>
<translation>Repository navn er ikke gydig.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="111"/>
<source>Address of remote or local packages repository</source>
<translation>Adresse til fjern eller lokal pakke repository.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="115"/>
<source>Path to mirrors list file</source>
<translation>Sti til mirrors liste fil</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="124"/>
<source>Error</source>
<translation>Fejl</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="125"/>
<source>Can&apos;t add repository.</source>
<translation>Kan ikke tilføje repository.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="136"/>
<source>Select local repository</source>
<translation>Vælg lokal repository</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="149"/>
<source>Select mirrors list</source>
<translation>Vælg mirror liste</translation>
</message>
</context>
<context>
<name>RepoConf</name>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="176"/>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="185"/>
<source>Backup error</source>
<translation>Backup fejl</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="177"/>
<source>Backup file already exists.</source>
<translation>Backup fil eksisterer allerede.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="177"/>
<source>Do you want to overwrite it?</source>
<translation>Vil du overskrive den?</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="186"/>
<source>Can&apos;t create backup file.</source>
<translation>Kan ikke lave backup fil.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="186"/>
<source>Do you want to proceed without a backup?</source>
<translation>Vil du fortsætte uden backup?</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="242"/>
<source>Active</source>
<translation>Aktiv</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="242"/>
<source>Repository</source>
<translation>Repository</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="242"/>
<source>Options</source>
<translation>Indstillinger</translation>
</message>
</context>
<context>
<name>RepoEditor</name>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="14"/>
<source>Repository Editor - Octopi</source>
<translation>Repository Editor - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="28"/>
<source>Available Repositories</source>
<translation>Tilgængelige Repositories</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="76"/>
<source>Edit</source>
<translation>Ændre</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="91"/>
<source>Add</source>
<translation>Tilføj</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="106"/>
<source>Remove</source>
<translation>Fjern</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="134"/>
<source>Move Up</source>
<translation>Flyt Op</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="149"/>
<source>Move Down</source>
<translation>Flyt Ned</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="166"/>
<source>Backup</source>
<translation>Backup</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="174"/>
<source>Create backup on save</source>
<translation>Lav backup ved gem</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="197"/>
<source>Load a backup file</source>
<translation>Indlæs en backup fil</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="213"/>
<source>Backup file:</source>
<translation>Backup fil:</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="99"/>
<source>Can&apos;t load backup file</source>
<translation>Kan ikke indlæse backup fil</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="100"/>
<source>Selected file is not valid</source>
<translation>Den valgte fil er ikke gyldig</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="149"/>
<source>Success</source>
<translation>Success</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="150"/>
<source>Repositories configuration successfully saved.</source>
<translation>Repositories konfiguration gemt med success.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="155"/>
<source>Error</source>
<translation>Fejl</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="156"/>
<source>Repositories configuration not saved.</source>
<translation>Repositories konfiguration ikke gemt.</translation>
</message>
</context>
</TS>

View File

@@ -0,0 +1,202 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS language="el" version="2.0">
<context>
<name>AddRepo</name>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="14"/>
<source>Add Repository - Octopi</source>
<translation>Προσθήκη αποθετηρίου - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="22"/>
<source>Repository:</source>
<translation>Αποθετήριο:</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="32"/>
<source>Repository name</source>
<translation>Ονομα αποθετήριου</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="39"/>
<source>Location:</source>
<translation>Τοποθεσία:</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="86"/>
<source>The repository name field can&apos;t be blank.</source>
<translation>Το πεδίο όνοματος αποθετήριου δεν μπορεί να είναι κενό.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="101"/>
<source>The repository location field is not valid.</source>
<translation>Το πεδίο τοποθεσία του αποθετηρίου δεν είναι έγκυρο.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="104"/>
<source>The repository name field is not valid.</source>
<translation>Το πεδίο όνοματος αποθετήριου δεν είναι έγκυρο.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="111"/>
<source>Address of remote or local packages repository</source>
<translation>Διεύθυνση απομακρυσμένων ή τοπικών πακέτων αποθετήριου</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="115"/>
<source>Path to mirrors list file</source>
<translation>Διαδρομή προς το αρχείο λίστας κατόπτρων</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="124"/>
<source>Error</source>
<translation>Σφάλμα</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="125"/>
<source>Can&apos;t add repository.</source>
<translation>Δεν είναι δυνατή η προσθήκη αποθετήριου.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="136"/>
<source>Select local repository</source>
<translation>Επιλέξτε το τοπικό αποθετήριο</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="149"/>
<source>Select mirrors list</source>
<translation>Επιλέξτε λίστα κατόπτρων</translation>
</message>
</context>
<context>
<name>RepoConf</name>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="176"/>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="185"/>
<source>Backup error</source>
<translation>Σφάλμα δημιουργίας αντιγράφων ασφαλείας </translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="177"/>
<source>Backup file already exists.</source>
<translation>Το αρχείο αντιγράφων ασφαλείας υπάρχει ήδη.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="177"/>
<source>Do you want to overwrite it?</source>
<translation>Θέλετε να το αντικαταστήσετε;</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="186"/>
<source>Can&apos;t create backup file.</source>
<translation>Δεν είναι δυνατή η δημιουργία αρχείου αντιγράφων ασφαλείας.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="186"/>
<source>Do you want to proceed without a backup?</source>
<translation>Θέλετε να προχωρήσετε χωρίς αντίγραφο ασφαλείας;</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="242"/>
<source>Active</source>
<translation>Εν Ενεργεία</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="242"/>
<source>Repository</source>
<translation>Αποθετήριο</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="242"/>
<source>Options</source>
<translation>Επιλογές</translation>
</message>
</context>
<context>
<name>RepoEditor</name>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="14"/>
<source>Repository Editor - Octopi</source>
<translation>Επεξεργαστής αποθετήριου - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="28"/>
<source>Available Repositories</source>
<translation>Διαθέσιμα αποθετήρια</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="76"/>
<source>Edit</source>
<translation>Επεξεργασία</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="91"/>
<source>Add</source>
<translation>Προσθήκη</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="106"/>
<source>Remove</source>
<translation>Αφαίρεση </translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="134"/>
<source>Move Up</source>
<translation>Μετακίνηση προς τα πάνω</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="149"/>
<source>Move Down</source>
<translation>Μετακίνηση προς τα κάτω</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="166"/>
<source>Backup</source>
<translation>Αντιγραφο ασφαλείας</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="174"/>
<source>Create backup on save</source>
<translation>Δημιουργία αντιγράφων ασφαλείας για αποθήκευση</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="197"/>
<source>Load a backup file</source>
<translation>Φόρτωση αρχείου αντιγράφου ασφαλείας</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="213"/>
<source>Backup file:</source>
<translation>Αρχείο αντιγράφου ασφαλείας:</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="99"/>
<source>Can&apos;t load backup file</source>
<translation>Δεν είναι δυνατή η φόρτωση αρχείου αντιγράφου ασφαλείας</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="100"/>
<source>Selected file is not valid</source>
<translation>Το επιλεγμένο αρχείο δεν είναι έγκυρο</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="149"/>
<source>Success</source>
<translation>Επιτυχία</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="150"/>
<source>Repositories configuration successfully saved.</source>
<translation>Η διαμόρφωση αποθετηρίων αποθηκεύτηκε με επιτυχία.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="155"/>
<source>Error</source>
<translation>Σφάλμα</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="156"/>
<source>Repositories configuration not saved.</source>
<translation>Η διαμόρφωση αποθετηρίων δεν αποθηκεύτηκε.</translation>
</message>
</context>
</TS>

View File

@@ -0,0 +1,202 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS language="en_GB" version="2.0">
<context>
<name>AddRepo</name>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="14"/>
<source>Add Repository - Octopi</source>
<translation>Add Repository - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="22"/>
<source>Repository:</source>
<translation>Repository:</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="32"/>
<source>Repository name</source>
<translation>Repository name</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="39"/>
<source>Location:</source>
<translation>Location:</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="86"/>
<source>The repository name field can&apos;t be blank.</source>
<translation>The repository name field can&apos;t be blank.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="101"/>
<source>The repository location field is not valid.</source>
<translation>The repository location field is not valid.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="104"/>
<source>The repository name field is not valid.</source>
<translation>The repository name field is not valid.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="111"/>
<source>Address of remote or local packages repository</source>
<translation>Address of remote or local packages repository</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="115"/>
<source>Path to mirrors list file</source>
<translation>Path to mirrors list file</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="124"/>
<source>Error</source>
<translation>Error</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="125"/>
<source>Can&apos;t add repository.</source>
<translation>Can&apos;t add repository.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="136"/>
<source>Select local repository</source>
<translation>Select local repository</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="149"/>
<source>Select mirrors list</source>
<translation>Select mirrors list</translation>
</message>
</context>
<context>
<name>RepoConf</name>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="176"/>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="185"/>
<source>Backup error</source>
<translation>Backup error!</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="177"/>
<source>Backup file already exists.</source>
<translation>Backup file already exists.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="177"/>
<source>Do you want to overwrite it?</source>
<translation>Do you want to overwrite it?</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="186"/>
<source>Can&apos;t create backup file.</source>
<translation>Can&apos;t create backup file.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="186"/>
<source>Do you want to proceed without a backup?</source>
<translation>Do you want to proceed without a backup?</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="242"/>
<source>Active</source>
<translation>Active</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="242"/>
<source>Repository</source>
<translation>Repository</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="242"/>
<source>Options</source>
<translation>Options</translation>
</message>
</context>
<context>
<name>RepoEditor</name>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="14"/>
<source>Repository Editor - Octopi</source>
<translation>Repository Editor - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="28"/>
<source>Available Repositories</source>
<translation>Available Repositories</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="76"/>
<source>Edit</source>
<translation>Edit</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="91"/>
<source>Add</source>
<translation>Add</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="106"/>
<source>Remove</source>
<translation>Remove</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="134"/>
<source>Move Up</source>
<translation>Move Up</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="149"/>
<source>Move Down</source>
<translation>Move Down</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="166"/>
<source>Backup</source>
<translation>Backup</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="174"/>
<source>Create backup on save</source>
<translation>Create backup on save?=</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="197"/>
<source>Load a backup file</source>
<translation>Load a backup file</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="213"/>
<source>Backup file:</source>
<translation>Backup file:</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="99"/>
<source>Can&apos;t load backup file</source>
<translation>Can&apos;t load backup file!</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="100"/>
<source>Selected file is not valid</source>
<translation>Selected file is not valid</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="149"/>
<source>Success</source>
<translation>Success</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="150"/>
<source>Repositories configuration successfully saved.</source>
<translation>Repositories configuration successfully saved.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="155"/>
<source>Error</source>
<translation>Error!</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="156"/>
<source>Repositories configuration not saved.</source>
<translation>Repositories configuration not saved.</translation>
</message>
</context>
</TS>

View File

@@ -0,0 +1,202 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS language="es_419" version="2.0">
<context>
<name>AddRepo</name>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="14"/>
<source>Add Repository - Octopi</source>
<translation>Agregar Repositorio - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="22"/>
<source>Repository:</source>
<translation>Repositorio:</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="32"/>
<source>Repository name</source>
<translation>Nombre del Repositorio</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="39"/>
<source>Location:</source>
<translation>Ubicación:</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="86"/>
<source>The repository name field can&apos;t be blank.</source>
<translation>El campo Nombre de repositorio no puede estar en blanco.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="101"/>
<source>The repository location field is not valid.</source>
<translation>El campo Ubicación del repositorio no es válido.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="104"/>
<source>The repository name field is not valid.</source>
<translation>El campo Nombre del repositorio no es válido.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="111"/>
<source>Address of remote or local packages repository</source>
<translation>Dirección de paquetes repositorios remotos o locales</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="115"/>
<source>Path to mirrors list file</source>
<translation>Ruta al archivo de lista de espejos</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="124"/>
<source>Error</source>
<translation>Error</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="125"/>
<source>Can&apos;t add repository.</source>
<translation>No se puede agregar repositorio.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="136"/>
<source>Select local repository</source>
<translation>Seleccionar repositorio local</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="149"/>
<source>Select mirrors list</source>
<translation>Seleccionar lista de espejos</translation>
</message>
</context>
<context>
<name>RepoConf</name>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="176"/>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="185"/>
<source>Backup error</source>
<translation>Error en copia de seguridad</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="177"/>
<source>Backup file already exists.</source>
<translation>Archivo de respaldo ya existente.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="177"/>
<source>Do you want to overwrite it?</source>
<translation>¿Seguro que </translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="186"/>
<source>Can&apos;t create backup file.</source>
<translation>No se puede crear archivo de respaldo.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="186"/>
<source>Do you want to proceed without a backup?</source>
<translation>Desea proceder sin realizar un resguardo (backup)?</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="242"/>
<source>Active</source>
<translation>Activo</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="242"/>
<source>Repository</source>
<translation>Respositorio</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="242"/>
<source>Options</source>
<translation>Opciones</translation>
</message>
</context>
<context>
<name>RepoEditor</name>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="14"/>
<source>Repository Editor - Octopi</source>
<translation>Editor de Repositorios - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="28"/>
<source>Available Repositories</source>
<translation>Repositorios disponibles</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="76"/>
<source>Edit</source>
<translation>Editar</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="91"/>
<source>Add</source>
<translation>Agregar</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="106"/>
<source>Remove</source>
<translation>Eliminar</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="134"/>
<source>Move Up</source>
<translation>Mover Arriba</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="149"/>
<source>Move Down</source>
<translation>Mover Abajo</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="166"/>
<source>Backup</source>
<translation>Respaldo</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="174"/>
<source>Create backup on save</source>
<translation>Crear respaldo al guardar</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="197"/>
<source>Load a backup file</source>
<translation>Cargar un archivo de respaldo</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="213"/>
<source>Backup file:</source>
<translation>Archivo de respaldo:</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="99"/>
<source>Can&apos;t load backup file</source>
<translation>No se puede cargar el archivo de respaldo</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="100"/>
<source>Selected file is not valid</source>
<translation>El archivo seleccionado no es válido</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="149"/>
<source>Success</source>
<translation>Éxito</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="150"/>
<source>Repositories configuration successfully saved.</source>
<translation>La configuración de los repositorios ha sido guardada correctamente</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="155"/>
<source>Error</source>
<translation>Error</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="156"/>
<source>Repositories configuration not saved.</source>
<translation>La configuración de los repositorios no ha sido guardada.</translation>
</message>
</context>
</TS>

View File

@@ -136,7 +136,7 @@
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="106"/>
<source>Remove</source>
<translation>Quitar</translation>
<translation>Eliminar</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="134"/>

View File

@@ -0,0 +1,202 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS language="eu" version="2.0">
<context>
<name>AddRepo</name>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="14"/>
<source>Add Repository - Octopi</source>
<translation>Biltegia gehitu - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="22"/>
<source>Repository:</source>
<translation>Biltegia:</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="32"/>
<source>Repository name</source>
<translation>Biltegiaren izena</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="39"/>
<source>Location:</source>
<translation>Kokapena:</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="86"/>
<source>The repository name field can&apos;t be blank.</source>
<translation>Biltegiaren izen-eremua hutsik ezin du egon.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="101"/>
<source>The repository location field is not valid.</source>
<translation>Biltegiaren kokapen-eremua ez da egokia</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="104"/>
<source>The repository name field is not valid.</source>
<translation>Biltegi-fitxategiaren izena ez da egokia</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="111"/>
<source>Address of remote or local packages repository</source>
<translation>Urruneko edo lokaleko paketeen biltegiaren helbidea</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="115"/>
<source>Path to mirrors list file</source>
<translation>Ispilu-lista fitxagiaren helbidea</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="124"/>
<source>Error</source>
<translation>Errorea</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="125"/>
<source>Can&apos;t add repository.</source>
<translation>Biltegia ezin da gehitu.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="136"/>
<source>Select local repository</source>
<translation>Biltegi lokala aukeratu</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="149"/>
<source>Select mirrors list</source>
<translation>Aukeratu ispilu-lista</translation>
</message>
</context>
<context>
<name>RepoConf</name>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="176"/>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="185"/>
<source>Backup error</source>
<translation>Babeskopia errorea</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="177"/>
<source>Backup file already exists.</source>
<translation>Babeskopia-fitxategia dagoeneko existitzen da</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="177"/>
<source>Do you want to overwrite it?</source>
<translation>Berridatzi nahi duzu?</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="186"/>
<source>Can&apos;t create backup file.</source>
<translation>Babeskopia-fitxategia ezin da egin.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="186"/>
<source>Do you want to proceed without a backup?</source>
<translation>Jarraitu nahi duzu babeskopirik gabe?</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="242"/>
<source>Active</source>
<translation>Aktibo</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="242"/>
<source>Repository</source>
<translation>Biltegia</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="242"/>
<source>Options</source>
<translation>Aukerak</translation>
</message>
</context>
<context>
<name>RepoEditor</name>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="14"/>
<source>Repository Editor - Octopi</source>
<translation>Biltegi Editorea - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="28"/>
<source>Available Repositories</source>
<translation>Biltegiak eskuragarri</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="76"/>
<source>Edit</source>
<translation>Editatu</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="91"/>
<source>Add</source>
<translation>Gehitu</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="106"/>
<source>Remove</source>
<translation>Kendu</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="134"/>
<source>Move Up</source>
<translation>Igo</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="149"/>
<source>Move Down</source>
<translation>Jaitsi</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="166"/>
<source>Backup</source>
<translation>Babeskopia</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="174"/>
<source>Create backup on save</source>
<translation>Babeskopia burutu</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="197"/>
<source>Load a backup file</source>
<translation>Babeskopia-fitxategia kargatu</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="213"/>
<source>Backup file:</source>
<translation>Babeskopia-fitxategia:</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="99"/>
<source>Can&apos;t load backup file</source>
<translation>Babeskopia-fitxategia ezin da kargatu</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="100"/>
<source>Selected file is not valid</source>
<translation>Aukeratutako fitxategia ez da egokia</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="149"/>
<source>Success</source>
<translation>Egina</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="150"/>
<source>Repositories configuration successfully saved.</source>
<translation>Biltegien konfigurazioa gordeta.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="155"/>
<source>Error</source>
<translation>Errorea</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="156"/>
<source>Repositories configuration not saved.</source>
<translation>Biltegien konfigurazioa ez da gorde.</translation>
</message>
</context>
</TS>

View File

@@ -0,0 +1,202 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS language="fi" version="2.0">
<context>
<name>AddRepo</name>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="14"/>
<source>Add Repository - Octopi</source>
<translation>pakettilähteiden editori</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="22"/>
<source>Repository:</source>
<translation>Pakettilähde:</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="32"/>
<source>Repository name</source>
<translation>Pakettilähteen nimi</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="39"/>
<source>Location:</source>
<translation>Sijainti:</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="86"/>
<source>The repository name field can&apos;t be blank.</source>
<translation>Pakettilähteiden nimikenttä ei voi olla tyhjä</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="101"/>
<source>The repository location field is not valid.</source>
<translation>Paakettilähteiden sijaintikenttä ei ole kelvollinen</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="104"/>
<source>The repository name field is not valid.</source>
<translation>Pakettilähteiden nimikenttä ei ole kelvollinen</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="111"/>
<source>Address of remote or local packages repository</source>
<translation>Ulkoisen tai paikallisen pakettilähteen osoite</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="115"/>
<source>Path to mirrors list file</source>
<translation>Polku mirror -listan tiedostoon</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="124"/>
<source>Error</source>
<translation>Virhe</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="125"/>
<source>Can&apos;t add repository.</source>
<translation>pakettilähdettä ei voi lisätä</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="136"/>
<source>Select local repository</source>
<translation>valitse paikallinen pakettilähde</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="149"/>
<source>Select mirrors list</source>
<translation>Valitse mirror -lista</translation>
</message>
</context>
<context>
<name>RepoConf</name>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="176"/>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="185"/>
<source>Backup error</source>
<translation>Varmuuskopiointi virhe</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="177"/>
<source>Backup file already exists.</source>
<translation>Varmuuskopiointitiedosto on jo olemassa</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="177"/>
<source>Do you want to overwrite it?</source>
<translation>Haluatko korvata sen?</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="186"/>
<source>Can&apos;t create backup file.</source>
<translation>Varmuuskopiointitiedostoa ei voi luoda</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="186"/>
<source>Do you want to proceed without a backup?</source>
<translation>Haluatko jatkaa ilman varmuuskopiota?</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="242"/>
<source>Active</source>
<translation>Aktiivinen</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="242"/>
<source>Repository</source>
<translation>Pakettilähde</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="242"/>
<source>Options</source>
<translation>Asetukset</translation>
</message>
</context>
<context>
<name>RepoEditor</name>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="14"/>
<source>Repository Editor - Octopi</source>
<translation>pakettilähteiden editori - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="28"/>
<source>Available Repositories</source>
<translation>Saatavilla olevat pakettilähteet</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="76"/>
<source>Edit</source>
<translation>Muokkaa</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="91"/>
<source>Add</source>
<translation>Lisää</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="106"/>
<source>Remove</source>
<translation>Poista</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="134"/>
<source>Move Up</source>
<translation>siirrä ylös</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="149"/>
<source>Move Down</source>
<translation>Siirrä alas</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="166"/>
<source>Backup</source>
<translation>Varmuskopioi</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="174"/>
<source>Create backup on save</source>
<translation>Luo varmuuskopio tallennettaessa</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="197"/>
<source>Load a backup file</source>
<translation>Lataa varmuuskopio</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="213"/>
<source>Backup file:</source>
<translation>Varmuuskopiotiedosto</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="99"/>
<source>Can&apos;t load backup file</source>
<translation>Varmuuskopiointitiedostoa ei voi ladata</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="100"/>
<source>Selected file is not valid</source>
<translation>Valittu tiedosto ei ole kelvollinen</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="149"/>
<source>Success</source>
<translation>Onnistui</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="150"/>
<source>Repositories configuration successfully saved.</source>
<translation>Pakettilähteiden asetukset tallennettiin onnistuneesti</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="155"/>
<source>Error</source>
<translation>Virhe</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="156"/>
<source>Repositories configuration not saved.</source>
<translation>Pakettilähteiden asetuksia ei tallennettu</translation>
</message>
</context>
</TS>

View File

@@ -0,0 +1,202 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS language="fi_FI" version="2.0">
<context>
<name>AddRepo</name>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="14"/>
<source>Add Repository - Octopi</source>
<translation>Lisää pakettilähde - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="22"/>
<source>Repository:</source>
<translation>Pakettilähde:</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="32"/>
<source>Repository name</source>
<translation>Pakettilähteen nimi</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="39"/>
<source>Location:</source>
<translation>Sijainti:</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="86"/>
<source>The repository name field can&apos;t be blank.</source>
<translation>pakettilähteen nimi kenttä ei voi olla tyhjä</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="101"/>
<source>The repository location field is not valid.</source>
<translation>lähteiden siainti kenttä virheellinen</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="104"/>
<source>The repository name field is not valid.</source>
<translation>Arkiston nimi kenttä ei kelpaa .</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="111"/>
<source>Address of remote or local packages repository</source>
<translation>Osoite kaukolaitteille paketteja arkistoon</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="115"/>
<source>Path to mirrors list file</source>
<translation>polku mirrot listaan</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="124"/>
<source>Error</source>
<translation>Virhe</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="125"/>
<source>Can&apos;t add repository.</source>
<translation>ei voi lisätä</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="136"/>
<source>Select local repository</source>
<translation>Valitse paikallinen lähde</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="149"/>
<source>Select mirrors list</source>
<translation>valitse mirror lista</translation>
</message>
</context>
<context>
<name>RepoConf</name>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="176"/>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="185"/>
<source>Backup error</source>
<translation>varmuuskopio virhe</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="177"/>
<source>Backup file already exists.</source>
<translation>backup tiedosto on jo olemassa</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="177"/>
<source>Do you want to overwrite it?</source>
<translation>Haluatko ylikirjoittaa</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="186"/>
<source>Can&apos;t create backup file.</source>
<translation>ei pysty tekemään varmuuskopiointi tiedostoa</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="186"/>
<source>Do you want to proceed without a backup?</source>
<translation>Haluatko jatkaa varmuuskopiota</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="242"/>
<source>Active</source>
<translation>Aktiivinen</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="242"/>
<source>Repository</source>
<translation>Pakettilähde</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="242"/>
<source>Options</source>
<translation>Asetukset</translation>
</message>
</context>
<context>
<name>RepoEditor</name>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="14"/>
<source>Repository Editor - Octopi</source>
<translation>Repositori muokkain-Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="28"/>
<source>Available Repositories</source>
<translation>saatavilla olevat lähteet</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="76"/>
<source>Edit</source>
<translation>Muokkaa</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="91"/>
<source>Add</source>
<translation>Lisää</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="106"/>
<source>Remove</source>
<translation>Poista</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="134"/>
<source>Move Up</source>
<translation>liiku ylös</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="149"/>
<source>Move Down</source>
<translation>liiku alas</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="166"/>
<source>Backup</source>
<translation>varmuuskopio</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="174"/>
<source>Create backup on save</source>
<translation>tee varmuuskopio tallennuksessa</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="197"/>
<source>Load a backup file</source>
<translation>lataa varmuuskopio tiedosto</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="213"/>
<source>Backup file:</source>
<translation>Varmuuskopio tiedosto</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="99"/>
<source>Can&apos;t load backup file</source>
<translation>Ei voi ladata varmuuskopiota</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="100"/>
<source>Selected file is not valid</source>
<translation>valittu tiedosto ei ole toimiva</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="149"/>
<source>Success</source>
<translation>Valmis</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="150"/>
<source>Repositories configuration successfully saved.</source>
<translation>lähteiden konfiguraatio onnistuneesti tallennettu</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="155"/>
<source>Error</source>
<translation>Virhe</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="156"/>
<source>Repositories configuration not saved.</source>
<translation>lähteiden määrittely ei voi tallentaa</translation>
</message>
</context>
</TS>

Some files were not shown because too many files have changed in this diff Show More