1
0
Fork 0

- [GUI] added a button to refresh stream-frame;

- updated italian translation.
This commit is contained in:
cage 2023-07-27 16:36:41 +02:00
parent d2ac33b64b
commit f31c03d4f2
3 changed files with 28 additions and 14 deletions

View File

@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: tinmop 0.0.1\n"
"Report-Msgid-Bugs-To: https://codeberg.org/cage/tinmop/\n"
"POT-Creation-Date: 2023-07-27 16:28+0200\n"
"PO-Revision-Date: 2023-07-27 16:29+0200\n"
"POT-Creation-Date: 2023-07-27 16:35+0200\n"
"PO-Revision-Date: 2023-07-27 16:35+0200\n"
"Last-Translator: cage <cage-dev@twistfold.it>\n"
"Language-Team: Italian <https://translate.codeberg.org/projects/tinmop/"
"tinmop/it/>\n"
@ -804,15 +804,19 @@ msgstr "Stato"
msgid "Number of octects downloaded"
msgstr "Numero di ottetti scaricati"
#: src/gui/client/stream-frame.lisp:106
#: src/gui/client/stream-frame.lisp:110
msgid "refresh"
msgstr "aggiorna"
#: src/gui/client/stream-frame.lisp:111
msgid "delete selected stream"
msgstr "cancella i flussi selezionati"
#: src/gui/client/stream-frame.lisp:107
#: src/gui/client/stream-frame.lisp:112
msgid "show selected stream"
msgstr "Mostra i flussi selezionati"
#: src/gui/client/stream-frame.lisp:108
#: src/gui/client/stream-frame.lisp:113
msgid "close"
msgstr "chiudi"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: tinmop 0.9.9.1414\n"
"Report-Msgid-Bugs-To: https://codeberg.org/cage/tinmop/\n"
"POT-Creation-Date: 2023-07-27 16:28+0200\n"
"POT-Creation-Date: 2023-07-27 16:35+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -787,15 +787,19 @@ msgstr ""
msgid "Number of octects downloaded"
msgstr ""
#: src/gui/client/stream-frame.lisp:106
#: src/gui/client/stream-frame.lisp:110
msgid "refresh"
msgstr ""
#: src/gui/client/stream-frame.lisp:111
msgid "delete selected stream"
msgstr ""
#: src/gui/client/stream-frame.lisp:107
#: src/gui/client/stream-frame.lisp:112
msgid "show selected stream"
msgstr ""
#: src/gui/client/stream-frame.lisp:108
#: src/gui/client/stream-frame.lisp:113
msgid "close"
msgstr ""

View File

@ -89,7 +89,11 @@
(defun init-frame (main-window)
(let* ((wrapper-frame (make-instance 'stream-frame :master main-window))
(table (make-instance 'stream-table :master wrapper-frame))
(buttons-frame (make-instance 'gui:frame :master wrapper-frame))
(buttons-frame (make-instance 'gui:frame :master wrapper-frame))
(reload-button (make-instance 'gui:button :master buttons-frame
:image icons:*refresh*
:command (lambda ()
(refresh-all-streams table))))
(delete-button (make-instance 'gui:button
:master buttons-frame
:image icons:*document-delete*
@ -103,14 +107,16 @@
:command (lambda ()
(gui:grid-forget wrapper-frame)))))
(setf (table wrapper-frame) table)
(gui-goodies:attach-tooltips (delete-button (_ "delete selected stream"))
(gui-goodies:attach-tooltips (reload-button (_ "refresh"))
(delete-button (_ "delete selected stream"))
(revive-button (_ "show selected stream"))
(close-button (_ "close")))
(gui:grid table 0 0 :sticky :news)
(gui:grid buttons-frame 1 0 :sticky :s)
(gui:grid delete-button 0 0 :sticky :s)
(gui:grid revive-button 0 1 :sticky :s)
(gui:grid close-button 0 2 :sticky :s)
(gui:grid reload-button 0 0 :sticky :s)
(gui:grid delete-button 0 1 :sticky :s)
(gui:grid revive-button 0 2 :sticky :s)
(gui:grid close-button 0 3 :sticky :s)
(gui:grid-columnconfigure wrapper-frame 0 :weight 1)
(gui:grid-rowconfigure wrapper-frame 1 :weight 1)
wrapper-frame))