Commit acb4b38c authored by jan.koester's avatar jan.koester
Browse files

cosmitic

parent 4596e856
Loading
Loading
Loading
Loading
+2 −0
Changes for www/app.css: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -192,3 +192,5 @@ ul.loss { margin: -.4em 0 .9em; padding-left: 1.3em; font-size: .92em; }
@keyframes spin { to { transform: rotate(360deg); } }
.job-list { margin: 0; padding-left: 0; list-style: none; }
.job-list li { margin: .2em 0; }
pre.log { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .85em; white-space: pre-wrap; max-height: 24em; overflow: auto;
          background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .6em .8em; }
+4 −2
Changes for www/modules/updates.js: 4 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@
    'dnf5 is not installed, so there are no updates to manage.': 'dnf5 ist nicht installiert, Aktualisierungen lassen sich daher nicht verwalten.',
    'Install updates?': 'Aktualisierungen installieren?',
    'All {0} updates are downloaded and installed.': 'Alle {0} Aktualisierungen werden heruntergeladen und installiert.',
    'The update is downloaded and installed.': 'Die Aktualisierung wird heruntergeladen und installiert.',
    '{0} of {1} updates are downloaded and installed: {2}': '{0} von {1} Aktualisierungen werden heruntergeladen und installiert: {2}',
    'Packages they need are updated or installed as well. Running services keep using the old files until they are restarted.':
      'Pakete, die sie brauchen, werden mit aktualisiert oder installiert. Laufende Dienste benutzen die alten Dateien, bis sie neu gestartet werden.',
@@ -75,7 +76,8 @@
    const ok = await dialog({
      title: t('Install updates?'), submit: t('Install'),
      fields: () => [
        h('p', {}, all ? t('All {0} updates are downloaded and installed.', ups.length)
        h('p', {}, all ? (ups.length === 1 ? t('The update is downloaded and installed.')
                                           : t('All {0} updates are downloaded and installed.', ups.length))
                       : t('{0} of {1} updates are downloaded and installed: {2}', names.length, ups.length, names.join(', '))),
        h('p', {class: 'hint'}, t('Packages they need are updated or installed as well. Running services keep using the old files until they are restarted.'))],
      onSubmit: async () => {
@@ -145,7 +147,7 @@
      ], changed) : h('p', {class: 'muted'}, t('Nothing changed.')),
      l.log ? h('details', {},
        h('summary', {}, t('Output of dnf5')),
        h('pre', {class: 'mono', style: 'white-space: pre-wrap; max-height: 24em; overflow: auto;'}, l.log)) : null);
        h('pre', {class: 'log'}, l.log)) : null);
  }

  function reposPanel(s) {