mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 02:24:16 +02:00
[improvement][aur] optdeps dialog: 'cancel' button label changed to 'do not install'
This commit is contained in:
@@ -5,10 +5,13 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||||
|
|
||||||
## [0.7.4] 2019-12
|
## [0.7.4] 2019-12
|
||||||
|
### Improvements
|
||||||
|
- Some AUR labels have been changed to not confuse the user
|
||||||
|
|
||||||
### Fixes
|
### Fixes
|
||||||
- AUR:
|
- AUR:
|
||||||
- not finding some dependencies declared as files instead of the package names (e.g: dolphin-emu-git )
|
- not finding some dependencies declared as files instead of the package names (e.g: dolphin-emu-git )
|
||||||
|
|
||||||
|
|
||||||
## [0.7.3] 2019-11-29
|
## [0.7.3] 2019-11-29
|
||||||
### Improvements
|
### Improvements
|
||||||
|
|||||||
@@ -27,8 +27,8 @@ def request_optional_deps(pkgname: str, pkg_mirrors: dict, watcher: ProcessWatch
|
|||||||
install = watcher.request_confirmation(title=i18n['arch.install.optdeps.request.title'],
|
install = watcher.request_confirmation(title=i18n['arch.install.optdeps.request.title'],
|
||||||
body='<p>{}.</p><p>{}.</p>'.format(i18n['arch.install.optdeps.request.body'].format(bold(pkgname)), i18n['arch.install.optdeps.request.help']),
|
body='<p>{}.</p><p>{}.</p>'.format(i18n['arch.install.optdeps.request.body'].format(bold(pkgname)), i18n['arch.install.optdeps.request.help']),
|
||||||
components=[view_opts],
|
components=[view_opts],
|
||||||
confirmation_label=i18n['install'],
|
confirmation_label=i18n['install'].capitalize(),
|
||||||
deny_label=i18n['cancel'])
|
deny_label=i18n['do_not.install'].capitalize())
|
||||||
|
|
||||||
if install:
|
if install:
|
||||||
return {o.value for o in view_opts.values}
|
return {o.value for o in view_opts.values}
|
||||||
|
|||||||
@@ -467,7 +467,7 @@ class ArchManager(SoftwareManager):
|
|||||||
depnames = {RE_SPLIT_VERSION.split(dep)[0] for dep in check_res['missing_deps']}
|
depnames = {RE_SPLIT_VERSION.split(dep)[0] for dep in check_res['missing_deps']}
|
||||||
dep_mirrors = self._map_mirrors(depnames)
|
dep_mirrors = self._map_mirrors(depnames)
|
||||||
|
|
||||||
if len(depnames) != len(dep_mirrors): # cheking if a dependency could not be found in any mirror
|
if len(depnames) != len(dep_mirrors): # checking if a dependency could not be found in any mirror
|
||||||
for dep in depnames:
|
for dep in depnames:
|
||||||
if dep not in dep_mirrors:
|
if dep not in dep_mirrors:
|
||||||
message.show_dep_not_found(dep, self.i18n, handler.watcher)
|
message.show_dep_not_found(dep, self.i18n, handler.watcher)
|
||||||
|
|||||||
@@ -199,4 +199,5 @@ stable=estable
|
|||||||
close=tanca
|
close=tanca
|
||||||
publisher.verified=verificat
|
publisher.verified=verificat
|
||||||
mirror=mirall
|
mirror=mirall
|
||||||
emulator=emulador
|
emulator=emulador
|
||||||
|
do_not.install=no instal·leu
|
||||||
@@ -153,4 +153,5 @@ continue=Weiter
|
|||||||
stable=Stabil
|
stable=Stabil
|
||||||
close=Schließen
|
close=Schließen
|
||||||
publisher.verified=Verifiziert
|
publisher.verified=Verifiziert
|
||||||
emulator=emulator
|
emulator=emulator
|
||||||
|
do_not.install=nicht installieren
|
||||||
@@ -155,3 +155,4 @@ close=close
|
|||||||
publisher.verified=verified
|
publisher.verified=verified
|
||||||
mirror=mirror
|
mirror=mirror
|
||||||
emulator=emulator
|
emulator=emulator
|
||||||
|
do_not.install=don't install
|
||||||
|
|||||||
@@ -198,4 +198,5 @@ stable=estable
|
|||||||
close=cerrar
|
close=cerrar
|
||||||
publisher.verified=verificado
|
publisher.verified=verificado
|
||||||
mirror=espejo
|
mirror=espejo
|
||||||
emulator=emulador
|
emulator=emulador
|
||||||
|
do_not.install=no instalar
|
||||||
@@ -154,4 +154,5 @@ stable=stabile
|
|||||||
close=vicino
|
close=vicino
|
||||||
publisher.verified=verificato
|
publisher.verified=verificato
|
||||||
mirror=specchio
|
mirror=specchio
|
||||||
emulator=emulatore
|
emulator=emulatore
|
||||||
|
do_not.install=non installare
|
||||||
@@ -201,4 +201,5 @@ stable=estável
|
|||||||
close=fechar
|
close=fechar
|
||||||
publisher.verified=verificado
|
publisher.verified=verificado
|
||||||
mirror=espelho
|
mirror=espelho
|
||||||
emulator=emulador
|
emulator=emulador
|
||||||
|
do_not.install=não instalar
|
||||||
Reference in New Issue
Block a user