37 Commits

Author SHA1 Message Date
Alexandre Arnt
6341f8ad9e - Bugfix in refresh 2025-10-18 11:03:08 -03:00
Alexandre Arnt
8afef025a7 - Updated tx 2025-10-18 09:59:40 -03:00
Alexandre Arnt
22791cdbda Updated tx 2025-10-17 20:14:59 -03:00
Alexandre Arnt
d8b4782142 - Change UI option name 2025-10-17 18:37:40 -03:00
Alexandre Arnt
d333d47760 Updated tx 2025-10-17 18:16:17 -03:00
Alexandre Arnt
5540fa8c1b New screenshot 2025-10-17 14:18:40 -03:00
Alexandre Arnt
252fce719c - Small fixes 2025-10-13 13:28:22 -03:00
Alexandre Arnt
572bdabc3b Bugfix in check updates 2025-10-11 16:04:55 -03:00
Alexandre Arnt
45c472ae29 - Bugfix in AUR outdated list 2025-10-11 15:38:42 -03:00
Alexandre Arnt
e4482c4be8 - Bugfixes 2025-10-11 15:33:48 -03:00
Alexandre Arnt
bb7cbee491 - Bugfixes 2025-10-11 11:35:00 -03:00
Alexandre Arnt
9f97fa93af - Bugfixes 2025-10-11 10:22:56 -03:00
Alexandre Arnt
f406cacd91 - Bugfix 2025-10-10 22:14:18 -03:00
Alexandre Arnt
9ea4e2ced0 - bugfix 2025-10-10 22:04:03 -03:00
Alexandre Arnt
219539db7c - Bugfix 2025-10-10 21:55:00 -03:00
Alexandre Arnt
d704996a71 - Make checkupdates available in AUR mode 2025-10-10 21:43:00 -03:00
Alexandre Arnt
cb555b10fa - Condensed text fixes 2025-10-10 16:14:27 -03:00
Alexandre Arnt
02d0413706 Updated CHANGELOG 2025-10-09 14:35:55 -03:00
Alexandre Arnt
eba4b23398 Updated tx 2025-10-09 14:32:53 -03:00
Alexandre Arnt
3509f956d1 - Add the option to make the whole interface text less condensed. 2025-10-09 14:30:55 -03:00
Alexandre Arnt
133a32d1bb Updated changelog 2025-10-09 10:32:00 -03:00
Alexandre Arnt
a7846c9318 Merge pull request #607 from valchx/valchx/show-current-version-on-system-updates
Show current version of the packages on the System Upgrade window
2025-10-09 10:28:39 -03:00
Alexandre Arnt
97dbbb0e28 - Parser fix 2025-10-08 18:33:43 -03:00
Alexandre Arnt
8ec0c319e4 - BugFix in getting news 2025-10-08 17:59:13 -03:00
Valentin Charoux
99ae4eea09 show current version of package on system update 2025-10-08 22:14:20 +02:00
Alexandre Arnt
7ef564da38 - 0.19... 2025-10-08 17:10:26 -03:00
Alexandre Arnt
46c163548c - Use terminal font in output dialog 2025-10-08 17:06:04 -03:00
Alexandre Arnt
2cebca86ba - BugFix: There was a method called more than once every time distro
news was checked.
2025-10-08 16:44:18 -03:00
Alexandre Arnt
19bff087c8 - BugFix: Octopi crashed after using AUR/KCP tool and clicking on a
package anchor in Output tab.
2025-10-08 15:23:52 -03:00
Alexandre Arnt
a6c6384888 - Add Repository field in Info tab. 2025-10-08 14:52:37 -03:00
Alexandre Arnt
8c89906b21 - Add the option to show/hide "Repository" and "Download Size" columns
in package list.
2025-10-08 14:07:57 -03:00
Alexandre Arnt
6c9af10ef0 - Text spacing fixes 2025-10-08 11:27:15 -03:00
Alexandre Arnt
46bbc195a0 updated tx 2025-10-08 09:46:39 -03:00
Alexandre Arnt
73c7f7cfb8 Updated tx 2025-10-04 09:59:37 -03:00
Alexandre Arnt
6f35213ecc - BugFix: Some outdated AUR pkgs were not showing on notifier (thanks to
urbenlegend).
2025-10-04 09:33:40 -03:00
Alexandre Arnt
97c11f0f10 BugFix: Let's not get a description as a pkgname 2025-10-03 17:57:05 -03:00
Alexandre Arnt
dec6656a44 UI changes 2025-10-03 15:21:14 -03:00
53 changed files with 2414 additions and 1406 deletions

View File

