diff options
Diffstat (limited to 'plugins/openpgp')
48 files changed, 1006 insertions, 1133 deletions
diff --git a/plugins/openpgp/CMakeLists.txt b/plugins/openpgp/CMakeLists.txt index 6ed7bf53..d2ac6d73 100644 --- a/plugins/openpgp/CMakeLists.txt +++ b/plugins/openpgp/CMakeLists.txt @@ -7,6 +7,7 @@ gettext_compile(${GETTEXT_PACKAGE} SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/po TAR find_packages(OPENPGP_PACKAGES REQUIRED + Adwaita Gee GLib GModule @@ -14,19 +15,10 @@ find_packages(OPENPGP_PACKAGES REQUIRED GTK4 ) -set(RESOURCE_LIST - account_settings_item.ui -) - -compile_gresources( - OPENPGP_GRESOURCES_TARGET - OPENPGP_GRESOURCES_XML - TARGET ${CMAKE_CURRENT_BINARY_DIR}/resources/resources.c - TYPE EMBED_C - RESOURCES ${RESOURCE_LIST} - PREFIX /im/dino/Dino/openpgp - SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/data -) +set(OPENPGP_DEFINITIONS) +if(Adwaita_VERSION VERSION_GREATER_EQUAL "1.4") + set(OPENPGP_DEFINITIONS ${OPENPGP_DEFINITIONS} Adw_1_4) +endif() vala_precompile(OPENPGP_VALA_C SOURCES @@ -35,10 +27,10 @@ SOURCES src/file_transfer/file_decryptor.vala src/file_transfer/file_encryptor.vala - src/account_settings_entry.vala src/contact_details_provider.vala src/database.vala src/encryption_list_entry.vala + src/encryption_preferences_entry.vala src/manager.vala src/plugin.vala src/register_plugin.vala @@ -53,12 +45,12 @@ CUSTOM_VAPIS ${CMAKE_BINARY_DIR}/exports/dino.vapi PACKAGES ${OPENPGP_PACKAGES} -GRESOURCES - ${OPENPGP_GRESOURCES_XML} +DEFINITIONS + ${OPENPGP_DEFINITIONS} ) add_definitions(${VALA_CFLAGS} -DG_LOG_DOMAIN="OpenPGP" -DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\" -DLOCALE_INSTALL_DIR=\"${LOCALE_INSTALL_DIR}\") -add_library(openpgp SHARED ${OPENPGP_VALA_C} ${OPENPGP_GRESOURCES_TARGET} src/gpgme_fix.c) +add_library(openpgp SHARED ${OPENPGP_VALA_C} src/gpgme_fix.c) add_dependencies(openpgp ${GETTEXT_PACKAGE}-translations) target_include_directories(openpgp PRIVATE src) target_link_libraries(openpgp libdino gpgme ${OPENPGP_PACKAGES}) diff --git a/plugins/openpgp/data/account_settings_item.ui b/plugins/openpgp/data/account_settings_item.ui deleted file mode 100644 index 56808be0..00000000 --- a/plugins/openpgp/data/account_settings_item.ui +++ /dev/null @@ -1,31 +0,0 @@ -<interface> - <requires lib="gtk" version="4.0"/> - <object class="GtkStack" id="stack"> - <child> - <object class="GtkStackPage"> - <property name="name">label</property> - <property name="child"> - <object class="GtkButton" id="button"> - <property name="has-frame">0</property> - <property name="sensitive">0</property> - <child> - <object class="GtkLabel" id="label"> - <property name="xalign">0</property> - </object> - </child> - </object> - </property> - </object> - </child> - <child> - <object class="GtkStackPage"> - <property name="name">entry</property> - <property name="child"> - <object class="GtkComboBox" id="combobox"> - <property name="hexpand">1</property> - </object> - </property> - </object> - </child> - </object> -</interface>
\ No newline at end of file diff --git a/plugins/openpgp/data/gresource.xml b/plugins/openpgp/data/gresource.xml index fbe2e8e9..75f25e67 100644 --- a/plugins/openpgp/data/gresource.xml +++ b/plugins/openpgp/data/gresource.xml @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <gresources> - <gresource prefix="/im/dino/Dino/openpgp"> - <file>account_settings_item.ui</file> - </gresource> +<!-- <gresource prefix="/im/dino/Dino/openpgp">--> +<!-- </gresource>--> </gresources> diff --git a/plugins/openpgp/meson.build b/plugins/openpgp/meson.build index 806494f2..ad1614d6 100644 --- a/plugins/openpgp/meson.build +++ b/plugins/openpgp/meson.build @@ -1,5 +1,6 @@ subdir('po') dependencies = [ + dep_libadwaita, dep_dino, dep_gee, dep_glib, @@ -10,10 +11,10 @@ dependencies = [ dep_xmpp_vala, ] sources = files( - 'src/account_settings_entry.vala', 'src/contact_details_provider.vala', 'src/database.vala', 'src/encryption_list_entry.vala', + 'src/encryption_preferences_entry.vala', 'src/file_transfer/file_decryptor.vala', 'src/file_transfer/file_encryptor.vala', 'src/gpgme_fix.c', diff --git a/plugins/openpgp/po/LINGUAS b/plugins/openpgp/po/LINGUAS index b12eccb1..eeb49080 100644 --- a/plugins/openpgp/po/LINGUAS +++ b/plugins/openpgp/po/LINGUAS @@ -1,6 +1,7 @@ ar ca cs +da de el en @@ -8,6 +9,7 @@ eo es eu fa +fi fr gl hu @@ -32,5 +34,6 @@ sq sv tr uk +vi zh_CN zh_TW diff --git a/plugins/openpgp/po/ar.po b/plugins/openpgp/po/ar.po index 9649a833..d853d2d3 100644 --- a/plugins/openpgp/po/ar.po +++ b/plugins/openpgp/po/ar.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" "PO-Revision-Date: 2018-10-23 17:22+0000\n" "Language-Team: Arabic <https://hosted.weblate.org/projects/dino/plugin-" "openpgp/ar/>\n" @@ -19,32 +19,14 @@ msgstr "" "&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n" "X-Generator: Weblate 3.3-dev\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "نشر المفاتيح معطل" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "خطأ في GnuPG" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "لا مفتاح متوفر. قم بتوليد واحد !" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "اختيار مفتاح" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" -msgstr "جارٍ التحميل…" - -#: plugins/openpgp/src/account_settings_entry.vala:114 +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 msgid "Querying GnuPG" msgstr "استعلام GnuPG" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "" + #: plugins/openpgp/src/contact_details_provider.vala:28 msgid "Key not in keychain" msgstr "المفتاح ليس في سلسلة المفاتيح" @@ -52,3 +34,18 @@ msgstr "المفتاح ليس في سلسلة المفاتيح" #: plugins/openpgp/src/contact_details_provider.vala:30 msgid "Encryption" msgstr "التشفير" + +#~ msgid "Key publishing disabled" +#~ msgstr "نشر المفاتيح معطل" + +#~ msgid "Error in GnuPG" +#~ msgstr "خطأ في GnuPG" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "لا مفتاح متوفر. قم بتوليد واحد !" + +#~ msgid "Select key" +#~ msgstr "اختيار مفتاح" + +#~ msgid "Loading…" +#~ msgstr "جارٍ التحميل…" diff --git a/plugins/openpgp/po/ca.po b/plugins/openpgp/po/ca.po index 77063149..61ef5f2d 100644 --- a/plugins/openpgp/po/ca.po +++ b/plugins/openpgp/po/ca.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: dino-openpgp 20180123\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" "PO-Revision-Date: 2018-01-24 11:24+0100\n" "Language-Team: Catalan <ca@dodds.net>\n" "Language: ca\n" @@ -14,32 +14,14 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "Publicació de claus inhabilitada" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "S'ha produït un error al GnuPG" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "No hi ha claus disponibles. Genereu una!" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "Seleccioneu una clau" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" -msgstr "S'està carregant…" - -#: plugins/openpgp/src/account_settings_entry.vala:114 +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 msgid "Querying GnuPG" msgstr "S'està consultant al GnuPG" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "" + #: plugins/openpgp/src/contact_details_provider.vala:28 msgid "Key not in keychain" msgstr "La clau no està al clauer" @@ -47,3 +29,18 @@ msgstr "La clau no està al clauer" #: plugins/openpgp/src/contact_details_provider.vala:30 msgid "Encryption" msgstr "Xifratge" + +#~ msgid "Key publishing disabled" +#~ msgstr "Publicació de claus inhabilitada" + +#~ msgid "Error in GnuPG" +#~ msgstr "S'ha produït un error al GnuPG" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "No hi ha claus disponibles. Genereu una!" + +#~ msgid "Select key" +#~ msgstr "Seleccioneu una clau" + +#~ msgid "Loading…" +#~ msgstr "S'està carregant…" diff --git a/plugins/openpgp/po/cs.po b/plugins/openpgp/po/cs.po index 7d7cc3e3..49e653e6 100644 --- a/plugins/openpgp/po/cs.po +++ b/plugins/openpgp/po/cs.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" "PO-Revision-Date: 2020-08-21 05:36+0000\n" "Language-Team: none\n" "Language: cs\n" @@ -17,32 +17,14 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" "X-Generator: Weblate 4.2.1-dev\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "Publikování klíčů zakázáno" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "Chyba v GnuPG" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "Nejsou k dispozici žádné klíče. Vygenerujte jeden!" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "Vybrat klíč" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" -msgstr "Načítání…" - -#: plugins/openpgp/src/account_settings_entry.vala:114 +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 msgid "Querying GnuPG" msgstr "Dotazování GnuPG" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "" + #: plugins/openpgp/src/contact_details_provider.vala:28 msgid "Key not in keychain" msgstr "Klíč není v klíčence" @@ -50,3 +32,18 @@ msgstr "Klíč není v klíčence" #: plugins/openpgp/src/contact_details_provider.vala:30 msgid "Encryption" msgstr "Šifrování" + +#~ msgid "Key publishing disabled" +#~ msgstr "Publikování klíčů zakázáno" + +#~ msgid "Error in GnuPG" +#~ msgstr "Chyba v GnuPG" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "Nejsou k dispozici žádné klíče. Vygenerujte jeden!" + +#~ msgid "Select key" +#~ msgstr "Vybrat klíč" + +#~ msgid "Loading…" +#~ msgstr "Načítání…" diff --git a/plugins/openpgp/po/da.po b/plugins/openpgp/po/da.po new file mode 100644 index 00000000..5d9ae9c9 --- /dev/null +++ b/plugins/openpgp/po/da.po @@ -0,0 +1,49 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" +"PO-Revision-Date: 2024-01-06 01:07+0000\n" +"Language-Team: none\n" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.4-dev\n" + +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 +msgid "Querying GnuPG" +msgstr "Forespørg GnuPG" + +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "" + +#: plugins/openpgp/src/contact_details_provider.vala:28 +msgid "Key not in keychain" +msgstr "Nøglen er ikke i nøglering" + +#: plugins/openpgp/src/contact_details_provider.vala:30 +msgid "Encryption" +msgstr "Kryptering" + +#~ msgid "Key publishing disabled" +#~ msgstr "Nøglepublisering deaktiveret" + +#~ msgid "Error in GnuPG" +#~ msgstr "Fejl i GnuPG" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "Ingen nøgler til rådighed. Generer en!" + +#~ msgid "Select key" +#~ msgstr "Vælg nøgle" + +#~ msgid "Loading…" +#~ msgstr "Henter…" diff --git a/plugins/openpgp/po/de.po b/plugins/openpgp/po/de.po index be43243c..8a75f27e 100644 --- a/plugins/openpgp/po/de.po +++ b/plugins/openpgp/po/de.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: dino-openpgp-0.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" -"PO-Revision-Date: 2020-04-16 20:11+0000\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" +"PO-Revision-Date: 2024-07-02 11:09+0000\n" "Language-Team: German <https://hosted.weblate.org/projects/dino/plugin-" "openpgp/de/>\n" "Language: de\n" @@ -11,33 +11,15 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.0.1-dev\n" +"X-Generator: Weblate 5.7-dev\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "Schlüsselveröffentlichung deaktiviert" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "Fehler in GnuPG" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "Keine Schlüssel vorhanden. Erzeuge einen!" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "Wähle einen Schlüssel" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" -msgstr "Lade…" - -#: plugins/openpgp/src/account_settings_entry.vala:114 +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 msgid "Querying GnuPG" -msgstr "Frage GnuPG ab" +msgstr "GnuPG wird abgefragt" + +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "Deaktiviert" #: plugins/openpgp/src/contact_details_provider.vala:28 msgid "Key not in keychain" @@ -47,5 +29,20 @@ msgstr "Schlüssel nicht im Schlüsselbund" msgid "Encryption" msgstr "Verschlüsselung" +#~ msgid "Key publishing disabled" +#~ msgstr "Schlüsselveröffentlichung deaktiviert" + +#~ msgid "Error in GnuPG" +#~ msgstr "Fehler in GnuPG" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "Keine Schlüssel vorhanden. Erzeuge einen!" + +#~ msgid "Select key" +#~ msgstr "Wähle einen Schlüssel" + +#~ msgid "Loading…" +#~ msgstr "Lade…" + #~ msgid "OpenPGP" #~ msgstr "OpenPGP" diff --git a/plugins/openpgp/po/dino-openpgp.pot b/plugins/openpgp/po/dino-openpgp.pot index 16dde2ac..265c6e07 100644 --- a/plugins/openpgp/po/dino-openpgp.pot +++ b/plugins/openpgp/po/dino-openpgp.pot @@ -8,39 +8,21 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" +"POT-Creation-Date: 2024-08-22 19:41+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" "Language: \n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 +msgid "Querying GnuPG" msgstr "" -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Querying GnuPG" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" msgstr "" #: plugins/openpgp/src/contact_details_provider.vala:28 diff --git a/plugins/openpgp/po/el.po b/plugins/openpgp/po/el.po index 5919f494..5ca3c476 100644 --- a/plugins/openpgp/po/el.po +++ b/plugins/openpgp/po/el.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" "PO-Revision-Date: 2022-02-04 09:55+0000\n" "Language-Team: none\n" "Language: el\n" @@ -17,32 +17,14 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.11-dev\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "Η δημοσίευση του κλειδιού είναι απενεργοποιημένη" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "Σφάλμα στο GnuPG" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "Δεν υπάρχουν διαθέσιμα κλειδιά. Δημιουργήστε ένα!" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "Επιλέξτε κλειδί" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" -msgstr "Φόρτωση…" - -#: plugins/openpgp/src/account_settings_entry.vala:114 +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 msgid "Querying GnuPG" msgstr "Αναζήτηση στο GnuPG" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "" + #: plugins/openpgp/src/contact_details_provider.vala:28 msgid "Key not in keychain" msgstr "Το κλειδί δεν είναι στο keychain" @@ -50,3 +32,18 @@ msgstr "Το κλειδί δεν είναι στο keychain" #: plugins/openpgp/src/contact_details_provider.vala:30 msgid "Encryption" msgstr "Κρυπτογράφηση" + +#~ msgid "Key publishing disabled" +#~ msgstr "Η δημοσίευση του κλειδιού είναι απενεργοποιημένη" + +#~ msgid "Error in GnuPG" +#~ msgstr "Σφάλμα στο GnuPG" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "Δεν υπάρχουν διαθέσιμα κλειδιά. Δημιουργήστε ένα!" + +#~ msgid "Select key" +#~ msgstr "Επιλέξτε κλειδί" + +#~ msgid "Loading…" +#~ msgstr "Φόρτωση…" diff --git a/plugins/openpgp/po/en.po b/plugins/openpgp/po/en.po index 2a2a9aaa..a826652c 100644 --- a/plugins/openpgp/po/en.po +++ b/plugins/openpgp/po/en.po @@ -2,36 +2,18 @@ msgid "" msgstr "" "Project-Id-Version: dino-openpgp-0.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" "Language: en\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 +msgid "Querying GnuPG" msgstr "" -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Querying GnuPG" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" msgstr "" #: plugins/openpgp/src/contact_details_provider.vala:28 diff --git a/plugins/openpgp/po/eo.po b/plugins/openpgp/po/eo.po index c23da876..6f9ad440 100644 --- a/plugins/openpgp/po/eo.po +++ b/plugins/openpgp/po/eo.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" "PO-Revision-Date: 2021-03-08 22:02+0000\n" "Language-Team: none\n" "Language: eo\n" @@ -17,32 +17,14 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.5.1\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "Eldonado de ŝlosilo estas malŝaltita" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "Eraro pri GnuPG" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "Neniu ŝlosilo estas havebla. Faru ŝlosilon!" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "Elekti ŝlosilon" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" -msgstr "Ŝargante…" - -#: plugins/openpgp/src/account_settings_entry.vala:114 +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 msgid "Querying GnuPG" msgstr "Pridemandante GnuPG" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "" + #: plugins/openpgp/src/contact_details_provider.vala:28 msgid "Key not in keychain" msgstr "Ŝlosilo ne en ŝlosilaro" @@ -50,3 +32,18 @@ msgstr "Ŝlosilo ne en ŝlosilaro" #: plugins/openpgp/src/contact_details_provider.vala:30 msgid "Encryption" msgstr "Ĉifrado" + +#~ msgid "Key publishing disabled" +#~ msgstr "Eldonado de ŝlosilo estas malŝaltita" + +#~ msgid "Error in GnuPG" +#~ msgstr "Eraro pri GnuPG" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "Neniu ŝlosilo estas havebla. Faru ŝlosilon!" + +#~ msgid "Select key" +#~ msgstr "Elekti ŝlosilon" + +#~ msgid "Loading…" +#~ msgstr "Ŝargante…" diff --git a/plugins/openpgp/po/es.po b/plugins/openpgp/po/es.po index 227df457..beb67507 100644 --- a/plugins/openpgp/po/es.po +++ b/plugins/openpgp/po/es.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" -"PO-Revision-Date: 2018-11-19 08:07+0000\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" +"PO-Revision-Date: 2024-07-04 00:09+0000\n" "Language-Team: Spanish <https://hosted.weblate.org/projects/dino/plugin-" "openpgp/es/>\n" "Language: es\n" @@ -16,38 +16,35 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 3.3-dev\n" +"X-Generator: Weblate 5.7-dev\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "Publicación de claves desactivada" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "Error en GnuPG" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "No hay claves disponibles. ¡Genera una!" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "Seleccionar clave" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" -msgstr "Cargando…" - -#: plugins/openpgp/src/account_settings_entry.vala:114 +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 msgid "Querying GnuPG" msgstr "Consultando GnuPG" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "Desactivado" + #: plugins/openpgp/src/contact_details_provider.vala:28 msgid "Key not in keychain" msgstr "La clave no está en la cadena de claves" #: plugins/openpgp/src/contact_details_provider.vala:30 msgid "Encryption" -msgstr "Cifrado" +msgstr "Encriptación" + +#~ msgid "Key publishing disabled" +#~ msgstr "Publicación de claves desactivada" + +#~ msgid "Error in GnuPG" +#~ msgstr "Error en GnuPG" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "No hay claves disponibles. ¡Genera una!" + +#~ msgid "Select key" +#~ msgstr "Seleccionar clave" + +#~ msgid "Loading…" +#~ msgstr "Cargando…" diff --git a/plugins/openpgp/po/eu.po b/plugins/openpgp/po/eu.po index 009b589f..bdce64fe 100644 --- a/plugins/openpgp/po/eu.po +++ b/plugins/openpgp/po/eu.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" "PO-Revision-Date: 2018-04-03 15:27+0000\n" "Language-Team: Basque <https://hosted.weblate.org/projects/dino/plugin-" "openpgp/eu/>\n" @@ -18,32 +18,14 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 2.20-dev\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "Gakoa argitaratzea ezgaituta" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "GnuPG akatsa" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "Ez dago gakorik eskuragarri. Sortu ezazu bat!" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "Gakoa hautatu" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" -msgstr "Kargatzen…" - -#: plugins/openpgp/src/account_settings_entry.vala:114 +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 msgid "Querying GnuPG" msgstr "GnuPGri galdetzen" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "" + #: plugins/openpgp/src/contact_details_provider.vala:28 msgid "Key not in keychain" msgstr "Gakorik ez giltzatakoan" @@ -51,3 +33,18 @@ msgstr "Gakorik ez giltzatakoan" #: plugins/openpgp/src/contact_details_provider.vala:30 msgid "Encryption" msgstr "Enkriptazioa" + +#~ msgid "Key publishing disabled" +#~ msgstr "Gakoa argitaratzea ezgaituta" + +#~ msgid "Error in GnuPG" +#~ msgstr "GnuPG akatsa" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "Ez dago gakorik eskuragarri. Sortu ezazu bat!" + +#~ msgid "Select key" +#~ msgstr "Gakoa hautatu" + +#~ msgid "Loading…" +#~ msgstr "Kargatzen…" diff --git a/plugins/openpgp/po/fa.po b/plugins/openpgp/po/fa.po index 613dd1ca..f3a3697b 100644 --- a/plugins/openpgp/po/fa.po +++ b/plugins/openpgp/po/fa.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" "PO-Revision-Date: 2021-04-26 15:32+0000\n" "Language-Team: none\n" "Language: fa\n" @@ -17,32 +17,14 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Generator: Weblate 4.7-dev\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "انشار کلید غیرفعالشده" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "خطا در گنوپیجی" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "هیچ کلیدی در دسترس نیست. یکی تولید کنید!" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "انتخاب کلید" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" -msgstr "در حال بارگذاری…" - -#: plugins/openpgp/src/account_settings_entry.vala:114 +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 msgid "Querying GnuPG" msgstr "پرسوجوی گنوپیجی" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "" + #: plugins/openpgp/src/contact_details_provider.vala:28 msgid "Key not in keychain" msgstr "کلید در دستهکلید نیست" @@ -50,3 +32,18 @@ msgstr "کلید در دستهکلید نیست" #: plugins/openpgp/src/contact_details_provider.vala:30 msgid "Encryption" msgstr "رمزگذاری" + +#~ msgid "Key publishing disabled" +#~ msgstr "انشار کلید غیرفعالشده" + +#~ msgid "Error in GnuPG" +#~ msgstr "خطا در گنوپیجی" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "هیچ کلیدی در دسترس نیست. یکی تولید کنید!" + +#~ msgid "Select key" +#~ msgstr "انتخاب کلید" + +#~ msgid "Loading…" +#~ msgstr "در حال بارگذاری…" diff --git a/plugins/openpgp/po/fi.po b/plugins/openpgp/po/fi.po new file mode 100644 index 00000000..7f699a38 --- /dev/null +++ b/plugins/openpgp/po/fi.po @@ -0,0 +1,49 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" +"PO-Revision-Date: 2024-07-02 11:09+0000\n" +"Language-Team: none\n" +"Language: fi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.7-dev\n" + +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 +msgid "Querying GnuPG" +msgstr "Kysellään GnuPG:tä" + +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "Pois käytöstä" + +#: plugins/openpgp/src/contact_details_provider.vala:28 +msgid "Key not in keychain" +msgstr "Avain ei ole avainnipussa" + +#: plugins/openpgp/src/contact_details_provider.vala:30 +msgid "Encryption" +msgstr "Salaus" + +#~ msgid "Key publishing disabled" +#~ msgstr "Avaimen julkaiseminen pois käytöstä" + +#~ msgid "Error in GnuPG" +#~ msgstr "Virhe GnuPG:ssä" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "Ei avaimia saatavilla. Luo avain!" + +#~ msgid "Select key" +#~ msgstr "Valitse avain" + +#~ msgid "Loading…" +#~ msgstr "Ladataan…" diff --git a/plugins/openpgp/po/fr.po b/plugins/openpgp/po/fr.po index 7ed43e63..00438485 100644 --- a/plugins/openpgp/po/fr.po +++ b/plugins/openpgp/po/fr.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" "PO-Revision-Date: 2020-11-12 17:21+0000\n" "Language-Team: French <https://hosted.weblate.org/projects/dino/plugin-" "openpgp/fr/>\n" @@ -18,32 +18,14 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Generator: Weblate 4.4-dev\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "La publication des clés est désactivée" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "Erreur dans GnuPG" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "Aucune clé n’est disponible. Générez-en une !" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "Choix d’une clé" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" -msgstr "Chargement…" - -#: plugins/openpgp/src/account_settings_entry.vala:114 +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 msgid "Querying GnuPG" msgstr "Interrogation de GnuPG" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "" + #: plugins/openpgp/src/contact_details_provider.vala:28 msgid "Key not in keychain" msgstr "La clé n’est pas dans le trousseau" @@ -51,3 +33,18 @@ msgstr "La clé n’est pas dans le trousseau" #: plugins/openpgp/src/contact_details_provider.vala:30 msgid "Encryption" msgstr "Chiffrement" + +#~ msgid "Key publishing disabled" +#~ msgstr "La publication des clés est désactivée" + +#~ msgid "Error in GnuPG" +#~ msgstr "Erreur dans GnuPG" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "Aucune clé n’est disponible. Générez-en une !" + +#~ msgid "Select key" +#~ msgstr "Choix d’une clé" + +#~ msgid "Loading…" +#~ msgstr "Chargement…" diff --git a/plugins/openpgp/po/gl.po b/plugins/openpgp/po/gl.po index 7bb7c5e4..c5cf7713 100644 --- a/plugins/openpgp/po/gl.po +++ b/plugins/openpgp/po/gl.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" -"PO-Revision-Date: 2020-02-07 10:50+0000\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" +"PO-Revision-Date: 2024-07-02 11:09+0000\n" "Language-Team: Galician <https://hosted.weblate.org/projects/dino/plugin-" "openpgp/gl/>\n" "Language: gl\n" @@ -16,38 +16,35 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 3.11-dev\n" +"X-Generator: Weblate 5.7-dev\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "Desactivada a publicación de chaves" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "Fallo en GnuPG" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "Sen chaves dispoñibles. Crear unha!" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "Escolle chave" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" -msgstr "Cargando…" - -#: plugins/openpgp/src/account_settings_entry.vala:114 +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 msgid "Querying GnuPG" msgstr "Consultando a GnuPG" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "Desactivado" + #: plugins/openpgp/src/contact_details_provider.vala:28 msgid "Key not in keychain" msgstr "A chave non está no anel de chaves" #: plugins/openpgp/src/contact_details_provider.vala:30 msgid "Encryption" -msgstr "Cifrado" +msgstr "Cifraxe" + +#~ msgid "Key publishing disabled" +#~ msgstr "Desactivada a publicación de chaves" + +#~ msgid "Error in GnuPG" +#~ msgstr "Fallo en GnuPG" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "Sen chaves dispoñibles. Crear unha!" + +#~ msgid "Select key" +#~ msgstr "Escolle chave" + +#~ msgid "Loading…" +#~ msgstr "Cargando…" diff --git a/plugins/openpgp/po/hu.po b/plugins/openpgp/po/hu.po index 9a81235d..553b076e 100644 --- a/plugins/openpgp/po/hu.po +++ b/plugins/openpgp/po/hu.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" "PO-Revision-Date: 2021-12-05 01:51+0000\n" "Language-Team: Hungarian <https://hosted.weblate.org/projects/dino/plugin-" "openpgp/hu/>\n" @@ -18,32 +18,14 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.10-dev\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "Kulcsközzététel letiltva" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "Hiba a GnuPG-ben" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "Nincsenek elérhető kulcsok. Állítson elő egyet!" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "Kulcs kiválasztása" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" -msgstr "Betöltés…" - -#: plugins/openpgp/src/account_settings_entry.vala:114 +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 msgid "Querying GnuPG" msgstr "A GnuPG lekérése" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "" + #: plugins/openpgp/src/contact_details_provider.vala:28 msgid "Key not in keychain" msgstr "A kulcs nincs a kulcstartóban" @@ -51,3 +33,18 @@ msgstr "A kulcs nincs a kulcstartóban" #: plugins/openpgp/src/contact_details_provider.vala:30 msgid "Encryption" msgstr "Titkosítás" + +#~ msgid "Key publishing disabled" +#~ msgstr "Kulcsközzététel letiltva" + +#~ msgid "Error in GnuPG" +#~ msgstr "Hiba a GnuPG-ben" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "Nincsenek elérhető kulcsok. Állítson elő egyet!" + +#~ msgid "Select key" +#~ msgstr "Kulcs kiválasztása" + +#~ msgid "Loading…" +#~ msgstr "Betöltés…" diff --git a/plugins/openpgp/po/id.po b/plugins/openpgp/po/id.po index cf9aa971..21a47999 100644 --- a/plugins/openpgp/po/id.po +++ b/plugins/openpgp/po/id.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" "PO-Revision-Date: 2021-01-09 11:43+0000\n" "Language-Team: none\n" "Language: id\n" @@ -17,32 +17,14 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Weblate 4.4.1-dev\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "Penerbitan kunci dinonaktifkan" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "Kesalahan pada GnuPG" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "Kunci tidak tersedia. Buat satu!" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "Pilih kunci" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" -msgstr "Memuat…" - -#: plugins/openpgp/src/account_settings_entry.vala:114 +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 msgid "Querying GnuPG" msgstr "Bertanya kepada GnuPG" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "" + #: plugins/openpgp/src/contact_details_provider.vala:28 msgid "Key not in keychain" msgstr "Kunci tidak ada di gantungan kunci" @@ -50,3 +32,18 @@ msgstr "Kunci tidak ada di gantungan kunci" #: plugins/openpgp/src/contact_details_provider.vala:30 msgid "Encryption" msgstr "Enkripsi" + +#~ msgid "Key publishing disabled" +#~ msgstr "Penerbitan kunci dinonaktifkan" + +#~ msgid "Error in GnuPG" +#~ msgstr "Kesalahan pada GnuPG" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "Kunci tidak tersedia. Buat satu!" + +#~ msgid "Select key" +#~ msgstr "Pilih kunci" + +#~ msgid "Loading…" +#~ msgstr "Memuat…" diff --git a/plugins/openpgp/po/ie.po b/plugins/openpgp/po/ie.po index 2b110f2e..d4b9b9d7 100644 --- a/plugins/openpgp/po/ie.po +++ b/plugins/openpgp/po/ie.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" "PO-Revision-Date: 2020-02-04 16:50+0000\n" "Language-Team: none\n" "Language: ie\n" @@ -17,32 +17,14 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 3.11-dev\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "Publication de claves depermisset" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "Errore de GnuPG" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "Null claves disponibil. Crea ún!" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "Selecter un clave" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" -msgstr "Cargante…" - -#: plugins/openpgp/src/account_settings_entry.vala:114 +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 msgid "Querying GnuPG" msgstr "Contactante GnuPG" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "" + #: plugins/openpgp/src/contact_details_provider.vala:28 msgid "Key not in keychain" msgstr "Clave ne es in li porta-clave" @@ -50,3 +32,18 @@ msgstr "Clave ne es in li porta-clave" #: plugins/openpgp/src/contact_details_provider.vala:30 msgid "Encryption" msgstr "Ciffration" + +#~ msgid "Key publishing disabled" +#~ msgstr "Publication de claves depermisset" + +#~ msgid "Error in GnuPG" +#~ msgstr "Errore de GnuPG" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "Null claves disponibil. Crea ún!" + +#~ msgid "Select key" +#~ msgstr "Selecter un clave" + +#~ msgid "Loading…" +#~ msgstr "Cargante…" diff --git a/plugins/openpgp/po/is.po b/plugins/openpgp/po/is.po index c6580f95..ebdf293c 100644 --- a/plugins/openpgp/po/is.po +++ b/plugins/openpgp/po/is.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" "PO-Revision-Date: 2022-10-17 00:56+0000\n" "Language-Team: none\n" "Language: is\n" @@ -17,32 +17,14 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n % 10 != 1 || n % 100 == 11;\n" "X-Generator: Weblate 4.15-dev\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "Deiling lykla óvirkt" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "Villa hjá GnuPG" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "Engir lyklar í boði. Búðu einn til!" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "Veldu lykil" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" -msgstr "Hleður…" - -#: plugins/openpgp/src/account_settings_entry.vala:114 +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 msgid "Querying GnuPG" msgstr "Að spyrja GnuPG" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "" + #: plugins/openpgp/src/contact_details_provider.vala:28 msgid "Key not in keychain" msgstr "Lykill ekki í lyklakippu" @@ -50,3 +32,18 @@ msgstr "Lykill ekki í lyklakippu" #: plugins/openpgp/src/contact_details_provider.vala:30 msgid "Encryption" msgstr "Dulritun" + +#~ msgid "Key publishing disabled" +#~ msgstr "Deiling lykla óvirkt" + +#~ msgid "Error in GnuPG" +#~ msgstr "Villa hjá GnuPG" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "Engir lyklar í boði. Búðu einn til!" + +#~ msgid "Select key" +#~ msgstr "Veldu lykil" + +#~ msgid "Loading…" +#~ msgstr "Hleður…" diff --git a/plugins/openpgp/po/it.po b/plugins/openpgp/po/it.po index 476aab4a..db8948b4 100644 --- a/plugins/openpgp/po/it.po +++ b/plugins/openpgp/po/it.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: dino-openpgp-0.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" "PO-Revision-Date: 2018-01-24 12:18+0000\n" "Language-Team: Italian <https://hosted.weblate.org/projects/dino/plugin-" "openpgp/it/>\n" @@ -13,32 +13,14 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 2.19-dev\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "Pubblicazione della chiave disabilitata" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "Errore in GnuPG" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "Nessuna chiave disponibile. Generane una!" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "Seleziona una chiave" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" -msgstr "Caricamento…" - -#: plugins/openpgp/src/account_settings_entry.vala:114 +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 msgid "Querying GnuPG" msgstr "Interrogando GnuPG" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "" + #: plugins/openpgp/src/contact_details_provider.vala:28 msgid "Key not in keychain" msgstr "La chiave non è nel portachiavi" @@ -47,5 +29,20 @@ msgstr "La chiave non è nel portachiavi" msgid "Encryption" msgstr "Crittografia" +#~ msgid "Key publishing disabled" +#~ msgstr "Pubblicazione della chiave disabilitata" + +#~ msgid "Error in GnuPG" +#~ msgstr "Errore in GnuPG" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "Nessuna chiave disponibile. Generane una!" + +#~ msgid "Select key" +#~ msgstr "Seleziona una chiave" + +#~ msgid "Loading…" +#~ msgstr "Caricamento…" + #~ msgid "OpenPGP" #~ msgstr "OpenPGP" diff --git a/plugins/openpgp/po/ja.po b/plugins/openpgp/po/ja.po index 5d91bdec..52dfb40e 100644 --- a/plugins/openpgp/po/ja.po +++ b/plugins/openpgp/po/ja.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" "PO-Revision-Date: 2020-01-28 23:24+0000\n" "Language-Team: none\n" "Language: ja\n" @@ -17,32 +17,14 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Weblate 3.11-dev\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "キーの発行は無効" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "GnuPG でのエラー" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "キーがありません。生成しましょう!" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "キーを選択" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" -msgstr "読み込んでいます…" - -#: plugins/openpgp/src/account_settings_entry.vala:114 +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 msgid "Querying GnuPG" msgstr "GnuPG に問い合わせています" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "" + #: plugins/openpgp/src/contact_details_provider.vala:28 msgid "Key not in keychain" msgstr "キーはキーチェーンにありません" @@ -50,3 +32,18 @@ msgstr "キーはキーチェーンにありません" #: plugins/openpgp/src/contact_details_provider.vala:30 msgid "Encryption" msgstr "暗号化" + +#~ msgid "Key publishing disabled" +#~ msgstr "キーの発行は無効" + +#~ msgid "Error in GnuPG" +#~ msgstr "GnuPG でのエラー" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "キーがありません。生成しましょう!" + +#~ msgid "Select key" +#~ msgstr "キーを選択" + +#~ msgid "Loading…" +#~ msgstr "読み込んでいます…" diff --git a/plugins/openpgp/po/ko.po b/plugins/openpgp/po/ko.po index eae73801..eff79d7a 100644 --- a/plugins/openpgp/po/ko.po +++ b/plugins/openpgp/po/ko.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" "PO-Revision-Date: 2022-10-17 11:49+0000\n" "Language-Team: none\n" "Language: ko\n" @@ -17,33 +17,14 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Weblate 4.15-dev\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -#, fuzzy -msgid "Key publishing disabled" -msgstr "키 게재 비활성화됨" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "GnuPG에 에러가 있음" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "사용 가능한 키 없음. 하나 생성하세요!" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "키 선택" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" -msgstr "로딩중…" - -#: plugins/openpgp/src/account_settings_entry.vala:114 +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 msgid "Querying GnuPG" msgstr "" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "" + #: plugins/openpgp/src/contact_details_provider.vala:28 msgid "Key not in keychain" msgstr "키가 키체인에 있지 않음" @@ -51,3 +32,19 @@ msgstr "키가 키체인에 있지 않음" #: plugins/openpgp/src/contact_details_provider.vala:30 msgid "Encryption" msgstr "암호화" + +#, fuzzy +#~ msgid "Key publishing disabled" +#~ msgstr "키 게재 비활성화됨" + +#~ msgid "Error in GnuPG" +#~ msgstr "GnuPG에 에러가 있음" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "사용 가능한 키 없음. 하나 생성하세요!" + +#~ msgid "Select key" +#~ msgstr "키 선택" + +#~ msgid "Loading…" +#~ msgstr "로딩중…" diff --git a/plugins/openpgp/po/lb.po b/plugins/openpgp/po/lb.po index f42aff79..ac660423 100644 --- a/plugins/openpgp/po/lb.po +++ b/plugins/openpgp/po/lb.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: dino-openpgp-0.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" "PO-Revision-Date: 2018-01-24 12:20+0000\n" "Language-Team: Luxembourgish <https://hosted.weblate.org/projects/dino/" "plugin-openpgp/lb/>\n" @@ -13,32 +13,14 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 2.19-dev\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "Schlëssel Verëffentlechung ausgeschalt" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "Feeler am GnuPG" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "Keng Schlëssele verfügbar. Generéier een!" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "Schlëssel auswielen" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" -msgstr "Lueden…" - -#: plugins/openpgp/src/account_settings_entry.vala:114 +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 msgid "Querying GnuPG" msgstr "GnuPG gëtt ofgefrot" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "" + #: plugins/openpgp/src/contact_details_provider.vala:28 msgid "Key not in keychain" msgstr "Schlësselen net am Schlësselbond" @@ -47,5 +29,20 @@ msgstr "Schlësselen net am Schlësselbond" msgid "Encryption" msgstr "Verschlësselung" +#~ msgid "Key publishing disabled" +#~ msgstr "Schlëssel Verëffentlechung ausgeschalt" + +#~ msgid "Error in GnuPG" +#~ msgstr "Feeler am GnuPG" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "Keng Schlëssele verfügbar. Generéier een!" + +#~ msgid "Select key" +#~ msgstr "Schlëssel auswielen" + +#~ msgid "Loading…" +#~ msgstr "Lueden…" + #~ msgid "OpenPGP" #~ msgstr "OpenPGP" diff --git a/plugins/openpgp/po/lt.po b/plugins/openpgp/po/lt.po index e4ae2d5b..67f00089 100644 --- a/plugins/openpgp/po/lt.po +++ b/plugins/openpgp/po/lt.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" "PO-Revision-Date: 2020-02-01 15:50+0000\n" "Language-Team: none\n" "Language: lt\n" @@ -19,32 +19,14 @@ msgstr "" "1 : 2);\n" "X-Generator: Weblate 3.11-dev\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "Rakto paskelbimas išjungtas" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "Klaida GnuPG programoje" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "Nėra prieinamų raktų. Sugeneruokite!" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "Pasirinkti raktą" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" -msgstr "Įkeliama…" - -#: plugins/openpgp/src/account_settings_entry.vala:114 +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 msgid "Querying GnuPG" msgstr "Užklausiama GnuPG" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "" + #: plugins/openpgp/src/contact_details_provider.vala:28 msgid "Key not in keychain" msgstr "Rakto nėra raktinėje" @@ -52,3 +34,18 @@ msgstr "Rakto nėra raktinėje" #: plugins/openpgp/src/contact_details_provider.vala:30 msgid "Encryption" msgstr "Šifravimas" + +#~ msgid "Key publishing disabled" +#~ msgstr "Rakto paskelbimas išjungtas" + +#~ msgid "Error in GnuPG" +#~ msgstr "Klaida GnuPG programoje" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "Nėra prieinamų raktų. Sugeneruokite!" + +#~ msgid "Select key" +#~ msgstr "Pasirinkti raktą" + +#~ msgid "Loading…" +#~ msgstr "Įkeliama…" diff --git a/plugins/openpgp/po/lv.po b/plugins/openpgp/po/lv.po index 11ecf516..6293bee8 100644 --- a/plugins/openpgp/po/lv.po +++ b/plugins/openpgp/po/lv.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Language-Team: none\n" "Language: lv\n" @@ -15,30 +15,12 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 +msgid "Querying GnuPG" msgstr "" -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Querying GnuPG" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" msgstr "" #: plugins/openpgp/src/contact_details_provider.vala:28 diff --git a/plugins/openpgp/po/nb.po b/plugins/openpgp/po/nb.po index 69182f8d..7f8bffc5 100644 --- a/plugins/openpgp/po/nb.po +++ b/plugins/openpgp/po/nb.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" "PO-Revision-Date: 2017-11-18 00:23+0000\n" "Language-Team: Norwegian Bokmål <https://hosted.weblate.org/projects/dino/" "plugin-openpgp/nb/>\n" @@ -18,32 +18,14 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 2.18-dev\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "Nøkkelpublisering avskrudd" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "Feil i GnuPG" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "Ingen nøkler tilgjengelige. Generer én." - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "Velg nøkkel" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" -msgstr "Laster…" - -#: plugins/openpgp/src/account_settings_entry.vala:114 +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 msgid "Querying GnuPG" msgstr "Sender spørring til GnuPG" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "" + #: plugins/openpgp/src/contact_details_provider.vala:28 msgid "Key not in keychain" msgstr "Nøkkelen finnes ikke i nøkkelknippet" @@ -52,5 +34,20 @@ msgstr "Nøkkelen finnes ikke i nøkkelknippet" msgid "Encryption" msgstr "Kryptering" +#~ msgid "Key publishing disabled" +#~ msgstr "Nøkkelpublisering avskrudd" + +#~ msgid "Error in GnuPG" +#~ msgstr "Feil i GnuPG" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "Ingen nøkler tilgjengelige. Generer én." + +#~ msgid "Select key" +#~ msgstr "Velg nøkkel" + +#~ msgid "Loading…" +#~ msgstr "Laster…" + #~ msgid "OpenPGP" #~ msgstr "OpenPGP" diff --git a/plugins/openpgp/po/nl.po b/plugins/openpgp/po/nl.po index 1ba7f298..8edbb197 100644 --- a/plugins/openpgp/po/nl.po +++ b/plugins/openpgp/po/nl.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: dino-openpgp-0.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" "PO-Revision-Date: 2020-09-05 19:21+0000\n" "Language-Team: Dutch <https://hosted.weblate.org/projects/dino/plugin-" "openpgp/nl/>\n" @@ -13,32 +13,14 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.3-dev\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "Sleutelpublicatie uitgeschakeld" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "Fout in GnuPG" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "Geen sleutels beschikbaar. Genereer een sleutel!" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "Kies een sleutel" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" -msgstr "Bezig met laden…" - -#: plugins/openpgp/src/account_settings_entry.vala:114 +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 msgid "Querying GnuPG" msgstr "Bezig met aanroepen van GnuPG" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "" + #: plugins/openpgp/src/contact_details_provider.vala:28 msgid "Key not in keychain" msgstr "Sleutel niet in sleutelbos" @@ -47,5 +29,20 @@ msgstr "Sleutel niet in sleutelbos" msgid "Encryption" msgstr "Versleuteling" +#~ msgid "Key publishing disabled" +#~ msgstr "Sleutelpublicatie uitgeschakeld" + +#~ msgid "Error in GnuPG" +#~ msgstr "Fout in GnuPG" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "Geen sleutels beschikbaar. Genereer een sleutel!" + +#~ msgid "Select key" +#~ msgstr "Kies een sleutel" + +#~ msgid "Loading…" +#~ msgstr "Bezig met laden…" + #~ msgid "OpenPGP" #~ msgstr "OpenPGP" diff --git a/plugins/openpgp/po/oc.po b/plugins/openpgp/po/oc.po index 38d078e2..28e3be1e 100644 --- a/plugins/openpgp/po/oc.po +++ b/plugins/openpgp/po/oc.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" "PO-Revision-Date: 2020-06-22 10:41+0000\n" "Language-Team: none\n" "Language: oc\n" @@ -17,32 +17,14 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Generator: Weblate 4.2-dev\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "Publicacion de clau desactivada" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "Error dins gnuPG" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "Cap de clau pas disponibla. Generatz-ne una !" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "Seleccionar una clau" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" -msgstr "Cargament…" - -#: plugins/openpgp/src/account_settings_entry.vala:114 +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 msgid "Querying GnuPG" msgstr "Consultacion de GnuPG" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "" + #: plugins/openpgp/src/contact_details_provider.vala:28 msgid "Key not in keychain" msgstr "La clau es pas al trocèl" @@ -50,3 +32,18 @@ msgstr "La clau es pas al trocèl" #: plugins/openpgp/src/contact_details_provider.vala:30 msgid "Encryption" msgstr "Chiframent" + +#~ msgid "Key publishing disabled" +#~ msgstr "Publicacion de clau desactivada" + +#~ msgid "Error in GnuPG" +#~ msgstr "Error dins gnuPG" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "Cap de clau pas disponibla. Generatz-ne una !" + +#~ msgid "Select key" +#~ msgstr "Seleccionar una clau" + +#~ msgid "Loading…" +#~ msgstr "Cargament…" diff --git a/plugins/openpgp/po/pl.po b/plugins/openpgp/po/pl.po index 0170af02..47378bab 100644 --- a/plugins/openpgp/po/pl.po +++ b/plugins/openpgp/po/pl.po @@ -7,44 +7,26 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" -"PO-Revision-Date: 2020-05-13 18:41+0000\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" +"PO-Revision-Date: 2024-07-04 00:09+0000\n" "Language-Team: Polish <https://hosted.weblate.org/projects/dino/plugin-" "openpgp/pl/>\n" "Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " -"|| n%100>=20) ? 1 : 2;\n" -"X-Generator: Weblate 4.1-dev\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" +"X-Generator: Weblate 5.7-dev\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "Publikowanie kluczy wyłączone" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "Błąd w GnuPG" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "Brak kluczy. Wygeneruj nowy!" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "Wybierz klucz" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" -msgstr "Ładowanie…" - -#: plugins/openpgp/src/account_settings_entry.vala:114 +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 msgid "Querying GnuPG" msgstr "Odpytuję GnuPG" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "Wyłączono" + #: plugins/openpgp/src/contact_details_provider.vala:28 msgid "Key not in keychain" msgstr "Klucz nie znajduje się w pęku kluczy" @@ -52,3 +34,18 @@ msgstr "Klucz nie znajduje się w pęku kluczy" #: plugins/openpgp/src/contact_details_provider.vala:30 msgid "Encryption" msgstr "Szyfrowanie" + +#~ msgid "Key publishing disabled" +#~ msgstr "Publikowanie kluczy wyłączone" + +#~ msgid "Error in GnuPG" +#~ msgstr "Błąd w GnuPG" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "Brak kluczy. Wygeneruj nowy!" + +#~ msgid "Select key" +#~ msgstr "Wybierz klucz" + +#~ msgid "Loading…" +#~ msgstr "Ładowanie…" diff --git a/plugins/openpgp/po/pt.po b/plugins/openpgp/po/pt.po index 2ed8d01a..813eab7f 100644 --- a/plugins/openpgp/po/pt.po +++ b/plugins/openpgp/po/pt.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" "PO-Revision-Date: 2020-08-23 21:36+0000\n" "Language-Team: none\n" "Language: pt\n" @@ -17,32 +17,14 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Generator: Weblate 4.2.1-dev\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "Publicação da chave desativada" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "Erro no GnuPG" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "Nenhuma chave disponível. Gere uma!" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "Selecionar chave" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" -msgstr "Carregando…" - -#: plugins/openpgp/src/account_settings_entry.vala:114 +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 msgid "Querying GnuPG" msgstr "Consultando GnuPG" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "" + #: plugins/openpgp/src/contact_details_provider.vala:28 msgid "Key not in keychain" msgstr "A chave não está no chaveiro" @@ -50,3 +32,18 @@ msgstr "A chave não está no chaveiro" #: plugins/openpgp/src/contact_details_provider.vala:30 msgid "Encryption" msgstr "Criptografia" + +#~ msgid "Key publishing disabled" +#~ msgstr "Publicação da chave desativada" + +#~ msgid "Error in GnuPG" +#~ msgstr "Erro no GnuPG" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "Nenhuma chave disponível. Gere uma!" + +#~ msgid "Select key" +#~ msgstr "Selecionar chave" + +#~ msgid "Loading…" +#~ msgstr "Carregando…" diff --git a/plugins/openpgp/po/pt_BR.po b/plugins/openpgp/po/pt_BR.po index b5dd94a0..4b7422fd 100644 --- a/plugins/openpgp/po/pt_BR.po +++ b/plugins/openpgp/po/pt_BR.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" "PO-Revision-Date: 2020-01-16 00:21+0000\n" "Language-Team: none\n" "Language: pt_BR\n" @@ -17,32 +17,14 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Generator: Weblate 3.11-dev\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "Publicação da chave desativada" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "Erro no GnuPG" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "Nenhuma chave disponível. Gere uma!" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "Selecionar chave" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" -msgstr "Carregando…" - -#: plugins/openpgp/src/account_settings_entry.vala:114 +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 msgid "Querying GnuPG" msgstr "Consultando GnuPG" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "" + #: plugins/openpgp/src/contact_details_provider.vala:28 msgid "Key not in keychain" msgstr "A chave não está no chaveiro" @@ -50,3 +32,18 @@ msgstr "A chave não está no chaveiro" #: plugins/openpgp/src/contact_details_provider.vala:30 msgid "Encryption" msgstr "Criptografia" + +#~ msgid "Key publishing disabled" +#~ msgstr "Publicação da chave desativada" + +#~ msgid "Error in GnuPG" +#~ msgstr "Erro no GnuPG" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "Nenhuma chave disponível. Gere uma!" + +#~ msgid "Select key" +#~ msgstr "Selecionar chave" + +#~ msgid "Loading…" +#~ msgstr "Carregando…" diff --git a/plugins/openpgp/po/ro.po b/plugins/openpgp/po/ro.po index 7a4b6362..bd110b0f 100644 --- a/plugins/openpgp/po/ro.po +++ b/plugins/openpgp/po/ro.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" -"PO-Revision-Date: 2018-01-12 23:14+0000\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" +"PO-Revision-Date: 2024-07-02 11:09+0000\n" "Language-Team: Romanian <https://hosted.weblate.org/projects/dino/plugin-" "openpgp/ro/>\n" "Language: ro\n" @@ -17,34 +17,16 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " "20)) ? 1 : 2;\n" -"X-Generator: Weblate 2.19-dev\n" +"X-Generator: Weblate 5.7-dev\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "Cheie publică dezactivată" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "Eroare în GnuPG" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "Nici o cheie disponibilă. Generați una!" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "Selectați cheia" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" -msgstr "Se încarcă…" - -#: plugins/openpgp/src/account_settings_entry.vala:114 +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 msgid "Querying GnuPG" msgstr "Se interoghează GnuPG" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "Dezactivat" + #: plugins/openpgp/src/contact_details_provider.vala:28 msgid "Key not in keychain" msgstr "Cheia nu este în șirul de chei" @@ -52,3 +34,18 @@ msgstr "Cheia nu este în șirul de chei" #: plugins/openpgp/src/contact_details_provider.vala:30 msgid "Encryption" msgstr "Criptare" + +#~ msgid "Key publishing disabled" +#~ msgstr "Cheie publică dezactivată" + +#~ msgid "Error in GnuPG" +#~ msgstr "Eroare în GnuPG" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "Nici o cheie disponibilă. Generați una!" + +#~ msgid "Select key" +#~ msgstr "Selectați cheia" + +#~ msgid "Loading…" +#~ msgstr "Se încarcă…" diff --git a/plugins/openpgp/po/ru.po b/plugins/openpgp/po/ru.po index f3628e57..b2c03096 100644 --- a/plugins/openpgp/po/ru.po +++ b/plugins/openpgp/po/ru.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" "PO-Revision-Date: 2020-06-02 11:41+0000\n" "Language-Team: Russian <https://hosted.weblate.org/projects/dino/plugin-" "openpgp/ru/>\n" @@ -19,32 +19,14 @@ msgstr "" "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Generator: Weblate 4.1-dev\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "Публикация ключа отключена" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "Ошибка в GnuPG" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "Нет доступных ключей. Стоило бы сгенерировать один!" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "Выбрать ключ" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" -msgstr "Загрузка…" - -#: plugins/openpgp/src/account_settings_entry.vala:114 +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 msgid "Querying GnuPG" msgstr "Запрос GnuPG" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "" + #: plugins/openpgp/src/contact_details_provider.vala:28 msgid "Key not in keychain" msgstr "Отсутствует ключ в связке" @@ -52,3 +34,18 @@ msgstr "Отсутствует ключ в связке" #: plugins/openpgp/src/contact_details_provider.vala:30 msgid "Encryption" msgstr "Шифрование" + +#~ msgid "Key publishing disabled" +#~ msgstr "Публикация ключа отключена" + +#~ msgid "Error in GnuPG" +#~ msgstr "Ошибка в GnuPG" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "Нет доступных ключей. Стоило бы сгенерировать один!" + +#~ msgid "Select key" +#~ msgstr "Выбрать ключ" + +#~ msgid "Loading…" +#~ msgstr "Загрузка…" diff --git a/plugins/openpgp/po/sq.po b/plugins/openpgp/po/sq.po index 02d2defe..f3145b5a 100644 --- a/plugins/openpgp/po/sq.po +++ b/plugins/openpgp/po/sq.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" "PO-Revision-Date: 2021-03-04 15:20+0000\n" "Language-Team: none\n" "Language: sq\n" @@ -17,32 +17,14 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.5.1-dev\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "Publikim kyçesh i çaktivizuar" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "Gabim në GnuPG" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "S’ka kyçe gati. Prodhoni një të tillë!" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "Përzgjidhni kyç" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" -msgstr "Po ngarkohet…" - -#: plugins/openpgp/src/account_settings_entry.vala:114 +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 msgid "Querying GnuPG" msgstr "Po pyetet GnuPG-ja" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "" + #: plugins/openpgp/src/contact_details_provider.vala:28 msgid "Key not in keychain" msgstr "Kyç jo në varg kyçesh" @@ -50,3 +32,18 @@ msgstr "Kyç jo në varg kyçesh" #: plugins/openpgp/src/contact_details_provider.vala:30 msgid "Encryption" msgstr "Fshehtëzim" + +#~ msgid "Key publishing disabled" +#~ msgstr "Publikim kyçesh i çaktivizuar" + +#~ msgid "Error in GnuPG" +#~ msgstr "Gabim në GnuPG" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "S’ka kyçe gati. Prodhoni një të tillë!" + +#~ msgid "Select key" +#~ msgstr "Përzgjidhni kyç" + +#~ msgid "Loading…" +#~ msgstr "Po ngarkohet…" diff --git a/plugins/openpgp/po/sv.po b/plugins/openpgp/po/sv.po index 54d082c0..1f7a6799 100644 --- a/plugins/openpgp/po/sv.po +++ b/plugins/openpgp/po/sv.po @@ -7,42 +7,24 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" -"PO-Revision-Date: 2019-08-14 11:23+0000\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" +"PO-Revision-Date: 2024-08-05 20:09+0000\n" "Language-Team: none\n" "Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 3.8-dev\n" +"X-Generator: Weblate 5.7-dev\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "Nyckelpublicering inaktiverad" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "Fel i GnuPG" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "Inga nycklar tillgängliga. Generera en!" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "Välj nyckel" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" -msgstr "Laddar…" - -#: plugins/openpgp/src/account_settings_entry.vala:114 +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 msgid "Querying GnuPG" msgstr "Frågar GnuPG" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "Inaktiverad" + #: plugins/openpgp/src/contact_details_provider.vala:28 msgid "Key not in keychain" msgstr "Nyckeln finns inte i nyckelknippan" @@ -50,3 +32,18 @@ msgstr "Nyckeln finns inte i nyckelknippan" #: plugins/openpgp/src/contact_details_provider.vala:30 msgid "Encryption" msgstr "Kryptering" + +#~ msgid "Key publishing disabled" +#~ msgstr "Nyckelpublicering inaktiverad" + +#~ msgid "Error in GnuPG" +#~ msgstr "Fel i GnuPG" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "Inga nycklar tillgängliga. Generera en!" + +#~ msgid "Select key" +#~ msgstr "Välj nyckel" + +#~ msgid "Loading…" +#~ msgstr "Laddar…" diff --git a/plugins/openpgp/po/tr.po b/plugins/openpgp/po/tr.po index a4e38330..c91d167a 100644 --- a/plugins/openpgp/po/tr.po +++ b/plugins/openpgp/po/tr.po @@ -7,42 +7,24 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" -"PO-Revision-Date: 2020-02-04 16:50+0000\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" +"PO-Revision-Date: 2024-07-02 11:09+0000\n" "Language-Team: none\n" "Language: tr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 3.11-dev\n" +"X-Generator: Weblate 5.7-dev\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "Anahtar yayınlama devre dışı" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "GnuPG'de Hata" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "Anahtar yok. Bir tane oluşturun!" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "Anahtar seçin" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" -msgstr "Yükleniyor…" - -#: plugins/openpgp/src/account_settings_entry.vala:114 +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 msgid "Querying GnuPG" msgstr "GnuPG sorgu" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "Devre dışı" + #: plugins/openpgp/src/contact_details_provider.vala:28 msgid "Key not in keychain" msgstr "Anahtar anahtarlıkta değil" @@ -50,3 +32,18 @@ msgstr "Anahtar anahtarlıkta değil" #: plugins/openpgp/src/contact_details_provider.vala:30 msgid "Encryption" msgstr "Şifreleme" + +#~ msgid "Key publishing disabled" +#~ msgstr "Anahtar yayınlama devre dışı" + +#~ msgid "Error in GnuPG" +#~ msgstr "GnuPG'de Hata" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "Anahtar yok. Bir tane oluşturun!" + +#~ msgid "Select key" +#~ msgstr "Anahtar seçin" + +#~ msgid "Loading…" +#~ msgstr "Yükleniyor…" diff --git a/plugins/openpgp/po/uk.po b/plugins/openpgp/po/uk.po index e5c06670..63179c4e 100644 --- a/plugins/openpgp/po/uk.po +++ b/plugins/openpgp/po/uk.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" -"PO-Revision-Date: 2020-12-31 17:29+0000\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" +"PO-Revision-Date: 2023-02-24 11:39+0000\n" "Language-Team: none\n" "Language: uk\n" "MIME-Version: 1.0\n" @@ -16,41 +16,35 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" -"X-Generator: Weblate 4.4.1-dev\n" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -#, fuzzy -msgid "Key publishing disabled" -msgstr "Публікація ключа відключена" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -#, fuzzy -msgid "Error in GnuPG" -msgstr "Помилка у GnuPG" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "Вибрати ключ" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" -msgstr "Завантаження…" +"X-Generator: Weblate 4.16-dev\n" -#: plugins/openpgp/src/account_settings_entry.vala:114 +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 msgid "Querying GnuPG" +msgstr "Запит до GnuPG" + +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" msgstr "" #: plugins/openpgp/src/contact_details_provider.vala:28 -#, fuzzy msgid "Key not in keychain" msgstr "Відсутній ключ у зв’язці" #: plugins/openpgp/src/contact_details_provider.vala:30 msgid "Encryption" msgstr "Шифрування" + +#~ msgid "Key publishing disabled" +#~ msgstr "Публікація ключа відключена" + +#~ msgid "Error in GnuPG" +#~ msgstr "Помилка у GnuPG" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "Немає доступних ключей. Сгенеріть!" + +#~ msgid "Select key" +#~ msgstr "Вибрати ключ" + +#~ msgid "Loading…" +#~ msgstr "Завантаження…" diff --git a/plugins/openpgp/po/vi.po b/plugins/openpgp/po/vi.po new file mode 100644 index 00000000..e445476d --- /dev/null +++ b/plugins/openpgp/po/vi.po @@ -0,0 +1,49 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" +"PO-Revision-Date: 2023-04-28 07:51+0000\n" +"Language-Team: none\n" +"Language: vi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Weblate 4.18-dev\n" + +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 +msgid "Querying GnuPG" +msgstr "Đang truy vấn GnuPG" + +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "" + +#: plugins/openpgp/src/contact_details_provider.vala:28 +msgid "Key not in keychain" +msgstr "Khoá không trong chuỗi khoá" + +#: plugins/openpgp/src/contact_details_provider.vala:30 +msgid "Encryption" +msgstr "Mã hoá" + +#~ msgid "Key publishing disabled" +#~ msgstr "Công khai khoá đã bị vô hiệu hoá" + +#~ msgid "Error in GnuPG" +#~ msgstr "Lỗi trong GnuPG" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "Không có khoá khả dụng. Hãy tạo một khoá!" + +#~ msgid "Select key" +#~ msgstr "Chọn khoá" + +#~ msgid "Loading…" +#~ msgstr "Đang tải…" diff --git a/plugins/openpgp/po/zh_CN.po b/plugins/openpgp/po/zh_CN.po index cc1cf29e..50102b01 100644 --- a/plugins/openpgp/po/zh_CN.po +++ b/plugins/openpgp/po/zh_CN.po @@ -2,51 +2,48 @@ msgid "" msgstr "" "Project-Id-Version: dino-omemo-0.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" -"PO-Revision-Date: 2018-05-08 09:42+0000\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" +"PO-Revision-Date: 2024-07-02 11:09+0000\n" "Language-Team: Chinese (Simplified) <https://hosted.weblate.org/projects/" "dino/plugin-openpgp/zh_Hans/>\n" -"Language: zh_Hans\n" +"Language: zh_CN\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Weblate 3.0-dev\n" +"X-Generator: Weblate 5.7-dev\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "已禁用密钥发布功能" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "GnuPG 错误" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "没有密钥可用。生成一个吧!" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "选择密钥" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" -msgstr "载入中…" - -#: plugins/openpgp/src/account_settings_entry.vala:114 +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 msgid "Querying GnuPG" msgstr "正在查询 GnuPG" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "已禁用" + #: plugins/openpgp/src/contact_details_provider.vala:28 msgid "Key not in keychain" -msgstr "密钥并没有在密钥串里" +msgstr "密钥不在密钥链中" #: plugins/openpgp/src/contact_details_provider.vala:30 msgid "Encryption" msgstr "加密" +#~ msgid "Key publishing disabled" +#~ msgstr "已禁用密钥发布功能" + +#~ msgid "Error in GnuPG" +#~ msgstr "GnuPG 错误" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "没有密钥可用。生成一个吧!" + +#~ msgid "Select key" +#~ msgstr "选择密钥" + +#~ msgid "Loading…" +#~ msgstr "载入中…" + #~ msgid "Own fingerprint" #~ msgstr "自己的指纹" diff --git a/plugins/openpgp/po/zh_TW.po b/plugins/openpgp/po/zh_TW.po index aa4e47f3..491d4bb0 100644 --- a/plugins/openpgp/po/zh_TW.po +++ b/plugins/openpgp/po/zh_TW.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-07 21:31+0100\n" +"POT-Creation-Date: 2024-08-22 19:41+0200\n" "PO-Revision-Date: 2020-11-24 05:28+0000\n" "Language-Team: Chinese (Traditional) <https://hosted.weblate.org/projects/" "dino/plugin-openpgp/zh_Hant/>\n" @@ -18,32 +18,14 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Weblate 4.4-dev\n" -#: plugins/openpgp/src/account_settings_entry.vala:68 -#: plugins/openpgp/src/account_settings_entry.vala:72 -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Key publishing disabled" -msgstr "金鑰發佈已經被禁用" - -#: plugins/openpgp/src/account_settings_entry.vala:68 -msgid "Error in GnuPG" -msgstr "GnuPG 錯誤" - -#: plugins/openpgp/src/account_settings_entry.vala:72 -msgid "No keys available. Generate one!" -msgstr "沒有可用的金鑰。生成一個!" - -#: plugins/openpgp/src/account_settings_entry.vala:101 -msgid "Select key" -msgstr "選擇金鑰" - -#: plugins/openpgp/src/account_settings_entry.vala:114 -msgid "Loading…" -msgstr "載入中…" - -#: plugins/openpgp/src/account_settings_entry.vala:114 +#: plugins/openpgp/src/encryption_preferences_entry.vala:18 msgid "Querying GnuPG" msgstr "正在查詢 GnuPG" +#: plugins/openpgp/src/encryption_preferences_entry.vala:53 +msgid "Disabled" +msgstr "" + #: plugins/openpgp/src/contact_details_provider.vala:28 msgid "Key not in keychain" msgstr "密鑰不在密鑰串中" @@ -51,3 +33,18 @@ msgstr "密鑰不在密鑰串中" #: plugins/openpgp/src/contact_details_provider.vala:30 msgid "Encryption" msgstr "加密" + +#~ msgid "Key publishing disabled" +#~ msgstr "金鑰發佈已經被禁用" + +#~ msgid "Error in GnuPG" +#~ msgstr "GnuPG 錯誤" + +#~ msgid "No keys available. Generate one!" +#~ msgstr "沒有可用的金鑰。生成一個!" + +#~ msgid "Select key" +#~ msgstr "選擇金鑰" + +#~ msgid "Loading…" +#~ msgstr "載入中…" diff --git a/plugins/openpgp/src/account_settings_entry.vala b/plugins/openpgp/src/account_settings_entry.vala deleted file mode 100644 index 7c99942f..00000000 --- a/plugins/openpgp/src/account_settings_entry.vala +++ /dev/null @@ -1,163 +0,0 @@ -using Dino.Entities; -using Gtk; - -namespace Dino.Plugins.OpenPgp { - -public class AccountSettingsEntry : Plugins.AccountSettingsEntry { - - private Label label; - private Button button; - private ComboBox combobox; - private Stack stack; - - private Plugin plugin; - private Account current_account; - private Gee.List<GPG.Key> keys = null; - private Gtk.ListStore list_store = new Gtk.ListStore(2, typeof(string), typeof(string?)); - - public override string id { get { return "pgp_key_picker"; }} - - public override string name { get { return "OpenPGP"; }} - - public AccountSettingsEntry(Plugin plugin) { - this.plugin = plugin; - - Builder builder = new Builder.from_resource("/im/dino/Dino/openpgp/account_settings_item.ui"); - stack = (Stack) builder.get_object("stack"); - label = (Label) builder.get_object("label"); - button = (Button) builder.get_object("button"); - combobox = (ComboBox) builder.get_object("combobox"); - - CellRendererText renderer = new CellRendererText(); - renderer.set_padding(0, 0); - combobox.pack_start(renderer, true); - combobox.add_attribute(renderer, "markup", 0); - combobox.set_model(list_store); - - button.clicked.connect(on_button_clicked); - combobox.changed.connect(key_changed); - } - - public override void deactivate() { - stack.set_visible_child_name("label"); - } - - public override void set_account(Account account) { - set_account_.begin(account); - } - - private async void set_account_(Account account) { - this.current_account = account; - if (keys == null) { - yield fetch_keys(); - populate_list_store(); - } - activate_current_account(); - } - - private void on_button_clicked() { - activated(); - stack.set_visible_child_name("entry"); - combobox.grab_focus(); - combobox.popup(); - } - - private void activate_current_account() { - combobox.changed.disconnect(key_changed); - if (keys == null) { - label.set_markup(build_markup_string(_("Key publishing disabled"), _("Error in GnuPG"))); - return; - } - if (keys.size == 0) { - label.set_markup(build_markup_string(_("Key publishing disabled"), _("No keys available. Generate one!"))); - return; - } - - string? account_key = plugin.db.get_account_key(current_account); - int activate_index = 0; - for (int i = 0; i < keys.size; i++) { - GPG.Key key = keys[i]; - if (key.fpr == account_key) { - activate_index = i + 1; - } - } - combobox.active = activate_index; - - TreeIter selected; - combobox.get_active_iter(out selected); - set_label_active(selected); - - combobox.changed.connect(key_changed); - } - - private void populate_list_store() { - if (keys == null || keys.size == 0) { - return; - } - - list_store.clear(); - TreeIter iter; - list_store.append(out iter); - list_store.set(iter, 0, build_markup_string(_("Key publishing disabled"), _("Select key") + "<span font_family='monospace' font='8'> \n </span>"), 1, ""); - for (int i = 0; i < keys.size; i++) { - list_store.append(out iter); - list_store.set(iter, 0, @"$(Markup.escape_text(keys[i].uids[0].uid))\n<span font_family='monospace' font='8'>$(markup_colorize_id(keys[i].fpr, true))</span><span font='8'> </span>"); - list_store.set(iter, 1, keys[i].fpr); - if (keys[i].fpr == plugin.db.get_account_key(current_account)) { - set_label_active(iter, i + 1); - } - } - button.sensitive = true; - } - - private async void fetch_keys() { - label.set_markup(build_markup_string(_("Loading…"), _("Querying GnuPG"))); - - SourceFunc callback = fetch_keys.callback; - new Thread<void*> (null, () => { // Querying GnuPG might take some time - try { - keys = GPGHelper.get_keylist(null, true); - } catch (Error e) { - warning(e.message); - } - Idle.add((owned)callback); - return null; - }); - yield; - } - - private void set_label_active(TreeIter iter, int i = -1) { - Value text; - list_store.get_value(iter, 0, out text); - label.set_markup((string) text); - if (i != -1) combobox.active = i; - } - - private void key_changed() { - TreeIter selected; - bool iter_valid = combobox.get_active_iter(out selected); - if (iter_valid) { - Value key_value; - list_store.get_value(selected, 1, out key_value); - string? key_id = key_value as string; - if (key_id != null) { - if (plugin.modules.has_key(current_account)) { - plugin.modules[current_account].set_private_key_id(key_id); - } - plugin.db.set_account_key(current_account, key_id); - } - set_label_active(selected); - deactivate(); - } - } - - private string build_markup_string(string primary, string secondary) { - return @"$(Markup.escape_text(primary))\n<span font='8'>$secondary</span>"; - } - - public override Object? get_widget(WidgetType type) { - if (type != WidgetType.GTK4) return null; - return stack; - } -} -}
\ No newline at end of file diff --git a/plugins/openpgp/src/encryption_preferences_entry.vala b/plugins/openpgp/src/encryption_preferences_entry.vala new file mode 100644 index 00000000..4620e173 --- /dev/null +++ b/plugins/openpgp/src/encryption_preferences_entry.vala @@ -0,0 +1,86 @@ +using Adw; +using Dino.Entities; +using Gtk; + +namespace Dino.Plugins.OpenPgp { + + public class PgpPreferencesEntry : Plugins.EncryptionPreferencesEntry { + + private Plugin plugin; + + public PgpPreferencesEntry(Plugin plugin) { + this.plugin = plugin; + } + + public override Object? get_widget(Account account, WidgetType type) { + if (type != WidgetType.GTK4) return null; + StringList string_list = new StringList(null); + string_list.append(_("Querying GnuPG")); + + Adw.PreferencesGroup preferences_group = new Adw.PreferencesGroup() { title="OpenPGP" }; + populate_string_list.begin(account, preferences_group); + + return preferences_group; + } + + public override string id { get { return "pgp_preferences_encryption"; }} + + private async void populate_string_list(Account account, Adw.PreferencesGroup preferences_group) { + var keys = yield get_pgp_keys(); + + if (keys == null) { + preferences_group.add(new Adw.ActionRow() { title="Announce key", subtitle="Error in GnuPG" }); + return; + } + if (keys.size == 0) { + preferences_group.add(new Adw.ActionRow() { title="Announce key", subtitle="No keys available. Generate one!" }); + return; + } + + StringList string_list = new StringList(null); +#if Adw_1_4 + var drop_down = new Adw.ComboRow() { title = "Announce key" }; + drop_down.model = string_list; + preferences_group.add(drop_down); +#else + var view = new Adw.ActionRow() { title = "Announce key" }; + var drop_down = new DropDown(string_list, null) { valign = Align.CENTER }; + view.activatable_widget = drop_down; + view.add_suffix(drop_down); + preferences_group.add(view); +#endif + + string_list.append(_("Disabled")); + for (int i = 0; i < keys.size; i++) { + string_list.append(@"$(keys[i].uids[0].uid)\n$(keys[i].fpr.substring(24, 16))"); + if (keys[i].fpr == plugin.db.get_account_key(account)) { + drop_down.selected = i + 1; + } + } + + drop_down.notify["selected"].connect(() => { + var key_id = drop_down.selected == 0 ? "" : keys[(int)drop_down.selected - 1].fpr; + if (plugin.modules.has_key(account)) { + plugin.modules[account].set_private_key_id(key_id); + } + plugin.db.set_account_key(account, key_id); + }); + } + + private static async Gee.List<GPG.Key> get_pgp_keys() { + Gee.List<GPG.Key> keys = null; + SourceFunc callback = get_pgp_keys.callback; + new Thread<void*> (null, () => { // Querying GnuPG might take some time + try { + keys = GPGHelper.get_keylist(null, true); + } catch (Error e) { + warning(e.message); + } + Idle.add((owned)callback); + return null; + }); + yield; + return keys; + } + } +}
\ No newline at end of file diff --git a/plugins/openpgp/src/plugin.vala b/plugins/openpgp/src/plugin.vala index 324b8652..463058f3 100644 --- a/plugins/openpgp/src/plugin.vala +++ b/plugins/openpgp/src/plugin.vala @@ -13,18 +13,16 @@ public class Plugin : Plugins.RootInterface, Object { public HashMap<Account, Module> modules = new HashMap<Account, Module>(Account.hash_func, Account.equals_func); private EncryptionListEntry list_entry; - private AccountSettingsEntry settings_entry; private ContactDetailsProvider contact_details_provider; public void registered(Dino.Application app) { this.app = app; this.db = new Database(Path.build_filename(Application.get_storage_dir(), "pgp.db")); this.list_entry = new EncryptionListEntry(app.stream_interactor, db); - this.settings_entry = new AccountSettingsEntry(this); this.contact_details_provider = new ContactDetailsProvider(app.stream_interactor); app.plugin_registry.register_encryption_list_entry(list_entry); - app.plugin_registry.register_account_settings_entry(settings_entry); + app.plugin_registry.register_encryption_preferences_entry(new PgpPreferencesEntry(this)); app.plugin_registry.register_contact_details_entry(contact_details_provider); app.stream_interactor.module_manager.initialize_account_modules.connect(on_initialize_account_modules); |