1
0
mirror of https://codeberg.org/cage/tinmop/ synced 2025-02-04 04:47:34 +01:00

- [GUI] restored toggling stream frame.

- updated italian translation.
This commit is contained in:
cage 2023-07-29 11:41:12 +02:00
parent 86576d5fb9
commit 5d01e63969
5 changed files with 111 additions and 89 deletions

View File

@ -8,7 +8,7 @@ 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-28 16:59+0200\n"
"POT-Creation-Date: 2023-07-29 11:39+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/"
@ -411,7 +411,7 @@ msgstr "Aggiunto ~a come segnalibro"
msgid "~s is not a valid gemini address"
msgstr "~s non è un indirizzo gemini valido"
#: src/gui/client/bookmark-window.lisp:28
#: src/gui/client/bookmark-window.lisp:28 src/gui/client/main-window.lisp:219
msgid "Streams"
msgstr "Flussi"
@ -598,115 +598,115 @@ msgstr "Aiuto"
msgid "Search"
msgstr "Cerca"
#: src/gui/client/main-window.lisp:219
#: src/gui/client/main-window.lisp:223
msgid "Quit"
msgstr "Esci"
#: src/gui/client/main-window.lisp:223 src/gui/client/menu-command.lisp:5
#: src/gui/client/main-window.lisp:227 src/gui/client/menu-command.lisp:5
msgid "About"
msgstr "Sul programma…"
#: src/gui/client/main-window.lisp:227 src/gui/client/main-window.lisp:240
#: src/gui/client/main-window.lisp:231 src/gui/client/main-window.lisp:244
msgid "Show"
msgstr "Mostra"
#: src/gui/client/main-window.lisp:230 src/gui/client/main-window.lisp:232
#: src/gui/client/main-window.lisp:234 src/gui/client/main-window.lisp:236
msgid "Manage"
msgstr "Gestisci"
#: src/gui/client/main-window.lisp:236
#: src/gui/client/main-window.lisp:240
msgid "Shuffle"
msgstr "Rimescola"
#: src/gui/client/main-window.lisp:351
#: src/gui/client/main-window.lisp:355
#, lisp-format
msgid "file ~a not found"
msgstr "file ~a non trovato"
#: src/gui/client/main-window.lisp:379 src/gui/client/main-window.lisp:992
#: src/gui/client/main-window.lisp:383 src/gui/client/main-window.lisp:996
msgid "Server certificate error"
msgstr "Errore sul certificato del server"
#: src/gui/client/main-window.lisp:395 src/gui/client/main-window.lisp:1013
#: src/gui/client/main-window.lisp:399 src/gui/client/main-window.lisp:1017
#, lisp-format
msgid "Follow redirection to ~a?"
msgstr "Seguire la redirezione a ~a?"
#: src/gui/client/main-window.lisp:396 src/gui/client/main-window.lisp:1014
#: src/gui/client/main-window.lisp:400 src/gui/client/main-window.lisp:1018
msgid "Redirection"
msgstr "Redirezione"
#: src/gui/client/main-window.lisp:475
#: src/gui/client/main-window.lisp:479
#, lisp-format
msgid "~a added to tour"
msgstr "~a salvato nel tour"
#: src/gui/client/main-window.lisp:484
#: src/gui/client/main-window.lisp:488
#, lisp-format
msgid "~s has been copied to the clipboard"
msgstr "l' indirizzo ~s è stato copiato negli appunti"
#: src/gui/client/main-window.lisp:493
#: src/gui/client/main-window.lisp:497
#, lisp-format
msgid "~s already bookmarked"
msgstr "l'indirizzo ~s è già tra i segnalibri"
#: src/gui/client/main-window.lisp:507
#: src/gui/client/main-window.lisp:511
#, lisp-format
msgid "Files ~s"
msgstr "File ~s"
#: src/gui/client/main-window.lisp:517
#: src/gui/client/main-window.lisp:521
msgid "Choose a file for saving"
msgstr "Scegli il nome del file da salvare"
#: src/gui/client/main-window.lisp:523
#: src/gui/client/main-window.lisp:527
msgid "link menu"
msgstr "link menu"
#: src/gui/client/main-window.lisp:531
#: src/gui/client/main-window.lisp:535
msgid "Inline"
msgstr "Includi nel flusso del testo"
#: src/gui/client/main-window.lisp:533
#: src/gui/client/main-window.lisp:537
msgid "Add link to tour"
msgstr "Aggiungi indirizzo al tour"
#: src/gui/client/main-window.lisp:534
#: src/gui/client/main-window.lisp:538
msgid "Copy link to the clipboard"
msgstr "Copia l'indirizzo negli appunti"
#: src/gui/client/main-window.lisp:535
#: src/gui/client/main-window.lisp:539
msgid "Add link to bookmarks"
msgstr "Aggiungi indirizzo tra i segnalibri"
#: src/gui/client/main-window.lisp:538
#: src/gui/client/main-window.lisp:542
msgid "Save link as…"
msgstr "Salva link con nome"
#: src/gui/client/main-window.lisp:540
#: src/gui/client/main-window.lisp:544
msgid "Open link in background"
msgstr "Apri collegamento in backgroud"
#: src/gui/client/main-window.lisp:847
#: src/gui/client/main-window.lisp:851
#, lisp-format
msgid "No such file or directory: ~a"
msgstr "Non esiste il file o la directory ~a"
#: src/gui/client/main-window.lisp:895
#: src/gui/client/main-window.lisp:899
#, lisp-format
msgid "The server asks:~2%~a"
msgstr "Il server chiede:~2%~a"
#: src/gui/client/main-window.lisp:897
#: src/gui/client/main-window.lisp:901
msgid "Submit"
msgstr "Inoltra"
#: src/gui/client/main-window.lisp:898
#: src/gui/client/main-window.lisp:902
msgid "Input query"
msgstr "Input"
#: src/gui/client/main-window.lisp:991
#: src/gui/client/main-window.lisp:995
msgid ""
"The certificate for this address has changed, replace the old with the one I "
"just received?"
@ -714,39 +714,39 @@ msgstr ""
"Il certificato relativo a questo indirizzo è cambiato dall'ultima visita, lo "
"rimpiazzo con quello appena ottenuto?"
#: src/gui/client/main-window.lisp:1173
#: src/gui/client/main-window.lisp:1177
msgid "Tour is terminated"
msgstr "Il tour è terminato"
#: src/gui/client/main-window.lisp:1236
#: src/gui/client/main-window.lisp:1240
msgid "go back"
msgstr "indietro"
#: src/gui/client/main-window.lisp:1237
#: src/gui/client/main-window.lisp:1241
msgid "reload address"
msgstr "ricarica l'indirizzo"
#: src/gui/client/main-window.lisp:1238
#: src/gui/client/main-window.lisp:1242
msgid "go to address"
msgstr "vai all'indirizzo"
#: src/gui/client/main-window.lisp:1239
#: src/gui/client/main-window.lisp:1243
msgid "one level up"
msgstr "un livello in alto"
#: src/gui/client/main-window.lisp:1240
#: src/gui/client/main-window.lisp:1244
msgid "add or remove bookmark"
msgstr "Aggiungi o rimuovi segnalibro"
#: src/gui/client/main-window.lisp:1241
#: src/gui/client/main-window.lisp:1245
msgid "go to the next link in tour"
msgstr "vai al prossimo indirizzo del tour"
#: src/gui/client/main-window.lisp:1242
#: src/gui/client/main-window.lisp:1246
msgid "subscribe/unsubscribe to this gemlog"
msgstr "Abbonati/disdici l'abbonamento a questo gemlog"
#: src/gui/client/main-window.lisp:1243
#: src/gui/client/main-window.lisp:1247
msgid "inline images"
msgstr "includi nella pagina le immagini"
@ -804,18 +804,22 @@ msgstr "Stato"
msgid "Number of octects downloaded"
msgstr "Numero di ottetti scaricati"
#: src/gui/client/stream-frame.lisp:108
#: src/gui/client/stream-frame.lisp:113
msgid "refresh"
msgstr "aggiorna"
#: src/gui/client/stream-frame.lisp:109
#: src/gui/client/stream-frame.lisp:114
msgid "delete selected stream"
msgstr "cancella i flussi selezionati"
#: src/gui/client/stream-frame.lisp:110
#: src/gui/client/stream-frame.lisp:115
msgid "show selected stream"
msgstr "Mostra i flussi selezionati"
#: src/gui/client/stream-frame.lisp:116
msgid "close"
msgstr "chiudi"
#: src/gui/client/titan-window.lisp:74
msgid ""
"Neither a file to upload has been specified nor text data has been typed"
@ -2276,9 +2280,6 @@ msgstr "Cancella la cache? [s/N] "
msgid "Getting all notification, please wait…"
msgstr "Recupero tutte le notifica, per favore attendere…"
#~ msgid "close"
#~ msgstr "chiudi"
#, lisp-format
#~ msgid "~s is not a valid gemini address."
#~ msgstr "~s non è un indirizzo gemini valido."

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-28 16:59+0200\n"
"POT-Creation-Date: 2023-07-29 11:39+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"
@ -398,7 +398,7 @@ msgstr ""
msgid "~s is not a valid gemini address"
msgstr ""
#: src/gui/client/bookmark-window.lisp:28
#: src/gui/client/bookmark-window.lisp:28 src/gui/client/main-window.lisp:219
msgid "Streams"
msgstr ""
@ -585,153 +585,153 @@ msgstr ""
msgid "Search"
msgstr ""
#: src/gui/client/main-window.lisp:219
#: src/gui/client/main-window.lisp:223
msgid "Quit"
msgstr ""
#: src/gui/client/main-window.lisp:223 src/gui/client/menu-command.lisp:5
#: src/gui/client/main-window.lisp:227 src/gui/client/menu-command.lisp:5
msgid "About"
msgstr ""
#: src/gui/client/main-window.lisp:227 src/gui/client/main-window.lisp:240
#: src/gui/client/main-window.lisp:231 src/gui/client/main-window.lisp:244
msgid "Show"
msgstr ""
#: src/gui/client/main-window.lisp:230 src/gui/client/main-window.lisp:232
#: src/gui/client/main-window.lisp:234 src/gui/client/main-window.lisp:236
msgid "Manage"
msgstr ""
#: src/gui/client/main-window.lisp:236
#: src/gui/client/main-window.lisp:240
msgid "Shuffle"
msgstr ""
#: src/gui/client/main-window.lisp:351
#: src/gui/client/main-window.lisp:355
#, lisp-format
msgid "file ~a not found"
msgstr ""
#: src/gui/client/main-window.lisp:379 src/gui/client/main-window.lisp:992
#: src/gui/client/main-window.lisp:383 src/gui/client/main-window.lisp:996
msgid "Server certificate error"
msgstr ""
#: src/gui/client/main-window.lisp:395 src/gui/client/main-window.lisp:1013
#: src/gui/client/main-window.lisp:399 src/gui/client/main-window.lisp:1017
#, lisp-format
msgid "Follow redirection to ~a?"
msgstr ""
#: src/gui/client/main-window.lisp:396 src/gui/client/main-window.lisp:1014
#: src/gui/client/main-window.lisp:400 src/gui/client/main-window.lisp:1018
msgid "Redirection"
msgstr ""
#: src/gui/client/main-window.lisp:475
#: src/gui/client/main-window.lisp:479
#, lisp-format
msgid "~a added to tour"
msgstr ""
#: src/gui/client/main-window.lisp:484
#: src/gui/client/main-window.lisp:488
#, lisp-format
msgid "~s has been copied to the clipboard"
msgstr ""
#: src/gui/client/main-window.lisp:493
#: src/gui/client/main-window.lisp:497
#, lisp-format
msgid "~s already bookmarked"
msgstr ""
#: src/gui/client/main-window.lisp:507
#: src/gui/client/main-window.lisp:511
#, lisp-format
msgid "Files ~s"
msgstr ""
#: src/gui/client/main-window.lisp:517
#: src/gui/client/main-window.lisp:521
msgid "Choose a file for saving"
msgstr ""
#: src/gui/client/main-window.lisp:523
#: src/gui/client/main-window.lisp:527
msgid "link menu"
msgstr ""
#: src/gui/client/main-window.lisp:531
#: src/gui/client/main-window.lisp:535
msgid "Inline"
msgstr ""
#: src/gui/client/main-window.lisp:533
#: src/gui/client/main-window.lisp:537
msgid "Add link to tour"
msgstr ""
#: src/gui/client/main-window.lisp:534
#: src/gui/client/main-window.lisp:538
msgid "Copy link to the clipboard"
msgstr ""
#: src/gui/client/main-window.lisp:535
#: src/gui/client/main-window.lisp:539
msgid "Add link to bookmarks"
msgstr ""
#: src/gui/client/main-window.lisp:538
#: src/gui/client/main-window.lisp:542
msgid "Save link as…"
msgstr ""
#: src/gui/client/main-window.lisp:540
#: src/gui/client/main-window.lisp:544
msgid "Open link in background"
msgstr ""
#: src/gui/client/main-window.lisp:847
#: src/gui/client/main-window.lisp:851
#, lisp-format
msgid "No such file or directory: ~a"
msgstr ""
#: src/gui/client/main-window.lisp:895
#: src/gui/client/main-window.lisp:899
#, lisp-format
msgid "The server asks:~2%~a"
msgstr ""
#: src/gui/client/main-window.lisp:897
#: src/gui/client/main-window.lisp:901
msgid "Submit"
msgstr ""
#: src/gui/client/main-window.lisp:898
#: src/gui/client/main-window.lisp:902
msgid "Input query"
msgstr ""
#: src/gui/client/main-window.lisp:991
#: src/gui/client/main-window.lisp:995
msgid ""
"The certificate for this address has changed, replace the old with the one I "
"just received?"
msgstr ""
#: src/gui/client/main-window.lisp:1173
#: src/gui/client/main-window.lisp:1177
msgid "Tour is terminated"
msgstr ""
#: src/gui/client/main-window.lisp:1236
#: src/gui/client/main-window.lisp:1240
msgid "go back"
msgstr ""
#: src/gui/client/main-window.lisp:1237
#: src/gui/client/main-window.lisp:1241
msgid "reload address"
msgstr ""
#: src/gui/client/main-window.lisp:1238
#: src/gui/client/main-window.lisp:1242
msgid "go to address"
msgstr ""
#: src/gui/client/main-window.lisp:1239
#: src/gui/client/main-window.lisp:1243
msgid "one level up"
msgstr ""
#: src/gui/client/main-window.lisp:1240
#: src/gui/client/main-window.lisp:1244
msgid "add or remove bookmark"
msgstr ""
#: src/gui/client/main-window.lisp:1241
#: src/gui/client/main-window.lisp:1245
msgid "go to the next link in tour"
msgstr ""
#: src/gui/client/main-window.lisp:1242
#: src/gui/client/main-window.lisp:1246
msgid "subscribe/unsubscribe to this gemlog"
msgstr ""
#: src/gui/client/main-window.lisp:1243
#: src/gui/client/main-window.lisp:1247
msgid "inline images"
msgstr ""
@ -787,18 +787,22 @@ msgstr ""
msgid "Number of octects downloaded"
msgstr ""
#: src/gui/client/stream-frame.lisp:108
#: src/gui/client/stream-frame.lisp:113
msgid "refresh"
msgstr ""
#: src/gui/client/stream-frame.lisp:109
#: src/gui/client/stream-frame.lisp:114
msgid "delete selected stream"
msgstr ""
#: src/gui/client/stream-frame.lisp:110
#: src/gui/client/stream-frame.lisp:115
msgid "show selected stream"
msgstr ""
#: src/gui/client/stream-frame.lisp:116
msgid "close"
msgstr ""
#: src/gui/client/titan-window.lisp:74
msgid ""
"Neither a file to upload has been specified nor text data has been typed"