@@ -1,3 +1,20 @@
0.19 (dev)
BugFix: Pressing F11 to maximize bottom panel crashed Octopi if Info tab was selected.
BugFix: Octopi crashed after using AUR/KCP tool and clicking on a package anchor
in Output tab.
BugFix: Optional deps dialog had a column header named "3" instead of "Repository".
BugFix: Some outdated AUR pkgs were not showing on notifier (thanks to urbenlegend).
BugFix: There was a method called more than once every time distro news was checked.
Add the option to make the whole interface text less condensed.
Add the option to show/hide "Repository" and "Download Size" columns in package list.
Add Repository field in Info tab.
Make "Search for outdated AUR packages" a notifier only option.
Enable Check updates and System upgrade tool buttons in AUR mode.
Show current version of the packages on Notifier's System Upgrade dialog
(thanks to valchx's code).
Added chinese description for the application name in desktop file.
Updated translations.
0.18.1 (2025-09-29)
BugFix: French translation was not working properly (thanks to roxfr).
BugFix: Yay searches with version 12.5.2 crashed Octopi (thanks to nije-to-sve).

View File

@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.5)
project(octopi VERSION 0.18.1 LANGUAGES CXX)
project(octopi VERSION 0.19.0 LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

View File

@@ -1,6 +1,6 @@
_pkgname=octopi
pkgname=octopi-git
pkgver=0.18.1.latest
pkgver=0.19.0.latest
pkgrel=1
pkgdesc="This is Octopi, a powerful Pacman frontend using Qt libs (git checkout)"
url="https://tintaescura.com/projects/octopi/"

View File

@@ -4,7 +4,7 @@
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="14"/>
<source>Cache Cleaner - Octopi</source>
<translation>Octopi cache tisztítása</translation>
<translation>Gyorsítótár-tisztító - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="49"/>
@@ -15,7 +15,7 @@
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="75"/>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="150"/>
<source>Keep :</source>
<translation>Megtart:</translation>
<translation>Megtartás:</translation>
</message>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="82"/>

View File

@@ -58,6 +58,7 @@ MainWindow::MainWindow(QWidget *parent) :
m_debugInfo = false;
m_optionsDialog = nullptr;
m_numberOfCheckUpdatesPackages = 0;
m_checkUpdatesNameCurrentVersion=new QHash<QString, QString>();
m_checkUpdatesNameNewVersion=new QHash<QString, QString>();
m_pacmanDatabaseSystemWatcher =
@@ -438,7 +439,14 @@ void MainWindow::aboutOctopiNotifier()
QScreen *sc = QGuiApplication::primaryScreen();
fake->setGeometry(sc->geometry());
QString aboutText = QStringLiteral("<b>Octopi Notifier</b><br>");
QString aboutText;
if (SettingsManager::getMakeInterfaceLessCondensed())
{
aboutText += QStringLiteral("<p style=\"line-height: 1.2;\">");
}
aboutText += QStringLiteral("<b>Octopi Notifier</b><br>");
aboutText += StrConstants::getVersion() + QLatin1String(": ") +
ctn_APPLICATION_VERSION /*StrConstants::getApplicationVersion()*/ + QLatin1String("</b>") +
QLatin1String(" - ") + StrConstants::getQtVersion() + QLatin1String("<br>");
@@ -597,7 +605,9 @@ void MainWindow::doSystemUpgrade()
for(const auto &name : std::as_const(m_checkUpdatesStringList))
{
PackageListData aux;
aux = PackageListData(name, m_checkUpdatesNameNewVersion->value(name), QStringLiteral("0"));
aux = PackageListData(
name, m_checkUpdatesNameCurrentVersion->value(name),
m_checkUpdatesNameNewVersion->value(name), QStringLiteral("0"));
targets->append(aux);
}
}
@@ -605,7 +615,8 @@ void MainWindow::doSystemUpgrade()
for(const auto &target : std::as_const(*targets))
{
totalDownloadSize += target.downloadSize;
list = list + target.name + QLatin1Char('-') + target.version + QLatin1Char('\n');
list = list + target.name + QLatin1String(" : ") + target.outdatedVersion +
QLatin1String(" -> ") + target.version + QLatin1Char('\n');
}
list.remove(list.size()-1, 1);
@@ -726,6 +737,7 @@ void MainWindow::doSystemUpgradeFinished(int exitCode)
if (exitCode == 0)
{
m_checkUpdatesStringList.clear();
m_checkUpdatesNameCurrentVersion->clear();
m_checkUpdatesNameNewVersion->clear();
m_numberOfCheckUpdatesPackages=0;
m_callRefreshAppIcon->start();
@@ -781,6 +793,7 @@ void MainWindow::afterCheckUpdates(int exitCode, QProcess::ExitStatus)
QStringList checkUpdatesList = m_pacmanExec->getOutdatedPackages();
m_checkUpdatesStringList.clear();
m_checkUpdatesNameCurrentVersion->clear();
m_checkUpdatesNameNewVersion->clear();
m_commandExecuting = ectn_NONE;
@@ -790,6 +803,7 @@ void MainWindow::afterCheckUpdates(int exitCode, QProcess::ExitStatus)
QStringList aux = line.split(QStringLiteral(" "), Qt::SkipEmptyParts);
m_checkUpdatesStringList.append(aux.at(0));
m_checkUpdatesNameCurrentVersion->insert(aux.at(0), aux.at(1));
m_checkUpdatesNameNewVersion->insert(aux.at(0), aux.at(3));
}
@@ -1037,7 +1051,7 @@ void MainWindow::refreshAppIcon()
for(int c=0; c<m_outdatedAURStringList->count(); ++c)
{
//If we find an outdated AUR pkg in the official pkg list, let's remove it
if (UnixCommand::hasPackage(m_outdatedAURStringList->at(c)))
if (UnixCommand::hasPackage(QStringLiteral("^") + m_outdatedAURStringList->at(c)))
{
m_outdatedAURStringList->removeAt(c);
}

View File

@@ -118,6 +118,7 @@ private:
QAction *m_actionAbout;
QAction *m_actionExit;
QIcon m_icon;
QHash<QString, QString> *m_checkUpdatesNameCurrentVersion;
QHash<QString, QString> *m_checkUpdatesNameNewVersion;
QStringList m_checkUpdatesStringList;
QStringList *m_outdatedStringList;

View File

@@ -101,8 +101,13 @@ void OutputDialog::initAsTextBrowser()
m_horizLayout->addWidget(m_progressBar);
m_horizLayout->addSpacing(2);
m_horizLayout->addWidget(m_toolButtonStopTransaction);
m_textBrowser->setGeometry(QRect(0, 0, 650, 500));
m_textBrowser->setFrameShape(QFrame::NoFrame);
QFont f = QApplication::font();
f.setFamily(SettingsManager::getTerminalFontFamily());
f.setPointSizeF(SettingsManager::getTerminalFontPointSize() - 1.0);
m_textBrowser->setFont(f);
m_mainLayout->addWidget(m_textBrowser);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 165 KiB

After

Width:  |  Height:  |  Size: 97 KiB

View File

@@ -68,6 +68,7 @@ Comment[zh_HK]=加入或移除系統上安裝的軟件
Comment[zh_TW]=加入或移除系統上安裝的軟體
Exec=/usr/bin/octopi
Name[en_US]=Octopi
Name[zh_CN]=Octopi(软件管理)
Name=Octopi
Icon=octopi
MimeType=

View File

@@ -19,7 +19,7 @@
<message>
<location filename="Projects/octopi/repoeditor/addrepo.ui" line="39"/>
<source>Location:</source>
<translation>Hely</translation>
<translation>Hely:</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="86"/>
@@ -29,27 +29,27 @@
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="101"/>
<source>The repository location field is not valid.</source>
<translation>A tároló hely nem érvényes</translation>
<translation>Érvénytelen a tároló helye</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="104"/>
<source>The repository name field is not valid.</source>
<translation>A tároló neve nem érvényes</translation>
<translation>Érvénytelen a tároló neve</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="111"/>
<source>Address of remote or local packages repository</source>
<translation>Távoli, vagy helyi csomagok elérése</translation>
<translation>Távoli vagy helyi csomagtároló címe</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="115"/>
<source>Path to mirrors list file</source>
<translation>A szervertükrök listájának elérési útvonala</translation>
<translation>Tükrök listafájljának elérési útvonala</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="124"/>
<source>Error</source>
<translation>Hiba történt</translation>
<translation>Hiba</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="125"/>
@@ -64,7 +64,7 @@
<message>
<location filename="Projects/octopi/repoeditor/addrepo.cpp" line="149"/>
<source>Select mirrors list</source>
<translation>Szervertükrök listájának kiválasztása</translation>
<translation>Tükörlista kiválasztása</translation>
</message>
</context>
<context>
@@ -72,7 +72,7 @@
<message>
<location filename="Projects/octopi/repoeditor/main.cpp" line="54"/>
<source>You can not run Repository Editor with administrator&apos;s credentials.</source>
<translation>Nem futtathatja az Octopi Tárolószerkesztőt adminisztrátori jogokkal.</translation>
<translation>A Tárolószerkesztő nem futtatható adminisztrátor hitelesítési adataival.</translation>
</message>
</context>
<context>
@@ -80,17 +80,17 @@
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="208"/>
<source>Backup error</source>
<translation>Hiba a biztonsági mentés közben</translation>
<translation>Biztonsági mentési hiba</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="209"/>
<source>Backup file already exists.</source>
<translation>A biztonsági mentés fájl már létezik</translation>
<translation>A biztonsági mentési fájl már létezik.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="209"/>
<source>Do you want to overwrite it?</source>
<translation>Felülírod?</translation>
<translation>Szeretné felülírni?</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoconf.cpp" line="282"/>
@@ -113,7 +113,7 @@
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="14"/>
<source>Repository Editor - Octopi</source>
<translation>Octopi tárolók szerkesztése</translation>
<translation>Tárolószerkesztő - Octopi</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="27"/>
@@ -123,27 +123,27 @@
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="75"/>
<source>Edit</source>
<translation>Szerkeszt</translation>
<translation>Szerkesztés</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="89"/>
<source>Add</source>
<translation>Hozzáad</translation>
<translation>Hozzáadás</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="103"/>
<source>Remove</source>
<translation>Eltávolít</translation>
<translation>Eltávolítás</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="130"/>
<source>Move Up</source>
<translation>Felfele mozgat</translation>
<translation>Mozgatás felfelé</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="144"/>
<source>Move Down</source>
<translation>Lefele mozgat</translation>
<translation>Mozgatás lefelé</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="160"/>
@@ -153,7 +153,7 @@
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="168"/>
<source>Create backup on save</source>
<translation>Biztonsági másolat készítése mentéskor</translation>
<translation>Biztonsági mentés készítése mentéskor</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="191"/>
@@ -163,7 +163,7 @@
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.ui" line="206"/>
<source>Backup file:</source>
<translation>Biztonsági mentés fájl:</translation>
<translation>Biztonsági mentési fájl:</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="103"/>
@@ -186,12 +186,12 @@
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="160"/>
<source>Can&apos;t load backup file</source>
<translation>Nem lehet betölteni a biztonsági másolatot</translation>
<translation>Nem sikerült betölteni a biztonsági mentési fájlt</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="161"/>
<source>Selected file is not valid</source>
<translation>A kiválasztott fájl nem érvényes</translation>
<translation>Érvénytelen a kiválasztott fájl</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="209"/>
@@ -201,7 +201,7 @@
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="210"/>
<source>Repositories configuration successfully saved.</source>
<translation>A tárolók beállítása sikeresen mentve</translation>
<translation>A tárolók konfigurációja sikeresen mentve.</translation>
</message>
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="215"/>
@@ -211,7 +211,7 @@
<message>
<location filename="Projects/octopi/repoeditor/repoeditor.cpp" line="216"/>
<source>Repositories configuration not saved.</source>
<translation>A tárolók beállítása nincs elmentve</translation>
<translation>Nincs mentve a tárolók konfigurációja.</translation>
</message>
</context>
</TS>

Binary file not shown.

View File

@@ -255,232 +255,277 @@
<translation>Ignorat</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="64"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="66"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="71"/>
<source>Ctrl+Shift+O to display outdated %1 packages</source>
<translation>Ctrl + Maj. + O per mostrar paquets no actualitzats: %1.</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="72"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="82"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="87"/>
<source>Ctrl+Shift+A to display AUR voted package list</source>
<translation>Ctrl + Maj. + A per mostrar la llista de paquets de l&apos;AUR votats.</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="77"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="93"/>
<source>For more information, visit:</source>
<translation>Per a més informació, visiteu el següent:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="80"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="100"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="211"/>
<source>A Qt-based Pacman frontend,</source>
<translation>Una interficie per a Pacman basada en QT,</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="81"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="101"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="212"/>
<source>licensed under the terms of</source>
<translation>amb llicència segons els termes de</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="88"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="108"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="219"/>
<source>Package classification:</source>
<translation>Classificació de paquets:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="91"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="111"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="222"/>
<source>An ignored package</source>
<translation>Un paquet ignorat</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="93"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="113"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="224"/>
<source>An installed package</source>
<translation>Un paquet instal·lat</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="95"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="115"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="226"/>
<source>An installed package (not required by others)</source>
<translation>Un paquet instal·lat (no requerit per altres)</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="98"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="118"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="229"/>
<source>A foreign package, installed from</source>
<translation>Un paquet extern, instal·lat des de</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="101"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="121"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="232"/>
<source>A non installed package</source>
<translation>Un paquet no instal·lat</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="104"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="124"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="235"/>
<source>An outdated package</source>
<translation>Un paquet no actualitzat</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="107"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="127"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="238"/>
<source>An outdated foreign package</source>
<translation>Un paquet extern no actualitzat</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="110"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="130"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="241"/>
<source>A newer version of this package is installed</source>
<translation>Hi ha instal·lada una versió més nova d&apos;aquest paquet.</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="112"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="133"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="244"/>
<source>Basic usage help:</source>
<translation>Ajuda bàsica d&apos;ús:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="114"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="135"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="246"/>
<source>Position the mouse over a package to see its description</source>
<translation>Posicioneu el ratolí sobre un paquet per veure&apos;n la descripció.</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="116"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="137"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="248"/>
<source>Double click an installed package to see its contents</source>
<translation>Feu doble clic en un paquet instal·lat per veure&apos;n el contingut.</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="118"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="139"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="250"/>
<source>Right click package to install/reinstall or remove it</source>
<translation>Cliqueu amb el botó contrari en un paquet per instal·lar-lo, reinstal·lar-lo o suprimir-lo.</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="121"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="142"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="253"/>
<source>Alt+key sequences:</source>
<translation>Seqüències d&apos;Alt + tecla:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="123"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="144"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="255"/>
<source>Alt+1 to switch to &apos;Info&apos; tab</source>
<translation>Alt + 1 per canviar a la pestanya d&apos;informació.</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="125"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="146"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="257"/>
<source>Alt+2 to switch to &apos;Files&apos; tab</source>
<translation>Alt + 2 per canviar a la pestanya de fitxers.</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="127"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="148"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="259"/>
<source>Alt+3 to switch to &apos;Actions&apos; tab</source>
<translation>Alt + 3 per canviar a la pestanya d&apos;accions.</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="129"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="150"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="261"/>
<source>Alt+4 to switch to &apos;Output&apos; tab</source>
<translation>Alt + 4 per canviar a la pestanya de sortida.</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="131"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="152"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="263"/>
<source>Alt+5 to switch to &apos;News&apos; tab</source>
<translation>Alt + 5 per canviar a la pestanya de notícies.</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="133"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="154"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="265"/>
<source>Alt+6 or &apos;F1&apos; to show this help page</source>
<translation>Alt + 6 o F1 per mostrar aquesta pàgina d&apos;ajuda.</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="135"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="156"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="267"/>
<source>Alt+7 to switch to &apos;Terminal&apos; tab</source>
<translation>Alt + 7 per canviar a la pestanya del Terminal.</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="138"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="159"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="270"/>
<source>Control+key sequences:</source>
<translation>Seqüències de Control + tecla:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="140"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="161"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="272"/>
<source>Ctrl+E or &apos;Actions/Cancel&apos; to clear the selection of to be removed/installed packages</source>
<translation>Ctrl + E o Acció / Cancel·la per netejar la selecció de paquets per suprimir / instal·lar.</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="142"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="163"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="274"/>
<source>Ctrl+F to search for text inside tab Files, News and Usage</source>
<translation>Ctrl + F per cercar text dins les pestanyes de fitxers, novetats i ús.</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="144"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="165"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="276"/>
<source>Ctrl+G or &apos;File/Get latest distro news&apos; to retrieve the latest RSS based distro news</source>
<translation>Ctrl + G o Fitxer / Obtén les darreres noticies de la distribució per recuperar les últimes noticies de la distribució basades en RSS.</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="146"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="167"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="278"/>
<source>Ctrl+K or &apos;File/Check updates&apos; to check mirror for latest updates (checkupdates)</source>
<translation>Ctrl + K o Fitxer / Comprova si hi ha actualitzacions per cercarr a les rèpliques les darreres actualitzacions (checkupdates).</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="148"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="169"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="280"/>
<source>Ctrl+L to find a package in the package list</source>
<translation>Ctrl + L per trobar un paquet a la llista de paquets.</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="150"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="171"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="282"/>
<source>Ctrl+P to go to package list</source>
<translation>Ctrl + P per anar a la llista de paquets.</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="152"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="173"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="284"/>
<source>Ctrl+Q or &apos;File/Exit&apos; to exit the application</source>
<translation>Ctrl + Q o Fitxer / Surt per sortir de l&apos;aplicació.</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="154"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="175"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="286"/>
<source>Ctrl+U or &apos;File/System upgrade&apos; to make a full system upgrade (pacman -Su)</source>
<translation>Ctrl + U o Fitxer / Actualització del sistema per fer una actualització completa del sistema (pacman -Su).</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="156"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="177"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="288"/>
<source>Ctrl+Y or &apos;Actions/Apply&apos; to start installation/removal of selected packages</source>
<translation>Ctrl + Y o Accions / Aplica-ho per començar la instal·lació o supressió dels paquets seleccionats.</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="159"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="180"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="291"/>
<source>Control+shift+key sequences:</source>
<translation>Seqüències de control + maj. + tecla:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="163"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="184"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="295"/>
<source>Ctrl+Shift+G to display all package groups</source>
<translation>Ctrl + Maj. + G per mostrar tots els grups de paquets.</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="168"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="189"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="300"/>
<source>Ctrl+Shift+U to upgrade outdated %1 packages</source>
<translation>Ctrl+Maj.+U per actualitzar els %1 paquets no actualitzats</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="170"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="191"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="302"/>
<source>Ctrl+Shift+Y to display %1 group</source>
<translation>Ctrl + Maj. + Y per mostrar el grup %1.</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="173"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="194"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="305"/>
<source>F+key sequences:</source>
<translation>Seqüències de F + tecla:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="175"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="196"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="307"/>
<source>F1 to show this help page</source>
<translation>F1 per mostrar aquesta pàgina d&apos;ajuda.</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="177"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="198"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="309"/>
<source>F4 to open a Terminal whitin the selected directory at Files tab</source>
<translation>F4 per obrir un terminal dins el directori seleccionat a la pestanya de fitxers.</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="179"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="200"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="311"/>
<source>F6 to open a File Manager whitin the selected directory at Files tab</source>
<translation>F6 per obrir un gestor de fitxers dins del directori seleccionat a la pestanya de fitxers.</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="181"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="202"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="313"/>
<source>F10 to maximize/demaximize package list view</source>
<translation>F10 per maximitzar / desmaximitzar la vista de la llista de paquets.</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="183"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="204"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="315"/>
<source>F11 to maximize/demaximize Tab&apos;s view</source>
<translation>F11 per maximitzar / desmaximitzar la vista de la pestanya.</translation>
</message>
@@ -518,139 +563,154 @@
<translation>Habilita el diàleg de confirmació per a l&apos;actualització del sistema.</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="199"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="197"/>
<source>Increase text spacing in the main interface</source>
<translation>Augmenta l&apos;espaiat del text a la interfície principal.</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="212"/>
<source>Use alternating row colors</source>
<translation>Usa colors alterns a les files.</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="212"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="225"/>
<source>Show &quot;Licenses&quot; column</source>
<translation>Mostra la columna de llicències.</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="225"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="238"/>
<source>Show &quot;Installed Size&quot; column</source>
<translation>Mostra la columna de la mida de la instal·lació.</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="238"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="251"/>
<source>Show &quot;Build Date&quot; column</source>
<translation>Mostra la columna de la data de construcció.</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="251"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="264"/>
<source>Show &quot;Install Date&quot; column</source>
<translation>Mostra la columna de la data d&apos;instal·lació.</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="264"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="277"/>
<source>Show &quot;Install Reason&quot; column</source>
<translation>Mostra la columna de la raó d&apos;instal·lació.</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="277"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="290"/>
<source>Enable package tooltips</source>
<translation>Habilita les descripcions emergents del paquet.</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="311"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="303"/>
<source>Show &quot;Repository&quot; column</source>
<translation>Mostra la columna del repositori.</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="316"/>
<source>Show &quot;Download Size&quot; column</source>
<translation>Mostra la columna de la mida de la baixada.</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="350"/>
<source>Select the AUR tool Octopi should use</source>
<translation>Seleccioneu l&apos;eina de l&apos;AUR que hauria d&apos;usar l&apos;Octopi.</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="392"/>
<source>Search for outdated AUR packages</source>
<translation>Cerca paquets de l&apos;AUR no actualitzats.</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="458"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="476"/>
<source>User name</source>
<translation>Nom d&apos;usuari</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="471"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="489"/>
<source>Password</source>
<translation>Contrasenya</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="489"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="507"/>
<source>Register</source>
<translation>Registra</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="507"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="525"/>
<source>Connect</source>
<translation>Connecta</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="526"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="544"/>
<source>Enable AUR voting</source>
<translation>Habilita la votació de l&apos;AUR.</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="547"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="565"/>
<source>AUR packages are user produced content.
Any use of the provided files is at your own risk.</source>
<translation>Els paquets de l&apos;AUR són contingut produït pels usuaris.
Qualsevol ús dels fitxers que s&apos;hi proporcionen depèn de la vostra responsabilitat.</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="608"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="626"/>
<source>Build directory</source>
<translation>Directori de construcció</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="724"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="742"/>
<source>Select the backend Octopi should use</source>
<translation>Seleccioneu el rerefons que hauria d&apos;usar l&apos;Octopi.</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="767"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="785"/>
<source>Use default notification icons</source>
<translation>Usa les icones de notificació per defecte.</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="842"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="860"/>
<source>Red icon</source>
<translation>Icona vermella</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="932"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="950"/>
<source>Busy icon</source>
<translation>Icona d&apos;ocupat</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1001"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1019"/>
<source>Yellow icon</source>
<translation>Icona groga</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1085"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1103"/>
<source>Green icon</source>
<translation>Icona verda</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1410"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1402"/>
<source>Search for outdated AUR packages</source>
<translation>Cerca paquets de l&apos;AUR no actualitzats.</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1452"/>
<source>Color Scheme</source>
<translation>Esquema de colors</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1423"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1465"/>
<source>Font Family</source>
<translation>Família de la lletra</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1456"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1498"/>
<source>Font Size</source>
<translation>Mida de la lletra</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1479"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1521"/>
<source>Play a bell sound when prompting for the root password in the terminal</source>
<translation>Reprodueix un so de campana quan es demani la contrasenya d&apos;arrel al terminal.</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1492"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1534"/>
<source>Force use of BASH shell</source>
<translation>Força l&apos;ús de l&apos;intèrpret d&apos;ordres BASH.</translation>
</message>
@@ -702,12 +762,12 @@ Qualsevol ús dels fitxers que s&apos;hi proporcionen depèn de la vostra respon
<translation>Terminal</translation>
</message>
<message>
<location filename="Projects/octopi/src/optionsdialog.cpp" line="215"/>
<location filename="Projects/octopi/src/optionsdialog.cpp" line="218"/>
<source>Ok</source>
<translation>D&apos;acord</translation>
</message>
<message>
<location filename="Projects/octopi/src/optionsdialog.cpp" line="216"/>
<location filename="Projects/octopi/src/optionsdialog.cpp" line="219"/>
<source>Cancel</source>
<translation>Cancel·la</translation>
</message>

Binary file not shown.

View File

@@ -255,232 +255,277 @@
<translation>Ohitettu</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="64"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="66"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="71"/>
<source>Ctrl+Shift+O to display outdated %1 packages</source>
<translation>Ctrl+Shift+O näyttääksesi vanhentuneet %1 paketit</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="72"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="82"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="87"/>
<source>Ctrl+Shift+A to display AUR voted package list</source>
<translation>Ctrl+Shift+A näyttääksesi AUR-äänestetyn pakettilistauksen</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="77"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="93"/>
<source>For more information, visit:</source>
<translation>Saadaksesi lisätietoja, vieraile osoitteessa:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="80"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="100"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="211"/>
<source>A Qt-based Pacman frontend,</source>
<translation>Qt-pohjainen Pacman-käyttöliittymä, </translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="81"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="101"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="212"/>
<source>licensed under the terms of</source>
<translation>lisenssi: </translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="88"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="108"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="219"/>
<source>Package classification:</source>
<translation>Pakettien luokittelu:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="91"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="111"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="222"/>
<source>An ignored package</source>
<translation>Ohitettu paketti</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="93"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="113"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="224"/>
<source>An installed package</source>
<translation>Asennettu paketti</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="95"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="115"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="226"/>
<source>An installed package (not required by others)</source>
<translation>Asennettu paketti (ei muiden pakettien vaatima)</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="98"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="118"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="229"/>
<source>A foreign package, installed from</source>
<translation>Vieras paketti, asennettu kohteesta</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="101"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="121"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="232"/>
<source>A non installed package</source>
<translation>Asentamaton paketti</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="104"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="124"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="235"/>
<source>An outdated package</source>
<translation>Vanhentunut paketti</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="107"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="127"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="238"/>
<source>An outdated foreign package</source>
<translation>Vanhentunut vieras paketti</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="110"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="130"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="241"/>
<source>A newer version of this package is installed</source>
<translation>Tästä paketista on asennettu uudempi versio</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="112"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="133"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="244"/>
<source>Basic usage help:</source>
<translation>Ohje peruskäyttöön:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="114"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="135"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="246"/>
<source>Position the mouse over a package to see its description</source>
<translation>Vie kursori paketin yläpuolelle nähdäksesi sen kuvauksen</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="116"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="137"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="248"/>
<source>Double click an installed package to see its contents</source>
<translation>Tuplaklikkaa asennettua pakettia nähdäksesi sen sisällön</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="118"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="139"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="250"/>
<source>Right click package to install/reinstall or remove it</source>
<translation>Klikkaa pakettia hiiren oikealla asentaaksesi tai poistaaksesi sen</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="121"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="142"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="253"/>
<source>Alt+key sequences:</source>
<translation>Alt+näppäin-yhdistelmät:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="123"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="144"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="255"/>
<source>Alt+1 to switch to &apos;Info&apos; tab</source>
<translation>Alt+1 vaihtaa Tiedot-välilehdelle</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="125"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="146"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="257"/>
<source>Alt+2 to switch to &apos;Files&apos; tab</source>
<translation>Alt+2 vaihtaa Tiedostot-välilehdelle</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="127"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="148"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="259"/>
<source>Alt+3 to switch to &apos;Actions&apos; tab</source>
<translation>Alt+3 vaihtaa Toiminnot-välilehdelle</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="129"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="150"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="261"/>
<source>Alt+4 to switch to &apos;Output&apos; tab</source>
<translation>Alt+4 vaihtaa Tuloste-välilehdelle</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="131"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="152"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="263"/>
<source>Alt+5 to switch to &apos;News&apos; tab</source>
<translation>Alt+5 vaihtaa Uutiset-välilehdelle</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="133"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="154"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="265"/>
<source>Alt+6 or &apos;F1&apos; to show this help page</source>
<translation>Alt+6 tai &apos;F1&apos; näyttää tämän ohjesivun</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="135"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="156"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="267"/>
<source>Alt+7 to switch to &apos;Terminal&apos; tab</source>
<translation>Alt+7 vaihtaa &apos;Pääte&apos;-välilehdelle</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="138"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="159"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="270"/>
<source>Control+key sequences:</source>
<translation>Ctrl+näppäin-yhdistelmät:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="140"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="161"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="272"/>
<source>Ctrl+E or &apos;Actions/Cancel&apos; to clear the selection of to be removed/installed packages</source>
<translation>Ctrl+E tai &apos;Toiminnot/Peruuta&apos; poistaaksesi poistettujen/asennettujen pakettien valinnat</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="142"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="163"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="274"/>
<source>Ctrl+F to search for text inside tab Files, News and Usage</source>
<translation>Ctrl+F hakeaksesi tekstiä Tiedostot-, Uutiset- ja Käyttö-välilehdiltä</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="144"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="165"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="276"/>
<source>Ctrl+G or &apos;File/Get latest distro news&apos; to retrieve the latest RSS based distro news</source>
<translation>Ctrl+G tai &quot;Tiedosto/Hae viimeisimmät jakelu-uutiset&quot; noutaa uusimmat RSS-pohjaiset uutiset</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="146"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="167"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="278"/>
<source>Ctrl+K or &apos;File/Check updates&apos; to check mirror for latest updates (checkupdates)</source>
<translation>Ctrl+K tai &apos;Tiedosto/Tarkista päivitykset&apos; tarkastaaksesi viimeisimmät päivitykset (checkupdates)</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="148"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="169"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="280"/>
<source>Ctrl+L to find a package in the package list</source>
<translation>Ctrl+L etsiäksesi pakettia pakettilistalta</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="150"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="171"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="282"/>
<source>Ctrl+P to go to package list</source>
<translation>Ctrl+P mennäksesi pakettilistaukseen</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="152"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="173"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="284"/>
<source>Ctrl+Q or &apos;File/Exit&apos; to exit the application</source>
<translation>Ctrl+Q tai &apos;Tiedosto/Lopeta&apos; lopettaaksesi ohjelman</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="154"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="175"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="286"/>
<source>Ctrl+U or &apos;File/System upgrade&apos; to make a full system upgrade (pacman -Su)</source>
<translation>Ctrl+U tai &apos;Tiedosto/Järjestelmäpäivitys&apos; tehdäksesi täydellisen järjestelmäpäivityksen (pacman -Su)</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="156"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="177"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="288"/>
<source>Ctrl+Y or &apos;Actions/Apply&apos; to start installation/removal of selected packages</source>
<translation>Ctrl+Y tai &apos;Toiminnot/Toteuta&apos; aloittaaksesi valittujen pakettien asentamisen/poistamisen</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="159"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="180"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="291"/>
<source>Control+shift+key sequences:</source>
<translation>Control+Shift+näppäin-yhdistelmät:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="163"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="184"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="295"/>
<source>Ctrl+Shift+G to display all package groups</source>
<translation>Ctrl+Shift+G nähdäksesi kaikki pakettiryhmät</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="168"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="189"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="300"/>
<source>Ctrl+Shift+U to upgrade outdated %1 packages</source>
<translation>Ctrl+Shift+U päivittää vanhentuneet %1 pakettia</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="170"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="191"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="302"/>
<source>Ctrl+Shift+Y to display %1 group</source>
<translation>Ctrl+Shift+Y näyttääksesi %1 ryhmän</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="173"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="194"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="305"/>
<source>F+key sequences:</source>
<translation>F+näppäin-yhdistelmät:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="175"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="196"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="307"/>
<source>F1 to show this help page</source>
<translation>F1 näyttää tämän ohjesivun</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="177"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="198"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="309"/>
<source>F4 to open a Terminal whitin the selected directory at Files tab</source>
<translation>F4 avataksesi Tiedostot-välilehdellä valitun kansion päätteessä</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="179"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="200"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="311"/>
<source>F6 to open a File Manager whitin the selected directory at Files tab</source>
<translation>F6 avataksesi Tiedostot-välilehdellä valitun kansion tiedostonhallinnassa</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="181"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="202"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="313"/>
<source>F10 to maximize/demaximize package list view</source>
<translation>F10 maksimoidaksesi/palauttaaksesi pakettilistausnäkymän</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="183"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="204"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="315"/>
<source>F11 to maximize/demaximize Tab&apos;s view</source>
<translation>F11 maksimoidaksesi/palauttaaksesi välilehtinäkymän</translation>
</message>
@@ -518,139 +563,154 @@
<translation>Ota käyttöön järjestelmäpäivityksen vahvistusdialogi</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="199"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="197"/>
<source>Increase text spacing in the main interface</source>
<translation>Kasvata tekstiväliä käyttöliittymässä</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="212"/>
<source>Use alternating row colors</source>
<translation>Käytä vuorotellen rivin värejä</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="212"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="225"/>
<source>Show &quot;Licenses&quot; column</source>
<translation>Näytä &quot;Lisenssit&quot; sarake</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="225"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="238"/>
<source>Show &quot;Installed Size&quot; column</source>
<translation>Näytä &quot;Asennuksen koko&quot; sarake</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="238"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="251"/>
<source>Show &quot;Build Date&quot; column</source>
<translation>Näytä &quot;Koontipäivämäärä&quot; sarake</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="251"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="264"/>
<source>Show &quot;Install Date&quot; column</source>
<translation>Näytä &quot;Asennuspäivä&quot; sarake</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="264"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="277"/>
<source>Show &quot;Install Reason&quot; column</source>
<translation>Näytä &quot;Asennuksen syy&quot; sarake</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="277"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="290"/>
<source>Enable package tooltips</source>
<translation>Ota käyttöön pakettivihjeet</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="311"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="303"/>
<source>Show &quot;Repository&quot; column</source>
<translation>Näytä Pakettilähde sarake</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="316"/>
<source>Show &quot;Download Size&quot; column</source>
<translation>Näytä &quot;Latauskoko&quot; sarake</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="350"/>
<source>Select the AUR tool Octopi should use</source>
<translation>Valitse Octopin käyttämä AUR-työkalu</translation>
<translation>Valitse AUR-työkalu, jota Octopin tulisi käyttää</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="392"/>
<source>Search for outdated AUR packages</source>
<translation>Etsi vanhentuneita AUR-paketteja</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="458"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="476"/>
<source>User name</source>
<translation>Käyttäjänimi</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="471"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="489"/>
<source>Password</source>
<translation>Salasana</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="489"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="507"/>
<source>Register</source>
<translation>Rekisteröi</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="507"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="525"/>
<source>Connect</source>
<translation>Yhdistä</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="526"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="544"/>
<source>Enable AUR voting</source>
<translation>Ota käyttöön AUR-äänestys</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="547"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="565"/>
<source>AUR packages are user produced content.
Any use of the provided files is at your own risk.</source>
<translation>AUR-paketit ovat käyttäjien luomaa sisältöä.
Tarjolla olevien tiedostojen käyttö omalla vastuulla!</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="608"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="626"/>
<source>Build directory</source>
<translation>Koontihakemisto</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="724"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="742"/>
<source>Select the backend Octopi should use</source>
<translation>Valitse Octopin käyttämä taustajärjestelmä</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="767"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="785"/>
<source>Use default notification icons</source>
<translation>Käytä ilmoitusten oletuskuvakkeita</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="842"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="860"/>
<source>Red icon</source>
<translation>Punainen kuvake</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="932"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="950"/>
<source>Busy icon</source>
<translation>Kiireinen kuvake</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1001"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1019"/>
<source>Yellow icon</source>
<translation> Keltainen kuvake</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1085"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1103"/>
<source>Green icon</source>
<translation>Vihreä kuvake</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1410"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1402"/>
<source>Search for outdated AUR packages</source>
<translation>Etsi vanhentuneita AUR-paketteja</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1452"/>
<source>Color Scheme</source>
<translation>Värimalli</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1423"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1465"/>
<source>Font Family</source>
<translation>Fonttiperhe</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1456"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1498"/>
<source>Font Size</source>
<translation>Fonttikoko</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1479"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1521"/>
<source>Play a bell sound when prompting for the root password in the terminal</source>
<translation>Soita kelloa, kun kysytään päätteessä pääkäyttäjän salasanaa</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1492"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1534"/>
<source>Force use of BASH shell</source>
<translation>Pakota BASH-komentorivin käyttö</translation>
</message>
@@ -702,12 +762,12 @@ Tarjolla olevien tiedostojen käyttö omalla vastuulla!</translation>
<translation>Pääte</translation>
</message>
<message>
<location filename="Projects/octopi/src/optionsdialog.cpp" line="215"/>
<location filename="Projects/octopi/src/optionsdialog.cpp" line="218"/>
<source>Ok</source>
<translation>Ok</translation>
</message>
<message>
<location filename="Projects/octopi/src/optionsdialog.cpp" line="216"/>
<location filename="Projects/octopi/src/optionsdialog.cpp" line="219"/>
<source>Cancel</source>
<translation>Peruuta</translation>
</message>

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@@ -255,232 +255,277 @@
<translation>Genegeerd</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="64"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="66"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="71"/>
<source>Ctrl+Shift+O to display outdated %1 packages</source>
<translation>Ctrl+Shift+O om %1 verouderde pakketten te tonen</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="72"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="82"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="87"/>
<source>Ctrl+Shift+A to display AUR voted package list</source>
<translation>Ctrl+Shift+A om de AUR-gestemde pakketlijst weer te geven</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="77"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="93"/>
<source>For more information, visit:</source>
<translation>Voor meer informatie, bezoek:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="80"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="100"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="211"/>
<source>A Qt-based Pacman frontend,</source>
<translation>Een op Qt gebaseerde Pacman frontend,</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="81"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="101"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="212"/>
<source>licensed under the terms of</source>
<translation>Onder de bepalingen van</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="88"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="108"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="219"/>
<source>Package classification:</source>
<translation>Pakket classificatie:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="91"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="111"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="222"/>
<source>An ignored package</source>
<translation>Een genegeerd pakket</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="93"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="113"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="224"/>
<source>An installed package</source>
<translation>Een geïnstalleerd pakket</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="95"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="115"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="226"/>
<source>An installed package (not required by others)</source>
<translation>Een geïnstalleerd pakket(niet vereist door anderen)</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="98"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="118"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="229"/>
<source>A foreign package, installed from</source>
<translation>Een vreemd pakket, geïnstalleerd vanaf</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="101"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="121"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="232"/>
<source>A non installed package</source>
<translation>Een niet geïnstalleerd pakket</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="104"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="124"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="235"/>
<source>An outdated package</source>
<translation>Een verouderd pakket</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="107"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="127"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="238"/>
<source>An outdated foreign package</source>
<translation>Een verouderd extern pakket</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="110"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="130"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="241"/>
<source>A newer version of this package is installed</source>
<translation>Er is al een nieuwere versie van dit pakket geïnstalleerd</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="112"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="133"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="244"/>
<source>Basic usage help:</source>
<translation>Basisgebruik hulp:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="114"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="135"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="246"/>
<source>Position the mouse over a package to see its description</source>
<translation>Plaats de muis op een pakket om de beschrijving te zien</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="116"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="137"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="248"/>
<source>Double click an installed package to see its contents</source>
<translation>Dubbelklik op een geïnstalleerd pakket om de inhoud te zien</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="118"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="139"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="250"/>
<source>Right click package to install/reinstall or remove it</source>
<translation>Klik met de rechtermuisknop op het pakket om te installeren / opnieuw te installeren of te verwijderen</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="121"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="142"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="253"/>
<source>Alt+key sequences:</source>
<translation>Alt+toets combinaties:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="123"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="144"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="255"/>
<source>Alt+1 to switch to &apos;Info&apos; tab</source>
<translation>Alt+1 voor het tabblad &apos;Info&apos;</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="125"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="146"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="257"/>
<source>Alt+2 to switch to &apos;Files&apos; tab</source>
<translation>Alt+2 voor het tabblad &apos;Bestanden&apos;</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="127"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="148"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="259"/>
<source>Alt+3 to switch to &apos;Actions&apos; tab</source>
<translation>Alt+3 voor het tabblad &apos;Actie&apos;</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="129"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="150"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="261"/>
<source>Alt+4 to switch to &apos;Output&apos; tab</source>
<translation>Alt+4 voor het tabblad &apos;Uitvoer&apos;</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="131"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="152"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="263"/>
<source>Alt+5 to switch to &apos;News&apos; tab</source>
<translation>Alt+5 voor het tabblad &apos;Nieuws&apos;</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="133"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="154"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="265"/>
<source>Alt+6 or &apos;F1&apos; to show this help page</source>
<translation>Alt+6 of &apos;F1&apos; om deze help pagina te tonen</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="135"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="156"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="267"/>
<source>Alt+7 to switch to &apos;Terminal&apos; tab</source>
<translation>Alt+7 voor het tabblad &apos;Terminal&apos;</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="138"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="159"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="270"/>
<source>Control+key sequences:</source>
<translation>Control+toets combinaties:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="140"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="161"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="272"/>
<source>Ctrl+E or &apos;Actions/Cancel&apos; to clear the selection of to be removed/installed packages</source>
<translation>Ctrl+E of &apos;Acties/Terugdraaien&apos; om selectie van verwijderde/geïnstalleerde pakketten te verwijderen</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="142"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="163"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="274"/>
<source>Ctrl+F to search for text inside tab Files, News and Usage</source>
<translation>Ctrl+F om te zoeken naar tekst binnen tabblad Bestanden, Nieuws en Gebruik</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="144"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="165"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="276"/>
<source>Ctrl+G or &apos;File/Get latest distro news&apos; to retrieve the latest RSS based distro news</source>
<translation>Ctrl+G of &apos;Bestand/Krijg het laatste distributie nieuws&apos; om de nieuwste RSS gebaseerde distro nieuws te halen</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="146"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="167"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="278"/>
<source>Ctrl+K or &apos;File/Check updates&apos; to check mirror for latest updates (checkupdates)</source>
<translation>Ctrl+K of &apos;Bestand/Check updates&apos; om mirror te controleren voor de nieuwste updates (checkupdates)</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="148"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="169"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="280"/>
<source>Ctrl+L to find a package in the package list</source>
<translation>Ctrl+L om een pakket te vinden in de pakket lijst</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="150"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="171"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="282"/>
<source>Ctrl+P to go to package list</source>
<translation>Ctrl+P om naar de pakketlijst te gaan</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="152"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="173"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="284"/>
<source>Ctrl+Q or &apos;File/Exit&apos; to exit the application</source>
<translation>Ctrl+Q of &apos;Bestand/Afsluiten&apos; om applicatie af te sluiten</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="154"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="175"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="286"/>
<source>Ctrl+U or &apos;File/System upgrade&apos; to make a full system upgrade (pacman -Su)</source>
<translation>Ctrl+U of &apos;Bestand/Systeem opwaarderen&apos; om het systeem volledig op te waarderen (pacman -Su)</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="156"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="177"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="288"/>
<source>Ctrl+Y or &apos;Actions/Apply&apos; to start installation/removal of selected packages</source>
<translation>Ctrl+Y of &apos;Acties/Uitvoeren&apos; om de installatie/verwijdering van de geselecteerde pakketten te beginnen</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="159"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="180"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="291"/>
<source>Control+shift+key sequences:</source>
<translation>Control+shift+toets combinaties:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="163"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="184"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="295"/>
<source>Ctrl+Shift+G to display all package groups</source>
<translation>Ctrl+Shift+G om alle pakketgroepen te laten zien</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="168"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="189"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="300"/>
<source>Ctrl+Shift+U to upgrade outdated %1 packages</source>
<translation>Ctrl+Shift+U om %1 verouderde pakketten bij te werken</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="170"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="191"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="302"/>
<source>Ctrl+Shift+Y to display %1 group</source>
<translation>Ctrl+Shift+Y om %1 group te bekijken</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="173"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="194"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="305"/>
<source>F+key sequences:</source>
<translation>F+toets combinaties:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="175"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="196"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="307"/>
<source>F1 to show this help page</source>
<translation>F1 om deze help pagina te tonen</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="177"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="198"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="309"/>
<source>F4 to open a Terminal whitin the selected directory at Files tab</source>
<translation>F4 om een Terminal venster te openen in de geselecteerde directory onder het Bestanden venster</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="179"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="200"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="311"/>
<source>F6 to open a File Manager whitin the selected directory at Files tab</source>
<translation>F6 om een Bestandsmanager te openen in de geselecteerde directory in de Files tab</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="181"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="202"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="313"/>
<source>F10 to maximize/demaximize package list view</source>
<translation>F10 om de pakkettenlijst view te maximaliseren/minimaliseren</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="183"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="204"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="315"/>
<source>F11 to maximize/demaximize Tab&apos;s view</source>
<translation>F11 om de Tab view te maximailseren/minimaliseren</translation>
</message>
@@ -518,139 +563,154 @@
<translation>Bevestigingsdialoog inschakelen in systeemupgrade</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="199"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="197"/>
<source>Increase text spacing in the main interface</source>
<translation>Meer ruimte voor tekst reserveren</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="212"/>
<source>Use alternating row colors</source>
<translation>Afwisselende rijkleuren gebruiken</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="212"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="225"/>
<source>Show &quot;Licenses&quot; column</source>
<translation>Licentiekolom tonen</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="225"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="238"/>
<source>Show &quot;Installed Size&quot; column</source>
<translation>Installatiegroottekolom tonen</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="238"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="251"/>
<source>Show &quot;Build Date&quot; column</source>
<translation>Bouwdatumkolom tonen</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="251"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="264"/>
<source>Show &quot;Install Date&quot; column</source>
<translation>Installatiedatumkolom tonen</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="264"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="277"/>
<source>Show &quot;Install Reason&quot; column</source>
<translation>Installatieredenkolom tonen</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="277"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="290"/>
<source>Enable package tooltips</source>
<translation>Hulpballonnen tonen</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="311"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="303"/>
<source>Show &quot;Repository&quot; column</source>
<translation>Pakketbronkolom tonen</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="316"/>
<source>Show &quot;Download Size&quot; column</source>
<translation>Downloadgroottekolom tonen</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="350"/>
<source>Select the AUR tool Octopi should use</source>
<translation>Selecteer het AUR hulpmiddel dat Octopi moet gebruiken</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="392"/>
<source>Search for outdated AUR packages</source>
<translation>Zoeken naar verouderde AUR-pakketten</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="458"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="476"/>
<source>User name</source>
<translation>Gebruikersnaam</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="471"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="489"/>
<source>Password</source>
<translation>Wachtwoord</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="489"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="507"/>
<source>Register</source>
<translation>Registreren</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="507"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="525"/>
<source>Connect</source>
<translation>Verbinden</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="526"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="544"/>
<source>Enable AUR voting</source>
<translation>Stemmen op AUR inschakelen</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="547"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="565"/>
<source>AUR packages are user produced content.
Any use of the provided files is at your own risk.</source>
<translation>AUR-pakketten zijn door de gebruiker geproduceerde inhoud.
Elk gebruik van de aangeboden bestanden is op eigen risico.</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="608"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="626"/>
<source>Build directory</source>
<translation>Bouwmap</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="724"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="742"/>
<source>Select the backend Octopi should use</source>
<translation>Selecteer de back-end dat Octopi moet gebruiken</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="767"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="785"/>
<source>Use default notification icons</source>
<translation>Gebruik standaard notificatie pictogrammen.</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="842"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="860"/>
<source>Red icon</source>
<translation>Rood pictogram</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="932"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="950"/>
<source>Busy icon</source>
<translation>Druk pictogram</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1001"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1019"/>
<source>Yellow icon</source>
<translation>Geel pictogram</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1085"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1103"/>
<source>Green icon</source>
<translation>Groen pictogram</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1410"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1402"/>
<source>Search for outdated AUR packages</source>
<translation>Zoeken naar verouderde AUR-pakketten</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1452"/>
<source>Color Scheme</source>
<translation>Thema</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1423"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1465"/>
<source>Font Family</source>
<translation>Lettertype</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1456"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1498"/>
<source>Font Size</source>
<translation>Tekstgrootte</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1479"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1521"/>
<source>Play a bell sound when prompting for the root password in the terminal</source>
<translation>Belgeluid afspelen indien gevraagd wordt om rootwachtwoord in terminalvenster</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1492"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1534"/>
<source>Force use of BASH shell</source>
<translation>Gebruik van BASH-shell afdwingen</translation>
</message>
@@ -702,12 +762,12 @@ Elk gebruik van de aangeboden bestanden is op eigen risico.</translation>
<translation>Terminal</translation>
</message>
<message>
<location filename="Projects/octopi/src/optionsdialog.cpp" line="215"/>
<location filename="Projects/octopi/src/optionsdialog.cpp" line="218"/>
<source>Ok</source>
<translation>Oké</translation>
</message>
<message>
<location filename="Projects/octopi/src/optionsdialog.cpp" line="216"/>
<location filename="Projects/octopi/src/optionsdialog.cpp" line="219"/>
<source>Cancel</source>
<translation>Annuleren</translation>
</message>

View File

@@ -255,232 +255,277 @@
<translation>Ignorado</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="64"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="66"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="71"/>
<source>Ctrl+Shift+O to display outdated %1 packages</source>
<translation>Ctrl+Shift+O para exibir os pacotes %1 desatualizados</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="72"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="82"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="87"/>
<source>Ctrl+Shift+A to display AUR voted package list</source>
<translation>Ctrl+Shift+A para exibir os pacotes AUR votados</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="77"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="93"/>
<source>For more information, visit:</source>
<translation>Para maiores informações, visite:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="80"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="100"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="211"/>
<source>A Qt-based Pacman frontend,</source>
<translation>Um frontend para o Pacman desenvolvido em Qt,</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="81"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="101"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="212"/>
<source>licensed under the terms of</source>
<translation>licenciado nos termos da</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="88"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="108"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="219"/>
<source>Package classification:</source>
<translation>Classificação do pacote:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="91"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="111"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="222"/>
<source>An ignored package</source>
<translation>Pacote ignorado</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="93"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="113"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="224"/>
<source>An installed package</source>
<translation>Pacote instalado</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="95"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="115"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="226"/>
<source>An installed package (not required by others)</source>
<translation>Pacote instalado (não requerido por outros)</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="98"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="118"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="229"/>
<source>A foreign package, installed from</source>
<translation>Pacote estrangeiro, instalado de</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="101"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="121"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="232"/>
<source>A non installed package</source>
<translation>Pacote não instalado</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="104"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="124"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="235"/>
<source>An outdated package</source>
<translation>Pacote desatualizado</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="107"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="127"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="238"/>
<source>An outdated foreign package</source>
<translation>Pacote estrangeiro desatualizado</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="110"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="130"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="241"/>
<source>A newer version of this package is installed</source>
<translation>Uma versão mais recente deste pacote está instalada</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="112"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="133"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="244"/>
<source>Basic usage help:</source>
<translation>Guia de ajuda rápida:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="114"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="135"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="246"/>
<source>Position the mouse over a package to see its description</source>
<translation>Posicione o mouse em cima de um pacote para ver sua descrição</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="116"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="137"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="248"/>
<source>Double click an installed package to see its contents</source>
<translation> duplo clique em cima de um pacote instalado para ver seu conteúdo</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="118"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="139"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="250"/>
<source>Right click package to install/reinstall or remove it</source>
<translation> um clique com o botão da direita em cima de um pacote para instala-lo, reinstala-lo ou removê-lo</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="121"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="142"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="253"/>
<source>Alt+key sequences:</source>
<translation>Sequências de tecla Alt:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="123"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="144"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="255"/>
<source>Alt+1 to switch to &apos;Info&apos; tab</source>
<translation>Alt+1 para selecionar a guia &apos;Informações&apos;</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="125"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="146"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="257"/>
<source>Alt+2 to switch to &apos;Files&apos; tab</source>
<translation>Alt+2 para selecionar a guia &apos;Arquivos&apos;</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="127"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="148"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="259"/>
<source>Alt+3 to switch to &apos;Actions&apos; tab</source>
<translation>Alt+3 para selecionar a guia &apos;Ações&apos;</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="129"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="150"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="261"/>
<source>Alt+4 to switch to &apos;Output&apos; tab</source>
<translation>Alt+4 para selecionar a guia &apos;Saída&apos;</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="131"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="152"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="263"/>
<source>Alt+5 to switch to &apos;News&apos; tab</source>
<translation>Alt+5 para selecionar a guia &apos;Notícias&apos;</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="133"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="154"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="265"/>
<source>Alt+6 or &apos;F1&apos; to show this help page</source>
<translation>Alt+6 ou &apos;F1&apos; para exibir esta página de ajuda</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="135"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="156"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="267"/>
<source>Alt+7 to switch to &apos;Terminal&apos; tab</source>
<translation>Alt+7 para selecionar a guia &quot;Terminal&quot;</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="138"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="159"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="270"/>
<source>Control+key sequences:</source>
<translation>Sequências de tecla Control:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="140"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="161"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="272"/>
<source>Ctrl+E or &apos;Actions/Cancel&apos; to clear the selection of to be removed/installed packages</source>
<translation>Ctrl+E ou &apos;Ações/Cancelar&apos; para limpar a seleção de pacotes a remover/instalar</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="142"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="163"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="274"/>
<source>Ctrl+F to search for text inside tab Files, News and Usage</source>
<translation>Ctrl+F para procurar um arquivo ou texto dentro da guia Arquivos, Notícias e Uso</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="144"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="165"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="276"/>
<source>Ctrl+G or &apos;File/Get latest distro news&apos; to retrieve the latest RSS based distro news</source>
<translation>Ctrl+G ou &apos;Arquivo/Baixar últimas notícias da distro&apos; para recuperar as últimas notícias da distro baseadas no padrão RSS</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="146"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="167"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="278"/>
<source>Ctrl+K or &apos;File/Check updates&apos; to check mirror for latest updates (checkupdates)</source>
<translation>Ctrl+K ou &quot;Arquivo/Verificar atualizações&quot; para consultar os espelhos em busca de atulizações (checkupdates)</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="148"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="169"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="280"/>
<source>Ctrl+L to find a package in the package list</source>
<translation>Ctrl+L para procurar um pacote na lista de pacotes</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="150"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="171"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="282"/>
<source>Ctrl+P to go to package list</source>
<translation>Ctrl+P para selecionar a lista de pacotes</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="152"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="173"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="284"/>
<source>Ctrl+Q or &apos;File/Exit&apos; to exit the application</source>
<translation>Ctrl+Q ou &apos;Arquivo/Sair&apos; para finalizar a aplicação</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="154"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="175"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="286"/>
<source>Ctrl+U or &apos;File/System upgrade&apos; to make a full system upgrade (pacman -Su)</source>
<translation>Ctrl+U ou &apos;Arquivo/Atualizar sistema&apos; para realizar uma atualização completa do sistema (pacman -Su)</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="156"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="177"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="288"/>
<source>Ctrl+Y or &apos;Actions/Apply&apos; to start installation/removal of selected packages</source>
<translation>Ctrl+M ou &apos;Ações/Aplicar&apos; para iniciar a instalação/remoção dos pacotes selecionados</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="159"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="180"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="291"/>
<source>Control+shift+key sequences:</source>
<translation>Sequências de tecla Control+shift:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="163"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="184"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="295"/>
<source>Ctrl+Shift+G to display all package groups</source>
<translation>Ctrl+Shift+G para exibir todos os grupos de pacotes</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="168"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="189"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="300"/>
<source>Ctrl+Shift+U to upgrade outdated %1 packages</source>
<translation>Ctrl+Shift+U para atualizar os %1 pacotes desatualizados</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="170"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="191"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="302"/>
<source>Ctrl+Shift+Y to display %1 group</source>
<translation>Ctrl+Shift+Y para exibir o grupo %1</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="173"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="194"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="305"/>
<source>F+key sequences:</source>
<translation>Sequências de teclas de função F:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="175"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="196"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="307"/>
<source>F1 to show this help page</source>
<translation>F1 para exibir esta página de ajuda</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="177"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="198"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="309"/>
<source>F4 to open a Terminal whitin the selected directory at Files tab</source>
<translation>F4 para abrir um Terminal no diretório que estiver selecionado na guia &apos;Arquivos&apos;</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="179"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="200"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="311"/>
<source>F6 to open a File Manager whitin the selected directory at Files tab</source>
<translation>F6 para abrir um Gerenciador de Arquivos no diretório que estiver selecionado na guia &apos;Arquivos&apos;</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="181"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="202"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="313"/>
<source>F10 to maximize/demaximize package list view</source>
<translation>F10 para maximizar/desmaximizar a lista de pacotes</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="183"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="204"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="315"/>
<source>F11 to maximize/demaximize Tab&apos;s view</source>
<translation>F11 para maximizar/desmaximizar a visão das guias</translation>
</message>
@@ -518,139 +563,154 @@
<translation>Habilitar o diálogo de confirmação na atualização do sistema</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="199"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="197"/>
<source>Increase text spacing in the main interface</source>
<translation>Aumentar o espaçamento do texto na interface principal</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="212"/>
<source>Use alternating row colors</source>
<translation>Usar cores de linha alternadas</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="212"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="225"/>
<source>Show &quot;Licenses&quot; column</source>
<translation>Exibir a coluna &quot;Licenças&quot;</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="225"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="238"/>
<source>Show &quot;Installed Size&quot; column</source>
<translation>Exibir a coluna &quot;Tamanho&quot;</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="238"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="251"/>
<source>Show &quot;Build Date&quot; column</source>
<translation>Exibir a coluna &quot;Data da Criação&quot;</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="251"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="264"/>
<source>Show &quot;Install Date&quot; column</source>
<translation>Exibir a coluna &quot;Data da Instalação&quot;</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="264"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="277"/>
<source>Show &quot;Install Reason&quot; column</source>
<translation>Exibir a coluna &quot;Motivo da Instalação&quot;</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="277"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="290"/>
<source>Enable package tooltips</source>
<translation>Habilitar as dicas para pacotes</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="311"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="303"/>
<source>Show &quot;Repository&quot; column</source>
<translation>Exibir a coluna &quot;Respositório&quot;</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="316"/>
<source>Show &quot;Download Size&quot; column</source>
<translation>Exibir a coluna &quot;Tamanho do Download&quot;</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="350"/>
<source>Select the AUR tool Octopi should use</source>
<translation>Selecione a ferramenta AUR que o Octopi deve utilizar</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="392"/>
<source>Search for outdated AUR packages</source>
<translation>Pesquisar por pacotes AUR desatualizados</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="458"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="476"/>
<source>User name</source>
<translation>Usuário</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="471"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="489"/>
<source>Password</source>
<translation>Senha</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="489"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="507"/>
<source>Register</source>
<translation>Registrar</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="507"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="525"/>
<source>Connect</source>
<translation>Conectar</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="526"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="544"/>
<source>Enable AUR voting</source>
<translation>Habilitar votação no AUR</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="547"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="565"/>
<source>AUR packages are user produced content.
Any use of the provided files is at your own risk.</source>
<translation>Pacotes AUR são conteúdo produzido pelos usuários.
Qualquer uso dos arquivos fornecidos é por sua conta e risco.</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="608"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="626"/>
<source>Build directory</source>
<translation>Diretório de Criação</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="724"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="742"/>
<source>Select the backend Octopi should use</source>
<translation>Selecione o backend que o Octopi deve utilizar</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="767"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="785"/>
<source>Use default notification icons</source>
<translation>Utilizar ícones de notificação padrão</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="842"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="860"/>
<source>Red icon</source>
<translation>Ícone vermelho</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="932"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="950"/>
<source>Busy icon</source>
<translation>Ícone ocupado</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1001"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1019"/>
<source>Yellow icon</source>
<translation>Ícone amarelo</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1085"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1103"/>
<source>Green icon</source>
<translation>Ícone verde</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1410"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1402"/>
<source>Search for outdated AUR packages</source>
<translation>Pesquisar por pacotes AUR desatualizados</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1452"/>
<source>Color Scheme</source>
<translation>Esquema de Cores</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1423"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1465"/>
<source>Font Family</source>
<translation>Família da Fonte</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1456"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1498"/>
<source>Font Size</source>
<translation>Tamanho da Fonte</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1479"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1521"/>
<source>Play a bell sound when prompting for the root password in the terminal</source>
<translation>Tocar um som de campainha ao requisitar a senha de root no terminal</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1492"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1534"/>
<source>Force use of BASH shell</source>
<translation>Forçar o uso do shell BASH</translation>
</message>
@@ -702,12 +762,12 @@ Qualquer uso dos arquivos fornecidos é por sua conta e risco.</translation>
<translation>Terminal</translation>
</message>
<message>
<location filename="Projects/octopi/src/optionsdialog.cpp" line="215"/>
<location filename="Projects/octopi/src/optionsdialog.cpp" line="218"/>
<source>Ok</source>
<translation>Ok</translation>
</message>
<message>
<location filename="Projects/octopi/src/optionsdialog.cpp" line="216"/>
<location filename="Projects/octopi/src/optionsdialog.cpp" line="219"/>
<source>Cancel</source>
<translation>Cancel</translation>
</message>

Binary file not shown.

View File

@@ -255,232 +255,277 @@
<translation>Ignorerade</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="64"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="66"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="71"/>
<source>Ctrl+Shift+O to display outdated %1 packages</source>
<translation>Ctrl-Shift-O för att visa föråldrade %1-paket</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="72"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="82"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="87"/>
<source>Ctrl+Shift+A to display AUR voted package list</source>
<translation>Ctrl-Shift-A för att visa lista med röstade AUR-paket</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="77"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="93"/>
<source>For more information, visit:</source>
<translation>För mer information, besök:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="80"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="100"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="211"/>
<source>A Qt-based Pacman frontend,</source>
<translation>Ett Qt-baserat grafiskt gränssnitt för pacman,</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="81"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="101"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="212"/>
<source>licensed under the terms of</source>
<translation>licensierat under</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="88"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="108"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="219"/>
<source>Package classification:</source>
<translation>Paketklassificering:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="91"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="111"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="222"/>
<source>An ignored package</source>
<translation>Ett ignorerat paket</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="93"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="113"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="224"/>
<source>An installed package</source>
<translation>Ett installerat paket</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="95"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="115"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="226"/>
<source>An installed package (not required by others)</source>
<translation>Ett installerat paket (som inte krävs av andra)</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="98"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="118"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="229"/>
<source>A foreign package, installed from</source>
<translation>Ett utomstående paket, från</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="101"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="121"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="232"/>
<source>A non installed package</source>
<translation>Ett oinstallerat paket</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="104"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="124"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="235"/>
<source>An outdated package</source>
<translation>Ett föråldrat paket</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="107"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="127"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="238"/>
<source>An outdated foreign package</source>
<translation>Ett föråldrat utomstående paket</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="110"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="130"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="241"/>
<source>A newer version of this package is installed</source>
<translation>En nyare version av detta paket är redan installerat</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="112"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="133"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="244"/>
<source>Basic usage help:</source>
<translation>Grundläggande hjälp:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="114"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="135"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="246"/>
<source>Position the mouse over a package to see its description</source>
<translation>Placera muspekaren över ett paket för att se dess beskrivning</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="116"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="137"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="248"/>
<source>Double click an installed package to see its contents</source>
<translation>Dubbelklicka ett installerat paket för att se dess innehåll</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="118"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="139"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="250"/>
<source>Right click package to install/reinstall or remove it</source>
<translation>Högerklicka ett paket för att (om)installera eller ta bort det</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="121"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="142"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="253"/>
<source>Alt+key sequences:</source>
<translation>Alt-tangentsekvenser:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="123"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="144"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="255"/>
<source>Alt+1 to switch to &apos;Info&apos; tab</source>
<translation>Alt-1 för att byta till Infofliken</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="125"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="146"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="257"/>
<source>Alt+2 to switch to &apos;Files&apos; tab</source>
<translation>Alt-2 för att byta till Filfliken</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="127"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="148"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="259"/>
<source>Alt+3 to switch to &apos;Actions&apos; tab</source>
<translation>Alt-3 för att byta till Åtgärdsfliken</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="129"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="150"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="261"/>
<source>Alt+4 to switch to &apos;Output&apos; tab</source>
<translation>Alt-4 för att byta till Utdatafliken</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="131"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="152"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="263"/>
<source>Alt+5 to switch to &apos;News&apos; tab</source>
<translation>Alt-5 för att byta till Nyhetsfliken</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="133"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="154"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="265"/>
<source>Alt+6 or &apos;F1&apos; to show this help page</source>
<translation>Alt-6 eller F1 för att visa hjälpsidan</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="135"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="156"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="267"/>
<source>Alt+7 to switch to &apos;Terminal&apos; tab</source>
<translation>Alt-7 för att byta till Terminalfliken</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="138"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="159"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="270"/>
<source>Control+key sequences:</source>
<translation>Control-tangentsekvenser:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="140"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="161"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="272"/>
<source>Ctrl+E or &apos;Actions/Cancel&apos; to clear the selection of to be removed/installed packages</source>
<translation>Ctrl-E eller &apos;Åtgärder/Avbryt&apos; för att rensa alla valda ändringar</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="142"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="163"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="274"/>
<source>Ctrl+F to search for text inside tab Files, News and Usage</source>
<translation>Ctrl-F för att söka efter text i Filer-, Nyhets- eller Användnings-filkarna</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="144"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="165"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="276"/>
<source>Ctrl+G or &apos;File/Get latest distro news&apos; to retrieve the latest RSS based distro news</source>
<translation>Ctrl-G eller &apos;Arkiv/Läs senaste nyheter&apos; för att hämta de senaste nyheterna från RSS-flödet</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="146"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="167"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="278"/>
<source>Ctrl+K or &apos;File/Check updates&apos; to check mirror for latest updates (checkupdates)</source>
<translation>Ctrl-K eller &apos;Arkiv/Sök efter uppdateringar&apos; för att söka efter de senaste uppdateringarna (checkupdates)</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="148"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="169"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="280"/>
<source>Ctrl+L to find a package in the package list</source>
<translation>Ctrl-L för att hitta ett paket i listan</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="150"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="171"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="282"/>
<source>Ctrl+P to go to package list</source>
<translation>Ctrl-P för att till paketlistan</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="152"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="173"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="284"/>
<source>Ctrl+Q or &apos;File/Exit&apos; to exit the application</source>
<translation>Ctrl-Q eller &apos;Arkiv/Avsluta&apos; för att avsluta programmet</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="154"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="175"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="286"/>
<source>Ctrl+U or &apos;File/System upgrade&apos; to make a full system upgrade (pacman -Su)</source>
<translation>Ctrl-U eller &apos;Arkiv/Systemuppgradering&apos; för att göra en hel systemuppgradering (pacman -Su)</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="156"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="177"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="288"/>
<source>Ctrl+Y or &apos;Actions/Apply&apos; to start installation/removal of selected packages</source>
<translation>Ctrl-Y eller &apos;Åtgärder/Verkställ&apos; för att påbörja installation/borttagning av valda paket</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="159"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="180"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="291"/>
<source>Control+shift+key sequences:</source>
<translation>Control-Shift-tangentsekvenser:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="163"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="184"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="295"/>
<source>Ctrl+Shift+G to display all package groups</source>
<translation>Ctrl-Shift-G för att visa alla paketgrupper</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="168"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="189"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="300"/>
<source>Ctrl+Shift+U to upgrade outdated %1 packages</source>
<translation>Ctrl+Shift+U för att uppgradera %1 föråldrade paket</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="170"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="191"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="302"/>
<source>Ctrl+Shift+Y to display %1 group</source>
<translation>Ctrl-Shift-Y för att visa %1-grupp</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="173"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="194"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="305"/>
<source>F+key sequences:</source>
<translation>F-tangentsekvenser:</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="175"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="196"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="307"/>
<source>F1 to show this help page</source>
<translation>F1 för att visa hjälpen</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="177"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="198"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="309"/>
<source>F4 to open a Terminal whitin the selected directory at Files tab</source>
<translation>F4 för att öppna en terminal i den valda katalogen</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="179"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="200"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="311"/>
<source>F6 to open a File Manager whitin the selected directory at Files tab</source>
<translation>F6 för att öppna din filhanterare i den valda katalogen</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="181"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="202"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="313"/>
<source>F10 to maximize/demaximize package list view</source>
<translation>F10 för att maximera eller återställa paketlistvyn</translation>
</message>
<message>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="183"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="204"/>
<location filename="Projects/octopi/src/mainwindow_help.cpp" line="315"/>
<source>F11 to maximize/demaximize Tab&apos;s view</source>
<translation>F11 för att maximera flikvy</translation>
</message>
@@ -518,139 +563,154 @@
<translation>Aktivera bekräftelsedialog innan systemuppgradering</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="199"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="197"/>
<source>Increase text spacing in the main interface</source>
<translation>Öka textavstånd i huvudfönstret</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="212"/>
<source>Use alternating row colors</source>
<translation>Använd omväxlande färger i listan</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="212"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="225"/>
<source>Show &quot;Licenses&quot; column</source>
<translation>Visa kolumnen &quot;Licenser&quot;</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="225"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="238"/>
<source>Show &quot;Installed Size&quot; column</source>
<translation>Visa kolumnen &quot;Installerad storlek&quot;</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="238"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="251"/>
<source>Show &quot;Build Date&quot; column</source>
<translation>Visa kolumnen &quot;Byggdatum&quot;</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="251"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="264"/>
<source>Show &quot;Install Date&quot; column</source>
<translation>Visa kolumnen &quot;Installeringsdatum&quot;</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="264"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="277"/>
<source>Show &quot;Install Reason&quot; column</source>
<translation>Visa kolumnen &quot;Installeringsorsak&quot;</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="277"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="290"/>
<source>Enable package tooltips</source>
<translation>Aktivera verktygstips för paket</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="311"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="303"/>
<source>Show &quot;Repository&quot; column</source>
<translation>Vi kolumnen &quot;Förråd&quot;</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="316"/>
<source>Show &quot;Download Size&quot; column</source>
<translation>Visa kolumnen &quot;Hämtningsstorlek&quot;</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="350"/>
<source>Select the AUR tool Octopi should use</source>
<translation>Välj det AUR-verktyg Octopi ska använda</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="392"/>
<source>Search for outdated AUR packages</source>
<translation>Sök efter föråldrade AUR-paket</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="458"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="476"/>
<source>User name</source>
<translation>Användarnamn</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="471"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="489"/>
<source>Password</source>
<translation>Lösenord</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="489"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="507"/>
<source>Register</source>
<translation>Registrera</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="507"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="525"/>
<source>Connect</source>
<translation>Anslut</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="526"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="544"/>
<source>Enable AUR voting</source>
<translation>Aktivera AUR-röstning</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="547"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="565"/>
<source>AUR packages are user produced content.
Any use of the provided files is at your own risk.</source>
<translation>AUR-paket är användarskapat innehåll.
Allt användande sker egen risk.</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="608"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="626"/>
<source>Build directory</source>
<translation>Byggkatalog</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="724"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="742"/>
<source>Select the backend Octopi should use</source>
<translation>Välj det undersystem Octopi ska använda </translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="767"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="785"/>
<source>Use default notification icons</source>
<translation>Använd standardikoner</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="842"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="860"/>
<source>Red icon</source>
<translation>Röd ikon</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="932"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="950"/>
<source>Busy icon</source>
<translation>Upptagenikon</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1001"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1019"/>
<source>Yellow icon</source>
<translation>Gul ikon</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1085"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1103"/>
<source>Green icon</source>
<translation>Grön ikon</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1410"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1402"/>
<source>Search for outdated AUR packages</source>
<translation>Sök efter föråldrade AUR-paket</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1452"/>
<source>Color Scheme</source>
<translation>Färgschema</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1423"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1465"/>
<source>Font Family</source>
<translation>Typsnittsfamilj</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1456"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1498"/>
<source>Font Size</source>
<translation>Textstorlek</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1479"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1521"/>
<source>Play a bell sound when prompting for the root password in the terminal</source>
<translation>Plinga när rootlösenordet efterfrågas i terminalen</translation>
</message>
<message>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1492"/>
<location filename="Projects/octopi/ui/optionsdialog.ui" line="1534"/>
<source>Force use of BASH shell</source>
<translation>Tvinga användning av bash-skalet</translation>
</message>
@@ -702,12 +762,12 @@ Allt användande sker på egen risk.</translation>
<translation>Terminal</translation>
</message>
<message>
<location filename="Projects/octopi/src/optionsdialog.cpp" line="215"/>
<location filename="Projects/octopi/src/optionsdialog.cpp" line="218"/>
<source>Ok</source>
<translation>OK</translation>
</message>
<message>
<location filename="Projects/octopi/src/optionsdialog.cpp" line="216"/>
<location filename="Projects/octopi/src/optionsdialog.cpp" line="219"/>
<source>Cancel</source>
<translation>Avbryt</translation>
</message>

File diff suppressed because it is too large Load Diff

View File

@@ -322,7 +322,7 @@ double AlpmBackend::getPackageSize(const QString &pkgName)
return pkgSize;
}
QString AlpmBackend::getPackageVersion(const QString &pkgName)
QString AlpmBackend::getPackageVersion(const QString &pkgName, bool isForeign)
{
// create AlpmUtils instance
AlpmUtils* alpm_utils = alpm_utils_new ("/etc/pacman.conf");
@@ -340,7 +340,9 @@ QString AlpmBackend::getPackageVersion(const QString &pkgName)
alpm_db_t* db = alpm_pkg_get_db(pkg);
const char* dbname = alpm_db_get_name(db);
if (!strcmp(dbname, "local")) continue;
if (!isForeign)
if (!strcmp(dbname, "local")) continue;
if (pkg && strcmp(alpm_pkg_get_name(pkg),pkgName.toLatin1().constData())==0)
{

View File

@@ -33,7 +33,7 @@ public:
static QStringList getForeignList();
static QStringList getOutdatedList();
static double getPackageSize(const QString &pkgName);
static QString getPackageVersion(const QString &pkgName);
static QString getPackageVersion(const QString &pkgName, bool isForeign=false);
//static PackageInfoData getPackageInfo(const QString &pkgName, bool isForeign);
};

View File

@@ -28,7 +28,7 @@
* Collection of Octopi constants and enums
*/
const QString ctn_APPLICATION_VERSION(QStringLiteral("0.18.1"));
const QString ctn_APPLICATION_VERSION(QStringLiteral("0.19 (dev)"));
//MainWindow related
enum SystemUpgradeOptions { ectn_NO_OPT, ectn_SYNC_DATABASE_OPT, ectn_NOCONFIRM_OPT };
@@ -67,8 +67,8 @@ const QString ctn_OCTOPI_COPYRIGHT =
"*/");
enum CommandExecuting { ectn_NONE, ectn_CHECK_UPDATES, ectn_MIRROR_CHECK,
ectn_SYNC_DATABASE, ectn_SYSTEM_UPGRADE, ectn_INSTALL, ectn_REMOVE,
ectn_CHANGE_INSTALL_REASON,
ectn_SYNC_DATABASE, ectn_SYSTEM_UPGRADE,
ectn_INSTALL, ectn_REMOVE, ectn_CHANGE_INSTALL_REASON,
ectn_REMOVE_INSTALL, ectn_REMOVE_KCP_PKG,
ectn_RUN_SYSTEM_UPGRADE_IN_TERMINAL, ectn_RUN_IN_TERMINAL,
ectn_INSTALL_YAY, ectn_SYSINFO };
@@ -142,11 +142,14 @@ const QString ctn_KEY_PACKAGE_INSTALL_DATE_COLUMN_WITH(QStringLiteral("Package_I
const QString ctn_KEY_PACKAGE_INSTALL_REASON_COLUMN_WITH(QStringLiteral("Package_Install_Reason_Column_Width"));
const QString ctn_KEY_PLAY_BELL_SOUND_ON_TERMINAL_PASSWORD_INPUT(QStringLiteral("Play_Bell_Sound_On_Terminal_Password_Input"));
const QString ctn_KEY_SEARCH_METHOD(QStringLiteral("Search_Method"));
const QString ctn_KEY_SHOW_PACKAGE_REPOSITORY_COLUMN(QStringLiteral("Show_Package_Repository_Column"));
const QString ctn_KEY_SHOW_PACKAGE_DOWNLOAD_SIZE_COLUMN(QStringLiteral("Show_Package_Download_Size_Column"));
const QString ctn_KEY_SHOW_PACKAGE_LICENSES_COLUMN(QStringLiteral("Show_Package_Licenses_Column"));
const QString ctn_KEY_SHOW_PACKAGE_INSTALLED_SIZE_COLUMN(QStringLiteral("Show_Package_Installed_Size_Column"));
const QString ctn_KEY_SHOW_PACKAGE_BUILD_DATE_COLUMN(QStringLiteral("Show_Package_Build_Date_Column"));
const QString ctn_KEY_SHOW_PACKAGE_INSTALL_DATE_COLUMN(QStringLiteral("Show_Package_Install_Date_Column"));
const QString ctn_KEY_SHOW_PACKAGE_INSTALL_REASON_COLUMN(QStringLiteral("Show_Package_Install_Reason_Column"));
const QString ctn_KEY_MAKE_INTERFACE_LESS_CONDENSED(QStringLiteral("Make_Interface_Less_Condensed"));
const QString ctn_KEY_SU_TOOL(QStringLiteral("SU_Tool_Name"));
const QString ctn_KEY_TERMINAL(QStringLiteral("Terminal"));
const QString ctn_KEY_TERMINAL_COLOR_SCHEME(QStringLiteral("Terminal_Color_Scheme"));

View File

@@ -670,7 +670,11 @@ void MainWindow::outputOutdatedPackageList()
StrConstants::getOutdatedPackages(m_outdatedStringList->count()) + QLatin1String("</h3>");
}
html += QLatin1String("<br><table border=\"0\">");
if (SettingsManager::getMakeInterfaceLessCondensed())
html += QLatin1String("<br><table cellpadding=\"3\" border=\"0\">");
else
html += QLatin1String("<br><table border=\"0\">");
html += QLatin1String("<tr><th width=\"25%\" align=\"left\">") + StrConstants::getName() +
QLatin1String("</th><th width=\"18%\" align=\"right\">") +
StrConstants::getOutdatedVersion() +
@@ -720,7 +724,11 @@ void MainWindow::outputOutdatedPackageList()
StrConstants::getOutdatedPackages(m_outdatedStringList->count()) + QLatin1String("</h3>");
}
html += QLatin1String("<br><table border=\"0\">");
if (SettingsManager::getMakeInterfaceLessCondensed())
html += QLatin1String("<br><table cellpadding=\"3\" border=\"0\">");
else
html += QLatin1String("<br><table border=\"0\">");
html += QLatin1String("<tr><th width=\"25%\" align=\"left\">") + StrConstants::getName() +
QLatin1String("</th><th width=\"18%\" align=\"right\">") +
StrConstants::getOutdatedVersion() +
@@ -816,26 +824,54 @@ void MainWindow::outputOutdatedAURPackageList()
StrConstants::getOutdatedPackages(m_outdatedAURStringList->count()) + QLatin1String("</h3>");
}
html += QLatin1String("<br><table border=\"0\">");
if (SettingsManager::getMakeInterfaceLessCondensed())
html += QLatin1String("<br><table cellpadding=\"3\" border=\"0\">");
else
html += QLatin1String("<br><table border=\"0\">");
html += QLatin1String("<tr><th width=\"25%\" align=\"left\">") + StrConstants::getName() +
QLatin1String("</th><th width=\"18%\" align=\"right\">") +
StrConstants::getOutdatedVersion() +
QLatin1String("</th><th width=\"18%\" align=\"right\">") +
StrConstants::getAvailableVersion() + QLatin1String("</th></tr>");
for (int c=0; c < m_outdatedAURStringList->count(); c++)
QString pkg, availableVersion, pkgName;
QHash<QString, QString>::const_iterator i;
for (i = m_outdatedAURPackagesNameVersion->constBegin(); i != m_outdatedAURPackagesNameVersion->constEnd(); ++i)
{
QString pkg = m_outdatedAURStringList->at(c);
pkg = i.key();
pkgName = QLatin1String("<tr><td>") + pkg;
const PackageRepository::PackageData*const package = m_packageRepo.getFirstPackageByName(pkg);
if (package != nullptr) {
QString availableVersion = m_outdatedAURPackagesNameVersion->value(m_outdatedAURStringList->at(c));
html += QLatin1String("<tr><td><a href=\"goto:") + pkg + QLatin1String("\">") + pkg +
QLatin1String("</td><td align=\"right\"><b><font color=\"#E55451\">") +
package->version +
QLatin1String("</b></font></td><td align=\"right\">") +
availableVersion + QLatin1String("</td></tr>");
availableVersion = package->version;
//pkgName = QLatin1String("<tr><td><a href=\"goto:") + pkg + QLatin1String("\">") + pkg;
}
else
{
if (SettingsManager::hasPacmanBackend())
{
QString pkgInfo = QString::fromUtf8(UnixCommand::getPackageInformation(pkg, true));
//pkgName = QLatin1String("<tr><td>") + pkg;
if (!pkgInfo.isEmpty())
availableVersion = Package::getVersion(pkgInfo);
else
availableVersion = QStringLiteral("");
}
#ifdef ALPM_BACKEND
else
{
//pkgName = QLatin1String("<tr><td>") + pkg;
availableVersion = AlpmBackend::getPackageVersion(pkg, true);
}
#endif
}
html += pkgName + QLatin1String("</td><td align=\"right\"><b><font color=\"#E55451\">") +
availableVersion +
QLatin1String("</b></font></td><td align=\"right\">") +
i.value() + QLatin1String("</td></tr>");
}
html += QLatin1String("</table><br>");
@@ -2055,7 +2091,15 @@ void MainWindow::maxDemaxPropertiesTabWidget(bool pSaveSettings)
if ( rl[0] != 0 ) //Maximize here
{
ui->splitterHorizontal->setSizes( l << 0 << ui->twProperties->maximumHeight());
ui->twProperties->currentWidget()->childAt(1,1)->setFocus();
if (ui->twProperties->currentIndex() == ctn_TABINDEX_INFORMATION)
{
QTextBrowser *tb = ui->twProperties->currentWidget()->findChild<QTextBrowser*>(QStringLiteral("textBrowser"));
if (tb) tb->setFocus();
}
else
ui->twProperties->currentWidget()->childAt(1,1)->setFocus();
ui->twProperties->tabBar()->hide();
if(pSaveSettings)

View File

@@ -171,6 +171,7 @@ void MainWindow::keyPressEvent(QKeyEvent* ke)
if (!isInternetAvailable()) return;
toggleSystemActions(false);
m_progressWidget->setMaximum(100);
m_progressWidget->setValue(0);
m_progressWidget->show();
@@ -387,7 +388,7 @@ void MainWindow::keyPressEvent(QKeyEvent* ke)
LinuxDistro ld=UnixCommand::getLinuxDistro();
if((ld == ectn_KAOS || ld == ectn_CHAKRA) || (
m_hasForeignTool && SettingsManager::getAURToolName() != ctn_NO_AUR_TOOL &&
!isAURGroupSelected() /*&& !SettingsManager::getSearchOutdatedAURPackages()*/))
!isAURGroupSelected()))
{
m_outdatedAURTimer->start();

View File

@@ -60,128 +60,261 @@ QString MainWindow::generateHelpUsageHtmlText()
if(m_hasForeignTool && UnixCommand::getLinuxDistro() != ectn_CHAKRA)
{
strOutdatedAur=QLatin1String("<li>") +
tr("Ctrl+Shift+O to display outdated %1 packages").arg(StrConstants::getForeignRepositoryName()) + QLatin1String("</li>");
if (SettingsManager::getMakeInterfaceLessCondensed())
{
strOutdatedAur=QLatin1String("<li><p style=\"line-height: 0.8;\">") +
tr("Ctrl+Shift+O to display outdated %1 packages").arg(StrConstants::getForeignRepositoryName()) + QLatin1String("</p></li>");
}
else
{
strOutdatedAur=QLatin1String("<li>") +
tr("Ctrl+Shift+O to display outdated %1 packages").arg(StrConstants::getForeignRepositoryName()) + QLatin1String("</li>");
}
}
else strOutdatedAur=QStringLiteral("<li></li>");
QString strVote;
if(m_aurVote != nullptr)
{
strVote=QLatin1String("<li>") +
tr("Ctrl+Shift+A to display AUR voted package list") + QLatin1String("</li>");
if (SettingsManager::getMakeInterfaceLessCondensed())
{
strVote=QLatin1String("<li><p style=\"line-height: 0.8;\">") +
tr("Ctrl+Shift+A to display AUR voted package list") + QLatin1String("</p></li>");
}
else
{
strVote=QLatin1String("<li>") +
tr("Ctrl+Shift+A to display AUR voted package list") + QLatin1String("</li>");
}
}
else strVote=QStringLiteral("<li></li>");
QString iconPath = QStringLiteral("<img height=\"16\" width=\"16\" src=\":/resources/images/");
QString strForMoreInfo = tr("For more information, visit:");
QString html =
QStringLiteral("<h2>Octopi</h2>") +
QStringLiteral("<h3><p>") + tr("A Qt-based Pacman frontend,") + QLatin1Char(' ') +
tr("licensed under the terms of") + QLatin1Char(' ');
QString html;
if (SettingsManager::getMakeInterfaceLessCondensed())
{
html=
QStringLiteral("<h2>Octopi</h2>") +
QStringLiteral("<h3><p>") + tr("A Qt-based Pacman frontend,") + QLatin1Char(' ') +
tr("licensed under the terms of") + QLatin1Char(' ');
html +=
QStringLiteral("<a href=\"http://www.gnu.org/licenses/gpl-2.0.html\">GPL v2</a>.</p></h3>") +
QStringLiteral("<h4><p>") + strForMoreInfo + QLatin1Char(' ') +
QStringLiteral("<a href=\"https://tintaescura.com/projects/octopi/\">https://tintaescura.com/projects/octopi</a><br>");
html += QStringLiteral("<br>") +
tr("Package classification:") +
QStringLiteral("<a href=\"http://www.gnu.org/licenses/gpl-2.0.html\">GPL v2</a>.</p></h3>") +
QStringLiteral("<p>") + strForMoreInfo + QLatin1Char(' ') +
QStringLiteral("<a href=\"https://tintaescura.com/projects/octopi/\">https://tintaescura.com/projects/octopi</a><br>");
html += QStringLiteral("<br><br>") +
tr("Package classification:") +
QStringLiteral("<ul type=\"square\"><li>") + iconPath + QLatin1String("ignored.png\"/> ") +
tr("An ignored package") + QStringLiteral("</li>") +
QStringLiteral("<li>") + iconPath + QLatin1String("installed.png\"/> ") +
tr("An installed package") + QStringLiteral("</li>") +
QStringLiteral("<li>") + iconPath + QLatin1String("unrequired.png\"/> ") +
tr("An installed package (not required by others)") +
QStringLiteral("</li>") +
QLatin1String("<li>") + iconPath + QLatin1String("foreign_green.png\"/> ") +
tr("A foreign package, installed from") + QLatin1Char(' ') + StrConstants::getForeignRepositoryName() +
QStringLiteral("</li>") +
QStringLiteral("<li>") + iconPath + QLatin1String("noninstalled.png\"/> ") +
tr("A non installed package") +
QStringLiteral("</li>") +
QStringLiteral("<li>") + iconPath + QLatin1String("outdated.png\"/> ") +
tr("An outdated package") +
QStringLiteral("</li>") +
QStringLiteral("<li>") + iconPath + QLatin1String("foreign_red.png\"/> ") +
tr("An outdated foreign package") +
QStringLiteral("</li>") +
QStringLiteral("<li>") + iconPath + QLatin1String("newer.png\"/> ") +
tr("A newer version of this package is installed") +
QStringLiteral("</li></ul>") +
tr("Basic usage help:") +
QStringLiteral("<ul><li>") +
tr("Position the mouse over a package to see its description") +
QStringLiteral("</li><li>") +
tr("Double click an installed package to see its contents") +
QStringLiteral("</li><li>") +
tr("Right click package to install/reinstall or remove it") +
QStringLiteral("</li></ul>") +
QStringLiteral("<ul type=\"square\"><li><p style=\"line-height: 0.8;\">") + iconPath + QLatin1String("ignored.png\"/> ") +
tr("An ignored package") + QStringLiteral("</p></li>") +
QStringLiteral("<li><p style=\"line-height: 0.8;\">") + iconPath + QLatin1String("installed.png\"/> ") +
tr("An installed package") + QStringLiteral("</p></li>") +
QStringLiteral("<li><p style=\"line-height: 0.8;\">") + iconPath + QLatin1String("unrequired.png\"/> ") +
tr("An installed package (not required by others)") +
QStringLiteral("</p></li>") +
QLatin1String("<li><p style=\"line-height: 0.8;\">") + iconPath + QLatin1String("foreign_green.png\"/> ") +
tr("A foreign package, installed from") + QLatin1Char(' ') + StrConstants::getForeignRepositoryName() +
QStringLiteral("</p></li>") +
QStringLiteral("<li><p style=\"line-height: 0.8;\">") + iconPath + QLatin1String("noninstalled.png\"/> ") +
tr("A non installed package") +
QStringLiteral("</p></li>") +
QStringLiteral("<li><p style=\"line-height: 0.8;\">") + iconPath + QLatin1String("outdated.png\"/> ") +
tr("An outdated package") +
QStringLiteral("</p></li>") +
QStringLiteral("<li><p style=\"line-height: 0.8;\">") + iconPath + QLatin1String("foreign_red.png\"/> ") +
tr("An outdated foreign package") +
QStringLiteral("</p></li>") +
QStringLiteral("<li><p style=\"line-height: 0.8;\">") + iconPath + QLatin1String("newer.png\"/> ") +
tr("A newer version of this package is installed") +
QStringLiteral("</p></li></ul><br>") +
tr("Alt+key sequences:") +
QStringLiteral("<ul><li>") +
tr("Alt+1 to switch to 'Info' tab") +
QStringLiteral("</li><li>") +
tr("Alt+2 to switch to 'Files' tab") +
QStringLiteral("</li><li>") +
tr("Alt+3 to switch to 'Actions' tab") +
QStringLiteral("</li><li>") +
tr("Alt+4 to switch to 'Output' tab") +
QStringLiteral("</li><li>") +
tr("Alt+5 to switch to 'News' tab") +
QStringLiteral("</li><li>") +
tr("Alt+6 or 'F1' to show this help page") +
QStringLiteral("</li><li>") +
tr("Alt+7 to switch to 'Terminal' tab") +
QStringLiteral("</li></ul>") +
tr("Basic usage help:") +
QStringLiteral("<ul><li><p style=\"line-height: 0.8;\">") +
tr("Position the mouse over a package to see its description") +
QStringLiteral("</p style=\"line-height: 0.8;\"></li><li><p>") +
tr("Double click an installed package to see its contents") +
QStringLiteral("</p></li><li><p style=\"line-height: 0.8;\">") +
tr("Right click package to install/reinstall or remove it") +
QStringLiteral("</p></li></ul><br>") +
tr("Control+key sequences:") +
QStringLiteral("<ul><li>") +
tr("Ctrl+E or 'Actions/Cancel' to clear the selection of to be removed/installed packages") +
QStringLiteral("</li><li>") +
tr("Ctrl+F to search for text inside tab Files, News and Usage") +
QStringLiteral("</li><li>") +
tr("Ctrl+G or 'File/Get latest distro news' to retrieve the latest RSS based distro news") +
QStringLiteral("</li><li>") +
tr("Ctrl+K or 'File/Check updates' to check mirror for latest updates (checkupdates)") +
QStringLiteral("</li><li>") +
tr("Ctrl+L to find a package in the package list") +
QStringLiteral("</li><li>") +
tr("Ctrl+P to go to package list") +
QStringLiteral("</li><li>") +
tr("Ctrl+Q or 'File/Exit' to exit the application") +
QStringLiteral("</li><li>") +
tr("Ctrl+U or 'File/System upgrade' to make a full system upgrade (pacman -Su)") +
QStringLiteral("</li><li>") +
tr("Ctrl+Y or 'Actions/Apply' to start installation/removal of selected packages") +
QStringLiteral("</li></ul>") +
tr("Alt+key sequences:") +
QStringLiteral("<ul><li><p style=\"line-height: 0.8;\">") +
tr("Alt+1 to switch to 'Info' tab") +
QStringLiteral("</p style=\"line-height: 0.8;\"></li><li><p>") +
tr("Alt+2 to switch to 'Files' tab") +
QStringLiteral("</p></li><li><p style=\"line-height: 0.8;\">") +
tr("Alt+3 to switch to 'Actions' tab") +
QStringLiteral("</p></li><li><p style=\"line-height: 0.8;\">") +
tr("Alt+4 to switch to 'Output' tab") +
QStringLiteral("</p></li><li><p style=\"line-height: 0.8;\">") +
tr("Alt+5 to switch to 'News' tab") +
QStringLiteral("</p></li><li><p style=\"line-height: 0.8;\">") +
tr("Alt+6 or 'F1' to show this help page") +
QStringLiteral("</p></li><li><p style=\"line-height: 0.8;\">") +
tr("Alt+7 to switch to 'Terminal' tab") +
QStringLiteral("</p></li></ul><br>") +
tr("Control+shift+key sequences:") +
QStringLiteral("<ul>") +
strVote +
QStringLiteral("<li>") +
tr("Ctrl+Shift+G to display all package groups") +
QStringLiteral("</li>") +
strOutdatedAur + QLatin1String("<li>") +
//tr("Ctrl+Shift+R to remove Pacman's transaction lock file") +
QStringLiteral("</li><li>") +
tr("Ctrl+Shift+U to upgrade outdated %1 packages").arg(StrConstants::getForeignRepositoryGroupName()) +
QStringLiteral("</li><li>") +
tr("Ctrl+Shift+Y to display %1 group").arg(StrConstants::getForeignRepositoryGroupName()) +
QStringLiteral("</li></ul>") +
tr("Control+key sequences:") +
QStringLiteral("<ul><li><p style=\"line-height: 0.8;\">") +
tr("Ctrl+E or 'Actions/Cancel' to clear the selection of to be removed/installed packages") +
QStringLiteral("</p></li><li><p style=\"line-height: 0.8;\">") +
tr("Ctrl+F to search for text inside tab Files, News and Usage") +
QStringLiteral("</p></li><li><p style=\"line-height: 0.8;\">") +
tr("Ctrl+G or 'File/Get latest distro news' to retrieve the latest RSS based distro news") +
QStringLiteral("</p></li><li><p style=\"line-height: 0.8;\">") +
tr("Ctrl+K or 'File/Check updates' to check mirror for latest updates (checkupdates)") +
QStringLiteral("</p></li><li><p style=\"line-height: 0.8;\">") +
tr("Ctrl+L to find a package in the package list") +
QStringLiteral("</p></li><li><p style=\"line-height: 0.8;\">") +
tr("Ctrl+P to go to package list") +
QStringLiteral("</p></li><li><p style=\"line-height: 0.8;\">") +
tr("Ctrl+Q or 'File/Exit' to exit the application") +
QStringLiteral("</p></li><li><p style=\"line-height: 0.8;\">") +
tr("Ctrl+U or 'File/System upgrade' to make a full system upgrade (pacman -Su)") +
QStringLiteral("</p></li><li><p style=\"line-height: 0.8;\">") +
tr("Ctrl+Y or 'Actions/Apply' to start installation/removal of selected packages") +
QStringLiteral("</p></li></ul><br>") +
tr("F+key sequences:") +
QStringLiteral("<ul><li>") +
tr("F1 to show this help page") +
QStringLiteral("</li><li>") +
tr("F4 to open a Terminal whitin the selected directory at Files tab") +
QStringLiteral("</li><li>") +
tr("F6 to open a File Manager whitin the selected directory at Files tab") +
QStringLiteral("</li><li>") +
tr("F10 to maximize/demaximize package list view") +
QStringLiteral("</li><li>") +
tr("F11 to maximize/demaximize Tab's view") +
QStringLiteral("</li></ul><br>");
tr("Control+shift+key sequences:") +
QStringLiteral("<ul>") +
strVote +
QStringLiteral("<li><p style=\"line-height: 0.8;\">") +
tr("Ctrl+Shift+G to display all package groups") +
QStringLiteral("</p></li><p style=\"line-height: 0.8;\">") +
strOutdatedAur + QLatin1String("<li>") +
//tr("Ctrl+Shift+R to remove Pacman's transaction lock file") +
QStringLiteral("</p></li><li><p style=\"line-height: 0.8;\">") +
tr("Ctrl+Shift+U to upgrade outdated %1 packages").arg(StrConstants::getForeignRepositoryGroupName()) +
QStringLiteral("</p></li><li><p style=\"line-height: 0.8;\">") +
tr("Ctrl+Shift+Y to display %1 group").arg(StrConstants::getForeignRepositoryGroupName()) +
QStringLiteral("</p></li></ul><br>") +
tr("F+key sequences:") +
QStringLiteral("<ul><li><p style=\"line-height: 0.8;\">") +
tr("F1 to show this help page") +
QStringLiteral("</p></li><li><p style=\"line-height: 0.8;\">") +
tr("F4 to open a Terminal whitin the selected directory at Files tab") +
QStringLiteral("</p></li><li><p style=\"line-height: 0.8;\">") +
tr("F6 to open a File Manager whitin the selected directory at Files tab") +
QStringLiteral("</p></li><li><p style=\"line-height: 0.8;\">") +
tr("F10 to maximize/demaximize package list view") +
QStringLiteral("</p></li><li><p style=\"line-height: 0.8;\">") +
tr("F11 to maximize/demaximize Tab's view") +
QStringLiteral("</p></li></ul><br>");
}
else
{
html=
QStringLiteral("<h2>Octopi</h2>") +
QStringLiteral("<h3><p>") + tr("A Qt-based Pacman frontend,") + QLatin1Char(' ') +
tr("licensed under the terms of") + QLatin1Char(' ');
html +=
QStringLiteral("<a href=\"http://www.gnu.org/licenses/gpl-2.0.html\">GPL v2</a>.</p></h3>") +
QStringLiteral("<p>") + strForMoreInfo + QLatin1Char(' ') +
QStringLiteral("<a href=\"https://tintaescura.com/projects/octopi/\">https://tintaescura.com/projects/octopi</a><br>");
html += QStringLiteral("<br><br>") +
tr("Package classification:") +
QStringLiteral("<ul type=\"square\"><li>") + iconPath + QLatin1String("ignored.png\"/> ") +
tr("An ignored package") + QStringLiteral("</li>") +
QStringLiteral("<li>") + iconPath + QLatin1String("installed.png\"/> ") +
tr("An installed package") + QStringLiteral("</li>") +
QStringLiteral("<li>") + iconPath + QLatin1String("unrequired.png\"/> ") +
tr("An installed package (not required by others)") +
QStringLiteral("</li>") +
QLatin1String("<li>") + iconPath + QLatin1String("foreign_green.png\"/> ") +
tr("A foreign package, installed from") + QLatin1Char(' ') + StrConstants::getForeignRepositoryName() +
QStringLiteral("</li>") +
QStringLiteral("<li>") + iconPath + QLatin1String("noninstalled.png\"/> ") +
tr("A non installed package") +
QStringLiteral("</li>") +
QStringLiteral("<li>") + iconPath + QLatin1String("outdated.png\"/> ") +
tr("An outdated package") +
QStringLiteral("</li>") +
QStringLiteral("<li>") + iconPath + QLatin1String("foreign_red.png\"/> ") +
tr("An outdated foreign package") +
QStringLiteral("</li>") +
QStringLiteral("<li>") + iconPath + QLatin1String("newer.png\"/> ") +
tr("A newer version of this package is installed") +
QStringLiteral("</li></ul><br>") +
tr("Basic usage help:") +
QStringLiteral("<ul><li>") +
tr("Position the mouse over a package to see its description") +
QStringLiteral("</li><li>") +
tr("Double click an installed package to see its contents") +
QStringLiteral("</li><li>") +
tr("Right click package to install/reinstall or remove it") +
QStringLiteral("</li></ul><br>") +
tr("Alt+key sequences:") +
QStringLiteral("<ul><li>") +
tr("Alt+1 to switch to 'Info' tab") +
QStringLiteral("</li><li>") +
tr("Alt+2 to switch to 'Files' tab") +
QStringLiteral("</li><li>") +
tr("Alt+3 to switch to 'Actions' tab") +
QStringLiteral("</li><li>") +
tr("Alt+4 to switch to 'Output' tab") +
QStringLiteral("</li><li>") +
tr("Alt+5 to switch to 'News' tab") +
QStringLiteral("</li><li>") +
tr("Alt+6 or 'F1' to show this help page") +
QStringLiteral("</li><li>") +
tr("Alt+7 to switch to 'Terminal' tab") +
QStringLiteral("</li></ul><br>") +
tr("Control+key sequences:") +
QStringLiteral("<ul><li>") +
tr("Ctrl+E or 'Actions/Cancel' to clear the selection of to be removed/installed packages") +
QStringLiteral("</li><li>") +
tr("Ctrl+F to search for text inside tab Files, News and Usage") +
QStringLiteral("</li><li>") +
tr("Ctrl+G or 'File/Get latest distro news' to retrieve the latest RSS based distro news") +
QStringLiteral("</li><li>") +
tr("Ctrl+K or 'File/Check updates' to check mirror for latest updates (checkupdates)") +
QStringLiteral("</li><li>") +
tr("Ctrl+L to find a package in the package list") +
QStringLiteral("</li><li>") +
tr("Ctrl+P to go to package list") +
QStringLiteral("</li><li>") +
tr("Ctrl+Q or 'File/Exit' to exit the application") +
QStringLiteral("</li><li>") +
tr("Ctrl+U or 'File/System upgrade' to make a full system upgrade (pacman -Su)") +
QStringLiteral("</li><li>") +
tr("Ctrl+Y or 'Actions/Apply' to start installation/removal of selected packages") +
QStringLiteral("</li></ul><br>") +
tr("Control+shift+key sequences:") +
QStringLiteral("<ul>") +
strVote +
QStringLiteral("<li>") +
tr("Ctrl+Shift+G to display all package groups") +
QStringLiteral("</li>") +
strOutdatedAur + QLatin1String("<li>") +
//tr("Ctrl+Shift+R to remove Pacman's transaction lock file") +
QStringLiteral("</li><li>") +
tr("Ctrl+Shift+U to upgrade outdated %1 packages").arg(StrConstants::getForeignRepositoryGroupName()) +
QStringLiteral("</li><li>") +
tr("Ctrl+Shift+Y to display %1 group").arg(StrConstants::getForeignRepositoryGroupName()) +
QStringLiteral("</li></ul><br>") +
tr("F+key sequences:") +
QStringLiteral("<ul><li>") +
tr("F1 to show this help page") +
QStringLiteral("</li><li>") +
tr("F4 to open a Terminal whitin the selected directory at Files tab") +
QStringLiteral("</li><li>") +
tr("F6 to open a File Manager whitin the selected directory at Files tab") +
QStringLiteral("</li><li>") +
tr("F10 to maximize/demaximize package list view") +
QStringLiteral("</li><li>") +
tr("F11 to maximize/demaximize Tab's view") +
QStringLiteral("</li></ul><br>");
}
return html;
}
@@ -220,7 +353,14 @@ void MainWindow::onHelpDonate()
*/
void MainWindow::onHelpAbout()
{
QString aboutText =
QString aboutText;
if (SettingsManager::getMakeInterfaceLessCondensed())
{
aboutText += QStringLiteral("<p style=\"line-height: 1.2;\">");
}
aboutText +=
QLatin1String("<b>") + StrConstants::getApplicationName() + QLatin1String("</b><br>");
aboutText += StrConstants::getVersion() + QLatin1String(": ") + ctn_APPLICATION_VERSION /*StrConstants::getApplicationVersion()*/ +

View File

@@ -267,7 +267,10 @@ void MainWindow::initPackageGroups()
ui->twGroups->header()->setSectionResizeMode(QHeaderView::Fixed);
ui->twGroups->setFrameShape(QFrame::NoFrame);
ui->twGroups->setFrameShadow(QFrame::Plain);
ui->twGroups->setStyleSheet(StrConstants::getTreeViewCSS());
if (SettingsManager::getMakeInterfaceLessCondensed())
ui->twGroups->setStyleSheet(QStringLiteral("QTreeView::item { height: 28px; }"));
ui->twGroups->setSelectionMode(QAbstractItemView::SingleSelection);
ui->twGroups->setFocusPolicy(Qt::NoFocus);
connect(ui->twGroups, SIGNAL(itemSelectionChanged()), this, SLOT(onPackageGroupChanged()));
@@ -347,6 +350,8 @@ void MainWindow::initToolBar()
ui->mainToolBar->addAction(ui->actionCheckUpdates);
ui->mainToolBar->addAction(ui->actionSystemUpgrade);
ui->actionCheckUpdates->setEnabled(false);
if (m_outdatedStringList->count() > 0)
ui->actionSystemUpgrade->setEnabled(true);
else

View File

@@ -135,6 +135,7 @@ void MainWindow::refreshDistroNews(bool searchForLatestNews, bool gotoNewsTab)
QFuture<QString> f;
f = QtConcurrent::run(getLatestDistroNews);
g_fwDistroNews.setFuture(f);
disconnect(&g_fwDistroNews, SIGNAL(finished()), this, SLOT(postRefreshDistroNews()));
connect(&g_fwDistroNews, SIGNAL(finished()), this, SLOT(postRefreshDistroNews()));
}
else
@@ -210,7 +211,18 @@ void MainWindow::showDistroNews(QString distroRSSXML, bool searchForLatestNews)
if (m_gotoNewsTab)
{
clearTabOutput();
QTextBrowser *output = ui->twProperties->widget(ctn_TABINDEX_OUTPUT)->findChild<QTextBrowser*>(QStringLiteral("textBrowser"));
if (output->toHtml().contains(StrConstants::getSearchingForDistroNews().arg(UnixCommand::getLinuxDistroName())))
{
if (distroRSSXML.length() >= 200)
{
writeToTabOutput(QLatin1String("<br><br><b>") + StrConstants::getCommandFinishedOK() + QLatin1String("</b><br>"));
}
else
{
writeToTabOutput(QLatin1String("<br><br><b>") + StrConstants::getCommandFinishedWithErrors() + QLatin1String("</b><br>"));
}
}
}
if (searchForLatestNews && m_gotoNewsTab)

