From a9706ec27edc0aef03f72daba28647aca1c42070 Mon Sep 17 00:00:00 2001 From: Juhani Krekelä Date: Sat, 24 Jul 2021 19:15:13 +0300 Subject: Add ability to specify additional URI handlers This commit adds a new section, open-with, to the configuration file. The options specified there will be added as "Open with …" menu items in the URI context menu. This is to make it easier to perform other actions on the URI than opening it in the system default browser; a user might for example add another browser, media player, or a script that preprocesses the URI before opening it. --- po/weltschmerz.pot | 42 +++++++++++++++++++++++++++++------------- 1 file changed, 29 insertions(+), 13 deletions(-) (limited to 'po/weltschmerz.pot') diff --git a/po/weltschmerz.pot b/po/weltschmerz.pot index fd35ae0..f1d1b1d 100644 --- a/po/weltschmerz.pot +++ b/po/weltschmerz.pot @@ -8,13 +8,13 @@ msgid "" msgstr "" "Project-Id-Version: weltschmerz\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-07-20 20:19+0300\n" +"POT-Creation-Date: 2021-07-24 19:10+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=CHARSET\n" +"Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" @@ -44,6 +44,16 @@ msgstr "" msgid "invalid cursor blink setting '%s' in %s.%s" msgstr "" +#: configreader.vala:234 +#, c-format +msgid "ignoring open-with.%s due to malformed command: %s" +msgstr "" + +#: configreader.vala:239 +#, c-format +msgid "ignoring command in open-with.%s: missing '%%'" +msgstr "" + #: terminal.ui:16 msgid "_Copy URI" msgstr "" @@ -52,47 +62,53 @@ msgstr "" msgid "Copy the URI to the clipboard" msgstr "" -#: terminal.ui:53 +#: terminal.ui:58 msgid "Copy as _HTML" msgstr "" -#: terminal.ui:56 +#: terminal.ui:61 msgid "Copy the selection as HTML" msgstr "" -#: terminal.ui:80 +#: terminal.ui:85 msgid "Open _terminal" msgstr "" -#: terminal.ui:83 +#: terminal.ui:88 msgid "Open new terminal window in the current directory" msgstr "" -#: terminal.ui:93 +#: terminal.ui:98 msgid "_Open directory" msgstr "" -#: terminal.ui:96 +#: terminal.ui:101 msgid "Open current directory in the file manager" msgstr "" -#: terminal.ui:171 +#: terminal.ui:176 msgid "Search..." msgstr "" -#: terminal.ui:190 +#: terminal.ui:195 msgid "Go to next result" msgstr "" -#: terminal.ui:206 +#: terminal.ui:211 msgid "Go to previous result" msgstr "" -#: terminal.vala:139 +#. TRANSLATORS: %s is the name of a "open with …" program set by the user in the configuration +#: terminal.vala:148 +#, c-format +msgid "Open with %s" +msgstr "" + +#: terminal.vala:157 msgid "Configuration loaded with warnings:" msgstr "" -#: terminal.vala:142 +#: terminal.vala:160 msgid "Configuration loaded successfully." msgstr "" -- cgit v1.2.3-2-gb3c3