View File

@ -215,6 +215,10 @@
(_ "Search")
(menu:show-search-frame-clsr main-window)
:accelerator (client-configuration:get-keybinding :search))
(gui:make-menubutton tools
(_ "Streams")
#'menu:show-streams
:accelerator (client-configuration:get-keybinding :stream))
(gui:make-menubutton file
(_ "Quit")
#'menu:quit

View File

@ -54,6 +54,12 @@
(let ((master gui-goodies:*toplevel*))
(client-certificates-window:init-window master)))
(defun show-streams ()
(let* ((master gui-goodies:*main-frame*)
(stream-frame (client-main-window::stream-frame master))
(main-frame (client-main-window::main-paned-frame master)))
(gui:add-pane main-frame stream-frame)))
(defun show-bookmarks-clsr (main-window)
(lambda ()
(client-main-window:show-bookmarks-page main-window)))

View File

@ -92,10 +92,10 @@
(let* ((wrapper-frame (make-instance 'stream-frame :master parent-frame))
(table (make-instance 'stream-table :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))))
(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,16 +103,23 @@
(revive-button (make-instance 'gui:button
:master buttons-frame
:image icons:*document-accept*
:command (revive-stream-clsr table))))
:command (revive-stream-clsr table)))
(close-button (make-instance 'gui:button
:image icons:*cross*
:master buttons-frame
:command
(lambda () (gui:forget-pane parent-frame wrapper-frame)))))
(setf (table wrapper-frame) table)
(gui-goodies:attach-tooltips (reload-button (_ "refresh"))
(delete-button (_ "delete selected stream"))
(revive-button (_ "show selected stream")))
(revive-button (_ "show selected stream"))
(close-button (_ "close")))
(gui:grid table 0 0 :sticky :sew)
(gui:grid buttons-frame 1 0 :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 :all :weight 1)
(gui:grid-rowconfigure wrapper-frame :all :weight 1)
wrapper-frame))