View File

@@ -308,7 +308,7 @@ void MainWindow::AURToolSelected()
//Let's clear the list of visited packages (pkg anchors in Info tab)
m_listOfVisitedPackages.clear();
m_indOfVisitedPackage = 0;
m_indOfVisitedPackage = -1;
switchToViewAllPackages();
m_selectedRepository = QLatin1String("");
@@ -652,6 +652,7 @@ void MainWindow::metaBuildPackageList()
ui->tvPackages->setSelectionMode(QAbstractItemView::SingleSelection);
toggleSystemActions(false);
m_listOfAURPackages = new QList<PackageListData>();
m_leFilterPackage->setFocus();
ui->twGroups->setEnabled(false);
@@ -678,6 +679,7 @@ void MainWindow::metaBuildPackageList()
}
toggleSystemActions(false);
//disconnect(m_leFilterPackage, SIGNAL(textChanged(QString)), this, SLOT(reapplyPackageFilter())); //WATCH OUT!
clearStatusBar();
@@ -780,12 +782,16 @@ void MainWindow::buildPackageList()
ui->tvPackages->setColumnHidden(PackageModel::ctn_PACKAGE_POPULARITY_COLUMN, true);
static bool firstTime = true;
bool searchOutdatedPackages=SettingsManager::getSearchOutdatedAURPackages();
if (!searchOutdatedPackages)
bool searchOutdatedPackages = false; //SettingsManager::getSearchOutdatedAURPackages();
// WARNING THIS WAS COMMENTED IN OCTOBER 2025
/*if (!searchOutdatedPackages)
{
m_outdatedAURStringList->clear();
m_outdatedAURPackagesNameVersion->clear();
}
}*/
if(m_refreshPackageLists) //If it's not the starting of the app...
{
@@ -1239,6 +1245,13 @@ void MainWindow::buildAURPackageList()
refreshColumnSortSetup();
refreshToolBar();
refreshStatusBarToolButtons();
if (UnixCommand::getLinuxDistro() != ectn_KAOS)
{
ui->actionCheckUpdates->setEnabled(true);
if (m_outdatedAURStringList->count() > 0)
ui->actionSystemUpgrade->setEnabled(true);
}
}
/*
@@ -1247,7 +1260,7 @@ void MainWindow::buildAURPackageList()
*/
void MainWindow::showToolButtonAUR()
{
if (isAURGroupSelected() && UnixCommand::getLinuxDistro() != ectn_KAOS) return;
//if (isAURGroupSelected() && UnixCommand::getLinuxDistro() != ectn_KAOS) return;
m_outdatedAURPackagesNameVersion = &g_fwOutdatedAURPackages.result()->content;
@@ -1338,13 +1351,13 @@ void MainWindow::refreshStatusBarToolButtons()
{
if (isAURGroupSelected() && UnixCommand::getLinuxDistro() != ectn_KAOS) return;
if (m_hasForeignTool && SettingsManager::getSearchOutdatedAURPackages())
/*if (m_hasForeignTool && SettingsManager::getSearchOutdatedAURPackages())
{
QFuture<FTOutdatedPackages *> f;
f = QtConcurrent::run(getOutdatedForeignToolPackages);
g_fwOutdatedAURPackages.setFuture(f);
connect(&g_fwOutdatedAURPackages, SIGNAL(finished()), this, SLOT(showToolButtonAUR()));
}
}*/
if (m_commandExecuting == ectn_NONE && !isSearchByFileSelected() && !m_actionSwitchToForeignTool->isChecked())
ui->twGroups->setEnabled(true);
@@ -1401,7 +1414,7 @@ void MainWindow::refreshStatusBar()
m_toolButtonPacman->setText(QLatin1String(""));
m_toolButtonPacman->setToolTip(QLatin1String(""));
}
if (m_outdatedAURStringList->count() > 0 && !isAURGroupSelected())
if (m_outdatedAURStringList->count() > 0) // && !isAURGroupSelected())
{
m_toolButtonAUR->show();
ui->statusBar->addWidget(m_toolButtonAUR);
@@ -1527,7 +1540,12 @@ void MainWindow::refreshTabInfo(bool clearContents, bool neverQuit)
if (Package::getForeignRepositoryToolName() != ctn_KCP_TOOL)
{
html += QLatin1String("<a style=\"font-size:16px;\">") + pkgDescription + QLatin1String("</a>");
html += QLatin1String("<table border=\"0\">");
if (SettingsManager::getMakeInterfaceLessCondensed())
html += QLatin1String("<table cellpadding=\"3\" border=\"0\">");
else
html += QLatin1String("<table border=\"0\">");
html += QLatin1String("<tr><th width=\"20%\"></th><th width=\"80%\"></th></tr>");
html += QLatin1String("<tr><td>") + version + QLatin1String("</td><td>") + package->version + QLatin1String("</td></tr>");
@@ -1580,7 +1598,12 @@ void MainWindow::refreshTabInfo(bool clearContents, bool neverQuit)
else if (Package::getForeignRepositoryToolName() == ctn_KCP_TOOL)
{
html += QLatin1String("<a style=\"font-size:16px;\">") + kcp.description + QLatin1String("</a>");
html += QLatin1String("<table border=\"0\">");
if (SettingsManager::getMakeInterfaceLessCondensed())
html += QLatin1String("<table cellpadding=\"3\" border=\"0\">");
else
html += QLatin1String("<table border=\"0\">");
html += QLatin1String("<tr><th width=\"20%\"></th><th width=\"80%\"></th></tr>");
html += QLatin1String("<tr><td>") + version + QLatin1String("</td><td>") + package->version + QLatin1String("</td></tr>");

View File

@@ -36,6 +36,7 @@
#include "aurvote.h"
#include "constants.h"
#include "utils.h"
#include "alpmbackend.h"
#include <QComboBox>
#include <QProgressBar>
@@ -841,31 +842,101 @@ void MainWindow::doCheckUpdates()
if (!isInternetAvailable()) return;
clearTabOutput();
m_toolButtonPacman->hide();
m_toolButtonAUR->hide();
//Let's synchronize kcp database too...
if (UnixCommand::getLinuxDistro() == ectn_KAOS && UnixCommand::hasTheExecutable(ctn_KCP_TOOL))
UnixCommand::execCommandAsNormalUser(QStringLiteral("kcp"), QStringList() << QStringLiteral("-u"));
if (UnixCommand::getLinuxDistro() != ectn_KAOS && isAURGroupSelected())
{
disableTransactionActions();
m_progressWidget->setValue(0);
m_progressWidget->setMaximum(100);
ensureTabVisible(ctn_TABINDEX_OUTPUT);
m_commandExecuting = ectn_CHECK_UPDATES;
disableTransactionActions();
if (SettingsManager::getMakeInterfaceLessCondensed())
{
writeToTabOutput(QLatin1String("<p style=\"line-height: 1.2;\"><b>") + StrConstants::getCheckingForUpdates() + QLatin1String("</b><br><br>"),
ectn_DONT_TREAT_URL_LINK);
}
else
writeToTabOutput(QLatin1String("<b>") + StrConstants::getCheckingForUpdates() + QLatin1String("</b><br><br>"), ectn_DONT_TREAT_URL_LINK);
m_progressWidget->setValue(0);
m_progressWidget->setMaximum(100);
clearTabOutput();
ensureTabVisible(ctn_TABINDEX_OUTPUT);
qApp->processEvents();
m_pacmanExec = new PacmanExec(this);
if (m_debugInfo) m_pacmanExec->setDebugMode(true);
QEventLoop el;
QFuture<FTOutdatedPackages *> f;
f = QtConcurrent::run(getOutdatedForeignToolPackages);
g_fwOutdatedAURPackages.setFuture(f);
connect(&g_fwOutdatedAURPackages, SIGNAL(finished()), &el, SLOT(quit()));
QObject::connect(m_pacmanExec, SIGNAL( finished (int, QProcess::ExitStatus)),
this, SLOT( pacmanProcessFinished(int, QProcess::ExitStatus) ));
m_outdatedAURPackagesNameVersion->clear();
m_outdatedAURStringList->clear();
m_outdatedAURPackagesNameVersion->insert(f.result()->content);
QObject::connect(m_pacmanExec, SIGNAL(percentage(int)), this, SLOT(incrementPercentage(int)));
QObject::connect(m_pacmanExec, SIGNAL(textToPrintExt(QString)), this, SLOT(outputText(QString)));
QString pkg, html, availableVersion;
QHash<QString, QString>::const_iterator i;
m_pacmanExec->doCheckUpdates();
for (i = m_outdatedAURPackagesNameVersion->constBegin(); i != m_outdatedAURPackagesNameVersion->constEnd(); ++i)
{
pkg = i.key();
const PackageRepository::PackageData*const package = m_packageRepo.getFirstPackageByName(pkg);
if (package != nullptr) {
availableVersion = m_outdatedAURPackagesNameVersion->value(pkg);
}
else
{
if (SettingsManager::hasPacmanBackend())
{
QString pkgInfo = QString::fromUtf8(UnixCommand::getPackageInformation(pkg, true));
if (!pkgInfo.isEmpty())
availableVersion = Package::getVersion(pkgInfo);
else
availableVersion = QStringLiteral("");
}
#ifdef ALPM_BACKEND
else
availableVersion = AlpmBackend::getPackageVersion(pkg, true);
#endif
}
html += pkg + QStringLiteral(" : ") + availableVersion + QStringLiteral(" -> ") + i.value() + QStringLiteral("<br>");
m_outdatedAURStringList->append(pkg);
}
if (m_outdatedAURStringList->count() > 0)
showToolButtonAUR();
else
html += StrConstants::getNoUpdatesAvailable() + QStringLiteral("<br>");
writeToTabOutput(html + QStringLiteral("<br>"));
writeToTabOutput(QLatin1String("<b>") + StrConstants::getCommandFinishedOK() + QLatin1String("</b>"), ectn_DONT_TREAT_URL_LINK);
enableTransactionActions();
}
else
{
//Let's synchronize kcp database too...
if (UnixCommand::getLinuxDistro() == ectn_KAOS && UnixCommand::hasTheExecutable(ctn_KCP_TOOL))
UnixCommand::execCommandAsNormalUser(QStringLiteral("kcp"), QStringList() << QStringLiteral("-u"));
m_commandExecuting = ectn_CHECK_UPDATES;
disableTransactionActions();
m_progressWidget->setValue(0);
m_progressWidget->setMaximum(100);
clearTabOutput();
ensureTabVisible(ctn_TABINDEX_OUTPUT);
m_pacmanExec = new PacmanExec(this);
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(incrementPercentage(int)));
QObject::connect(m_pacmanExec, SIGNAL(textToPrintExt(QString)), this, SLOT(outputText(QString)));
m_pacmanExec->doCheckUpdates();
}
}
/*
@@ -1003,6 +1074,12 @@ bool MainWindow::prepareSystemUpgrade()
*/
void MainWindow::doSystemUpgrade(SystemUpgradeOptions systemUpgradeOptions)
{
if (isAURGroupSelected())
{
doAURUpgrade();
return;
}
Q_UNUSED(systemUpgradeOptions)
double totalDownloadSize = 0;
@@ -1055,7 +1132,7 @@ void MainWindow::doSystemUpgrade(SystemUpgradeOptions systemUpgradeOptions)
{
clearTabOutput();
writeToTabOutput(QLatin1String("<b>") + StrConstants::getCollectingTransactionData() +
QLatin1String("</b><br>"), ectn_DONT_TREAT_URL_LINK);
QLatin1String("</b><br><br>"), ectn_DONT_TREAT_URL_LINK);
qApp->processEvents();
//Shows a dialog indicating the targets needed to be retrieved and asks for the user's permission.
@@ -1235,7 +1312,7 @@ void MainWindow::doRemoveAndInstall()
{
clearTabOutput();
writeToTabOutput(QLatin1String("<b>") + StrConstants::getCollectingTransactionData() +
QLatin1String("</b><br>"), ectn_DONT_TREAT_URL_LINK);
QLatin1String("</b><br><br>"), ectn_DONT_TREAT_URL_LINK);
qApp->processEvents();
QString listOfRemoveTargets = getTobeRemovedPackages();
@@ -1436,7 +1513,7 @@ void MainWindow::doRemove()
{
clearTabOutput();
writeToTabOutput(QLatin1String("<b>") + StrConstants::getCollectingTransactionData() +
QLatin1String("</b><br>"), ectn_DONT_TREAT_URL_LINK);
QLatin1String("</b><br><br>"), ectn_DONT_TREAT_URL_LINK);
qApp->processEvents();
QString listOfTargets = getTobeRemovedPackages();
@@ -1907,7 +1984,7 @@ void MainWindow::doInstall()
clearTabOutput();
writeToTabOutput(QLatin1String("<b>") + StrConstants::getCollectingTransactionData() +
QLatin1String("</b><br>"), ectn_DONT_TREAT_URL_LINK);
QLatin1String("</b><br><br>"), ectn_DONT_TREAT_URL_LINK);
qApp->processEvents();
QHash<QString, bool> listToBeInst = getTobeInstalledPackages();
@@ -2152,10 +2229,11 @@ void MainWindow::toggleTransactionActions(const bool value)
if (m_outdatedStringList->count() > 0)
ui->actionSystemUpgrade->setEnabled(true);
}
else
else if (UnixCommand::getLinuxDistro() != ectn_KAOS)
{
ui->actionCheckUpdates->setEnabled(false);
ui->actionSystemUpgrade->setEnabled(false);
ui->actionCheckUpdates->setEnabled(true);
if (m_outdatedAURStringList->count() >0)
ui->actionSystemUpgrade->setEnabled(true);
}
}
else if (!value)
@@ -2202,7 +2280,7 @@ void MainWindow::toggleTransactionActions(const bool value)
ui->actionGetNews->setEnabled(value);
m_actionChangeInstallReason->setEnabled(value);
}
else
else if (UnixCommand::getLinuxDistro() == ectn_KAOS)
{
ui->actionInstallLocalPackage->setEnabled(false);
m_actionMenuOptions->setEnabled(false);
@@ -2210,6 +2288,16 @@ void MainWindow::toggleTransactionActions(const bool value)
ui->actionCheckUpdates->setEnabled(false);
m_actionChangeInstallReason->setEnabled(false);
}
else
{
ui->actionInstallLocalPackage->setEnabled(false);
m_actionMenuOptions->setEnabled(false);
ui->actionGetNews->setEnabled(false);
ui->actionCheckUpdates->setEnabled(value);
m_actionChangeInstallReason->setEnabled(false);
}
ui->actionHelpUsage->setEnabled(value);
ui->actionDonate->setEnabled(value);
@@ -2262,7 +2350,7 @@ void MainWindow::toggleSystemActions(const bool value)
ui->actionCheckUpdates->setEnabled(value);
m_actionChangeInstallReason->setEnabled(value);
}
else
else if (UnixCommand::getLinuxDistro() == ectn_KAOS)
{
m_actionMenuOptions->setEnabled(false);
ui->actionGetNews->setEnabled(false);
@@ -2270,6 +2358,20 @@ void MainWindow::toggleSystemActions(const bool value)
ui->actionCheckUpdates->setEnabled(false);
m_actionChangeInstallReason->setEnabled(false);
}
else
{
m_actionMenuOptions->setEnabled(false);
ui->actionGetNews->setEnabled(false);
ui->actionInstallLocalPackage->setEnabled(false);
ui->actionCheckUpdates->setEnabled(value);
if (value && m_outdatedAURStringList->count() > 0)
ui->actionSystemUpgrade->setEnabled(true);
else
ui->actionSystemUpgrade->setEnabled(false);
m_actionChangeInstallReason->setEnabled(false);
}
if (value && m_outdatedStringList->count() > 0)
ui->actionSystemUpgrade->setEnabled(true);
@@ -2556,7 +2658,7 @@ void MainWindow::pacmanProcessFinished(int exitCode, QProcess::ExitStatus exitSt
refreshMenuTools(); //Maybe some of octopi tools were added/removed...
QStringList aurTools = UnixCommand::getAvailableAURTools();
if(aurTools.count() > 1 && SettingsManager::getAURToolName() != ctn_NO_AUR_TOOL)
if (aurTools.count() > 1 && SettingsManager::getAURToolName() != ctn_NO_AUR_TOOL)
{
m_actionSwitchToForeignTool->setCheckable(true);
m_actionSwitchToForeignTool->setChecked(false);
@@ -2628,14 +2730,16 @@ void MainWindow::onPressAnyKeyToContinue()
m_leFilterPackage->clear();
}
metaBuildPackageList();
if (isAURGroupSelected())
if (m_toolButtonAUR->isVisible())
{
m_outdatedAURStringList->clear();
m_outdatedAURPackagesNameVersion->clear();
toggleSystemActions(false);
bRefreshGroups = false;
}
metaBuildPackageList();
if (m_commandExecuting != ectn_MIRROR_CHECK && bRefreshGroups)
refreshGroupsWidget();

View File

@@ -36,7 +36,7 @@ MultiSelectionDialog::MultiSelectionDialog(QWidget *parent) :
{
m_actionIsToCheck = true;
QStringList hhl;
hhl << StrConstants::getName() << StrConstants::getDescription();
hhl << StrConstants::getName() << StrConstants::getDescription() << StrConstants::getRepository();
ui->setupUi(this);
ui->twDepPackages->setColumnCount(3);

View File

@@ -209,6 +209,9 @@ void OptionsDialog::initListIcons()
listIcons->item(4)->setIcon(IconHelper::getIconOctopi());
listIcons->item(5)->setIcon(IconHelper::getIconCheckUpdates());
listIcons->item(6)->setIcon(IconHelper::getIconTerminal2());
if (SettingsManager::getMakeInterfaceLessCondensed())
listIcons->setSpacing(2);
}
void OptionsDialog::initButtonBox(){
@@ -232,6 +235,11 @@ void OptionsDialog::initGeneralTab()
cbEnableInternetCheck->setChecked(SettingsManager::getEnableInternetChecking());
gbInternetChecking->setStyleSheet(QLatin1String("border: 0;"));
cbIncreaseTextSpacing->setChecked(SettingsManager::getMakeInterfaceLessCondensed());
connect(cbIncreaseTextSpacing, &QCheckBox::clicked, this, [=]() {
QMessageBox::warning(this, StrConstants::getWarning(), StrConstants::getNeedsAppRestart());
});
if (SettingsManager::getInternetCheckingDomain().contains(QLatin1String("baidu")))
{
rbBaidu->setChecked(true);
@@ -295,6 +303,8 @@ void OptionsDialog::initPackageListTab()
{
cbUseAlternateRowColor->setChecked(SettingsManager::getUseAlternateRowColor());
cbEnablePackageTooltips->setChecked(SettingsManager::getEnablePackageTooltips());
cbShowRepositoryColumn->setChecked(SettingsManager::getShowPackageRepositoryColumn());
cbShowDownloadSizeColumn->setChecked(SettingsManager::getShowPackageDownloadSizeColumn());
cbShowLicensesColumn->setChecked(SettingsManager::getShowPackageLicensesColumn());
cbShowInstalledSizeColumn->setChecked(SettingsManager::getShowPackageInstalledSizeColumn());
cbShowBuildDateColumn->setChecked(SettingsManager::getShowPackageBuildDateColumn());
@@ -366,7 +376,6 @@ void OptionsDialog::initAURTab()
cbNoEdit->setChecked(false);
}
cbSearchOutdatedAURPackages->setChecked(SettingsManager::getSearchOutdatedAURPackages());
leAurPassword->setEchoMode(QLineEdit::Password);
cbEnableAURVoting->setChecked(SettingsManager::getEnableAURVoting());
@@ -429,6 +438,8 @@ void OptionsDialog::initIconTab()
void OptionsDialog::initUpdatesTab()
{
cbSearchOutdatedAURPackages->setChecked(SettingsManager::getSearchOutdatedAURPackages());
lblCheck->setText(StrConstants::getNotiferSetupDialogGroupBoxTitle());
rbOnceADay->setText(StrConstants::getOnceADay());
rbOnceADayAt->setText(StrConstants::getOnceADayAt());
@@ -494,10 +505,9 @@ void OptionsDialog::initTerminalTab()
cbColorScheme->addItems(acs);
cbColorScheme->setCurrentText(SettingsManager::getTerminalColorScheme());
QFontDatabase database;
const QStringList fontFamilies = database.families();
const QStringList fontFamilies = QFontDatabase::families();
for (const QString &family : fontFamilies){
const QStringList styles = database.styles(family);
const QStringList styles = QFontDatabase::styles(family);
if (styles.isEmpty())
continue;
@@ -640,6 +650,10 @@ void OptionsDialog::accept()
SettingsManager::setInternetCheckingDomain(QLatin1String("www.google.com"));
}
}
if (cbIncreaseTextSpacing->isChecked() != SettingsManager::getMakeInterfaceLessCondensed())
{
SettingsManager::setMakeInterfaceLessCondensed(cbIncreaseTextSpacing->isChecked());
}
//Set Package List...
if (cbUseAlternateRowColor->isChecked() != SettingsManager::getUseAlternateRowColor())
@@ -651,6 +665,16 @@ void OptionsDialog::accept()
{
SettingsManager::setEnablePackageTooltips(cbEnablePackageTooltips->isChecked());
}
if (cbShowRepositoryColumn->isChecked() != SettingsManager::getShowPackageRepositoryColumn())
{
SettingsManager::setShowPackageRepositoryColumn(cbShowRepositoryColumn->isChecked());
ColumnsChanged = true;
}
if (cbShowDownloadSizeColumn->isChecked() != SettingsManager::getShowPackageDownloadSizeColumn())
{
SettingsManager::setShowPackageDownloadSizeColumn(cbShowDownloadSizeColumn->isChecked());
ColumnsChanged = true;
}
if (cbShowLicensesColumn->isChecked() != SettingsManager::getShowPackageLicensesColumn())
{
SettingsManager::setShowPackageLicensesColumn(cbShowLicensesColumn->isChecked());
@@ -768,12 +792,6 @@ void OptionsDialog::accept()
AURHasChanged = true;
}
if (cbSearchOutdatedAURPackages->isChecked() != SettingsManager::getSearchOutdatedAURPackages())
{
SettingsManager::setSearchOutdatedAURPackages(cbSearchOutdatedAURPackages->isChecked());
AURHasChanged = true;
}
if (cbEnableAURVoting->isChecked() != SettingsManager::getEnableAURVoting() ||
leAurUserName->text() != SettingsManager::getAURUserName() ||
leAurPassword->text() != SettingsManager::getAURPassword())
@@ -886,6 +904,11 @@ void OptionsDialog::accept()
//Set update interval...
if (!m_calledByOctopi || (m_calledByOctopi && UnixCommand::isOctoToolRunning(QLatin1String("octopi-notifier"))))
{
if (cbSearchOutdatedAURPackages->isChecked() != SettingsManager::getSearchOutdatedAURPackages())
{
SettingsManager::setSearchOutdatedAURPackages(cbSearchOutdatedAURPackages->isChecked());
}
//Set Check Updates interval...
if (rbOnceADay->isChecked())
{

View File

@@ -522,7 +522,7 @@ QStringList *Package::getOutdatedAURStringList()
res->append(pkgName); //We only need the package name!
}
}
else //We have a TRIZEN output
else if (!pkgName.contains(QStringLiteral("\t"))) //We have a TRIZEN output
{
if (!ignorePkgList.contains(pkgName))
{

View File

@@ -37,7 +37,7 @@ struct PackageListData{
QString repository;
QString version;
QString description;
QString outatedVersion;
QString outdatedVersion;
double downloadSize;
double installedSize;
double buildDate;
@@ -61,11 +61,20 @@ struct PackageListData{
status(ectn_NON_INSTALLED){
}
PackageListData(QString n, QString outdatedVersion, QString v, QString dSize)
: name(n),
version(v),
outdatedVersion(outdatedVersion.trimmed()),
downloadSize(QString(dSize).toDouble()),
popularity(0),
status(ectn_NON_INSTALLED){
}
PackageListData(QString n, QString r, QString v, PackageStatus pkgStatus, QString outVersion=QLatin1String(""))
: name(n),
repository(r),
version(v),
outatedVersion(outVersion.trimmed()),
outdatedVersion(outVersion.trimmed()),
downloadSize(0.0),
popularity(0),
status(pkgStatus){
@@ -77,7 +86,7 @@ struct PackageListData{
repository(r),
version(v),
description(d),
outatedVersion(outVersion.trimmed()),
outdatedVersion(outVersion.trimmed()),
downloadSize(downSize),
popularity(0),
status(pkgStatus){
@@ -90,7 +99,7 @@ struct PackageListData{
repository(r),
version(v),
description(d),
outatedVersion(outVersion.trimmed()),
outdatedVersion(outVersion.trimmed()),
downloadSize(downSize),
installedSize(instSize),
buildDate(bDate),
@@ -106,7 +115,7 @@ struct PackageListData{
repository(r),
version(v),
description(d),
outatedVersion(outVersion.trimmed()),
outdatedVersion(outVersion.trimmed()),
downloadSize(0.0),
popularity(0),
status(pkgStatus){
@@ -118,7 +127,7 @@ struct PackageListData{
repository(r),
version(v),
description(d),
outatedVersion(outVersion.trimmed()),
outdatedVersion(outVersion.trimmed()),
downloadSize(0.0),
installedSize(instSize),
buildDate(bDate),

View File

@@ -165,11 +165,11 @@ void PackageRepository::setOutdatedData(const QHash<QString, QString> &outdatedP
pld->status=ectn_OUTDATED;
pld->name=(*it)->name;
pld->description=(*it)->description;
pld->outatedVersion=(*it)->version;
pld->outdatedVersion=(*it)->version;
pld->version=outdatedPackages.value((*it)->name);
if (pld->version == pld->outatedVersion)
pld->outatedVersion=(*it)->outdatedVersion;
if (pld->version == pld->outdatedVersion)
pld->outdatedVersion=(*it)->outdatedVersion;
pld->repository=(*it)->repository;
pld->downloadSize=(*it)->downloadSize;
@@ -385,11 +385,11 @@ PackageRepository::PackageData::PackageData(const PackageListData& pkg, const bo
: required(isRequired), managedByAUR(isManagedByAUR), name(pkg.name),
repository(pkg.repository.isEmpty() ? StrConstants::getForeignRepositoryName() : pkg.repository),
version(pkg.version), description(pkg.description), // octopi wants it converted to utf8
outdatedVersion(pkg.outatedVersion), downloadSize(pkg.downloadSize), installedSize(pkg.installedSize),
outdatedVersion(pkg.outdatedVersion), downloadSize(pkg.downloadSize), installedSize(pkg.installedSize),
buildDate(pkg.buildDate), installDate(pkg.installDate), license(pkg.license), installReason(pkg.installReason),
status(pkg.status != ectn_OUTDATED ?
pkg.status :
(Package::alpm_pkg_vercmp(pkg.outatedVersion.toLatin1().data(), pkg.version.toLatin1().data()) == 1 ?
(Package::alpm_pkg_vercmp(pkg.outdatedVersion.toLatin1().data(), pkg.version.toLatin1().data()) == 1 ?
ectn_NEWER : ectn_OUTDATED)),
popularity(isManagedByAUR ? pkg.popularity : -1),
popularityString(isManagedByAUR ? QString::number(pkg.popularity) : QString())

View File

@@ -55,23 +55,41 @@ void PackageTreeView::init()
header()->setSectionResizeMode(QHeaderView::Interactive);
header()->setDefaultAlignment(Qt::AlignLeft);
setUniformRowHeights(true);
//setIconSize(QSize(32,32));
if (SettingsManager::getMakeInterfaceLessCondensed())
setStyleSheet(QStringLiteral("QTreeView::item { height: 28px; }"));
}
/*
* Here we get all column sizes from the current Octopi Settings store
*/
void PackageTreeView::resizePackageView()
{
{
setColumnWidth(PackageModel::ctn_PACKAGE_ICON_COLUMN,
SettingsManager::getPackageIconColumnWidth());
setColumnWidth(PackageModel::ctn_PACKAGE_NAME_COLUMN,
SettingsManager::getPackageNameColumnWidth());
setColumnWidth(PackageModel::ctn_PACKAGE_VERSION_COLUMN,
SettingsManager::getPackageVersionColumnWidth());
setColumnWidth(PackageModel::ctn_PACKAGE_REPOSITORY_COLUMN,
SettingsManager::getPackageRepositoryColumnWidth());
setColumnWidth(PackageModel::ctn_PACKAGE_SIZE_COLUMN,
SettingsManager::getPackageDownloadSizeColumnWidth());
if (SettingsManager::getShowPackageRepositoryColumn())
{
showColumn(PackageModel::ctn_PACKAGE_REPOSITORY_COLUMN);
setColumnWidth(PackageModel::ctn_PACKAGE_REPOSITORY_COLUMN,
SettingsManager::getPackageRepositoryColumnWidth());
}
else
hideColumn(PackageModel::ctn_PACKAGE_REPOSITORY_COLUMN);
if (SettingsManager::getShowPackageDownloadSizeColumn())
{
showColumn(PackageModel::ctn_PACKAGE_SIZE_COLUMN);
setColumnWidth(PackageModel::ctn_PACKAGE_SIZE_COLUMN,
SettingsManager::getPackageDownloadSizeColumnWidth());
}
else
hideColumn(PackageModel::ctn_PACKAGE_SIZE_COLUMN);
if (SettingsManager::getShowPackageLicensesColumn())
{

View File

@@ -574,6 +574,8 @@ void PacmanExec::prepareTextToPrint(QString str, TreatString ts, TreatURLLinks t
{
if (m_debugMode) std::cout << "_print (begin): " << str.toLatin1().data() << std::endl;
//std::cout << "_print: " << str.toLatin1().data() << std::endl;
if (ts == ectn_DONT_TREAT_STRING)
{
emit textToPrintExt(str);
@@ -582,6 +584,11 @@ void PacmanExec::prepareTextToPrint(QString str, TreatString ts, TreatURLLinks t
if (str.size() <= 3) return;
if ((str.indexOf(QLatin1String("upgrading"), Qt::CaseInsensitive) != -1 ||
str.indexOf(QLatin1String("installing"), Qt::CaseInsensitive) != -1 ||
str.indexOf(QLatin1String("reinstalling"), Qt::CaseInsensitive) != -1)
&& str.indexOf(QLatin1String("[")) != -1) return;
//If the string waiting to be printed is from curl status OR any other unwanted string...
if (!str.contains(QRegularExpression(QStringLiteral("<font color"))))
{
@@ -600,11 +607,7 @@ void PacmanExec::prepareTextToPrint(QString str, TreatString ts, TreatURLLinks t
return;
}
}
else if (str.indexOf(QLatin1String("o o")) != -1) return;
else if ((str.indexOf(QLatin1String("upgrading")) != -1 ||
str.indexOf(QLatin1String("installing")) != -1 ||
str.indexOf(QLatin1String("reinstalling")) != -1)
&& str.indexOf(QLatin1String("[")) != -1) return;
else if (str.indexOf(QLatin1String("o o o")) != -1) return;
if (str.indexOf(QLatin1String("%")) != -1) str.remove(QLatin1String("%"));
@@ -758,42 +761,72 @@ void PacmanExec::prepareTextToPrint(QString str, TreatString ts, TreatURLLinks t
*/
void PacmanExec::onStarted()
{
//if (SettingsManager::getMakeInterfaceLessCondensed())
// prepareTextToPrint(QLatin1String("<p style=\"line-height: 1.2;\">"));
//First we output the name of action we are starting to execute!
if (m_commandExecuting == ectn_CHECK_UPDATES)
{
prepareTextToPrint(QLatin1String("<b>") + StrConstants::getCheckingForUpdates() + QLatin1String("</b><br><br>"), ectn_DONT_TREAT_STRING, ectn_DONT_TREAT_URL_LINK);
if (SettingsManager::getMakeInterfaceLessCondensed())
prepareTextToPrint(QLatin1String("<p style=\"line-height: 1.2;\"><b>") + StrConstants::getCheckingForUpdates() + QLatin1String("</b><br><br>"), ectn_DONT_TREAT_STRING, ectn_DONT_TREAT_URL_LINK);
else
prepareTextToPrint(QLatin1String("<b>") + StrConstants::getCheckingForUpdates() + QLatin1String("</b><br><br>"), ectn_DONT_TREAT_STRING, ectn_DONT_TREAT_URL_LINK);
}
else if (m_commandExecuting == ectn_MIRROR_CHECK)
{
prepareTextToPrint(QLatin1String("<b>") + StrConstants::getSyncMirror() + QLatin1String("</b><br><br>"), ectn_DONT_TREAT_STRING, ectn_DONT_TREAT_URL_LINK);
if (SettingsManager::getMakeInterfaceLessCondensed())
prepareTextToPrint(QLatin1String("<p style=\"line-height: 1.2;\"><b>") + StrConstants::getSyncMirror() + QLatin1String("</b><br><br>"), ectn_DONT_TREAT_STRING, ectn_DONT_TREAT_URL_LINK);
else
prepareTextToPrint(QLatin1String("<b>") + StrConstants::getSyncMirror() + QLatin1String("</b><br><br>"), ectn_DONT_TREAT_STRING, ectn_DONT_TREAT_URL_LINK);
}
else if (m_commandExecuting == ectn_SYNC_DATABASE)
{
prepareTextToPrint(QLatin1String("<b>") + StrConstants::getSyncDatabases() + QLatin1String("</b><br><br>"), ectn_DONT_TREAT_STRING, ectn_DONT_TREAT_URL_LINK);
if (SettingsManager::getMakeInterfaceLessCondensed())
prepareTextToPrint(QLatin1String("<p style=\"line-height: 1.2;\"><b>") + StrConstants::getSyncDatabases() + QLatin1String("</b><br><br>"), ectn_DONT_TREAT_STRING, ectn_DONT_TREAT_URL_LINK);
else
prepareTextToPrint(QLatin1String("<b>") + StrConstants::getSyncDatabases() + QLatin1String("</b><br><br>"), ectn_DONT_TREAT_STRING, ectn_DONT_TREAT_URL_LINK);
}
else if (m_commandExecuting == ectn_SYSTEM_UPGRADE || m_commandExecuting == ectn_RUN_SYSTEM_UPGRADE_IN_TERMINAL)
{
prepareTextToPrint(QLatin1String("<b>") + StrConstants::getSystemUpgradeMsg() + QLatin1String("</b><br><br>"), ectn_DONT_TREAT_STRING, ectn_DONT_TREAT_URL_LINK);
if (SettingsManager::getMakeInterfaceLessCondensed())
prepareTextToPrint(QLatin1String("<p style=\"line-height: 1.2;\"><b>") + StrConstants::getSystemUpgradeMsg() + QLatin1String("</b><br><br>"), ectn_DONT_TREAT_STRING, ectn_DONT_TREAT_URL_LINK);
else
prepareTextToPrint(QLatin1String("<b>") + StrConstants::getSystemUpgradeMsg() + QLatin1String("</b><br><br>"), ectn_DONT_TREAT_STRING, ectn_DONT_TREAT_URL_LINK);
}
else if (m_commandExecuting == ectn_REMOVE)
{
prepareTextToPrint(QLatin1String("<b>") + StrConstants::getRemovingPackages() + QLatin1String("</b><br><br>"), ectn_DONT_TREAT_STRING, ectn_DONT_TREAT_URL_LINK);
if (SettingsManager::getMakeInterfaceLessCondensed())
prepareTextToPrint(QLatin1String("<p style=\"line-height: 1.2;\"><b>") + StrConstants::getRemovingPackages() + QLatin1String("</b><br><br>"), ectn_DONT_TREAT_STRING, ectn_DONT_TREAT_URL_LINK);
else
prepareTextToPrint(QLatin1String("<b>") + StrConstants::getRemovingPackages() + QLatin1String("</b><br><br>"), ectn_DONT_TREAT_STRING, ectn_DONT_TREAT_URL_LINK);
}
else if (m_commandExecuting == ectn_CHANGE_INSTALL_REASON)
{
prepareTextToPrint(QLatin1String("<b>") + StrConstants::getChangingInstallReason() + QLatin1String("</b><br><br>"), ectn_DONT_TREAT_STRING, ectn_DONT_TREAT_URL_LINK);
if (SettingsManager::getMakeInterfaceLessCondensed())
prepareTextToPrint(QLatin1String("<p style=\"line-height: 1.2;\"><b>") + StrConstants::getChangingInstallReason() + QLatin1String("</b><br><br>"), ectn_DONT_TREAT_STRING, ectn_DONT_TREAT_URL_LINK);
else
prepareTextToPrint(QLatin1String("<b>") + StrConstants::getChangingInstallReason() + QLatin1String("</b><br><br>"), ectn_DONT_TREAT_STRING, ectn_DONT_TREAT_URL_LINK);
}
else if (m_commandExecuting == ectn_INSTALL)
{
prepareTextToPrint(QLatin1String("<b>") + StrConstants::getInstallingPackages() + QLatin1String("</b><br><br>"), ectn_DONT_TREAT_STRING, ectn_DONT_TREAT_URL_LINK);
if (SettingsManager::getMakeInterfaceLessCondensed())
prepareTextToPrint(QLatin1String("<p style=\"line-height: 1.2;\"><b>") + StrConstants::getInstallingPackages() + QLatin1String("</b><br><br>"), ectn_DONT_TREAT_STRING, ectn_DONT_TREAT_URL_LINK);
else
prepareTextToPrint(QLatin1String("<b>") + StrConstants::getInstallingPackages() + QLatin1String("</b><br><br>"), ectn_DONT_TREAT_STRING, ectn_DONT_TREAT_URL_LINK);
}
else if (m_commandExecuting == ectn_REMOVE_INSTALL)
{
prepareTextToPrint(QLatin1String("<b>") + StrConstants::getRemovingAndInstallingPackages() + QLatin1String("</b><br><br>"), ectn_DONT_TREAT_STRING, ectn_DONT_TREAT_URL_LINK);
if (SettingsManager::getMakeInterfaceLessCondensed())
prepareTextToPrint(QLatin1String("<p style=\"line-height: 1.2;\"><b>") + StrConstants::getRemovingAndInstallingPackages() + QLatin1String("</b><br><br>"), ectn_DONT_TREAT_STRING, ectn_DONT_TREAT_URL_LINK);
else
prepareTextToPrint(QLatin1String("<b>") + StrConstants::getRemovingAndInstallingPackages() + QLatin1String("</b><br><br>"), ectn_DONT_TREAT_STRING, ectn_DONT_TREAT_URL_LINK);
}
else if (m_commandExecuting == ectn_RUN_IN_TERMINAL)
{
prepareTextToPrint(QLatin1String("<b>") + StrConstants::getRunningCommandInTerminal() + QLatin1String("</b><br><br>"), ectn_DONT_TREAT_STRING, ectn_DONT_TREAT_URL_LINK);
if (SettingsManager::getMakeInterfaceLessCondensed())
prepareTextToPrint(QLatin1String("<p style=\"line-height: 1.2;\"><b>") + StrConstants::getRunningCommandInTerminal() + QLatin1String("</b><br><br>"), ectn_DONT_TREAT_STRING, ectn_DONT_TREAT_URL_LINK);
else
prepareTextToPrint(QLatin1String("<b>") + StrConstants::getRunningCommandInTerminal() + QLatin1String("</b><br><br>"), ectn_DONT_TREAT_STRING, ectn_DONT_TREAT_URL_LINK);
}
QString output = m_unixCommand->readAllStandardOutput();
@@ -819,12 +852,12 @@ void PacmanExec::onReadOutput()
if (!output.isEmpty())
{
//checkupdates outputs outdated packages like this: "apr 1.6.5-1 -> 1.7.0-1"
if (m_listOfOutatedPackages.count() == 0)
m_listOfOutatedPackages = output.split(QStringLiteral("\n"), Qt::SkipEmptyParts);
if (m_listOfOutdatedPackages.count() == 0)
m_listOfOutdatedPackages = output.split(QStringLiteral("\n"), Qt::SkipEmptyParts);
else
{
//checkupdates returned more than 1 time from the QProcess event, so we have to concatenate the list...
QString lastPackage = m_listOfOutatedPackages.last();
QString lastPackage = m_listOfOutdatedPackages.last();
QStringList newList = output.split(QStringLiteral("\n"), Qt::SkipEmptyParts);
QString firstPackage = newList.first();
QStringList partsLast = lastPackage.split(QStringLiteral(" "), Qt::SkipEmptyParts);
@@ -832,16 +865,16 @@ void PacmanExec::onReadOutput()
if (partsLast.count()<4 || partsFirst.count()<4)
{
m_listOfOutatedPackages.removeLast();
m_listOfOutdatedPackages.removeLast();
newList.removeFirst();
lastPackage += firstPackage;
m_listOfOutatedPackages.append(lastPackage);
m_listOfOutatedPackages.append(newList);
m_listOfOutdatedPackages.append(lastPackage);
m_listOfOutdatedPackages.append(newList);
}
else
{
newList = output.split(QStringLiteral("\n"), Qt::SkipEmptyParts);
m_listOfOutatedPackages.append(newList);
m_listOfOutdatedPackages.append(newList);
}
}
}
@@ -978,7 +1011,7 @@ void PacmanExec::onFinished(int exitCode, QProcess::ExitStatus es)
void PacmanExec::doCheckUpdates()
{
m_commandExecuting = ectn_CHECK_UPDATES;
m_listOfOutatedPackages.clear();
m_listOfOutdatedPackages.clear();
m_unixCommand->executeCommandAsNormalUser(ctn_CHECKUPDATES_BINARY, QStringList());
}
@@ -987,7 +1020,7 @@ void PacmanExec::doCheckUpdates()
*/
QStringList PacmanExec::getOutdatedPackages()
{
return m_listOfOutatedPackages;
return m_listOfOutdatedPackages;
}
/*

View File

@@ -48,7 +48,7 @@ private:
CommandExecuting m_commandExecuting;
QStringList m_lastCommandList; //run in terminal commands
QStringList m_textPrinted;
QStringList m_listOfOutatedPackages;
QStringList m_listOfOutdatedPackages;
QStringList m_listOfDotPacnewFiles; //contains the list of "blahblah installed as blahblah.pacnew" occurencies (if any)
bool m_processWasCanceled;

View File

@@ -58,7 +58,7 @@ void PropertiesTabWidget::initTabInfo()
{
QWidget *tabInfo = new QWidget();
QGridLayout *gridLayoutX = new QGridLayout ( tabInfo );
gridLayoutX->setSpacing ( 0 );
gridLayoutX->setSpacing(0);
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
gridLayoutX->setMargin(0);
@@ -92,7 +92,7 @@ void PropertiesTabWidget::initTabFiles()
{
QWidget *tabPkgFileList = new QWidget(this);
QGridLayout *gridLayoutX = new QGridLayout ( tabPkgFileList );
gridLayoutX->setSpacing ( 0 );
gridLayoutX->setSpacing(0);
gridLayoutX->setContentsMargins(0, 0, 0, 0);
QStandardItemModel *modelPkgFileList = new QStandardItemModel(this);
@@ -108,6 +108,9 @@ void PropertiesTabWidget::initTabFiles()
m_tvPkgFileList->setFrameShadow(QFrame::Plain);
m_tvPkgFileList->setObjectName(QStringLiteral("tvPkgFileList"));
if (SettingsManager::getMakeInterfaceLessCondensed())
m_tvPkgFileList->setStyleSheet(QStringLiteral("QTreeView::item { height: 25px; }"));
modelPkgFileList->setSortRole(0);
modelPkgFileList->setColumnCount(0);
gridLayoutX->addWidget(m_tvPkgFileList, 0, 0, 1, 1);
@@ -146,7 +149,11 @@ void PropertiesTabWidget::initTabActions()
m_tvTransaction->header()->setSectionResizeMode(QHeaderView::Fixed);
m_tvTransaction->setFrameShape(QFrame::NoFrame);
m_tvTransaction->setFrameShadow(QFrame::Plain);
m_tvTransaction->expandAll();
if (SettingsManager::getMakeInterfaceLessCondensed())
m_tvTransaction->setStyleSheet(QStringLiteral("QTreeView::item { height: 25px; }"));
m_tvTransaction->expandAll();
m_modelTransaction->setSortRole(0);
m_modelTransaction->setColumnCount(0);
@@ -200,7 +207,6 @@ void PropertiesTabWidget::initTabNews()
m_textNews->setFrameShadow(QFrame::Plain);
m_textNews->setOpenExternalLinks(true);
gridLayoutX->addWidget(m_textNews, 0, 0, 1, 1);
//m_textNews->show();
int tindex = insertTab(ctn_TABINDEX_NEWS, tabNews, QApplication::translate (
"MainWindow", aux.toUtf8().constData(), nullptr));
@@ -221,7 +227,7 @@ void PropertiesTabWidget::initTabOutput()
{
QWidget *tabOutput = new QWidget();
QGridLayout *gridLayoutX = new QGridLayout(tabOutput);
gridLayoutX->setSpacing ( 0 );
gridLayoutX->setSpacing(0);
gridLayoutX->setContentsMargins(0, 0, 0, 0);
m_textOutput = new QTextBrowser(tabOutput);
@@ -231,7 +237,12 @@ void PropertiesTabWidget::initTabOutput()
m_textOutput->setFrameShape(QFrame::NoFrame);
m_textOutput->setFrameShadow(QFrame::Plain);
gridLayoutX->addWidget (m_textOutput, 0, 0, 1, 1);
QFont f = QApplication::font();
f.setFamily(SettingsManager::getTerminalFontFamily());
f.setPointSizeF(SettingsManager::getTerminalFontPointSize() - 1.0);
m_textOutput->setFont(f);
gridLayoutX->addWidget(m_textOutput, 0, 0, 1, 1);
QString aux(StrConstants::getTabOutputName());
removeTab(ctn_TABINDEX_OUTPUT);
@@ -282,10 +293,8 @@ void PropertiesTabWidget::initTabTerminal()
{
QWidget *tabTerminal = new QWidget(this);
QGridLayout *gridLayoutX = new QGridLayout(tabTerminal);
gridLayoutX->setSpacing ( 0 );
gridLayoutX->setSpacing(0);
gridLayoutX->setContentsMargins(0, 0, 0, 0);
gridLayoutX->addWidget(m_console, 0, 0, 1, 1);
removeTab(ctn_TABINDEX_TERMINAL);
QString aux(StrConstants::getTabTerminal());

View File

@@ -195,7 +195,7 @@ int SettingsManager::getPackageListOrderedCol(){
int SettingsManager::getPackageListSortOrder(){
return instance()->getSYSsettings()->value(
ctn_KEY_PACKAGE_LIST_SORT_ORDER, Qt::AscendingOrder ).toInt();
ctn_KEY_PACKAGE_LIST_SORT_ORDER, Qt::AscendingOrder ).toInt();
}
int SettingsManager::getForeignPackageListOrderedCol()
@@ -206,67 +206,79 @@ int SettingsManager::getForeignPackageListOrderedCol()
int SettingsManager::getForeignPackageListSortOrder()
{
return instance()->getSYSsettings()->value(
ctn_KEY_AUR_PACKAGE_LIST_SORT_ORDER, Qt::AscendingOrder ).toInt();
ctn_KEY_AUR_PACKAGE_LIST_SORT_ORDER, Qt::AscendingOrder ).toInt();
}
int SettingsManager::getPackageIconColumnWidth()
{
return instance()->getSYSsettings()->value(
ctn_KEY_PACKAGE_ICON_COLUMN_WIDTH, 24).toInt();
ctn_KEY_PACKAGE_ICON_COLUMN_WIDTH, 24).toInt();
}
int SettingsManager::getPackageNameColumnWidth()
{
return instance()->getSYSsettings()->value(
ctn_KEY_PACKAGE_NAME_COLUMN_WIDTH, 400).toInt();
ctn_KEY_PACKAGE_NAME_COLUMN_WIDTH, 400).toInt();
}
int SettingsManager::getPackageVersionColumnWidth()
{
return instance()->getSYSsettings()->value(
ctn_KEY_PACKAGE_VERSION_COLUMN_WIDTH, 260).toInt();
ctn_KEY_PACKAGE_VERSION_COLUMN_WIDTH, 260).toInt();
}
int SettingsManager::getPackageRepositoryColumnWidth()
{
return instance()->getSYSsettings()->value(
ctn_KEY_PACKAGE_REPOSITORY_COLUMN_WIDTH, 150).toInt();
ctn_KEY_PACKAGE_REPOSITORY_COLUMN_WIDTH, 150).toInt();
}
int SettingsManager::getPackageLicensesColumnWidth()
{
return instance()->getSYSsettings()->value(
ctn_KEY_PACKAGE_LICENSES_COLUMN_WIDTH, 250).toInt();
ctn_KEY_PACKAGE_LICENSES_COLUMN_WIDTH, 250).toInt();
}
int SettingsManager::getPackageDownloadSizeColumnWidth()
{
return instance()->getSYSsettings()->value(
ctn_KEY_PACKAGE_DOWNLOAD_SIZE_COLUMN_WITH, 120).toInt();
ctn_KEY_PACKAGE_DOWNLOAD_SIZE_COLUMN_WITH, 120).toInt();
}
int SettingsManager::getPackageInstalledSizeColumnWidth()
{
return instance()->getSYSsettings()->value(
ctn_KEY_PACKAGE_INSTALLED_SIZE_COLUMN_WITH, 120).toInt();
ctn_KEY_PACKAGE_INSTALLED_SIZE_COLUMN_WITH, 120).toInt();
}
int SettingsManager::getPackageBuildDateColumnWidth()
{
return instance()->getSYSsettings()->value(
ctn_KEY_PACKAGE_BUILD_DATE_COLUMN_WITH, 140).toInt();
ctn_KEY_PACKAGE_BUILD_DATE_COLUMN_WITH, 140).toInt();
}
int SettingsManager::getPackageInstallDateColumnWidth()
{
return instance()->getSYSsettings()->value(
ctn_KEY_PACKAGE_INSTALL_DATE_COLUMN_WITH, 140).toInt();
ctn_KEY_PACKAGE_INSTALL_DATE_COLUMN_WITH, 140).toInt();
}
int SettingsManager::getPackageInstallReasonColumnWidth()
{
return instance()->getSYSsettings()->value(
ctn_KEY_PACKAGE_INSTALL_REASON_COLUMN_WITH, 120).toInt();
ctn_KEY_PACKAGE_INSTALL_REASON_COLUMN_WITH, 120).toInt();
}
bool SettingsManager::getShowPackageRepositoryColumn()
{
SettingsManager p_instance;
return (p_instance.getSYSsettings()->value(ctn_KEY_SHOW_PACKAGE_REPOSITORY_COLUMN, true)).toBool();
}
bool SettingsManager::getShowPackageDownloadSizeColumn()
{
SettingsManager p_instance;
return (p_instance.getSYSsettings()->value(ctn_KEY_SHOW_PACKAGE_DOWNLOAD_SIZE_COLUMN, true)).toBool();
}
bool SettingsManager::getShowPackageLicensesColumn()
@@ -299,9 +311,16 @@ bool SettingsManager::getShowPackageInstallReasonColumn()
return (p_instance.getSYSsettings()->value(ctn_KEY_SHOW_PACKAGE_INSTALL_REASON_COLUMN, false)).toBool();
}
bool SettingsManager::getMakeInterfaceLessCondensed()
{
SettingsManager p_instance;
return (p_instance.getSYSsettings()->value(ctn_KEY_MAKE_INTERFACE_LESS_CONDENSED, false)).toBool();
}
bool SettingsManager::getUseDefaultAppIcon()
{
if (!instance()->getSYSsettings()->contains(ctn_KEY_USE_DEFAULT_APP_ICON)){
if (!instance()->getSYSsettings()->contains(ctn_KEY_USE_DEFAULT_APP_ICON))
{
instance()->getSYSsettings()->setValue(ctn_KEY_USE_DEFAULT_APP_ICON, true);
return true;
}
@@ -942,6 +961,18 @@ void SettingsManager::setPackageInstallReasonColumnWidth(int newValue)
instance()->getSYSsettings()->sync();
}
void SettingsManager::setShowPackageRepositoryColumn(bool newValue)
{
instance()->getSYSsettings()->setValue(ctn_KEY_SHOW_PACKAGE_REPOSITORY_COLUMN, newValue);
instance()->getSYSsettings()->sync();
}
void SettingsManager::setShowPackageDownloadSizeColumn(bool newValue)
{
instance()->getSYSsettings()->setValue(ctn_KEY_SHOW_PACKAGE_DOWNLOAD_SIZE_COLUMN, newValue);
instance()->getSYSsettings()->sync();
}
void SettingsManager::setShowPackageLicensesColumn(bool newValue)
{
instance()->getSYSsettings()->setValue(ctn_KEY_SHOW_PACKAGE_LICENSES_COLUMN, newValue);
@@ -984,6 +1015,12 @@ void SettingsManager::setShowStopTransaction(bool newValue)
instance()->getSYSsettings()->sync();
}
void SettingsManager::setMakeInterfaceLessCondensed(bool newValue)
{
instance()->getSYSsettings()->setValue(ctn_KEY_MAKE_INTERFACE_LESS_CONDENSED, newValue);
instance()->getSYSsettings()->sync();
}
void SettingsManager::setAURTool(const QString &newValue)
{
instance()->getSYSsettings()->setValue(ctn_KEY_AUR_TOOL, newValue);

View File

@@ -75,6 +75,8 @@ class SettingsManager
static int getPackageInstallDateColumnWidth();
static int getPackageInstallReasonColumnWidth();
static bool getShowPackageRepositoryColumn();
static bool getShowPackageDownloadSizeColumn();
static bool getShowPackageLicensesColumn();
static bool getShowPackageInstalledSizeColumn();
static bool getShowPackageBuildDateColumn();
@@ -94,6 +96,7 @@ class SettingsManager
static bool getShowPackageNumbersOutput();
static bool getShowStopTransaction();
static bool getMakeInterfaceLessCondensed();
static QString getAURTool();
static QString getAURToolName();
static bool getAlwaysUseTheTerminal();
@@ -184,6 +187,8 @@ class SettingsManager
static void setPackageInstallDateColumnWidth(int newValue);
static void setPackageInstallReasonColumnWidth(int newValue);
static void setShowPackageRepositoryColumn(bool newValue);
static void setShowPackageDownloadSizeColumn(bool newValue);
static void setShowPackageLicensesColumn(bool newValue);
static void setShowPackageInstalledSizeColumn(bool newValue);
static void setShowPackageBuildDateColumn(bool newValue);
@@ -193,6 +198,7 @@ class SettingsManager
static void setShowPackageNumbersOutput(bool newValue);
static void setShowStopTransaction(bool newValue);
static void setMakeInterfaceLessCondensed(bool newValue);
static void setAURTool(const QString &newValue);
static void setAlwaysUseTheTerminal(bool newValue);
static void setAUROverwriteParam(bool newValue);

View File

@@ -72,7 +72,13 @@ void TransactionDialog::setInformativeText(const QString &text)
void TransactionDialog::setDetailedText(const QString &detailedtext)
{
ui->detailedText->setText(detailedtext);
QString t = detailedtext;
t.replace(QLatin1String("\n"), QLatin1String("<br>"));
if (SettingsManager::getMakeInterfaceLessCondensed())
ui->detailedText->setText(QStringLiteral("<p style=\"line-height: 1.3;\">") + t + QStringLiteral("</p>"));
else
ui->detailedText->setText(QStringLiteral("<p>") + t + QStringLiteral("</p>"));
//We must search for a 'pacman-version-number' pkg to force terminal upgrade use
if (detailedtext.contains(QRegularExpression(QStringLiteral("pacman-[0-9]+"))))

View File

@@ -93,7 +93,10 @@ QString OctopiTabInfo::formatTabInfo(const PackageRepository::PackageData& packa
html += pkgDescription;
html += QLatin1String("<table border=\"0\">");
if (SettingsManager::getMakeInterfaceLessCondensed())
html += QLatin1String("<table cellpadding=\"3\" border=\"0\">");
else
html += QLatin1String("<table border=\"0\">");
html += QLatin1String("<tr><th width=\"20%\"></th><th width=\"80%\"></th></tr>");
html += QLatin1String("<tr><td>") + url + QLatin1String("</td><td>") + pid.url + QLatin1String("</td>");
@@ -109,7 +112,7 @@ QString OctopiTabInfo::formatTabInfo(const PackageRepository::PackageData& packa
+ StrConstants::getOutdatedInstalledVersion().arg(outdatedVersion) +
QLatin1String("</b></font></td></tr>");
}
else if (package.status == ectn_FOREIGN_OUTDATED && //NEW ELSE
else if (package.status == ectn_FOREIGN_OUTDATED &&
outdatedAURPackagesNameVersion.count() > 0)
{
QString outdatedVersion = package.outdatedVersion;
@@ -167,6 +170,8 @@ QString OctopiTabInfo::formatTabInfo(const PackageRepository::PackageData& packa
strConflictsWith = strConflictsWith.replace(QLatin1String(">"), QLatin1String("&gt;"));
strConflictsWith = strConflictsWith.replace(QLatin1String("&lt;br&gt;"), QLatin1String("<br>"));
html += QLatin1String("<tr><td>") + StrConstants::getRepository() + QLatin1String("</td><td>") + package.repository + QLatin1String("</td></tr>");
html += QLatin1String("<tr><td>") + licenses + QLatin1String("</td><td>") + pid.license + QLatin1String("</td></tr>");
//Show this info only if there's something to show

View File

@@ -476,7 +476,7 @@ QByteArray UnixCommand::getPackageInformation(const QString &pkgName, bool forei
else
args << QStringLiteral("-Si");
if (!pkgName.isEmpty()) // enables get for all ("")
if (!pkgName.isEmpty())
args << pkgName;
QByteArray result = performQuery(args);
@@ -709,23 +709,6 @@ bool UnixCommand::hasTheExecutable(const QString& exeName)
return (QFile::exists(ctn_OCTOPISUDO));
else
return (QFile::exists(QStringLiteral("/usr/bin/") + exeName));
/*qDebug() << "Needed to test executable: " << exeName;
QProcess proc;
proc.setProcessChannelMode(QProcess::MergedChannels);
QString sParam = QLatin1String("which ") + exeName;
QStringList sl;
sl << QLatin1String("-c");
sl << sParam;
proc.start(QLatin1String("/bin/sh"), sl);
proc.waitForFinished();
QString out = QString::fromUtf8(proc.readAllStandardOutput());
proc.close();
return !(out.isEmpty() || out.count(QStringLiteral("which")) > 0);*/
}
/*
@@ -1473,6 +1456,38 @@ bool UnixCommand::isCachyOS()
return ret;
}
/*
* Returns the Name info from /etc/os-release
*/
QString UnixCommand::getLinuxDistroName()
{
static QString ret(QLatin1String(""));
static bool firstTime = true;
if (firstTime)
{
if (QFile::exists(QStringLiteral("/etc/os-release")))
{
QFile file(QStringLiteral("/etc/os-release"));
if (!file.open(QIODevice::ReadOnly | QIODevice::Text))
ret = QLatin1String("");
QString contents = QString::fromUtf8(file.readAll());
int ind = contents.indexOf(QLatin1String("NAME"), Qt::CaseInsensitive);
int end = contents.indexOf(QLatin1String("\n"), ind);
if (ind != -1)
{
ret = contents.mid(ind+6, end-(ind+6)-1);
}
}
firstTime = false;
}
return ret;
}
/*
* Returns the PrettyName info from /etc/os-release
*/

View File

@@ -65,6 +65,9 @@ public:
static bool isCachyOS();
//Returns the Name info from /etc/os-release
static QString getLinuxDistroName();
//Returns the PrettyName info from /etc/os-release
static QString getLinuxDistroPrettyName();

View File

@@ -366,11 +366,15 @@ QString utils::parseDistroNews()
else if (eText.tagName() == QLatin1String("link"))
{
itemLink = Package::makeURLClickable(eText.text());
if (UnixCommand::getLinuxDistro() == ectn_MANJAROLINUX) itemLink += QLatin1String("<br>");
/*if (UnixCommand::getLinuxDistro() == ectn_MANJAROLINUX)*/ itemLink += QLatin1String("<br>");
}
else if (eText.tagName() == QLatin1String("description"))
{
itemDescription = eText.text();
if (SettingsManager::getMakeInterfaceLessCondensed())
itemDescription = QLatin1String("<p style=\"line-height: 1.3;\">") + eText.text() + QLatin1String("</p>");
else
itemDescription = QLatin1String("<p>") + eText.text() + QLatin1String("</p>");
itemDescription += QLatin1String("<br>");
}
else if (eText.tagName() == QLatin1String("pubDate"))
@@ -389,8 +393,8 @@ QString utils::parseDistroNews()
text = text.nextSibling();
}
html += QLatin1String("<li><p>") + itemTitle + QLatin1Char(' ') + itemPubDate + QLatin1String("<br>") +
itemLink + itemDescription + QLatin1String("</p></li>");
html += QLatin1String("<li>") + itemTitle + QLatin1Char(' ') + itemPubDate + QLatin1String("<br>") +
itemLink + itemDescription + QLatin1String("</li>");
itemCounter++;
}
}

View File

@@ -74,14 +74,14 @@
</size>
</property>
<property name="currentIndex">
<number>2</number>
<number>0</number>
</property>
<widget class="QWidget" name="swGeneral">
<widget class="QCheckBox" name="cbShowPackageNumbersOutput">
<property name="geometry">
<rect>
<x>9</x>
<y>140</y>
<y>170</y>
<width>581</width>
<height>23</height>
</rect>
@@ -94,7 +94,7 @@
<property name="geometry">
<rect>
<x>9</x>
<y>170</y>
<y>200</y>
<width>611</width>
<height>23</height>
</rect>
@@ -184,6 +184,19 @@
<string>Enable confirmation dialog in system upgrade</string>
</property>
</widget>
<widget class="QCheckBox" name="cbIncreaseTextSpacing">
<property name="geometry">
<rect>
<x>9</x>
<y>140</y>
<width>611</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Increase text spacing in the main interface</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="swPackageList">
<widget class="QCheckBox" name="cbUseAlternateRowColor">
@@ -203,7 +216,7 @@
<property name="geometry">
<rect>
<x>9</x>
<y>80</y>
<y>140</y>
<width>611</width>
<height>23</height>
</rect>
@@ -216,7 +229,7 @@
<property name="geometry">
<rect>
<x>9</x>
<y>110</y>
<y>170</y>
<width>611</width>
<height>23</height>
</rect>
@@ -229,7 +242,7 @@
<property name="geometry">
<rect>
<x>9</x>
<y>140</y>
<y>200</y>
<width>611</width>
<height>23</height>
</rect>
@@ -242,7 +255,7 @@
<property name="geometry">
<rect>
<x>9</x>
<y>170</y>
<y>230</y>
<width>611</width>
<height>23</height>
</rect>
@@ -255,7 +268,7 @@
<property name="geometry">
<rect>
<x>9</x>
<y>200</y>
<y>260</y>
<width>611</width>
<height>23</height>
</rect>
@@ -277,6 +290,32 @@
<string>Enable package tooltips</string>
</property>
</widget>
<widget class="QCheckBox" name="cbShowRepositoryColumn">
<property name="geometry">
<rect>
<x>9</x>
<y>80</y>
<width>611</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Show &quot;Repository&quot; column</string>
</property>
</widget>
<widget class="QCheckBox" name="cbShowDownloadSizeColumn">
<property name="geometry">
<rect>
<x>9</x>
<y>110</y>
<width>611</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Show &quot;Download Size&quot; column</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="swAUR">
<layout class="QGridLayout" name="gridLayout_7">
@@ -371,27 +410,6 @@
<string notr="true">--noedit</string>
</property>
</widget>
<widget class="QCheckBox" name="cbSearchOutdatedAURPackages">
<property name="geometry">
<rect>
<x>20</x>
<y>260</y>
<width>311</width>
<height>22</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>8</pointsize>
</font>
</property>
<property name="toolTip">
<string notr="true"/>
</property>
<property name="text">
<string>Search for outdated AUR packages</string>
</property>
</widget>
<widget class="QComboBox" name="comboAUR">
<property name="geometry">
<rect>
@@ -1157,7 +1175,7 @@ Any use of the provided files is at your own risk.</string>
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<y>20</y>
<width>371</width>
<height>21</height>
</rect>
@@ -1176,7 +1194,7 @@ Any use of the provided files is at your own risk.</string>
<property name="geometry">
<rect>
<x>10</x>
<y>60</y>
<y>50</y>
<width>481</width>
<height>66</height>
</rect>
@@ -1259,7 +1277,7 @@ Any use of the provided files is at your own risk.</string>
<property name="geometry">
<rect>
<x>10</x>
<y>130</y>
<y>120</y>
<width>481</width>
<height>66</height>
</rect>
@@ -1345,7 +1363,7 @@ Any use of the provided files is at your own risk.</string>
<property name="geometry">
<rect>
<x>10</x>
<y>200</y>
<y>190</y>
<width>371</width>
<height>21</height>
</rect>
@@ -1360,6 +1378,30 @@ Any use of the provided files is at your own risk.</string>
<string notr="true">Never</string>
</property>
</widget>
<widget class="QCheckBox" name="cbSearchOutdatedAURPackages">
<property name="geometry">
<rect>
<x>14</x>
<y>300</y>
<width>381</width>
<height>22</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
<property name="toolTip">
<string notr="true"/>
</property>
<property name="layoutDirection">
<enum>Qt::LayoutDirection::LeftToRight</enum>
</property>
<property name="text">
<string>Search for outdated AUR packages</string>
</property>
</widget>
</widget>
</item>
<item row="0" column="0">
@@ -1546,7 +1588,6 @@ Any use of the provided files is at your own risk.</string>
<tabstop>comboAUR</tabstop>
<tabstop>cbNoConfirm</tabstop>
<tabstop>cbNoEdit</tabstop>
<tabstop>cbSearchOutdatedAURPackages</tabstop>
<tabstop>cbEnableAURVoting</tabstop>
<tabstop>leAurUserName</tabstop>
<tabstop>leAurPassword</tabstop>