diff --git a/po/POTFILES.in b/po/POTFILES.in index d02b9b2..e1c0c37 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -5,7 +5,9 @@ data/cartero.desktop.in.in data/es.danirod.Cartero.gschema.xml data/gtk/help_overlay.blp +data/ui/code_export_pane.blp data/ui/endpoint_pane.blp +data/ui/export_tab.blp data/ui/formdata_payload_pane.blp data/ui/key_value_pane.blp data/ui/key_value_row.blp @@ -29,7 +31,13 @@ src/file.rs src/main.rs src/objects/key_value_item.rs src/objects/mod.rs +src/utils/mod.rs src/widgets/endpoint_pane.rs +src/widgets/export_tab/base.rs +src/widgets/export_tab/code.rs +src/widgets/export_tab/mod.rs +src/widgets/export_tab/service.rs +src/widgets/export_tab/tab.rs src/widgets/file_dialogs.rs src/widgets/item_pane.rs src/widgets/key_value_pane.rs @@ -45,4 +53,4 @@ src/widgets/request_body/urlencoded.rs src/widgets/response_headers.rs src/widgets/response_panel.rs src/widgets/save_dialog.rs -src/win.rs \ No newline at end of file +src/win.rs diff --git a/po/ca.po b/po/ca.po index fdcdf0c..e965705 100644 --- a/po/ca.po +++ b/po/ca.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: cartero\n" "Report-Msgid-Bugs-To: https://github.com/danirod/cartero/issues\n" -"POT-Creation-Date: 2024-07-30 15:27+0200\n" +"POT-Creation-Date: 2024-11-01 21:04+0100\n" "PO-Revision-Date: 2024-07-30 15:26+0200\n" "Last-Translator: <>\n" "Language-Team: Catalan\n" @@ -124,6 +124,10 @@ msgstr "L'última ubicació on es va obrir un arxiu" msgid "The last location where a file was saved" msgstr "L'última ubicació on es va guardar un arxiu" +#: data/ui/code_export_pane.blp:58 +msgid "Copy" +msgstr "Copiar" + #: data/ui/endpoint_pane.blp:59 msgid "Request URL" msgstr "URL de petició" @@ -152,6 +156,18 @@ msgstr "Variables" msgid "Body" msgstr "Cos" +#: data/ui/endpoint_pane.blp:175 +msgid "Export request" +msgstr "Exportar petició" + +#: data/ui/export_tab.blp:35 +msgid "Export to" +msgstr "Exportar com" + +#: data/ui/export_tab.blp:69 data/ui/payload_tab.blp:81 +msgid "(none)" +msgstr "(nada)" + #: data/ui/key_value_row.blp:40 msgid "Name" msgstr "Nom" @@ -278,10 +294,6 @@ msgstr "Mètode de petició" msgid "Body type" msgstr "Tipus de cos" -#: data/ui/payload_tab.blp:81 -msgid "(none)" -msgstr "(nada)" - #: data/ui/payload_tab.blp:82 msgid "URL Encoded" msgstr "URL Encoded" @@ -323,6 +335,10 @@ msgstr "_Descartar" msgid "_Save" msgstr "_Guardar" +#: src/widgets/export_tab/code.rs:114 +msgid "Content copied to the clipboard" +msgstr "Contingut copiat al porta-retalls" + #: src/widgets/file_dialogs.rs:18 msgid "Request (.cartero)" msgstr "Petició (.cartero)" @@ -343,11 +359,11 @@ msgstr "(sense títol)" msgid "Draft" msgstr "Esborrany" -#: src/win.rs:495 +#: src/win.rs:516 msgid "The Cartero authors" msgstr "Els autors de Cartero" -#: src/win.rs:496 +#: src/win.rs:517 msgid "© 2024 the Cartero authors" msgstr "© 2024 Els autors de Cartero" diff --git a/po/cartero.pot b/po/cartero.pot index ad4a6a4..d89ba59 100644 --- a/po/cartero.pot +++ b/po/cartero.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: cartero\n" "Report-Msgid-Bugs-To: https://github.com/danirod/cartero/issues\n" -"POT-Creation-Date: 2024-08-05 17:30+0200\n" +"POT-Creation-Date: 2024-11-01 21:04+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -172,6 +172,10 @@ msgctxt "shortcuts window" msgid "Send request" msgstr "" +#: data/ui/code_export_pane.blp:58 +msgid "Copy" +msgstr "" + #: data/ui/endpoint_pane.blp:59 msgid "Request URL" msgstr "" @@ -200,6 +204,18 @@ msgstr "" msgid "Body" msgstr "" +#: data/ui/endpoint_pane.blp:175 +msgid "Export request" +msgstr "" + +#: data/ui/export_tab.blp:35 +msgid "Export to" +msgstr "" + +#: data/ui/export_tab.blp:69 data/ui/payload_tab.blp:81 +msgid "(none)" +msgstr "" + #: data/ui/key_value_row.blp:40 msgid "Name" msgstr "" @@ -326,10 +342,6 @@ msgstr "" msgid "Body type" msgstr "" -#: data/ui/payload_tab.blp:81 -msgid "(none)" -msgstr "" - #: data/ui/payload_tab.blp:82 msgid "URL Encoded" msgstr "" @@ -370,6 +382,10 @@ msgstr "" msgid "_Save" msgstr "" +#: src/widgets/export_tab/code.rs:114 +msgid "Content copied to the clipboard" +msgstr "" + #: src/widgets/file_dialogs.rs:18 msgid "Request (.cartero)" msgstr "" @@ -390,10 +406,10 @@ msgstr "" msgid "Draft" msgstr "" -#: src/win.rs:495 +#: src/win.rs:516 msgid "The Cartero authors" msgstr "" -#: src/win.rs:496 +#: src/win.rs:517 msgid "© 2024 the Cartero authors" msgstr "" diff --git a/po/eo.po b/po/eo.po index 9d94e05..8f01622 100644 --- a/po/eo.po +++ b/po/eo.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: cartero\n" "Report-Msgid-Bugs-To: https://github.com/danirod/cartero/issues\n" -"POT-Creation-Date: 2024-07-30 16:10+0200\n" +"POT-Creation-Date: 2024-11-01 21:04+0100\n" "PO-Revision-Date: 2024-07-30 15:00+0200\n" "Last-Translator: <>\n" "Language-Team: Esperanto\n" @@ -116,6 +116,10 @@ msgstr "" msgid "The last location where a file was saved" msgstr "" +#: data/ui/code_export_pane.blp:58 +msgid "Copy" +msgstr "Kopii" + #: data/ui/endpoint_pane.blp:59 msgid "Request URL" msgstr "URL" @@ -144,6 +148,18 @@ msgstr "Variabloj" msgid "Body" msgstr "Korpo" +#: data/ui/endpoint_pane.blp:175 +msgid "Export request" +msgstr "" + +#: data/ui/export_tab.blp:35 +msgid "Export to" +msgstr "" + +#: data/ui/export_tab.blp:69 data/ui/payload_tab.blp:81 +msgid "(none)" +msgstr "" + #: data/ui/key_value_row.blp:40 msgid "Name" msgstr "Nomo" @@ -275,10 +291,6 @@ msgstr "HTTP-metodo" msgid "Body type" msgstr "Korpo" -#: data/ui/payload_tab.blp:81 -msgid "(none)" -msgstr "" - #: data/ui/payload_tab.blp:82 msgid "URL Encoded" msgstr "" @@ -320,6 +332,10 @@ msgstr "" msgid "_Save" msgstr "Konservi" +#: src/widgets/export_tab/code.rs:114 +msgid "Content copied to the clipboard" +msgstr "" + #: src/widgets/file_dialogs.rs:18 msgid "Request (.cartero)" msgstr "Petdosiero (.cartero)" @@ -341,11 +357,11 @@ msgstr "" msgid "Draft" msgstr "" -#: src/win.rs:495 +#: src/win.rs:516 msgid "The Cartero authors" msgstr "" -#: src/win.rs:496 +#: src/win.rs:517 msgid "© 2024 the Cartero authors" msgstr "" diff --git a/po/es.po b/po/es.po index 4fa01b4..0d7cbcd 100644 --- a/po/es.po +++ b/po/es.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: cartero\n" "Report-Msgid-Bugs-To: https://github.com/danirod/cartero/issues\n" -"POT-Creation-Date: 2024-08-05 17:30+0200\n" +"POT-Creation-Date: 2024-11-01 21:04+0100\n" "PO-Revision-Date: 2024-07-30 15:26+0200\n" "Last-Translator: <>\n" "Language-Team: Spanish\n" @@ -179,6 +179,10 @@ msgctxt "shortcuts window" msgid "Send request" msgstr "Enviar petición" +#: data/ui/code_export_pane.blp:58 +msgid "Copy" +msgstr "Copiar" + #: data/ui/endpoint_pane.blp:59 msgid "Request URL" msgstr "URL de petición" @@ -207,6 +211,18 @@ msgstr "Variables" msgid "Body" msgstr "Cuerpo" +#: data/ui/endpoint_pane.blp:175 +msgid "Export request" +msgstr "Exportar petición" + +#: data/ui/export_tab.blp:35 +msgid "Export to" +msgstr "Exportar como" + +#: data/ui/export_tab.blp:69 data/ui/payload_tab.blp:81 +msgid "(none)" +msgstr "(nada)" + #: data/ui/key_value_row.blp:40 msgid "Name" msgstr "Nombre" @@ -333,10 +349,6 @@ msgstr "Método de petición" msgid "Body type" msgstr "Tipo de cuerpo" -#: data/ui/payload_tab.blp:81 -msgid "(none)" -msgstr "(nada)" - #: data/ui/payload_tab.blp:82 msgid "URL Encoded" msgstr "URL Encoded" @@ -378,6 +390,10 @@ msgstr "_Descartar" msgid "_Save" msgstr "_Guardar" +#: src/widgets/export_tab/code.rs:114 +msgid "Content copied to the clipboard" +msgstr "Contenido copiado al portapapeles" + #: src/widgets/file_dialogs.rs:18 msgid "Request (.cartero)" msgstr "Petición (.cartero)" @@ -398,11 +414,11 @@ msgstr "(sin título)" msgid "Draft" msgstr "Borrador" -#: src/win.rs:495 +#: src/win.rs:516 msgid "The Cartero authors" msgstr "Los autores de Cartero" -#: src/win.rs:496 +#: src/win.rs:517 msgid "© 2024 the Cartero authors" msgstr "© 2024 los autores de Cartero" diff --git a/po/ro.po b/po/ro.po index 0f14567..5e287ae 100644 --- a/po/ro.po +++ b/po/ro.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: cartero\n" "Report-Msgid-Bugs-To: https://github.com/danirod/cartero/issues\n" -"POT-Creation-Date: 2024-07-30 16:10+0200\n" +"POT-Creation-Date: 2024-11-01 21:04+0100\n" "PO-Revision-Date: 2024-07-30 15:00+0200\n" "Last-Translator: <>\n" "Language-Team: Romanian\n" @@ -116,6 +116,10 @@ msgstr "Ultima locație unde a fost deschis un fișier" msgid "The last location where a file was saved" msgstr "Ultima locație unde a fost salvat un fișier" +#: data/ui/code_export_pane.blp:58 +msgid "Copy" +msgstr "" + #: data/ui/endpoint_pane.blp:59 msgid "Request URL" msgstr "URL-ul cererii" @@ -144,6 +148,18 @@ msgstr "Variabilele" msgid "Body" msgstr "Corpul" +#: data/ui/endpoint_pane.blp:175 +msgid "Export request" +msgstr "" + +#: data/ui/export_tab.blp:35 +msgid "Export to" +msgstr "" + +#: data/ui/export_tab.blp:69 data/ui/payload_tab.blp:81 +msgid "(none)" +msgstr "(niciunul)" + #: data/ui/key_value_row.blp:40 msgid "Name" msgstr "Numele" @@ -270,10 +286,6 @@ msgstr "Metoda cererii" msgid "Body type" msgstr "Tipul corpului" -#: data/ui/payload_tab.blp:81 -msgid "(none)" -msgstr "(niciunul)" - #: data/ui/payload_tab.blp:82 msgid "URL Encoded" msgstr "Codat URL" @@ -316,6 +328,10 @@ msgstr "_Renunțați" msgid "_Save" msgstr "_Salvați" +#: src/widgets/export_tab/code.rs:114 +msgid "Content copied to the clipboard" +msgstr "" + #: src/widgets/file_dialogs.rs:18 msgid "Request (.cartero)" msgstr "Cerere (.cartero)" @@ -336,10 +352,10 @@ msgstr "(fără titlu)" msgid "Draft" msgstr "Proiect" -#: src/win.rs:495 +#: src/win.rs:516 msgid "The Cartero authors" msgstr "Autorii Cartero" -#: src/win.rs:496 +#: src/win.rs:517 msgid "© 2024 the Cartero authors" msgstr "© 2024 autorii Cartero" diff --git a/po/ru.po b/po/ru.po index 9be29e5..e642e57 100644 --- a/po/ru.po +++ b/po/ru.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: cartero\n" "Report-Msgid-Bugs-To: https://github.com/danirod/cartero/issues\n" -"POT-Creation-Date: 2024-08-05 17:30+0200\n" +"POT-Creation-Date: 2024-11-01 21:04+0100\n" "PO-Revision-Date: 2024-10-05 15:30+0000\n" "Last-Translator: Vladimir Kosolapov\n" "Language-Team: Russian\n" @@ -181,6 +181,10 @@ msgctxt "shortcuts window" msgid "Send request" msgstr "Отправить запрос" +#: data/ui/code_export_pane.blp:58 +msgid "Copy" +msgstr "" + #: data/ui/endpoint_pane.blp:59 msgid "Request URL" msgstr "URL-адрес запроса" @@ -209,6 +213,18 @@ msgstr "Переменные" msgid "Body" msgstr "Тело" +#: data/ui/endpoint_pane.blp:175 +msgid "Export request" +msgstr "" + +#: data/ui/export_tab.blp:35 +msgid "Export to" +msgstr "" + +#: data/ui/export_tab.blp:69 data/ui/payload_tab.blp:81 +msgid "(none)" +msgstr "(нет)" + #: data/ui/key_value_row.blp:40 msgid "Name" msgstr "Имя" @@ -335,10 +351,6 @@ msgstr "Метод запроса" msgid "Body type" msgstr "Тип тела" -#: data/ui/payload_tab.blp:81 -msgid "(none)" -msgstr "(нет)" - #: data/ui/payload_tab.blp:82 msgid "URL Encoded" msgstr "Кодированный URL" @@ -379,6 +391,10 @@ msgstr "_Отменить" msgid "_Save" msgstr "_Сохранить" +#: src/widgets/export_tab/code.rs:114 +msgid "Content copied to the clipboard" +msgstr "" + #: src/widgets/file_dialogs.rs:18 msgid "Request (.cartero)" msgstr "Запрос (.cartero)" @@ -399,10 +415,10 @@ msgstr "(без названия)" msgid "Draft" msgstr "Черновик" -#: src/win.rs:495 +#: src/win.rs:516 msgid "The Cartero authors" msgstr "Авторы Cartero" -#: src/win.rs:496 +#: src/win.rs:517 msgid "© 2024 the Cartero authors" msgstr "© 2024 Авторы Cartero"