mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 03:33:25 +02:00
pakfire: Refactor dblist seperating UI and logic
- Removed UI code from dblist function and refactor it making it return
a hash representing the pak db for easier handling of this data.
- Moved core update check in dblist to new seperate dbcoreinfo function
making it return a hash with current and possibly available core
version info.
- Update existing calls to dblist
- Bring UI parts previously in dblist to pakfire program itself,
pakfire.cgi and index.cgi with a few small enhancements:
- Translations for 'Core-Update', 'Release', 'Update' and 'Version'
- Add currently installed version numbers to installed paks list in
pakfire.cgi
- Add 'Installed: yes/no' to pakfire list output so people not using
colors have this information too. (Partly fixes Bug #12868)
- Add update available details to pakfire list output if package has
updates available.
Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
This commit is contained in:
committed by
Peter Müller
parent
f201005f46
commit
0bd5b13195
@@ -653,6 +653,7 @@
|
||||
'core notice 1' => '<strong>Hinweis:</strong> Es steht eine Aktualisierung von Core-Update',
|
||||
'core notice 2' => 'auf',
|
||||
'core notice 3' => 'zur Verfügung.',
|
||||
'core update' => 'Core-Update',
|
||||
'could not be opened' => 'konnte nicht geöffnet werden',
|
||||
'could not connect to' => 'Konnte keine Verbindung herstellen mit',
|
||||
'could not connect to www ipcop org' => 'Keine Verbindung zu www.ipcop.org möglich',
|
||||
@@ -2012,6 +2013,7 @@
|
||||
'ovpnsys log' => 'OVPN-System-Protokoll',
|
||||
'package failed to install' => 'Programmpaket konnte nicht installiert werden.',
|
||||
'pagerefresh' => 'Seite wird aktualisiert. Bitte warten.',
|
||||
'pak update' => 'Paketupdate',
|
||||
'pakfire accept all' => 'Möchten Sie der Installation aller Pakete zustimmen?',
|
||||
'pakfire ago' => 'her.',
|
||||
'pakfire already busy' => 'Pakfire führt bereits eine Aufgabe aus. Bitte versuchen Sie es später erneut.',
|
||||
@@ -2157,6 +2159,7 @@
|
||||
'refresh index page while connected' => 'Aktualisiere index.cgi Seite während der Verbindung',
|
||||
'refresh update list' => 'Aktualisiere Update-Liste',
|
||||
'registered user rules' => 'Talos VRT-Regelsatz für registrierte Benutzer',
|
||||
'release' => 'Release',
|
||||
'released' => 'Freigegeben',
|
||||
'reload' => 'neu laden',
|
||||
'remark' => 'Anmerkung',
|
||||
@@ -2868,6 +2871,7 @@
|
||||
'valid till' => 'Gültig bis',
|
||||
'vci number' => 'VCI-Nummer:',
|
||||
'vendor' => 'Hersteller',
|
||||
'version' => 'Version',
|
||||
'view log' => 'Protokoll anzeigen',
|
||||
'virtual address' => 'Virtuelle Addresse',
|
||||
'virtual private networking' => 'Virtuelles Privates Netzwerk',
|
||||
|
||||
Reference in New Issue
Block a user