From c23911290ca16600a7dc408e67c40a55f1d7dee2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Moreira?= Date: Mon, 27 Jan 2020 12:41:16 -0300 Subject: [PATCH] [ui][settings] more improvements and settings --- bauh/api/abstract/view.py | 11 ++++- bauh/gems/appimage/resources/locale/ca | 8 ++-- bauh/gems/appimage/resources/locale/de | 8 ++-- bauh/gems/appimage/resources/locale/it | 8 ++-- bauh/gems/arch/resources/locale/ca | 8 ++-- bauh/gems/arch/resources/locale/de | 8 ++-- bauh/gems/arch/resources/locale/it | 8 ++-- bauh/gems/flatpak/resources/locale/ca | 14 +++--- bauh/gems/flatpak/resources/locale/de | 12 ++--- bauh/gems/flatpak/resources/locale/it | 14 +++--- bauh/view/core/controller.py | 66 +++++++++++++++++++------- bauh/view/qt/components.py | 54 +++++++++++++++------ bauh/view/resources/locale/ca | 17 +++++-- bauh/view/resources/locale/de | 20 +++++--- bauh/view/resources/locale/en | 11 ++++- bauh/view/resources/locale/es | 10 +++- bauh/view/resources/locale/it | 20 +++++--- bauh/view/resources/locale/pt | 10 +++- 18 files changed, 210 insertions(+), 97 deletions(-) diff --git a/bauh/api/abstract/view.py b/bauh/api/abstract/view.py index ec379442..0e0f49d6 100644 --- a/bauh/api/abstract/view.py +++ b/bauh/api/abstract/view.py @@ -110,6 +110,15 @@ class TextComponent(ViewComponent): self.value = html +class TwoStateButtonComponent(ViewComponent): + + def __init__(self, label: str, tooltip: str = None, state: bool = False, id_: str = None): + super(TwoStateButtonComponent, self).__init__(id_=id_) + self.label = label + self.tooltip = tooltip + self.state = state + + class TextInputComponent(ViewComponent): def __init__(self, label: str, value: str = '', placeholder: str = None, tooltip: str = None, read_only: bool =False, id_: str = None, only_int: bool = False): @@ -139,7 +148,7 @@ class FormComponent(ViewComponent): super(FormComponent, self).__init__(id_=id_) self.label = label self.components = components - self.component_map = {c.id : c for c in components if c.id} if components else None + self.component_map = {c.id: c for c in components if c.id} if components else None def get_component(self, id_: str) -> ViewComponent: if self.component_map: diff --git a/bauh/gems/appimage/resources/locale/ca b/bauh/gems/appimage/resources/locale/ca index c4fa599a..224905cb 100644 --- a/bauh/gems/appimage/resources/locale/ca +++ b/bauh/gems/appimage/resources/locale/ca @@ -17,7 +17,7 @@ appimage.downgrade.uninstall_current_version=No s’ha pogut desinstal·lar la v appimage.downgrade.install_version=No s’ha pogut instal·lar la versió {} ({}) appimage.install.download.error=No s’ha pogut baixar el fitxer {}. El servidor del fitxer pot estar inactiu. appimage.install.appimagelauncher.error = {appimgl} no permet la instal·lació de {app}. Desinstal·leu {appimgl}, reinicieu el sistema i torneu a provar d’instal·lar {app}. -appimage.config.db_updates=Actualització de la base de dades -appimage.config.db_updates.activated=activada -appimage.config.db_updates.activated.tip={app} és capaç de verificar si hi ha actualitzacions de les aplicacions instal·lades -appimage.config.db_updates.interval.tip=Interval d'actualització a SECONDS \ No newline at end of file +appimage.config.db_updates=Database update +appimage.config.db_updates.activated=activated +appimage.config.db_updates.activated.tip={app} is able to verify if there are updates for your installed applications +appimage.config.db_updates.interval.tip=Update interval in SECONDS \ No newline at end of file diff --git a/bauh/gems/appimage/resources/locale/de b/bauh/gems/appimage/resources/locale/de index 9f179a8a..84224851 100644 --- a/bauh/gems/appimage/resources/locale/de +++ b/bauh/gems/appimage/resources/locale/de @@ -17,7 +17,7 @@ appimage.error.uninstall_current_version=Deinstallation der aktuellen Version vo appimage.downgrade.install_version=Die Installation der Version {} ({}) war nicht möglich appimage.install.download.error=Das Herunterladen der Datei {} ist fehlgeschlagen. Eventuell ist der Server nicht verfügbar appimage.install.appimagelauncher.error={appimgl} verhindert die installation von {app}. Deinstalliere {appimgl}, starte deinen Computer neu und versuche die installation von {app} erneut. -appimage.config.db_updates=Datenbankaktualisierung -appimage.config.db_updates.activated=aktiviert -appimage.config.db_updates.activated.tip={app} kann überprüfen, ob Aktualisierungen für Ihre installierten Anwendungen vorhanden sind -appimage.config.db_updates.interval.tip=Aktualisierungsintervall in SEKUNDEN \ No newline at end of file +appimage.config.db_updates=Database update +appimage.config.db_updates.activated=activated +appimage.config.db_updates.activated.tip={app} is able to verify if there are updates for your installed applications +appimage.config.db_updates.interval.tip=Update interval in SECONDS \ No newline at end of file diff --git a/bauh/gems/appimage/resources/locale/it b/bauh/gems/appimage/resources/locale/it index 83f3f44c..f323df82 100644 --- a/bauh/gems/appimage/resources/locale/it +++ b/bauh/gems/appimage/resources/locale/it @@ -17,8 +17,8 @@ appimage.error.uninstall_current_version = Non è stato possibile disinstallare appimage.downgrade.install_version=Non è stato possibile installare la versione {} ({}) appimage.install.download.error=Non è stato possibile scaricare il file {}. Il file server può essere inattivo. appimage.install.appimagelauncher.error={appimgl} non consente l'installazione di {app}. Disinstallare {appimgl}, riavviare il sistema e provare a installare nuovamente {app}. -appimage.config.db_updates=Aggiornamento della banca dati -appimage.config.db_updates.activated=attivata -appimage.config.db_updates.activated.tip={app} è in grado di verificare se ci sono aggiornamenti per le tue applicazioni installate -appimage.config.db_updates.interval.tip=Intervallo di aggiornamento in SECONDI +appimage.config.db_updates=Database update +appimage.config.db_updates.activated=activated +appimage.config.db_updates.activated.tip={app} is able to verify if there are updates for your installed applications +appimage.config.db_updates.interval.tip=Update interval in SECONDS diff --git a/bauh/gems/arch/resources/locale/ca b/bauh/gems/arch/resources/locale/ca index 1709871c..fcb04317 100644 --- a/bauh/gems/arch/resources/locale/ca +++ b/bauh/gems/arch/resources/locale/ca @@ -102,7 +102,7 @@ arch.install.aur.unknown_key.body=Per a continuar amb la instal·lació de {} ca arch.aur.install.validity_check.title=Problemes d’integritat arch.aur.install.validity_check.body=Alguns dels fitxers font necessaris per a la instal·lació de {} són malmesos. La instal·lació es cancel·larà per a evitar danys al vostre sistema. arch.makepkg.optimizing=Optimitzant la recopilació -arch.config.optimize=optimitzar -arch.config.trans_dep_check=verificar dependències -arch.config.optimize.tip=La configuració optimitzada s'utilitzarà per fer més ràpida la instal·lació dels paquets, en cas contrari s'utilitzarà la configuració del sistema -arch.config.trans_dep_check.tip=Si totes les dependències del paquet s’han de verificar abans de començar la instal·lació. En cas contrari, es descobriran durant la instal·lació \ No newline at end of file +arch.config.optimize=optimize +arch.config.trans_dep_check=check dependencies +arch.config.optimize.tip=Optimized settings will be used in order to make the packages installation faster, otherwise the system settings will be used +arch.config.trans_dep_check.tip=If all the package dependencies should be verified before the installation starts. Otherwise they will be discovered during the installation \ No newline at end of file diff --git a/bauh/gems/arch/resources/locale/de b/bauh/gems/arch/resources/locale/de index a3cc7c6f..42b4d9c0 100644 --- a/bauh/gems/arch/resources/locale/de +++ b/bauh/gems/arch/resources/locale/de @@ -102,7 +102,7 @@ aur.info.options=Optionen aur.info.provides=stellt bereit aur.info.conflicts with=Konflikt mit arch.makepkg.optimizing=Optimiert die Zusammenstellung -arch.config.optimize=optimieren -arch.config.trans_dep_check=Um Abhängigkeiten zu verifizieren -arch.config.optimize.tip=Optimierte Einstellungen werden verwendet, um die Paketinstallation zu beschleunigen, andernfalls werden die Systemeinstellungen verwendet -arch.config.trans_dep_check.tip=Wenn alle Paketabhängigkeiten überprüft werden sollen, bevor die Installation beginnt. Andernfalls werden sie während der Installation erkannt \ No newline at end of file +arch.config.optimize=optimize +arch.config.trans_dep_check=check dependencies +arch.config.optimize.tip=Optimized settings will be used in order to make the packages installation faster, otherwise the system settings will be used +arch.config.trans_dep_check.tip=If all the package dependencies should be verified before the installation starts. Otherwise they will be discovered during the installation \ No newline at end of file diff --git a/bauh/gems/arch/resources/locale/it b/bauh/gems/arch/resources/locale/it index f1a24de3..64c798ec 100644 --- a/bauh/gems/arch/resources/locale/it +++ b/bauh/gems/arch/resources/locale/it @@ -70,7 +70,7 @@ arch.aur.install.unknown_key.receive_error=Impossibile ricevere la chiave pubbli arch.aur.install.validity_check.title=Problemi di integrità arch.aur.install.validity_check.body=Alcuni dei file di origine necessari per l'installazione di {} non sono integri. L'installazione verrà annullata per evitare danni al sistema. arch.makepkg.optimizing=Ottimizzando la compilazione -arch.config.optimize=ottimizzare -arch.config.trans_dep_check=verificare dipendenze -arch.config.optimize.tip=Le impostazioni ottimizzate verranno utilizzate per rendere l'installazione dei pacchetti più veloce, altrimenti verranno utilizzate le impostazioni di sistema -arch.config.trans_dep_check.tip=Se tutte le dipendenze del pacchetto devono essere verificate prima dell'inizio dell'installazione. Altrimenti verranno scoperti durante l'installazione \ No newline at end of file +arch.config.optimize=optimize +arch.config.trans_dep_check=check dependencies +arch.config.optimize.tip=Optimized settings will be used in order to make the packages installation faster, otherwise the system settings will be used +arch.config.trans_dep_check.tip=If all the package dependencies should be verified before the installation starts. Otherwise they will be discovered during the installation \ No newline at end of file diff --git a/bauh/gems/flatpak/resources/locale/ca b/bauh/gems/flatpak/resources/locale/ca index ef2cd74f..ff4eb81f 100644 --- a/bauh/gems/flatpak/resources/locale/ca +++ b/bauh/gems/flatpak/resources/locale/ca @@ -46,10 +46,10 @@ flatpak.install.install_level.title=Tipus d'instal·lació flatpak.install.install_level.body=S'ha d'instal·lar {} per a tots els usuaris del dispositiu ( sistema ) ? flatpak.install.bad_install_level.body=Valor invàlid per a {field} al fitxer de configuració {file} flatpak.remotes.system_flathub.error=No s'ha pogut afegir Flathub com a dipòsit del sistema ( remote ) -flatpak.config.install_level.system=sistema -flatpak.config.install_level.system.tip=Les aplicacions s’instal·laran per a tots els usuaris del dispositiu -flatpak.config.install_level.user=usuari -flatpak.config.install_level.user.tip=L’aplicació s’instal·larà només per a l’usuari actual -flatpak.config.install_level.ask=preguntar -flatpak.config.install_level.ask.tip={app} demanarà el nivell que s'ha d'aplicar durant la instal·lació de l'aplicació -flatpak.config.install_level=nivell \ No newline at end of file +flatpak.config.install_level.system=system +flatpak.config.install_level.system.tip=Applications will be installed for all the device users +flatpak.config.install_level.user=user +flatpak.config.install_level.user.tip=Application will be installed only for the current user +flatpak.config.install_level.ask=ask +flatpak.config.install_level.ask.tip={app} will ask the level that should be applied during the app installation +flatpak.config.install_level=level \ No newline at end of file diff --git a/bauh/gems/flatpak/resources/locale/de b/bauh/gems/flatpak/resources/locale/de index 1bd589f3..707a44c0 100644 --- a/bauh/gems/flatpak/resources/locale/de +++ b/bauh/gems/flatpak/resources/locale/de @@ -46,9 +46,9 @@ flatpak.install.install_level.body=Sollte {} für alle Gerätebenutzer installie flatpak.install.bad_install_level.body=Ungültiger Wert für {field} in der Konfigurationsdatei {file} flatpak.remotes.system_flathub.error=Flathub konnte nicht als System-Repository ( remote ) hinzugefügt werden flatpak.config.install_level.system=system -flatpak.config.install_level.system.tip=Anwendungen werden für alle Gerätebenutzer installiert -flatpak.config.install_level.user=Benutzer -flatpak.config.install_level.user.tip=Die Anwendung wird nur für den aktuellen Benutzer installiert -flatpak.config.install_level.ask=fragen -flatpak.config.install_level.ask.tip={app} fragt nach der Ebene, die während der App-Installation angewendet werden soll -flatpak.config.install_level=niveau \ No newline at end of file +flatpak.config.install_level.system.tip=Applications will be installed for all the device users +flatpak.config.install_level.user=user +flatpak.config.install_level.user.tip=Application will be installed only for the current user +flatpak.config.install_level.ask=ask +flatpak.config.install_level.ask.tip={app} will ask the level that should be applied during the app installation +flatpak.config.install_level=level \ No newline at end of file diff --git a/bauh/gems/flatpak/resources/locale/it b/bauh/gems/flatpak/resources/locale/it index 687b2309..7a12fd5e 100644 --- a/bauh/gems/flatpak/resources/locale/it +++ b/bauh/gems/flatpak/resources/locale/it @@ -25,10 +25,10 @@ flatpak.install.install_level.title=Tipo di installazione flatpak.install.install_level.body={} deve essere installato per tutti gli utenti del dispositivo ( sistema ) ? flatpak.install.bad_install_level.body=Valore non valido per {field} nel file di configurazione {file} flatpak.remotes.system_flathub.error=Non è stato possibile aggiungere Flathub come repository di sistema ( remote ) -flatpak.config.install_level.system=sistema -flatpak.config.install_level.system.tip=Le applicazioni verranno installate per tutti gli utenti del dispositivo -flatpak.config.install_level.user=utente -flatpak.config.install_level.user.tip=L'applicazione verrà installata solo per l'utente corrente -flatpak.config.install_level.ask=chiedere -flatpak.config.install_level.ask.tip={app} chiederà il livello da applicare durante l'installazione dell'app -flatpak.config.install_level=livello \ No newline at end of file +flatpak.config.install_level.system=system +flatpak.config.install_level.system.tip=Applications will be installed for all the device users +flatpak.config.install_level.user=user +flatpak.config.install_level.user.tip=Application will be installed only for the current user +flatpak.config.install_level.ask=ask +flatpak.config.install_level.ask.tip={app} will ask the level that should be applied during the app installation +flatpak.config.install_level=level \ No newline at end of file diff --git a/bauh/view/core/controller.py b/bauh/view/core/controller.py index d8c05f85..ca862d61 100755 --- a/bauh/view/core/controller.py +++ b/bauh/view/core/controller.py @@ -10,7 +10,7 @@ from bauh.api.abstract.disk import DiskCacheLoader from bauh.api.abstract.handler import ProcessWatcher from bauh.api.abstract.model import SoftwarePackage, PackageUpdate, PackageHistory, PackageSuggestion, PackageAction from bauh.api.abstract.view import FormComponent, ViewComponent, TabGroupComponent, TabComponent, SingleSelectComponent, \ - InputOption, PanelComponent, SelectViewType + InputOption, PanelComponent, SelectViewType, TextInputComponent, TwoStateButtonComponent from bauh.api.exception import NoInternetException from bauh.commons import internet from bauh.commons.config import save_config @@ -406,42 +406,74 @@ class GenericSoftwareManager(SoftwareManager): def get_working_managers(self): return [m for m in self.managers if self._can_work(m)] + def _gen_bool_component(self, label: str, tooltip: str, value: bool, id_: str) -> SingleSelectComponent: + opts = [InputOption(label=self.i18n['yes'].capitalize(), value=True), + InputOption(label=self.i18n['no'].capitalize(), value=False)] + + return SingleSelectComponent(label=label, + options=opts, + default_option=[o for o in opts if o.value == value][0], + type_=SelectViewType.RADIO, + tooltip=tooltip, + max_per_line=len(opts), + id_=id_) + def _gen_settings_panel(self) -> TabComponent: core_config = read_config() - - current_locale = self.i18n.current_key locale_opts = [InputOption(label=self.i18n['locale.{}'.format(k)].capitalize(), value=k) for k in translation.get_available_keys()] select_locale = SingleSelectComponent(label=self.i18n['core.config.locale.label'], options=locale_opts, - default_option=[l for l in locale_opts if l.value == current_locale][0], + default_option=[l for l in locale_opts if l.value == core_config['locale']][0], type_=SelectViewType.COMBO, id_='locale') - disk_cache = core_config['disk_cache']['enabled'] - dcache_opts = [InputOption(label=self.i18n['yes'].capitalize(), value=True), - InputOption(label=self.i18n['no'].capitalize(), value=False)] + select_dcache = self._gen_bool_component(label=self.i18n['core.config.disk_cache'], + tooltip=self.i18n['core.config.disk_cache.tip'].format(app=self.context.app_name), + value=core_config['disk_cache']['enabled'], + id_='dcache') - select_dcache = SingleSelectComponent(label=self.i18n['core.config.disk_cache'], - options=dcache_opts, - default_option=[o for o in dcache_opts if o.value == disk_cache][0], - type_=SelectViewType.RADIO, - tooltip=self.i18n['core.config.disk_cache.tip'].format(app=self.context.app_name), - max_per_line=len(dcache_opts), - id_='dcache') + input_update_interval = TextInputComponent(label=self.i18n['core.config.updates.interval'].capitalize(), + tooltip=self.i18n['core.config.updates.interval.tip'], + only_int=True, + value=str(core_config['updates']['check_interval']), + id_="updates_interval") - sub_comps = [select_locale, select_dcache] + form_general = FormComponent(label=self.i18n['core.config.tab_label'].capitalize(), + components=[select_locale, input_update_interval, select_dcache], + id_="form_general") + + select_dicons = self._gen_bool_component(label=self.i18n['core.config.download.icons'], + tooltip=self.i18n['core.config.download.icons.tip'], + id_="down_icons", + value=core_config['download']['icons']) + + select_dmthread = self._gen_bool_component(label=self.i18n['core.config.download.multithreaded'], + tooltip=self.i18n['core.config.download.multithreaded.tip'], + id_="down_mthread", + value=core_config['download']['multithreaded']) + + form_download = FormComponent(label=self.i18n['download'].capitalize(), components=[select_dicons, select_dmthread], id_='form_download') + + sub_comps = [form_general, form_download] return TabComponent(self.i18n['core.config.tab_label'].capitalize(), PanelComponent([FormComponent(sub_comps)]), None, 'core') def _save_settings(self, panel: PanelComponent) -> Tuple[bool, List[str]]: core_config = config.read_config() main_form = panel.components[0] - locale = main_form.get_component('locale').get_selected() + locale = main_form.get_component('form_general').get_component('locale').get_selected() if locale != self.i18n.current_key: core_config['locale'] = locale - core_config['disk_cache']['enabled'] = main_form.get_component('dcache').get_selected() + core_config['disk_cache']['enabled'] = main_form.get_component('form_general').get_component('dcache').get_selected() + core_config['updates']['check_interval'] = main_form.get_component('form_general').get_component('updates_interval').get_int_value() + + download_icons = main_form.get_component('form_download').get_component('down_icons').get_selected() + core_config['download']['icons'] = download_icons + + download_mthreaded = main_form.get_component('form_download').get_component('down_mthread').get_selected() + core_config['download']['multithreaded'] = download_mthreaded try: config.save(core_config) diff --git a/bauh/view/qt/components.py b/bauh/view/qt/components.py index 01d83025..e185110c 100644 --- a/bauh/view/qt/components.py +++ b/bauh/view/qt/components.py @@ -4,10 +4,11 @@ from typing import Tuple from PyQt5.QtCore import Qt, QSize from PyQt5.QtGui import QIcon, QPixmap, QIntValidator from PyQt5.QtWidgets import QRadioButton, QGroupBox, QCheckBox, QComboBox, QGridLayout, QWidget, \ - QLabel, QSizePolicy, QLineEdit, QToolButton, QHBoxLayout, QFormLayout, QFileDialog, QTabWidget, QVBoxLayout + QLabel, QSizePolicy, QLineEdit, QToolButton, QHBoxLayout, QFormLayout, QFileDialog, QTabWidget, QVBoxLayout, QSlider from bauh.api.abstract.view import SingleSelectComponent, InputOption, MultipleSelectComponent, SelectViewType, \ - TextInputComponent, FormComponent, FileChooserComponent, ViewComponent, TabGroupComponent, PanelComponent + TextInputComponent, FormComponent, FileChooserComponent, ViewComponent, TabGroupComponent, PanelComponent, \ + TwoStateButtonComponent from bauh.view.qt import css from bauh.view.util import resource from bauh.view.util.translation import I18n @@ -61,6 +62,21 @@ class CheckboxQt(QCheckBox): self.callback(self.model, checked) +class TwoStateButtonQt(QSlider): + + def __init__(self, model: TwoStateButtonComponent): + super(TwoStateButtonQt, self).__init__(Qt.Horizontal) + self.model = model + self.setMaximum(1) + self.valueChanged.connect(self._change_state) + + def mousePressEvent(self, QMouseEvent): + self.setValue(1 if self.value() == 0 else 0) + + def _change_state(self, state: int): + self.model.state = bool(state) + + class ComboBoxQt(QComboBox): def __init__(self, model: SingleSelectComponent): @@ -337,19 +353,7 @@ class FormQt(QGroupBox): label, field = self._new_text_input(c) self.layout().addRow(label, field) elif isinstance(c, SingleSelectComponent): - - label = QWidget() - label.setSizePolicy(QSizePolicy.Minimum, QSizePolicy.Minimum) - label.setLayout(QHBoxLayout()) - label_comp = QLabel() - label.layout().addWidget(label_comp) - - if c.label: - label_comp.setText(c.label.capitalize()) - - if c.tooltip: - label.layout().addWidget(self.gen_tip_icon(c.tooltip)) - + label = self._new_label(c) field = ComboBoxQt(c) if c.type == SelectViewType.COMBO else RadioBoxQt(c) self.layout().addRow(label, field) elif isinstance(c, FileChooserComponent): @@ -357,11 +361,29 @@ class FormQt(QGroupBox): self.layout().addRow(label, field) elif isinstance(c, FormComponent): self.layout().addRow(FormQt(c, self.i18n)) + elif isinstance(c, TwoStateButtonComponent): + label = self._new_label(c) + self.layout().addRow(label, TwoStateButtonQt(c)) else: raise Exception('Unsupported component type {}'.format(c.__class__.__name__)) self.layout().addRow(QLabel(), QLabel()) + def _new_label(self, comp) -> QWidget: + label = QWidget() + label.setSizePolicy(QSizePolicy.Minimum, QSizePolicy.Minimum) + label.setLayout(QHBoxLayout()) + label_comp = QLabel() + label.layout().addWidget(label_comp) + + if comp.label: + label_comp.setText(comp.label.capitalize()) + + if comp.tooltip: + label.layout().addWidget(self.gen_tip_icon(comp.tooltip)) + + return label + def gen_tip_icon(self, tip: str) -> QLabel: tip_icon = QLabel() tip_icon.setToolTip(tip.strip()) @@ -481,5 +503,7 @@ def to_widget(comp: ViewComponent, i18n: I18n, parent: QWidget = None) -> QWidge return TabGroupQt(comp, i18n, parent) elif isinstance(comp, PanelComponent): return PanelQt(comp, i18n, parent) + elif isinstance(comp, TwoStateButtonComponent): + return TwoStateButtonQt(comp) else: raise Exception("Cannot render instances of " + comp.__class__.__name__) diff --git a/bauh/view/resources/locale/ca b/bauh/view/resources/locale/ca index dfda360e..94735c90 100644 --- a/bauh/view/resources/locale/ca +++ b/bauh/view/resources/locale/ca @@ -220,10 +220,18 @@ message.file.not_exist=Fitxer no existeix message.file.not_exist.body=El fitxer {} sembla no existir icon_button.tooltip.disabled=Aquesta acció no està disponible user=usuari -example.short=ex +example.short=e.g core.config.tab_label=general -core.config.locale.label=idioma -core.config.disk_cache=Cau em disco +core.config.locale.label=language +core.config.disk_cache=Disk cache +core.config.disk_cache.tip={app} will save some data about your installed applications into the disk to load them faster in the next initializations +core.config.updates.interval=Updates interval +core.config.updates.interval.tip=Defines the time interval in which the update-checking for the installed applications will happen ( in SECONDS ) +core.config.downloads=downloads +core.config.download.icons=Icons +core.config.download.icons.tip=If the application icons should be downloaded and displayed on the table +core.config.download.multithreaded=Parallelism +core.config.download.multithreaded.tip=Whether applications, packages and files should be downloaded with a tool that works with parallelism / multi-thread (faster). At the moment only the aria2 application is supported locale.en=anglès locale.es=castellà locale.pt=portuguès @@ -231,4 +239,5 @@ locale.ca=català locale.de=alemany locale.it=italià interval=interval -installation=instal·lació \ No newline at end of file +installation=instal·lació +download=download \ No newline at end of file diff --git a/bauh/view/resources/locale/de b/bauh/view/resources/locale/de index 980f82aa..a5928276 100644 --- a/bauh/view/resources/locale/de +++ b/bauh/view/resources/locale/de @@ -175,11 +175,18 @@ message.file.not_exist.body=Die Datei {} scheint nicht zu existieren development=Entwicklung icon_button.tooltip.disabled=Diese Aktion ist nicht verfügbar user=Benutzer -example.short=z.B -core.config.tab_label=Allgemeines -core.config.locale.label=Sprache -core.config.disk_cache=Festplattencache -core.config.disk_cache.tip={app} speichert einige Daten zu Ihren installierten Anwendungen auf der Festplatte, um sie bei den nächsten Initialisierungen schneller zu laden +example.short=e.g +core.config.tab_label=general +core.config.locale.label=language +core.config.disk_cache=Disk cache +core.config.disk_cache.tip={app} will save some data about your installed applications into the disk to load them faster in the next initializations +core.config.updates.interval=Updates interval +core.config.updates.interval.tip=Defines the time interval in which the update-checking for the installed applications will happen ( in SECONDS ) +core.config.downloads=downloads +core.config.download.icons=Icons +core.config.download.icons.tip=If the application icons should be downloaded and displayed on the table +core.config.download.multithreaded=Parallelism +core.config.download.multithreaded.tip=Whether applications, packages and files should be downloaded with a tool that works with parallelism / multi-thread (faster). At the moment only the aria2 application is supported locale.en=englisch locale.es=spanisch locale.pt=portugiesisch @@ -187,4 +194,5 @@ locale.ca=Katalanisch locale.de=deutsch locale.it=italienisch interval=intervall -installation=Installation \ No newline at end of file +installation=Installation +download=download \ No newline at end of file diff --git a/bauh/view/resources/locale/en b/bauh/view/resources/locale/en index c08bba7f..e41acd6f 100644 --- a/bauh/view/resources/locale/en +++ b/bauh/view/resources/locale/en @@ -183,7 +183,13 @@ example.short=e.g core.config.tab_label=general core.config.locale.label=language core.config.disk_cache=Disk cache -core.config.disk_cache.tip={app} will save some data about your installed applications on the disk to load them faster in the next initializations +core.config.disk_cache.tip={app} will save some data about your installed applications into the disk to load them faster in the next initializations +core.config.updates.interval=Updates interval +core.config.updates.interval.tip=Defines the time interval in which the update-checking for the installed applications will happen ( in SECONDS ) +core.config.download.icons=Icons +core.config.download.icons.tip=If the application icons should be downloaded and displayed on the table +core.config.download.multithreaded=Parallelism +core.config.download.multithreaded.tip=Whether applications, packages and files should be downloaded with a tool that works with parallelism / multi-thread ( faster ). At the moment only the aria2 application is supported locale.en=english locale.es=spanish locale.pt=portuguese @@ -191,4 +197,5 @@ locale.ca=catalan locale.de=german locale.it=italian interval=interval -installation=installation \ No newline at end of file +installation=installation +download=download \ No newline at end of file diff --git a/bauh/view/resources/locale/es b/bauh/view/resources/locale/es index ccc20ddc..f4731299 100644 --- a/bauh/view/resources/locale/es +++ b/bauh/view/resources/locale/es @@ -224,6 +224,13 @@ core.config.tab_label=general core.config.locale.label=idioma core.config.disk_cache=Cache em disco core.config.disk_cache.tip={app} guardará algunos datos sobre sus aplicaciones instaladas en el disco para cargarlas más rápido en las próximas inicializaciones +core.config.updates.interval=Intervalo de actualizaciones +core.config.updates.interval.tip=Define el intervalo de tiempo en el que se realizará la verificación de actualizaciones para las aplicaciones instaladas ( en SEGUNDOS ) +core.config.downloads=downloads +core.config.download.icons=Iconos +core.config.download.icons.tip=Si los íconos de las aplicaciones se deben descargar y mostrar en la tabla +core.config.download.multithreaded=Paralelismo +core.config.download.multithreaded.tip=Si las aplicaciones, paquetes y archivos deben descargarse con una herramienta que funcione con paralelismo / multi-thread ( más rápido ). Por el momento solo se admite la aplicación aria2 locale.es=inglés locale.es=español locale.pt=portugués @@ -231,4 +238,5 @@ locale.ca=catalán locale.de=alemán locale.it=italiano interval=intervalo -installation=instalación \ No newline at end of file +installation=instalación +download=descarga \ No newline at end of file diff --git a/bauh/view/resources/locale/it b/bauh/view/resources/locale/it index 42cae996..4a08ae23 100644 --- a/bauh/view/resources/locale/it +++ b/bauh/view/resources/locale/it @@ -176,11 +176,18 @@ message.file.not_exist.body=Il file {} sembra non esistere development=sviluppo icon_button.tooltip.disabled=Questa azione non è disponibile user=utente -core.config.tab_label=generale -core.config.locale.label=idioma -core.config.disk_cache=cache nel disco -core.config.disk_cache.tip={app} salverà alcuni dati sulle applicazioni installate sul disco per caricarle più velocemente nelle successive inizializzazioni -example.short=es +example.short=e.g +core.config.tab_label=general +core.config.locale.label=language +core.config.disk_cache=Disk cache +core.config.disk_cache.tip={app} will save some data about your installed applications into the disk to load them faster in the next initializations +core.config.updates.interval=Updates interval +core.config.updates.interval.tip=Defines the time interval in which the update-checking for the installed applications will happen ( in SECONDS ) +core.config.downloads=downloads +core.config.download.icons=Icons +core.config.download.icons.tip=If the application icons should be downloaded and displayed on the table +core.config.download.multithreaded=Parallelism +core.config.download.multithreaded.tip=Whether applications, packages and files should be downloaded with a tool that works with parallelism / multi-thread (faster). At the moment only the aria2 application is supported locale.en=inglese locale.es=spagnolo locale.pt=portoghese @@ -188,4 +195,5 @@ locale.ca=catalan locale.de=tedesco locale.it=italiano interval=intervallo -installation=installazione \ No newline at end of file +installation=installazione +download=download \ No newline at end of file diff --git a/bauh/view/resources/locale/pt b/bauh/view/resources/locale/pt index 74f7b115..77ed6a46 100644 --- a/bauh/view/resources/locale/pt +++ b/bauh/view/resources/locale/pt @@ -227,6 +227,13 @@ core.config.tab_label=geral core.config.locale.label=idioma core.config.disk_cache=Cache em disco core.config.disk_cache.tip={app} gravará alguns dados sobre seus aplicativos instalados no disco para que eles sejam carregados rapidamente nas próximas inicializações +core.config.updates.interval=Intervalo de atualizações +core.config.updates.interval.tip=Define o intervalo de tempo em que ocorrerá a verificação de atualizações para os aplicativos instalados ( em SEGUNDOS ) +core.config.downloads=downloads +core.config.download.icons=Ícones +core.config.download.icons.tip=Se os ícones dos aplicativos devem ser baixados e exibidos na tabela +core.config.download.multithreaded=Paralelismo +core.config.download.multithreaded.tip=Se os aplicativos, pacotes e arquivos devem ser baixados através de uma ferramenta que trabalha com paralelismo / multi-thread ( mais rápido ). No momento somente o aplicativo aria2 é suportado. locale.en=inglês locale.es=espanhol locale.pt=português @@ -234,4 +241,5 @@ locale.ca=catalão locale.de=alemão locale.it=italiano interval=intervalo -installation=instalação \ No newline at end of file +installation=instalação +download=download \ No newline at end of file