summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS21
-rw-r--r--README.md8
-rw-r--r--RELEASE_HOWTO.md2
-rw-r--r--data/org.freedesktop.impl.portal.Settings.xml8
-rw-r--r--data/org.freedesktop.portal.InputCapture.xml12
-rw-r--r--data/org.freedesktop.portal.Settings.xml8
-rw-r--r--debian/NEWS22
-rw-r--r--debian/changelog14
-rw-r--r--debian/control1
-rw-r--r--debian/patches/debian/portal-impl-Hard-code-x-d-p-gtk-as-a-last-resort-fallback.patch47
-rw-r--r--debian/patches/open-uri-Fix-a-presumably-copy-paste-typo.patch24
-rw-r--r--debian/patches/open-uri-Pass-activation-token-to-the-FileManager1-interf.patch24
-rw-r--r--debian/patches/series4
-rw-r--r--debian/patches/settings-Fix-values-from-read-being-variants-inside-varia.patch124
-rw-r--r--debian/xdg-desktop-portal.manpages1
-rw-r--r--doc/docbook.css42
-rw-r--r--doc/meson.build47
-rw-r--r--doc/portal-docs.xml.in2
-rw-r--r--doc/portals-conf.rst86
-rw-r--r--document-portal/document-portal-fuse.c2
-rw-r--r--meson.build5
-rw-r--r--meson_options.txt4
-rw-r--r--po/be.po54
-rw-r--r--po/ca.po54
-rw-r--r--po/cs.po54
-rw-r--r--po/da.po54
-rw-r--r--po/de.po58
-rw-r--r--po/en_GB.po56
-rw-r--r--po/es.po54
-rw-r--r--po/fr.po58
-rw-r--r--po/gl.po54
-rw-r--r--po/he.po54
-rw-r--r--po/hi.po54
-rw-r--r--po/hr.po54
-rw-r--r--po/hu.po54
-rw-r--r--po/id.po54
-rw-r--r--po/it.po54
-rw-r--r--po/ka.po54
-rw-r--r--po/lt.po54
-rw-r--r--po/nl.po58
-rw-r--r--po/oc.po54
-rw-r--r--po/pl.po54
-rw-r--r--po/pt.po54
-rw-r--r--po/pt_BR.po58
-rw-r--r--po/ro.po54
-rw-r--r--po/ru.po54
-rw-r--r--po/sk.po54
-rw-r--r--po/sr.po58
-rw-r--r--po/sv.po54
-rw-r--r--po/tr.po54
-rw-r--r--po/uk.po56
-rw-r--r--po/zh_CN.po74
-rw-r--r--po/zh_TW.po54
-rw-r--r--src/location.c29
-rw-r--r--src/portal-impl.c240
-rw-r--r--src/screenshot.c8
-rw-r--r--src/wallpaper.c28
-rw-r--r--tests/meson.build2
58 files changed, 1317 insertions, 1216 deletions
diff --git a/NEWS b/NEWS
index c411161..7a2d2ea 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,24 @@
+Changes in 1.17.1
+=================
+Released: 2023-08-27
+
+- Document xdg-desktop-portal versioning scheme
+- Fix various issues in the OpenURI portal
+- Introduce the ReadOne() method in the Settings portal. This method is now
+ preferred over the Read() method, as Read() mistakenly returned a variant
+ inside a variant. The Read() method will continue to exist for compatibility
+ with existing apps, but its usage is deprecated. We recommend apps to port
+ to the ReadOne() method. Apps can decide whether to use ReadOne() or Read()
+ by looking at the version of the Settings portal.
+- Improvements to the new config-based portal matching mechanism. Config files
+ are now searched in standard paths, in a way that is compatible to other
+ system components (e.g. MIME types).
+- Various small visual tweaks to the generated documentation
+- Document a new 'accent-color' key in the Settings portal. This key represents
+ an arbitrary color in sRGB colorspace. How implementations of the portal
+ provide this key is entirely dependent on their internal policies and design.
+- Translation updates
+
Changes in 1.17.0
=================
Released: 2023-08-04
diff --git a/README.md b/README.md
index a807afe..62c7225 100644
--- a/README.md
+++ b/README.md
@@ -13,6 +13,14 @@ and others.
Documentation for the available D-Bus interfaces can be found
[here](https://flatpak.github.io/xdg-desktop-portal/portal-docs.html).
+## Version numbering
+
+xdg-desktop-portal uses even minor vesion numbers for stable versions, and odd
+minor version numbers for unstable versions. During an unstable version cycle,
+portal APIs can make backward incompatible changes, meaning that applications
+should only depend on APIs defined in stable xdg-desktop-portal versions in
+production.
+
## Building xdg-desktop-portal
xdg-desktop-portal depends on GLib and Flatpak.
diff --git a/RELEASE_HOWTO.md b/RELEASE_HOWTO.md
index cd79ebc..40c68df 100644
--- a/RELEASE_HOWTO.md
+++ b/RELEASE_HOWTO.md
@@ -14,6 +14,6 @@
- upload tarball to github as release
- edit release, copy NEWS section in
- update portal api docs in the gh-pages branch
- - bump version in configure.ac and meson.build
+ - bump version in meson.build
- git commit -m "Post-release version bump"
- git push origin main
diff --git a/data/org.freedesktop.impl.portal.Settings.xml b/data/org.freedesktop.impl.portal.Settings.xml
index 7659732..581ca22 100644
--- a/data/org.freedesktop.impl.portal.Settings.xml
+++ b/data/org.freedesktop.impl.portal.Settings.xml
@@ -43,6 +43,14 @@
Unknown values should be treated as 0 (no preference).
</para></listitem>
</varlistentry>
+ <varlistentry>
+ <term>org.freedesktop.appearance accent-color (ddd)</term>
+ <listitem><para>
+ Indicates the system's preferred accent color as a tuple of RGB values
+ in the sRGB color space, in the range [0,1].
+ Out-of-range RGB values should be treated as an unset accent color.
+ </para></listitem>
+ </varlistentry>
</variablelist>
Implementations can provide other keys; they are entirely
diff --git a/data/org.freedesktop.portal.InputCapture.xml b/data/org.freedesktop.portal.InputCapture.xml
index 7f3b3a5..2b068a9 100644
--- a/data/org.freedesktop.portal.InputCapture.xml
+++ b/data/org.freedesktop.portal.InputCapture.xml
@@ -296,18 +296,6 @@
merely enables the capturing to be triggered at some future point
(e.g. by the cursor moving across a barrier). If and when that happens,
the #org.freedesktop.portal.InputCapture::Activated signal is emitted.
-
- Supported keys in the @options vardict include:
- <variablelist>
- <varlistentry>
- <term>handle_token s</term>
- <listitem><para>
- A string that will be used as the last element of the @handle. Must be a valid
- object path element. See the #org.freedesktop.portal.Request documentation for
- more information about the @handle.
- </para></listitem>
- </varlistentry>
- </variablelist>
-->
<method name="Enable">
<arg type="o" name="session_handle" direction="in"/>
diff --git a/data/org.freedesktop.portal.Settings.xml b/data/org.freedesktop.portal.Settings.xml
index 7d16cc7..67f2ef8 100644
--- a/data/org.freedesktop.portal.Settings.xml
+++ b/data/org.freedesktop.portal.Settings.xml
@@ -43,6 +43,14 @@
Unknown values should be treated as 0 (no preference).
</para></listitem>
</varlistentry>
+ <varlistentry>
+ <term>org.freedesktop.appearance accent-color (ddd)</term>
+ <listitem><para>
+ Indicates the system's preferred accent color as a tuple of RGB values
+ in the sRGB color space, in the range [0,1].
+ Out-of-range RGB values should be treated as an unset accent color.
+ </para></listitem>
+ </varlistentry>
</variablelist>
Implementations can provide other keys; they are entirely
diff --git a/debian/NEWS b/debian/NEWS
new file mode 100644
index 0000000..2548b66
--- /dev/null
+++ b/debian/NEWS
@@ -0,0 +1,22 @@
+xdg-desktop-portal (1.17.1-1) experimental; urgency=medium
+
+ Since xdg-desktop-portal 1.17.0, portal implementation backends are
+ selected with a new mechanism documented in portals.conf(5).
+ Each desktop environment should provide a file at
+ /usr/share/xdg-desktop-portal/${DESKTOP}-portals.conf listing the
+ preferred portal implementations to be used in that desktop environment.
+
+ System administrators and users can override this via files named
+ portals.conf or ${DESKTOP}-portals.conf in /etc/xdg-desktop-portal
+ or ~/.config/xdg-desktop-portal, and users of customized or otherwise
+ unsupported desktop environments should also use this mechanism to set
+ up their preferred portals. Please see portals.conf(5) for full details.
+
+ ${DESKTOP} is the desktop environment's entry in $XDG_CURRENT_DESKTOP
+ (also seen in DesktopNames in /usr/share/{x,wayland-}sessions/*.desktop),
+ with ASCII upper case transformed to lower case. For example,
+ the budgie-desktop package sets XDG_CURRENT_DESKTOP=Budgie:GNOME,
+ so Budgie sessions will use budgie-portals.conf if provided, or fall
+ back to GNOME's gnome-portals.conf if not.
+
+ -- Simon McVittie <smcv@debian.org> Mon, 28 Aug 2023 14:50:54 +0100
diff --git a/debian/changelog b/debian/changelog
index 93861a8..cb47d6b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,17 @@
+xdg-desktop-portal (1.17.1-1) experimental; urgency=medium
+
+ * New upstream release
+ - d/patches: Drop all patches, applied in new release
+ * d/control, d/x-d-p.manpages: Build and install portals.conf(5)
+ * d/NEWS: Add a NEWS file to direct users to portals.conf(5)
+ * d/p/debian/portal-impl-Hard-code-x-d-p-gtk-as-a-last-resort-fallback.patch:
+ Add patch to fall back to x-d-p-gtk if nothing better can be found.
+ This is a temporary measure to give desktop environment maintainers
+ a chance to add a portals.conf(5) for their desktop, and should be
+ removed later.
+
+ -- Simon McVittie <smcv@debian.org> Mon, 28 Aug 2023 15:03:12 +0100
+
xdg-desktop-portal (1.17.0-1) experimental; urgency=medium
* Team upload
diff --git a/debian/control b/debian/control
index b6962f1..a01b1ae 100644
--- a/debian/control
+++ b/debian/control
@@ -24,6 +24,7 @@ Build-Depends:
procps <!nocheck>,
python3 <!nocheck>,
python3-dbusmock <!nocheck>,
+ python3-docutils <!nodoc>,
python3-gi <!nocheck>,
python3-pytest <!nocheck>,
xmlto,
diff --git a/debian/patches/debian/portal-impl-Hard-code-x-d-p-gtk-as-a-last-resort-fallback.patch b/debian/patches/debian/portal-impl-Hard-code-x-d-p-gtk-as-a-last-resort-fallback.patch
new file mode 100644
index 0000000..2a8fdc4
--- /dev/null
+++ b/debian/patches/debian/portal-impl-Hard-code-x-d-p-gtk-as-a-last-resort-fallback.patch
@@ -0,0 +1,47 @@
+From: Simon McVittie <smcv@debian.org>
+Date: Mon, 28 Aug 2023 14:47:38 +0100
+Subject: portal-impl: Hard-code x-d-p-gtk as a last-resort fallback
+
+x-d-p-gtk has historically been used in Debian as the portal
+implementation of last resort. Until we can get all desktop environments
+to ship a suitable portals.conf(5), continue to fall back to it.
+
+Forwarded: not-needed, Debian-specific
+Signed-off-by: Simon McVittie <smcv@debian.org>
+---
+ src/portal-impl.c | 13 +++++++++----
+ 1 file changed, 9 insertions(+), 4 deletions(-)
+
+diff --git a/src/portal-impl.c b/src/portal-impl.c
+index 0fa9682..b67522a 100644
+--- a/src/portal-impl.c
++++ b/src/portal-impl.c
+@@ -587,19 +587,24 @@ find_portal_implementation (const char *interface)
+ }
+ }
+
+-#if 0
+- /* Fall back to *any* installed implementation */
+ for (l = implementations; l != NULL; l = l->next)
+ {
+ PortalImplementation *impl = l->data;
+
++ if (!g_str_equal (impl->dbus_name, "org.freedesktop.impl.portal.desktop.gtk"))
++ continue;
++
+ if (!g_strv_contains ((const char **)impl->interfaces, interface))
+ continue;
+
+- g_debug ("Falling back to %s.portal for %s", impl->source, interface);
++ g_warning ("Choosing %s.portal for %s via temporary hard-coded fallback",
++ impl->source, interface);
++ g_warning_once ("The preferred method to match portal implementations "
++ "to desktop environments is to use the portals.conf(5) "
++ "configuration file");
++
+ return impl;
+ }
+-#endif
+
+ return NULL;
+ }
diff --git a/debian/patches/open-uri-Fix-a-presumably-copy-paste-typo.patch b/debian/patches/open-uri-Fix-a-presumably-copy-paste-typo.patch
deleted file mode 100644
index 8a3d715..0000000
--- a/debian/patches/open-uri-Fix-a-presumably-copy-paste-typo.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From: Ilya Fedin <fedin-ilja2010@ya.ru>
-Date: Mon, 7 Aug 2023 12:52:32 +0400
-Subject: open-uri: Fix a (presumably) copy-paste typo
-
-(cherry picked from commit 4434b20487e734b3b42ed0b1d1035a323a37c945)
-
-Origin: future 1.17.1
----
- src/open-uri.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/open-uri.c b/src/open-uri.c
-index 9cddc6e..880399c 100644
---- a/src/open-uri.c
-+++ b/src/open-uri.c
-@@ -1074,7 +1074,7 @@ handle_open_directory (XdpDbusOpenURI *object,
- g_object_set_data_full (G_OBJECT (request), "activation-token", g_strdup (activation_token), g_free);
-
- request_export (request, g_dbus_method_invocation_get_connection (invocation));
-- xdp_dbus_open_uri_complete_open_file (object, invocation, NULL, request->id);
-+ xdp_dbus_open_uri_complete_open_directory (object, invocation, NULL, request->id);
-
- task = g_task_new (object, NULL, NULL, NULL);
- g_task_set_task_data (task, g_object_ref (request), g_object_unref);
diff --git a/debian/patches/open-uri-Pass-activation-token-to-the-FileManager1-interf.patch b/debian/patches/open-uri-Pass-activation-token-to-the-FileManager1-interf.patch
deleted file mode 100644
index e937214..0000000
--- a/debian/patches/open-uri-Pass-activation-token-to-the-FileManager1-interf.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From: Ilya Fedin <fedin-ilja2010@ya.ru>
-Date: Mon, 7 Aug 2023 12:50:54 +0400
-Subject: open-uri: Pass activation token to the FileManager1 interface
-
-(cherry picked from commit 69e2faef94f12734706c942ae99248a122fe2f49)
-
-Origin: future 1.17.1
----
- src/open-uri.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/open-uri.c b/src/open-uri.c
-index ef9cf49..9cddc6e 100644
---- a/src/open-uri.c
-+++ b/src/open-uri.c
-@@ -741,7 +741,7 @@ handle_open_in_thread_func (GTask *task,
- FILE_MANAGER_DBUS_PATH,
- FILE_MANAGER_DBUS_IFACE,
- FILE_MANAGER_SHOW_ITEMS,
-- g_variant_new ("(ass)", uris_builder, ""),
-+ g_variant_new ("(ass)", uris_builder, activation_token),
- NULL, /* ignore returned type */
- G_DBUS_CALL_FLAGS_NONE,
- -1,
diff --git a/debian/patches/series b/debian/patches/series
index 86a017b..5c75f38 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1 @@
-open-uri-Pass-activation-token-to-the-FileManager1-interf.patch
-open-uri-Fix-a-presumably-copy-paste-typo.patch
-settings-Fix-values-from-read-being-variants-inside-varia.patch
+debian/portal-impl-Hard-code-x-d-p-gtk-as-a-last-resort-fallback.patch
diff --git a/debian/patches/settings-Fix-values-from-read-being-variants-inside-varia.patch b/debian/patches/settings-Fix-values-from-read-being-variants-inside-varia.patch
deleted file mode 100644
index 6bd44eb..0000000
--- a/debian/patches/settings-Fix-values-from-read-being-variants-inside-varia.patch
+++ /dev/null
@@ -1,124 +0,0 @@
-From: Robert Ancell <robert.ancell@canonical.com>
-Date: Thu, 1 Sep 2022 14:42:02 +1200
-Subject: settings: Fix values from read being variants inside variants.
-
-The backend returns a variant, and this was mistakenly being put inside another
-variant when returned to the original caller. Add a new ReadOne method that
-doesn't have this issue.
-
-Fixes https://github.com/flatpak/xdg-desktop-portal/issues/789
-
-(cherry picked from commit c28dbdd990d7abd25a22128c96c6a3c521d2abe0)
-
-Origin: future 1.17.1
----
- data/org.freedesktop.portal.Settings.xml | 23 ++++++++++++++++++-
- src/settings.c | 39 +++++++++++++++++++++++++++++++-
- 2 files changed, 60 insertions(+), 2 deletions(-)
-
-diff --git a/data/org.freedesktop.portal.Settings.xml b/data/org.freedesktop.portal.Settings.xml
-index 669997a..7d16cc7 100644
---- a/data/org.freedesktop.portal.Settings.xml
-+++ b/data/org.freedesktop.portal.Settings.xml
-@@ -49,7 +49,7 @@
- implementation details that are undocumented. If you are a
- toolkit and want to use this please open an issue.
-
-- This documentation describes version 1 of this interface.
-+ This documentation describes version 2 of this interface.
- -->
- <interface name="org.freedesktop.portal.Settings">
-
-@@ -73,8 +73,29 @@
- @value: The value @key is set to.
-
- Reads a single value. Returns an error on any unknown namespace or key.
-+
-+ Deprecated, use ReadOne instead. The value argument was intended to have
-+ the value inside one layer of variant as it is in ReadOne, for example
-+ `&lt;string "hello"&gt;` in GVariant text notation; but it is actually
-+ returned inside two layers of variant, for example
-+ `&lt;&lt;string "hello"&gt;&gt;`.
- -->
- <method name='Read'>
-+ <annotation name="org.freedesktop.DBus.Deprecated" value="true"/>
-+ <arg name='namespace' type='s'/>
-+ <arg name='key' type='s'/>
-+ <arg name='value' direction='out' type='v'/>
-+ </method>
-+
-+ <!--
-+ ReadOne:
-+ @namespace: Namespace to look up @key in.
-+ @key: The key to get.
-+ @value: The value @key is set to.
-+
-+ Reads a single value which may be any valid DBus type. Returns an error on any unknown namespace or key.
-+ -->
-+ <method name='ReadOne'>
- <arg name='namespace' type='s'/>
- <arg name='key' type='s'/>
- <arg name='value' direction='out' type='v'/>
-diff --git a/src/settings.c b/src/settings.c
-index 4a60cdd..4890c03 100644
---- a/src/settings.c
-+++ b/src/settings.c
-@@ -129,6 +129,42 @@ settings_handle_read (XdpDbusSettings *object,
- return G_DBUS_METHOD_INVOCATION_HANDLED;
- }
-
-+static gboolean
-+settings_handle_read_one (XdpDbusSettings *object,
-+ GDBusMethodInvocation *invocation,
-+ const char *arg_namespace,
-+ const char *arg_key)
-+{
-+ int i;
-+
-+ g_debug ("ReadOne %s %s", arg_namespace, arg_key);
-+
-+ for (i = 0; i < n_impls; i++)
-+ {
-+ g_autoptr(GError) error = NULL;
-+ g_autoptr(GVariant) impl_value = NULL;
-+
-+ if (!xdp_dbus_impl_settings_call_read_sync (impls[i], arg_namespace,
-+ arg_key, &impl_value, NULL, &error))
-+ {
-+ /* A key not being found is expected, continue to our implementation */
-+ g_debug ("Failed to Read() from Settings implementation: %s", error->message);
-+ }
-+ else
-+ {
-+ g_dbus_method_invocation_return_value (invocation, g_variant_new_tuple (&impl_value, 1));
-+ return G_DBUS_METHOD_INVOCATION_HANDLED;
-+ }
-+ }
-+
-+ g_debug ("Attempted to read unknown namespace/key pair: %s %s", arg_namespace, arg_key);
-+ g_dbus_method_invocation_return_error_literal (invocation, XDG_DESKTOP_PORTAL_ERROR,
-+ XDG_DESKTOP_PORTAL_ERROR_NOT_FOUND,
-+ _("Requested setting not found"));
-+
-+ return G_DBUS_METHOD_INVOCATION_HANDLED;
-+}
-+
- static void
- on_impl_settings_changed (XdpDbusImplSettings *impl,
- const char *arg_namespace,
-@@ -145,13 +181,14 @@ static void
- settings_iface_init (XdpDbusSettingsIface *iface)
- {
- iface->handle_read = settings_handle_read;
-+ iface->handle_read_one = settings_handle_read_one;
- iface->handle_read_all = settings_handle_read_all;
- }
-
- static void
- settings_init (Settings *settings)
- {
-- xdp_dbus_settings_set_version (XDP_DBUS_SETTINGS (settings), 1);
-+ xdp_dbus_settings_set_version (XDP_DBUS_SETTINGS (settings), 2);
- }
-
- static void
diff --git a/debian/xdg-desktop-portal.manpages b/debian/xdg-desktop-portal.manpages
new file mode 100644
index 0000000..ad8f70a
--- /dev/null
+++ b/debian/xdg-desktop-portal.manpages
@@ -0,0 +1 @@
+usr/share/man/man5/portals.conf.5
diff --git a/doc/docbook.css b/doc/docbook.css
index ddb9391..a2ac431 100644
--- a/doc/docbook.css
+++ b/doc/docbook.css
@@ -4,6 +4,9 @@ body {
margin: auto;
overflow-wrap: break-word;
}
+html {
+ background-color: #fafafa;
+}
h1.title {
}
.permission {
@@ -13,20 +16,25 @@ h1.title {
.synopsis,
.classsynopsis {
background: #eeeeee;
- border: solid 1px #aaaaaa;
- padding: 0.5em;
}
.programlisting {
background: #eeeeff;
- border: solid 1px #aaaaff;
- padding: 0.5em;
- overflow: scroll;
}
-.variablelist {
+.synopsis,
+.classsynopsis,
+.programlisting {
+ padding: 1em;
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03),
+ 0 1px 3px 1px rgba(0, 0, 0, .07),
+ 0 2px 6px 2px rgba(0, 0, 0, .03);
+ overflow: auto;
+ border-radius: 12px;
+}
+div.variablelist {
padding: 4px;
margin-left: 1em;
}
-.variablelist td:first-child {
+dl.variablelist td:first-child {
vertical-align: top;
}
td.shortcuts {
@@ -70,8 +78,8 @@ div.table table th {
@media (prefers-color-scheme: dark) {
html {
- background-color: #222222;
- color: #dddddd;
+ background-color: #242424;
+ color: white;
}
a {
@@ -83,13 +91,15 @@ div.table table th {
}
.synopsis,
- .classsynopsis {
- background: #161616;
- border: solid 1px #aaaaaa;
- overflow: scroll;
- }
+ .classsynopsis,
.programlisting {
- background: #161616;
- border: solid 1px #aaaaff;
+ background: rgba(255, 255, 255, .08);
}
}
+
+@media only screen and (max-width: 900px) {
+ .book {
+ margin: 1rem;
+ font-size: 90%
+ }
+}
diff --git a/doc/meson.build b/doc/meson.build
index 23ba8ec..099f537 100644
--- a/doc/meson.build
+++ b/doc/meson.build
@@ -36,31 +36,30 @@ if build_docbook
install_dir: docs_dir,
)
endforeach
+endif
- rst2man = find_program('rst2man', 'rst2man.py', required: false)
- if rst2man.found()
- rst2man_flags = [
- '--syntax-highlight=none',
- ]
-
- man_pages = [
- { 'input': 'portals-conf.rst', 'output': 'portals.conf', 'section': '5' },
- ]
+if rst2man.found()
+ rst2man_flags = [
+ '--syntax-highlight=none',
+ ]
+
+ man_pages = [
+ { 'input': 'portals-conf.rst', 'output': 'portals.conf', 'section': '5' },
+ ]
- foreach man_page: man_pages
- man_input = man_page.get('input')
- man_output = man_page.get('output', man_input)
- man_section = man_page.get('section', '1')
- man_full = '@0@.@1@'.format(man_output, man_section)
+ foreach man_page: man_pages
+ man_input = man_page.get('input')
+ man_output = man_page.get('output', man_input)
+ man_section = man_page.get('section', '1')
+ man_full = '@0@.@1@'.format(man_output, man_section)
- custom_target('man-' + man_output,
- input: man_input,
- output: man_full,
- command: [ rst2man, rst2man_flags, '@INPUT@' ],
- capture: true,
- install: true,
- install_dir: get_option('mandir') / 'man@0@'.format(man_section),
- )
- endforeach
- endif
+ custom_target('man-' + man_output,
+ input: man_input,
+ output: man_full,
+ command: [ rst2man, rst2man_flags, '@INPUT@' ],
+ capture: true,
+ install: true,
+ install_dir: get_option('mandir') / 'man@0@'.format(man_section),
+ )
+ endforeach
endif
diff --git a/doc/portal-docs.xml.in b/doc/portal-docs.xml.in
index c32a8e0..f83ac2f 100644
--- a/doc/portal-docs.xml.in
+++ b/doc/portal-docs.xml.in
@@ -134,7 +134,7 @@
(or processes), and are not accessible to sandboxed applications.
</para>
<para>
- The separation or the portal infrastructure into frontend and backend
+ The separation of the portal infrastructure into frontend and backend
is a clean way to provide suitable user interfaces that fit into
different desktop environments, while sharing the portal frontend.
</para>
diff --git a/doc/portals-conf.rst b/doc/portals-conf.rst
index c3ad8ee..ddb0875 100644
--- a/doc/portals-conf.rst
+++ b/doc/portals-conf.rst
@@ -13,17 +13,57 @@ DESCRIPTION
xdg-desktop-portal uses a configuration file to determine which portal backend
should be used to provide the implementation for the requested interface.
-
-The configuration file can be found in the following locations:
-
-- ``/etc/xdg-desktop-portal/portals.conf``, for site-wide configuration
-
-- ``$XDG_CONFIG_HOME/xdg-desktop-portal/portals.conf``, for user-specific
- configuration
-
-Additionally, every desktop environment can provide a portal configuration file
-named ``DESKTOP-portals.conf``, where ``DESKTOP`` is the lowercase name also
-used in the ``XDG_CURRENT_DESKTOP`` environment variable.
+This mechanism is very similar to the freedesktop.org specification for
+"Association between MIME types and applications" (mime-apps).
+
+Desktop environments and OS vendors should provide a default configuration
+for their chosen portal backends in
+``/usr/share/xdg-desktop-portal/DESKTOP-portals.conf``, where ``DESKTOP``
+is the desktop environment name as it would appear in the
+``XDG_CURRENT_DESKTOP`` environment variable, after case-folding ASCII
+upper case to lower case.
+For example, KDE should provide ``/usr/share/xdg-desktop-portal/kde-portals.conf``.
+
+Users can override those defaults, or provide configuration for an otherwise
+unsupported desktop environment, by writing a file
+``~/.config/xdg-desktop-portal/portals.conf``. Users of more than one
+desktop environment can use desktop-specific filenames such as
+``kde-portals.conf`` which will only be used in the appropriate desktop
+environment.
+
+Similarly, system administrators can provide a default configuration for
+all users in ``/etc/xdg-desktop-portal/DESKTOP-portals.conf`` or
+``/etc/xdg-desktop-portal/portals.conf``.
+
+The following locations are searched for configuration, highest precedence
+first:
+
+- ``$XDG_CONFIG_HOME``, defaulting to ``~/.config``
+- each directory in ``$XDG_CONFIG_DIRS``, defaulting to ``/etc/xdg``
+- the build-time ``sysconfdir`` for xdg-desktop-portal, usually ``/etc``
+- ``$XDG_DATA_HOME``, defaulting to ``~/.local/share``
+ (searched only for consistency with other specifications, writing
+ configuration here is not recommended)
+- each directory in ``$XDG_DATA_DIRS``, defaulting to ``/usr/local/share:/usr/share``
+- the build-time ``datadir`` for xdg-desktop-portal, usually ``/usr/share``
+
+In each of those locations, for each desktop environment name listed in the
+``XDG_CURRENT_DESKTOP`` environment variable, xdg-desktop-portal checks for
+``xdg-desktop-portal/DESKTOP-portals.conf``, where ``DESKTOP`` is the
+desktop environment name in lower-case. If a desktop-environment-specific
+configuration file is not found, a non-desktop-specific file
+``xdg-desktop-portal/portals.conf`` will be read.
+For example, if ``XDG_CURRENT_DESKTOP`` is set to ``Budgie:GNOME``,
+then xdg-desktop-portal will look for
+``xdg-desktop-portal/budgie-portals.conf``,
+``xdg-desktop-portal/gnome-portals.conf`` and
+``xdg-desktop-portal/portals.conf`` in that order.
+
+Only the first configuration file found is read, and lower-precedence
+configuration files are ignored. All possible configuration files within
+one directory are tried before moving on to the next directory, so for
+example ``~/.config/xdg-desktop-portal/portals.conf`` is higher-precedence
+than ``/usr/share/xdg-desktop-portal/kde-portals.conf``.
FILE FORMAT
-----------
@@ -75,13 +115,35 @@ EXAMPLE
ENVIRONMENT
-----------
+``XDG_CURRENT_DESKTOP``
+
+ A colon-separated list of desktop environments, most specific first,
+ used to choose a desktop-specific portal configuration.
+ The default is an empty list.
+
``XDG_CONFIG_HOME``
The per-user ``portals.conf`` file is located in this directory. The default
- is ``$HOME/.config``
+ is ``$HOME/.config``.
+
+``XDG_CONFIG_DIRS``
+
+ A colon-separated list of system configuration directories and secondary
+ per-user configuration directories. The default is ``/etc/xdg``.
+
+``XDG_DATA_HOME``
+
+ A per-user data directory, searched for consistency with other
+ specifications. The default is ``$HOME/.local/share``.
+
+``XDG_DATA_DIRS``
+ A colon-separated list of system data directories and secondary per-user
+ data directories. The default is ``/usr/local/share:/usr/share``.
SEE ALSO
--------
+- `XDG Base Directory Specification <https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html>`_
- `XDG Desktop Entry specification <https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html>`_
+- `XDG Association between MIME type and applications specification <https://specifications.freedesktop.org/mime-apps-spec/mime-apps-spec-latest.html>`_
diff --git a/document-portal/document-portal-fuse.c b/document-portal/document-portal-fuse.c
index 6209592..0984b7e 100644
--- a/document-portal/document-portal-fuse.c
+++ b/document-portal/document-portal-fuse.c
@@ -2065,7 +2065,7 @@ forget_one (fuse_ino_t ino,
static void
xdp_fuse_forget (fuse_req_t req,
fuse_ino_t ino,
- unsigned long nlookup)
+ uint64_t nlookup)
{
forget_one (ino, nlookup);
fuse_reply_none (req);
diff --git a/meson.build b/meson.build
index b25f9ef..8d8bd53 100644
--- a/meson.build
+++ b/meson.build
@@ -1,7 +1,7 @@
project(
'xdg-desktop-portal',
'c',
- version: '1.17.0',
+ version: '1.17.1',
meson_version: '>= 0.56.2',
license: 'LGPL-2.0-or-later',
default_options: ['warning_level=2'])
@@ -145,6 +145,8 @@ if xmlto.found()
endif
endif
+rst2man = find_program('rst2man', 'rst2man.py', required: get_option('man-pages'))
+
enable_installed_tests = get_option('installed-tests')
###### systemd units, dbus service files, pkgconfig
@@ -187,6 +189,7 @@ summary({
'Enable libportal support': have_libportal,
'Enable installed tests:': enable_installed_tests,
'Enable python test suite': enable_pytest,
+ 'Build man pages': rst2man.found(),
},
section: 'Optional builds',
bool_yn: true,
diff --git a/meson_options.txt b/meson_options.txt
index fccada3..edcbcd8 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -42,3 +42,7 @@ option('pytest',
type: 'feature',
value: 'auto',
description: 'Enable the pytest-based test suite')
+option('man-pages',
+ type: 'feature',
+ value: 'auto',
+ description: 'Build man pages (requires rst2man)')
diff --git a/po/be.po b/po/be.po
index 41855d1..eba4aa8 100644
--- a/po/be.po
+++ b/po/be.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal main\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-08-04 16:59-0300\n"
+"POT-Creation-Date: 2023-08-27 13:08-0300\n"
"PO-Revision-Date: 2023-01-04 01:42+0300\n"
"Last-Translator: Yuras Shumovich <shumovichy@gmail.com>\n"
"Language-Team: Belarusian <i18n-bel-gnome@googlegroups.com>\n"
@@ -112,15 +112,7 @@ msgstr "Забараніць доступ"
msgid "Grant Access"
msgstr "Дазволіць доступ"
-#: src/location.c:534
-msgid "Grant Access to Your Location?"
-msgstr "Дазволіць доступ да вашага месцазнаходжання?"
-
-#: src/location.c:535
-msgid "An application wants to use your location."
-msgstr "Праграма хоча атрымаць доступ да месцазнаходжання."
-
-#: src/location.c:547
+#: src/location.c:546
#, c-format
msgid "Give %s Access to Your Location?"
msgstr "Даць %s доступ да вашага месцазнаходжання?"
@@ -130,7 +122,15 @@ msgstr "Даць %s доступ да вашага месцазнаходжан
msgid "%s wants to use your location."
msgstr "%s хоча атрымаць доступ да месцазнаходжання."
-#: src/location.c:554
+#: src/location.c:559
+msgid "Grant Access to Your Location?"
+msgstr "Дазволіць доступ да вашага месцазнаходжання?"
+
+#: src/location.c:560
+msgid "An application wants to use your location."
+msgstr "Праграма хоча атрымаць доступ да месцазнаходжання."
+
+#: src/location.c:563
msgid "Location access can be changed at any time from the privacy settings."
msgstr ""
"Доступ да месцазнаходжанне заўсёды можна змяніць праз налады прыватнасці."
@@ -139,47 +139,47 @@ msgstr ""
msgid "Deny"
msgstr "Забараніць"
-#: src/screenshot.c:252
+#: src/screenshot.c:256
#, c-format
msgid "Allow %s to Take Screenshots?"
msgstr "Дазволіць %s рабіць здымкі экрана?"
-#: src/screenshot.c:253
+#: src/screenshot.c:257
#, c-format
msgid "%s wants to be able to take screenshots at any time."
msgstr "%s хоча атрымаць доступ у любы час рабіць здымкі экрана."
-#: src/screenshot.c:261
+#: src/screenshot.c:265
msgid "Allow Applications to Take Screenshots?"
msgstr "Дазволіць праграмам рабіць здымкі экрана?"
-#: src/screenshot.c:262
+#: src/screenshot.c:266
msgid "An application wants to be able to take screenshots at any time."
msgstr "Праграма хоча атрымаць доступ у любы час рабіць здымкі экрана."
-#: src/screenshot.c:265 src/wallpaper.c:209
+#: src/screenshot.c:269 src/wallpaper.c:213
msgid "This permission can be changed at any time from the privacy settings."
msgstr ""
"Доступ да месцазнаходжанне заўсёды можна змяніць праз налады прыватнасці."
-#: src/settings.c:127
+#: src/settings.c:127 src/settings.c:163
msgid "Requested setting not found"
msgstr "Запытаная налада не знойдзена"
-#: src/wallpaper.c:192
-msgid "Allow Applications to Set Backgrounds?"
-msgstr "Дазволіць праграмам змяняць фон?"
-
-#: src/wallpaper.c:193
-msgid "An application is requesting to be able to change the background image."
-msgstr "Праграма запытвае доступ на змяненне фонавай выявы."
-
-#: src/wallpaper.c:205
+#: src/wallpaper.c:200
#, c-format
msgid "Allow %s to Set Backgrounds?"
msgstr "Дазволіць %s змяняць фон?"
-#: src/wallpaper.c:206
+#: src/wallpaper.c:201
#, c-format
msgid "%s is requesting to be able to change the background image."
msgstr "%s хоча атрымаць доступ на змяненне фонавай выявы."
+
+#: src/wallpaper.c:209
+msgid "Allow Applications to Set Backgrounds?"
+msgstr "Дазволіць праграмам змяняць фон?"
+
+#: src/wallpaper.c:210
+msgid "An application is requesting to be able to change the background image."
+msgstr "Праграма запытвае доступ на змяненне фонавай выявы."
diff --git a/po/ca.po b/po/ca.po
index 7839432..5db1262 100644
--- a/po/ca.po
+++ b/po/ca.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-08-04 16:59-0300\n"
+"POT-Creation-Date: 2023-08-27 13:08-0300\n"
"PO-Revision-Date: 2021-11-10 19:00+0100\n"
"Last-Translator: Jordi Mas i Hernàndez <jmas@softcatala.org>\n"
"Language-Team: Catalan <gnome@llistes.softcatala.org>\n"
@@ -119,15 +119,7 @@ msgstr "Denega l'accés"
msgid "Grant Access"
msgstr "Permet l'accés"
-#: src/location.c:534
-msgid "Grant Access to Your Location?"
-msgstr "Permeteu l'accés a la vostra ubicació?"
-
-#: src/location.c:535
-msgid "An application wants to use your location."
-msgstr "Una aplicació vol utilitzar la teva ubicació."
-
-#: src/location.c:547
+#: src/location.c:546
#, c-format
msgid "Give %s Access to Your Location?"
msgstr "Permeteu que %s tingui accés a la vostra ubicació?"
@@ -137,7 +129,15 @@ msgstr "Permeteu que %s tingui accés a la vostra ubicació?"
msgid "%s wants to use your location."
msgstr "%s vol saber la teva ubicació."
-#: src/location.c:554
+#: src/location.c:559
+msgid "Grant Access to Your Location?"
+msgstr "Permeteu l'accés a la vostra ubicació?"
+
+#: src/location.c:560
+msgid "An application wants to use your location."
+msgstr "Una aplicació vol utilitzar la teva ubicació."
+
+#: src/location.c:563
msgid "Location access can be changed at any time from the privacy settings."
msgstr ""
"Podeu canviar la configuració de l'accés a la ubicació sempre que vulgueu "
@@ -147,48 +147,48 @@ msgstr ""
msgid "Deny"
msgstr "Denega"
-#: src/screenshot.c:252
+#: src/screenshot.c:256
#, c-format
msgid "Allow %s to Take Screenshots?"
msgstr "Voleu permetre que %s faci captures de pantalla?"
-#: src/screenshot.c:253
+#: src/screenshot.c:257
#, c-format
msgid "%s wants to be able to take screenshots at any time."
msgstr "%s vol poder fer captures de pantalla en qualsevol moment."
-#: src/screenshot.c:261
+#: src/screenshot.c:265
msgid "Allow Applications to Take Screenshots?"
msgstr "Voleu permetre que les aplicacions facin captures de pantalla?"
-#: src/screenshot.c:262
+#: src/screenshot.c:266
msgid "An application wants to be able to take screenshots at any time."
msgstr "Una aplicació vol poder fer captures de pantalla en qualsevol moment."
-#: src/screenshot.c:265 src/wallpaper.c:209
+#: src/screenshot.c:269 src/wallpaper.c:213
msgid "This permission can be changed at any time from the privacy settings."
msgstr ""
"Aquest permís es pot canviar en qualsevol moment des de la configuració de "
"la privacitat."
-#: src/settings.c:127
+#: src/settings.c:127 src/settings.c:163
msgid "Requested setting not found"
msgstr "No s'ha trobat la configuració sol·licitada"
-#: src/wallpaper.c:192
-msgid "Allow Applications to Set Backgrounds?"
-msgstr "Voleu permetre que les aplicacions estableixin el fons?"
-
-#: src/wallpaper.c:193
-msgid "An application is requesting to be able to change the background image."
-msgstr "Una aplicació sol·licita poder canviar la imatge de fons."
-
-#: src/wallpaper.c:205
+#: src/wallpaper.c:200
#, c-format
msgid "Allow %s to Set Backgrounds?"
msgstr "Voleu permetre que %s defineixi els fons?"
-#: src/wallpaper.c:206
+#: src/wallpaper.c:201
#, c-format
msgid "%s is requesting to be able to change the background image."
msgstr "%s demana poder canviar la imatge de fons."
+
+#: src/wallpaper.c:209
+msgid "Allow Applications to Set Backgrounds?"
+msgstr "Voleu permetre que les aplicacions estableixin el fons?"
+
+#: src/wallpaper.c:210
+msgid "An application is requesting to be able to change the background image."
+msgstr "Una aplicació sol·licita poder canviar la imatge de fons."
diff --git a/po/cs.po b/po/cs.po
index 314d973..8067214 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-08-04 16:59-0300\n"
+"POT-Creation-Date: 2023-08-27 13:08-0300\n"
"PO-Revision-Date: 2022-09-20 23:38+0200\n"
"Last-Translator: Daniel Rusek <mail@asciiwolf.com>\n"
"Language-Team: Czech <gnome-cs-list@gnome.org>\n"
@@ -115,15 +115,7 @@ msgstr "Zamítnout přístup"
msgid "Grant Access"
msgstr "Schválit přístup"
-#: src/location.c:534
-msgid "Grant Access to Your Location?"
-msgstr "Schválit přístup k vaší poloze?"
-
-#: src/location.c:535
-msgid "An application wants to use your location."
-msgstr "Nějaká aplikace chce použít vaši polohu."
-
-#: src/location.c:547
+#: src/location.c:546
#, c-format
msgid "Give %s Access to Your Location?"
msgstr "Schválit pro %s přístup k vaší poloze?"
@@ -133,7 +125,15 @@ msgstr "Schválit pro %s přístup k vaší poloze?"
msgid "%s wants to use your location."
msgstr "Aplikace %s chce použít vaši polohu."
-#: src/location.c:554
+#: src/location.c:559
+msgid "Grant Access to Your Location?"
+msgstr "Schválit přístup k vaší poloze?"
+
+#: src/location.c:560
+msgid "An application wants to use your location."
+msgstr "Nějaká aplikace chce použít vaši polohu."
+
+#: src/location.c:563
msgid "Location access can be changed at any time from the privacy settings."
msgstr ""
"Přístup ke službám pro určování polohy můžete kdykoliv změnit v nastavení "
@@ -143,46 +143,46 @@ msgstr ""
msgid "Deny"
msgstr "Zamítnout"
-#: src/screenshot.c:252
+#: src/screenshot.c:256
#, c-format
msgid "Allow %s to Take Screenshots?"
msgstr "Povolit aplikaci %s pořizovat snímky obrazovky?"
-#: src/screenshot.c:253
+#: src/screenshot.c:257
#, c-format
msgid "%s wants to be able to take screenshots at any time."
msgstr "Aplikace %s chce mít možnost kdykoliv pořizovat snímky obrazovky."
-#: src/screenshot.c:261
+#: src/screenshot.c:265
msgid "Allow Applications to Take Screenshots?"
msgstr "Povolit aplikacím pořizovat snímky obrazovky?"
-#: src/screenshot.c:262
+#: src/screenshot.c:266
msgid "An application wants to be able to take screenshots at any time."
msgstr "Nějaká aplikace chce mít možnost kdykoliv pořizovat snímky obrazovky."
-#: src/screenshot.c:265 src/wallpaper.c:209
+#: src/screenshot.c:269 src/wallpaper.c:213
msgid "This permission can be changed at any time from the privacy settings."
msgstr "Toto oprávnění můžete kdykoliv změnit v nastavení soukromí."
-#: src/settings.c:127
+#: src/settings.c:127 src/settings.c:163
msgid "Requested setting not found"
msgstr "Požadované nastavení nebylo nalezeno"
-#: src/wallpaper.c:192
-msgid "Allow Applications to Set Backgrounds?"
-msgstr "Povolit aplikacím možnost nastavit pozadí?"
-
-#: src/wallpaper.c:193
-msgid "An application is requesting to be able to change the background image."
-msgstr "Aplikace požaduje mít možnost změnit obrázek na pozadí."
-
-#: src/wallpaper.c:205
+#: src/wallpaper.c:200
#, c-format
msgid "Allow %s to Set Backgrounds?"
msgstr "Povolit aplikaci %s možnost nastavit pozadí?"
-#: src/wallpaper.c:206
+#: src/wallpaper.c:201
#, c-format
msgid "%s is requesting to be able to change the background image."
msgstr "Aplikace %s požaduje mít možnost změnit obrázek na pozadí."
+
+#: src/wallpaper.c:209
+msgid "Allow Applications to Set Backgrounds?"
+msgstr "Povolit aplikacím možnost nastavit pozadí?"
+
+#: src/wallpaper.c:210
+msgid "An application is requesting to be able to change the background image."
+msgstr "Aplikace požaduje mít možnost změnit obrázek na pozadí."
diff --git a/po/da.po b/po/da.po
index 8b5e8e6..d707cca 100644
--- a/po/da.po
+++ b/po/da.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-08-04 16:59-0300\n"
+"POT-Creation-Date: 2023-08-27 13:08-0300\n"
"PO-Revision-Date: 2020-10-12 01:25+0200\n"
"Last-Translator: scootergrisen\n"
"Language-Team: Danish\n"
@@ -114,15 +114,7 @@ msgstr "Nægt adgang"
msgid "Grant Access"
msgstr "Giv adgang"
-#: src/location.c:534
-msgid "Grant Access to Your Location?"
-msgstr "Giv adgang til din placering?"
-
-#: src/location.c:535
-msgid "An application wants to use your location."
-msgstr "Et program anmoder om at bruge din placering."
-
-#: src/location.c:547
+#: src/location.c:546
#, c-format
msgid "Give %s Access to Your Location?"
msgstr "Giv %s adgang til din placering?"
@@ -132,7 +124,15 @@ msgstr "Giv %s adgang til din placering?"
msgid "%s wants to use your location."
msgstr "%s anmoder om at bruge din placering."
-#: src/location.c:554
+#: src/location.c:559
+msgid "Grant Access to Your Location?"
+msgstr "Giv adgang til din placering?"
+
+#: src/location.c:560
+msgid "An application wants to use your location."
+msgstr "Et program anmoder om at bruge din placering."
+
+#: src/location.c:563
msgid "Location access can be changed at any time from the privacy settings."
msgstr ""
"Adgang til din placering kan når som helst ændres i "
@@ -142,48 +142,48 @@ msgstr ""
msgid "Deny"
msgstr "Nægt"
-#: src/screenshot.c:252
+#: src/screenshot.c:256
#, fuzzy, c-format
msgid "Allow %s to Take Screenshots?"
msgstr "Tillad %s at indstille baggrunde?"
-#: src/screenshot.c:253
+#: src/screenshot.c:257
#, c-format
msgid "%s wants to be able to take screenshots at any time."
msgstr ""
-#: src/screenshot.c:261
+#: src/screenshot.c:265
#, fuzzy
msgid "Allow Applications to Take Screenshots?"
msgstr "Tillad programmer at indstille baggrunde?"
-#: src/screenshot.c:262
+#: src/screenshot.c:266
#, fuzzy
msgid "An application wants to be able to take screenshots at any time."
msgstr "Et program anmoder om at bruge din mikrofon."
-#: src/screenshot.c:265 src/wallpaper.c:209
+#: src/screenshot.c:269 src/wallpaper.c:213
msgid "This permission can be changed at any time from the privacy settings."
msgstr "Tilladelsen kan når som helst ændres i privatlivsindstillingerne."
-#: src/settings.c:127
+#: src/settings.c:127 src/settings.c:163
msgid "Requested setting not found"
msgstr "Den anmodede indstilling blev ikke fundet"
-#: src/wallpaper.c:192
-msgid "Allow Applications to Set Backgrounds?"
-msgstr "Tillad programmer at indstille baggrunde?"
-
-#: src/wallpaper.c:193
-msgid "An application is requesting to be able to change the background image."
-msgstr "Et program anmoder om at være i stand til at ændre baggrundsbilledet."
-
-#: src/wallpaper.c:205
+#: src/wallpaper.c:200
#, c-format
msgid "Allow %s to Set Backgrounds?"
msgstr "Tillad %s at indstille baggrunde?"
-#: src/wallpaper.c:206
+#: src/wallpaper.c:201
#, c-format
msgid "%s is requesting to be able to change the background image."
msgstr "%s anmoder om at være i stand til at ændre baggrundsbilledet."
+
+#: src/wallpaper.c:209
+msgid "Allow Applications to Set Backgrounds?"
+msgstr "Tillad programmer at indstille baggrunde?"
+
+#: src/wallpaper.c:210
+msgid "An application is requesting to be able to change the background image."
+msgstr "Et program anmoder om at være i stand til at ændre baggrundsbilledet."
diff --git a/po/de.po b/po/de.po
index f1053f2..350e058 100644
--- a/po/de.po
+++ b/po/de.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-08-04 16:59-0300\n"
+"POT-Creation-Date: 2023-08-27 13:08-0300\n"
"PO-Revision-Date: 2016-09-23 19:17+0200\n"
"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
"Language-Team: German <gnome-de@gnome.org>\n"
@@ -120,16 +120,7 @@ msgstr ""
msgid "Grant Access"
msgstr ""
-#: src/location.c:534
-msgid "Grant Access to Your Location?"
-msgstr ""
-
-#: src/location.c:535
-#, fuzzy
-msgid "An application wants to use your location."
-msgstr "Eine Anwendung möchte Ihre Kamera nutzen."
-
-#: src/location.c:547
+#: src/location.c:546
#, c-format
msgid "Give %s Access to Your Location?"
msgstr ""
@@ -139,7 +130,16 @@ msgstr ""
msgid "%s wants to use your location."
msgstr "%s möchte Ihre Kamera nutzen."
-#: src/location.c:554
+#: src/location.c:559
+msgid "Grant Access to Your Location?"
+msgstr ""
+
+#: src/location.c:560
+#, fuzzy
+msgid "An application wants to use your location."
+msgstr "Eine Anwendung möchte Ihre Kamera nutzen."
+
+#: src/location.c:563
#, fuzzy
msgid "Location access can be changed at any time from the privacy settings."
msgstr ""
@@ -150,52 +150,52 @@ msgstr ""
msgid "Deny"
msgstr ""
-#: src/screenshot.c:252
+#: src/screenshot.c:256
#, c-format
msgid "Allow %s to Take Screenshots?"
msgstr ""
-#: src/screenshot.c:253
+#: src/screenshot.c:257
#, c-format
msgid "%s wants to be able to take screenshots at any time."
msgstr ""
-#: src/screenshot.c:261
+#: src/screenshot.c:265
#, fuzzy
msgid "Allow Applications to Take Screenshots?"
msgstr "Eine Anwendung möchte Ton wiedergeben."
-#: src/screenshot.c:262
+#: src/screenshot.c:266
#, fuzzy
msgid "An application wants to be able to take screenshots at any time."
msgstr "Eine Anwendung möchte auf Ihr Mikrofon zugreifen."
-#: src/screenshot.c:265 src/wallpaper.c:209
+#: src/screenshot.c:269 src/wallpaper.c:213
#, fuzzy
msgid "This permission can be changed at any time from the privacy settings."
msgstr ""
"Der Zugriff auf Ihre Lautsprecher kann in den Einstellungen zur Privatsphäre "
"jederzeit geändert werden."
-#: src/settings.c:127
+#: src/settings.c:127 src/settings.c:163
msgid "Requested setting not found"
msgstr ""
-#: src/wallpaper.c:192
-#, fuzzy
-msgid "Allow Applications to Set Backgrounds?"
-msgstr "Eine Anwendung möchte Ton wiedergeben."
-
-#: src/wallpaper.c:193
-msgid "An application is requesting to be able to change the background image."
-msgstr ""
-
-#: src/wallpaper.c:205
+#: src/wallpaper.c:200
#, c-format
msgid "Allow %s to Set Backgrounds?"
msgstr ""
-#: src/wallpaper.c:206
+#: src/wallpaper.c:201
#, c-format
msgid "%s is requesting to be able to change the background image."
msgstr ""
+
+#: src/wallpaper.c:209
+#, fuzzy
+msgid "Allow Applications to Set Backgrounds?"
+msgstr "Eine Anwendung möchte Ton wiedergeben."
+
+#: src/wallpaper.c:210
+msgid "An application is requesting to be able to change the background image."
+msgstr ""
diff --git a/po/en_GB.po b/po/en_GB.po
index d722568..58b68bf 100644
--- a/po/en_GB.po
+++ b/po/en_GB.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-08-04 16:59-0300\n"
+"POT-Creation-Date: 2023-08-27 13:08-0300\n"
"PO-Revision-Date: 2019-08-24 23:48+0100\n"
"Last-Translator: Zander Brown <zbrown@gnome.org>\n"
"Language-Team: English - United Kingdom <en_GB@li.org>\n"
@@ -116,15 +116,7 @@ msgstr "Deny Access"
msgid "Grant Access"
msgstr "Grant Access"
-#: src/location.c:534
-msgid "Grant Access to Your Location?"
-msgstr "Grant Access to Your Location?"
-
-#: src/location.c:535
-msgid "An application wants to use your location."
-msgstr "An application wants to use your location."
-
-#: src/location.c:547
+#: src/location.c:546
#, c-format
msgid "Give %s Access to Your Location?"
msgstr "Give %s Access to Your Location?"
@@ -134,7 +126,15 @@ msgstr "Give %s Access to Your Location?"
msgid "%s wants to use your location."
msgstr "%s wants to use your location."
-#: src/location.c:554
+#: src/location.c:559
+msgid "Grant Access to Your Location?"
+msgstr "Grant Access to Your Location?"
+
+#: src/location.c:560
+msgid "An application wants to use your location."
+msgstr "An application wants to use your location."
+
+#: src/location.c:563
msgid "Location access can be changed at any time from the privacy settings."
msgstr "Location access can be changed at any time from the privacy settings."
@@ -142,50 +142,50 @@ msgstr "Location access can be changed at any time from the privacy settings."
msgid "Deny"
msgstr ""
-#: src/screenshot.c:252
+#: src/screenshot.c:256
#, fuzzy, c-format
msgid "Allow %s to Take Screenshots?"
msgstr "Allow %s to run in the background?"
-#: src/screenshot.c:253
+#: src/screenshot.c:257
#, c-format
msgid "%s wants to be able to take screenshots at any time."
msgstr ""
-#: src/screenshot.c:261
+#: src/screenshot.c:265
#, fuzzy
msgid "Allow Applications to Take Screenshots?"
msgstr "Allow %s to run in the background?"
-#: src/screenshot.c:262
+#: src/screenshot.c:266
#, fuzzy
msgid "An application wants to be able to take screenshots at any time."
msgstr "An application wants to use your microphone."
-#: src/screenshot.c:265 src/wallpaper.c:209
+#: src/screenshot.c:269 src/wallpaper.c:213
#, fuzzy
msgid "This permission can be changed at any time from the privacy settings."
msgstr "Location access can be changed at any time from the privacy settings."
-#: src/settings.c:127
+#: src/settings.c:127 src/settings.c:163
msgid "Requested setting not found"
msgstr "Requested setting not found"
-#: src/wallpaper.c:192
-#, fuzzy
-msgid "Allow Applications to Set Backgrounds?"
-msgstr "Allow %s to run in the background?"
-
-#: src/wallpaper.c:193
-msgid "An application is requesting to be able to change the background image."
-msgstr ""
-
-#: src/wallpaper.c:205
+#: src/wallpaper.c:200
#, fuzzy, c-format
msgid "Allow %s to Set Backgrounds?"
msgstr "Allow %s to run in the background?"
-#: src/wallpaper.c:206
+#: src/wallpaper.c:201
#, fuzzy, c-format
msgid "%s is requesting to be able to change the background image."
msgstr "%s requests to run in the background."
+
+#: src/wallpaper.c:209
+#, fuzzy
+msgid "Allow Applications to Set Backgrounds?"
+msgstr "Allow %s to run in the background?"
+
+#: src/wallpaper.c:210
+msgid "An application is requesting to be able to change the background image."
+msgstr ""
diff --git a/po/es.po b/po/es.po
index 7c61806..6abf88b 100644
--- a/po/es.po
+++ b/po/es.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-08-04 16:59-0300\n"
+"POT-Creation-Date: 2023-08-27 13:08-0300\n"
"PO-Revision-Date: 2021-12-04 14:52+0100\n"
"Last-Translator: Adolfo Jayme Barrientos <fitojb@ubuntu.com>\n"
"Language-Team: Spanish\n"
@@ -117,15 +117,7 @@ msgstr "Denegar acceso"
msgid "Grant Access"
msgstr "Conceder acceso"
-#: src/location.c:534
-msgid "Grant Access to Your Location?"
-msgstr "¿Quiere conceder acceso a su ubicación?"
-
-#: src/location.c:535
-msgid "An application wants to use your location."
-msgstr "Una aplicación intenta utilizar su ubicación."
-
-#: src/location.c:547
+#: src/location.c:546
#, c-format
msgid "Give %s Access to Your Location?"
msgstr "¿Quiere conceder a %s acceso a su ubicación?"
@@ -135,7 +127,15 @@ msgstr "¿Quiere conceder a %s acceso a su ubicación?"
msgid "%s wants to use your location."
msgstr "%s intenta utilizar su ubicación."
-#: src/location.c:554
+#: src/location.c:559
+msgid "Grant Access to Your Location?"
+msgstr "¿Quiere conceder acceso a su ubicación?"
+
+#: src/location.c:560
+msgid "An application wants to use your location."
+msgstr "Una aplicación intenta utilizar su ubicación."
+
+#: src/location.c:563
msgid "Location access can be changed at any time from the privacy settings."
msgstr ""
"El acceso a la ubicación puede modificarse en cualquier momento a través de "
@@ -145,50 +145,50 @@ msgstr ""
msgid "Deny"
msgstr "Denegar"
-#: src/screenshot.c:252
+#: src/screenshot.c:256
#, fuzzy, c-format
msgid "Allow %s to Take Screenshots?"
msgstr "¿Quiere permitir que %s establezca fondos?"
-#: src/screenshot.c:253
+#: src/screenshot.c:257
#, c-format
msgid "%s wants to be able to take screenshots at any time."
msgstr ""
-#: src/screenshot.c:261
+#: src/screenshot.c:265
#, fuzzy
msgid "Allow Applications to Take Screenshots?"
msgstr "¿Quiere permitir que las aplicaciones establezcan fondos?"
-#: src/screenshot.c:262
+#: src/screenshot.c:266
#, fuzzy
msgid "An application wants to be able to take screenshots at any time."
msgstr "Una aplicación intenta utilizar el micrófono."
-#: src/screenshot.c:265 src/wallpaper.c:209
+#: src/screenshot.c:269 src/wallpaper.c:213
msgid "This permission can be changed at any time from the privacy settings."
msgstr ""
"Este permiso puede modificarse en cualquier momento a través de la "
"configuración de privacidad."
-#: src/settings.c:127
+#: src/settings.c:127 src/settings.c:163
msgid "Requested setting not found"
msgstr "No se encontró la configuración solicitada"
-#: src/wallpaper.c:192
-msgid "Allow Applications to Set Backgrounds?"
-msgstr "¿Quiere permitir que las aplicaciones establezcan fondos?"
-
-#: src/wallpaper.c:193
-msgid "An application is requesting to be able to change the background image."
-msgstr "Una aplicación solicita poder cambiar la imagen de fondo."
-
-#: src/wallpaper.c:205
+#: src/wallpaper.c:200
#, c-format
msgid "Allow %s to Set Backgrounds?"
msgstr "¿Quiere permitir que %s establezca fondos?"
-#: src/wallpaper.c:206
+#: src/wallpaper.c:201
#, c-format
msgid "%s is requesting to be able to change the background image."
msgstr "%s solicita poder cambiar la imagen de fondo."
+
+#: src/wallpaper.c:209
+msgid "Allow Applications to Set Backgrounds?"
+msgstr "¿Quiere permitir que las aplicaciones establezcan fondos?"
+
+#: src/wallpaper.c:210
+msgid "An application is requesting to be able to change the background image."
+msgstr "Una aplicación solicita poder cambiar la imagen de fondo."
diff --git a/po/fr.po b/po/fr.po
index 198ccef..66ca530 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-08-04 16:59-0300\n"
+"POT-Creation-Date: 2023-08-27 13:08-0300\n"
"PO-Revision-Date: 2017-03-02 11:34+0100\n"
"Last-Translator: Nicolas Cuffia <cuffia.cuceglio@vivaldi.net>\n"
"Language-Team: French <gnomefr@traduc.org>\n"
@@ -118,16 +118,7 @@ msgstr ""
msgid "Grant Access"
msgstr ""
-#: src/location.c:534
-msgid "Grant Access to Your Location?"
-msgstr ""
-
-#: src/location.c:535
-#, fuzzy
-msgid "An application wants to use your location."
-msgstr "Une application veut utiliser votre caméra."
-
-#: src/location.c:547
+#: src/location.c:546
#, c-format
msgid "Give %s Access to Your Location?"
msgstr ""
@@ -137,7 +128,16 @@ msgstr ""
msgid "%s wants to use your location."
msgstr "%s veut utiliser votre caméra."
-#: src/location.c:554
+#: src/location.c:559
+msgid "Grant Access to Your Location?"
+msgstr ""
+
+#: src/location.c:560
+#, fuzzy
+msgid "An application wants to use your location."
+msgstr "Une application veut utiliser votre caméra."
+
+#: src/location.c:563
#, fuzzy
msgid "Location access can be changed at any time from the privacy settings."
msgstr ""
@@ -148,52 +148,52 @@ msgstr ""
msgid "Deny"
msgstr ""
-#: src/screenshot.c:252
+#: src/screenshot.c:256
#, c-format
msgid "Allow %s to Take Screenshots?"
msgstr ""
-#: src/screenshot.c:253
+#: src/screenshot.c:257
#, c-format
msgid "%s wants to be able to take screenshots at any time."
msgstr ""
-#: src/screenshot.c:261
+#: src/screenshot.c:265
#, fuzzy
msgid "Allow Applications to Take Screenshots?"
msgstr "Une application veut jouer du son."
-#: src/screenshot.c:262
+#: src/screenshot.c:266
#, fuzzy
msgid "An application wants to be able to take screenshots at any time."
msgstr "Une application veut utiliser votre microphone."
-#: src/screenshot.c:265 src/wallpaper.c:209
+#: src/screenshot.c:269 src/wallpaper.c:213
#, fuzzy
msgid "This permission can be changed at any time from the privacy settings."
msgstr ""
"L'accès aux haut-parleurs peut être modifié n'importe quand à partir des "
"paramètres de confidentialité."
-#: src/settings.c:127
+#: src/settings.c:127 src/settings.c:163
msgid "Requested setting not found"
msgstr ""
-#: src/wallpaper.c:192
-#, fuzzy
-msgid "Allow Applications to Set Backgrounds?"
-msgstr "Une application veut jouer du son."
-
-#: src/wallpaper.c:193
-msgid "An application is requesting to be able to change the background image."
-msgstr ""
-
-#: src/wallpaper.c:205
+#: src/wallpaper.c:200
#, c-format
msgid "Allow %s to Set Backgrounds?"
msgstr ""
-#: src/wallpaper.c:206
+#: src/wallpaper.c:201
#, c-format
msgid "%s is requesting to be able to change the background image."
msgstr ""
+
+#: src/wallpaper.c:209
+#, fuzzy
+msgid "Allow Applications to Set Backgrounds?"
+msgstr "Une application veut jouer du son."
+
+#: src/wallpaper.c:210
+msgid "An application is requesting to be able to change the background image."
+msgstr ""
diff --git a/po/gl.po b/po/gl.po
index 8393597..b07eee9 100644
--- a/po/gl.po
+++ b/po/gl.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-08-04 16:59-0300\n"
+"POT-Creation-Date: 2023-08-27 13:08-0300\n"
"PO-Revision-Date: 2023-02-08 21:13+0100\n"
"Last-Translator: Fran Diéguez <frandieguez@gnome.org>\n"
"Language-Team: Galician\n"
@@ -117,15 +117,7 @@ msgstr "Denegar acceso"
msgid "Grant Access"
msgstr "Conceder acceso"
-#: src/location.c:534
-msgid "Grant Access to Your Location?"
-msgstr "Desexa acceder acceso á súa localización?"
-
-#: src/location.c:535
-msgid "An application wants to use your location."
-msgstr "Unha aplicación quere usar a súa localización."
-
-#: src/location.c:547
+#: src/location.c:546
#, c-format
msgid "Give %s Access to Your Location?"
msgstr "Desexa darlle acceso a %s á súa localización?"
@@ -135,7 +127,15 @@ msgstr "Desexa darlle acceso a %s á súa localización?"
msgid "%s wants to use your location."
msgstr "%s quere usar a súa localización."
-#: src/location.c:554
+#: src/location.c:559
+msgid "Grant Access to Your Location?"
+msgstr "Desexa acceder acceso á súa localización?"
+
+#: src/location.c:560
+msgid "An application wants to use your location."
+msgstr "Unha aplicación quere usar a súa localización."
+
+#: src/location.c:563
msgid "Location access can be changed at any time from the privacy settings."
msgstr ""
"O acceso á súa localización pode cambiarse en calquera momento desde as "
@@ -145,50 +145,50 @@ msgstr ""
msgid "Deny"
msgstr "Denegar"
-#: src/screenshot.c:252
+#: src/screenshot.c:256
#, c-format
msgid "Allow %s to Take Screenshots?"
msgstr "Permitirlle a %s configurar sacar capturas de pantalla?"
-#: src/screenshot.c:253
+#: src/screenshot.c:257
#, c-format
msgid "%s wants to be able to take screenshots at any time."
msgstr "%s solicita poder sacar capturas de pantalla en calquer momento."
-#: src/screenshot.c:261
+#: src/screenshot.c:265
msgid "Allow Applications to Take Screenshots?"
msgstr "Permitirlle ás aplicacións sacar capturas de pantalla?"
-#: src/screenshot.c:262
+#: src/screenshot.c:266
msgid "An application wants to be able to take screenshots at any time."
msgstr ""
"Unha aplicación solicita poder sacar capturas de pantalla en calquera "
"momento."
-#: src/screenshot.c:265 src/wallpaper.c:209
+#: src/screenshot.c:269 src/wallpaper.c:213
msgid "This permission can be changed at any time from the privacy settings."
msgstr ""
"Este permiso pode cambiarse en calquera momento desde as preferencias de "
"privacidade."
-#: src/settings.c:127
+#: src/settings.c:127 src/settings.c:163
msgid "Requested setting not found"
msgstr "Non se atopou a configuración solicitada"
-#: src/wallpaper.c:192
-msgid "Allow Applications to Set Backgrounds?"
-msgstr "Permitirlle ás aplicacións configurar o fondo de pantalla?"
-
-#: src/wallpaper.c:193
-msgid "An application is requesting to be able to change the background image."
-msgstr "Unha aplicación está solicitando poder cambiar a imaxe de fondo."
-
-#: src/wallpaper.c:205
+#: src/wallpaper.c:200
#, c-format
msgid "Allow %s to Set Backgrounds?"
msgstr "Permitirlle a %s configurar o fondo de pantalla?"
-#: src/wallpaper.c:206
+#: src/wallpaper.c:201
#, c-format
msgid "%s is requesting to be able to change the background image."
msgstr "%s está solicitando poder cambiar o fondo de pantalla."
+
+#: src/wallpaper.c:209
+msgid "Allow Applications to Set Backgrounds?"
+msgstr "Permitirlle ás aplicacións configurar o fondo de pantalla?"
+
+#: src/wallpaper.c:210
+msgid "An application is requesting to be able to change the background image."
+msgstr "Unha aplicación está solicitando poder cambiar a imaxe de fondo."
diff --git a/po/he.po b/po/he.po
index 2f03026..00bb029 100644
--- a/po/he.po
+++ b/po/he.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal main\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-08-04 16:59-0300\n"
+"POT-Creation-Date: 2023-08-27 13:08-0300\n"
"PO-Revision-Date: 2022-07-25 21:56+0300\n"
"Last-Translator: Yosef Or Boczko <yoseforb@gmail.com>\n"
"Language-Team: Hebrew <yoseforb@gmail.com>\n"
@@ -110,15 +110,7 @@ msgstr "מניעת גישה"
msgid "Grant Access"
msgstr "הענקת גישה"
-#: src/location.c:534
-msgid "Grant Access to Your Location?"
-msgstr "לאפשר גישה למיקום שלך?"
-
-#: src/location.c:535
-msgid "An application wants to use your location."
-msgstr "יישום מבקש להשתמש במיקום שלך."
-
-#: src/location.c:547
+#: src/location.c:546
#, c-format
msgid "Give %s Access to Your Location?"
msgstr "לתת ליישום %s גישה למיקום שלך?"
@@ -128,7 +120,15 @@ msgstr "לתת ליישום %s גישה למיקום שלך?"
msgid "%s wants to use your location."
msgstr "‏%s מבקש להשתמש במיקום שלך."
-#: src/location.c:554
+#: src/location.c:559
+msgid "Grant Access to Your Location?"
+msgstr "לאפשר גישה למיקום שלך?"
+
+#: src/location.c:560
+msgid "An application wants to use your location."
+msgstr "יישום מבקש להשתמש במיקום שלך."
+
+#: src/location.c:563
msgid "Location access can be changed at any time from the privacy settings."
msgstr "ניתן לשנות בכל עת את הרשאות הגישה למיקום שלך מהגדרות הפרטיות."
@@ -136,48 +136,48 @@ msgstr "ניתן לשנות בכל עת את הרשאות הגישה למיקו
msgid "Deny"
msgstr "דחייה"
-#: src/screenshot.c:252
+#: src/screenshot.c:256
#, fuzzy, c-format
msgid "Allow %s to Take Screenshots?"
msgstr "לאפשר ליישום %s לקבוע את הרקעים?"
-#: src/screenshot.c:253
+#: src/screenshot.c:257
#, c-format
msgid "%s wants to be able to take screenshots at any time."
msgstr ""
-#: src/screenshot.c:261
+#: src/screenshot.c:265
#, fuzzy
msgid "Allow Applications to Take Screenshots?"
msgstr "לאפשר ליישומים לקבוע את הרקעים?"
-#: src/screenshot.c:262
+#: src/screenshot.c:266
#, fuzzy
msgid "An application wants to be able to take screenshots at any time."
msgstr "יישום מבקש להשתמש במיקרופון שלך."
-#: src/screenshot.c:265 src/wallpaper.c:209
+#: src/screenshot.c:269 src/wallpaper.c:213
msgid "This permission can be changed at any time from the privacy settings."
msgstr "ניתן לשנות בכל עת הרשאה זו בהגדרות הפרטיות."
-#: src/settings.c:127
+#: src/settings.c:127 src/settings.c:163
msgid "Requested setting not found"
msgstr "ההגדרה המבוקשת לא נמצאה"
-#: src/wallpaper.c:192
-msgid "Allow Applications to Set Backgrounds?"
-msgstr "לאפשר ליישומים לקבוע את הרקעים?"
-
-#: src/wallpaper.c:193
-msgid "An application is requesting to be able to change the background image."
-msgstr "יישום מבקש הרשאה לשינוי תמונת הרקע."
-
-#: src/wallpaper.c:205
+#: src/wallpaper.c:200
#, c-format
msgid "Allow %s to Set Backgrounds?"
msgstr "לאפשר ליישום %s לקבוע את הרקעים?"
-#: src/wallpaper.c:206
+#: src/wallpaper.c:201
#, c-format
msgid "%s is requesting to be able to change the background image."
msgstr "‏%s מבקש הרשאה לשינוי תמונת הרקע."
+
+#: src/wallpaper.c:209
+msgid "Allow Applications to Set Backgrounds?"
+msgstr "לאפשר ליישומים לקבוע את הרקעים?"
+
+#: src/wallpaper.c:210
+msgid "An application is requesting to be able to change the background image."
+msgstr "יישום מבקש הרשאה לשינוי תמונת הרקע."
diff --git a/po/hi.po b/po/hi.po
index 9a387f9..a038d79 100644
--- a/po/hi.po
+++ b/po/hi.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal 1.8.1\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-08-04 16:59-0300\n"
+"POT-Creation-Date: 2023-08-27 13:08-0300\n"
"PO-Revision-Date: 2021-09-09 00:42+0700\n"
"Last-Translator: Dmitry <dmitrydmitry761@gmail.com>\n"
"Language-Team: Hindi <kde-i18n-doc@kde.org>\n"
@@ -110,15 +110,7 @@ msgstr "पहुँच को अस्वीकार"
msgid "Grant Access"
msgstr "अनुदान पहुँच"
-#: src/location.c:534
-msgid "Grant Access to Your Location?"
-msgstr "अपने स्थान तक पहुंच प्रदान करें?"
-
-#: src/location.c:535
-msgid "An application wants to use your location."
-msgstr "एक एप्लिकेशन आपके स्थान का उपयोग करना चाहता है।"
-
-#: src/location.c:547
+#: src/location.c:546
#, c-format
msgid "Give %s Access to Your Location?"
msgstr "देना %s आपके स्थान तक पहुँच?"
@@ -128,7 +120,15 @@ msgstr "देना %s आपके स्थान तक पहुँच?"
msgid "%s wants to use your location."
msgstr "%s आपके स्थान का उपयोग करना चाहता है।"
-#: src/location.c:554
+#: src/location.c:559
+msgid "Grant Access to Your Location?"
+msgstr "अपने स्थान तक पहुंच प्रदान करें?"
+
+#: src/location.c:560
+msgid "An application wants to use your location."
+msgstr "एक एप्लिकेशन आपके स्थान का उपयोग करना चाहता है।"
+
+#: src/location.c:563
msgid "Location access can be changed at any time from the privacy settings."
msgstr "गोपनीयता सेटिंग्स से किसी भी समय स्थान का उपयोग बदला जा सकता है।"
@@ -136,48 +136,48 @@ msgstr "गोपनीयता सेटिंग्स से किसी
msgid "Deny"
msgstr "मना"
-#: src/screenshot.c:252
+#: src/screenshot.c:256
#, fuzzy, c-format
msgid "Allow %s to Take Screenshots?"
msgstr "परमिट %s पृष्ठभूमि सेट करने के लिए?"
-#: src/screenshot.c:253
+#: src/screenshot.c:257
#, c-format
msgid "%s wants to be able to take screenshots at any time."
msgstr ""
-#: src/screenshot.c:261
+#: src/screenshot.c:265
#, fuzzy
msgid "Allow Applications to Take Screenshots?"
msgstr "एप्‍लिकेशन को पृष्‍ठभूमि सेट करने की अनुमति दें?"
-#: src/screenshot.c:262
+#: src/screenshot.c:266
#, fuzzy
msgid "An application wants to be able to take screenshots at any time."
msgstr "एक एप्लिकेशन आपके माइक्रोफ़ोन का उपयोग करना चाहता है।"
-#: src/screenshot.c:265 src/wallpaper.c:209
+#: src/screenshot.c:269 src/wallpaper.c:213
msgid "This permission can be changed at any time from the privacy settings."
msgstr "इस अनुमति को गोपनीयता सेटिंग्स से किसी भी समय बदला जा सकता है।"
-#: src/settings.c:127
+#: src/settings.c:127 src/settings.c:163
msgid "Requested setting not found"
msgstr "अनुरोधित सेटिंग नहीं मिली"
-#: src/wallpaper.c:192
-msgid "Allow Applications to Set Backgrounds?"
-msgstr "एप्‍लिकेशन को पृष्‍ठभूमि सेट करने की अनुमति दें?"
-
-#: src/wallpaper.c:193
-msgid "An application is requesting to be able to change the background image."
-msgstr "एक एप्लिकेशन पृष्ठभूमि छवि को बदलने में सक्षम होने का अनुरोध कर रहा है।"
-
-#: src/wallpaper.c:205
+#: src/wallpaper.c:200
#, c-format
msgid "Allow %s to Set Backgrounds?"
msgstr "परमिट %s पृष्ठभूमि सेट करने के लिए?"
-#: src/wallpaper.c:206
+#: src/wallpaper.c:201
#, c-format
msgid "%s is requesting to be able to change the background image."
msgstr "%s पृष्ठभूमि छवि को बदलने में सक्षम होने का अनुरोध कर रहा है।"
+
+#: src/wallpaper.c:209
+msgid "Allow Applications to Set Backgrounds?"
+msgstr "एप्‍लिकेशन को पृष्‍ठभूमि सेट करने की अनुमति दें?"
+
+#: src/wallpaper.c:210
+msgid "An application is requesting to be able to change the background image."
+msgstr "एक एप्लिकेशन पृष्ठभूमि छवि को बदलने में सक्षम होने का अनुरोध कर रहा है।"
diff --git a/po/hr.po b/po/hr.po
index 24db4f6..62230d5 100644
--- a/po/hr.po
+++ b/po/hr.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-08-04 16:59-0300\n"
+"POT-Creation-Date: 2023-08-27 13:08-0300\n"
"PO-Revision-Date: 2020-01-25 16:44+0100\n"
"Last-Translator: Milo Ivir <mail@milotype.de>\n"
"Language-Team: \n"
@@ -116,15 +116,7 @@ msgstr "Zabrani pristup"
msgid "Grant Access"
msgstr "Dozvoli pristup"
-#: src/location.c:534
-msgid "Grant Access to Your Location?"
-msgstr "Dozvoliti pristup tvojoj lokaciji?"
-
-#: src/location.c:535
-msgid "An application wants to use your location."
-msgstr "Jedan program želi koristiti tvoju lokaciju."
-
-#: src/location.c:547
+#: src/location.c:546
#, c-format
msgid "Give %s Access to Your Location?"
msgstr "Dozvoliti da %s pristupi tvojoj lokaciji?"
@@ -134,7 +126,15 @@ msgstr "Dozvoliti da %s pristupi tvojoj lokaciji?"
msgid "%s wants to use your location."
msgstr "%s želi koristiti tvoju lokaciju."
-#: src/location.c:554
+#: src/location.c:559
+msgid "Grant Access to Your Location?"
+msgstr "Dozvoliti pristup tvojoj lokaciji?"
+
+#: src/location.c:560
+msgid "An application wants to use your location."
+msgstr "Jedan program želi koristiti tvoju lokaciju."
+
+#: src/location.c:563
msgid "Location access can be changed at any time from the privacy settings."
msgstr ""
"Pristup lokaciji je uvijek moguće promijeniti u postavkama privatnosti."
@@ -143,48 +143,48 @@ msgstr ""
msgid "Deny"
msgstr "Zabrani"
-#: src/screenshot.c:252
+#: src/screenshot.c:256
#, fuzzy, c-format
msgid "Allow %s to Take Screenshots?"
msgstr "Dozvoliti da %s postavi pozadine?"
-#: src/screenshot.c:253
+#: src/screenshot.c:257
#, c-format
msgid "%s wants to be able to take screenshots at any time."
msgstr ""
-#: src/screenshot.c:261
+#: src/screenshot.c:265
#, fuzzy
msgid "Allow Applications to Take Screenshots?"
msgstr "Dozvoliti programu da postavi pozadine?"
-#: src/screenshot.c:262
+#: src/screenshot.c:266
#, fuzzy
msgid "An application wants to be able to take screenshots at any time."
msgstr "Jedan program želi koristiti tvoj mikrofon."
-#: src/screenshot.c:265 src/wallpaper.c:209
+#: src/screenshot.c:269 src/wallpaper.c:213
msgid "This permission can be changed at any time from the privacy settings."
msgstr "Ovu dozvolu je uvijek moguće promijeniti u postavkama privatnosti."
-#: src/settings.c:127
+#: src/settings.c:127 src/settings.c:163
msgid "Requested setting not found"
msgstr "Zatražena postavka nije nađena"
-#: src/wallpaper.c:192
-msgid "Allow Applications to Set Backgrounds?"
-msgstr "Dozvoliti programu da postavi pozadine?"
-
-#: src/wallpaper.c:193
-msgid "An application is requesting to be able to change the background image."
-msgstr "Jedan program traži dozvolu za mijenjanje slike pozadine."
-
-#: src/wallpaper.c:205
+#: src/wallpaper.c:200
#, c-format
msgid "Allow %s to Set Backgrounds?"
msgstr "Dozvoliti da %s postavi pozadine?"
-#: src/wallpaper.c:206
+#: src/wallpaper.c:201
#, c-format
msgid "%s is requesting to be able to change the background image."
msgstr "%s traži dozvolu za mijenjanje slike pozadine."
+
+#: src/wallpaper.c:209
+msgid "Allow Applications to Set Backgrounds?"
+msgstr "Dozvoliti programu da postavi pozadine?"
+
+#: src/wallpaper.c:210
+msgid "An application is requesting to be able to change the background image."
+msgstr "Jedan program traži dozvolu za mijenjanje slike pozadine."
diff --git a/po/hu.po b/po/hu.po
index b351a22..79aa4da 100644
--- a/po/hu.po
+++ b/po/hu.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-08-04 16:59-0300\n"
+"POT-Creation-Date: 2023-08-27 13:08-0300\n"
"PO-Revision-Date: 2022-09-21 22:58+0200\n"
"Last-Translator: Balázs Úr <ur.balazs at fsf dot hu>\n"
"Language-Team: Hungarian <gnome-hu-list at gnome dot org>\n"
@@ -118,15 +118,7 @@ msgstr "Hozzáférés megtagadása"
msgid "Grant Access"
msgstr "Hozzáférés megadása"
-#: src/location.c:534
-msgid "Grant Access to Your Location?"
-msgstr "Hozzáférést ad a tartózkodási helyéhez?"
-
-#: src/location.c:535
-msgid "An application wants to use your location."
-msgstr "Egy alkalmazás használni szeretné a tartózkodási helyét."
-
-#: src/location.c:547
+#: src/location.c:546
#, c-format
msgid "Give %s Access to Your Location?"
msgstr "Hozzáférést ad a(z) %s számára a tartózkodási helyéhez?"
@@ -136,7 +128,15 @@ msgstr "Hozzáférést ad a(z) %s számára a tartózkodási helyéhez?"
msgid "%s wants to use your location."
msgstr "A(z) %s használni szeretné a tartózkodási helyét."
-#: src/location.c:554
+#: src/location.c:559
+msgid "Grant Access to Your Location?"
+msgstr "Hozzáférést ad a tartózkodási helyéhez?"
+
+#: src/location.c:560
+msgid "An application wants to use your location."
+msgstr "Egy alkalmazás használni szeretné a tartózkodási helyét."
+
+#: src/location.c:563
msgid "Location access can be changed at any time from the privacy settings."
msgstr ""
"A tartózkodási helyhez való hozzáférés bármikor megváltoztatható az "
@@ -146,48 +146,48 @@ msgstr ""
msgid "Deny"
msgstr "Elutasítás"
-#: src/screenshot.c:252
+#: src/screenshot.c:256
#, c-format
msgid "Allow %s to Take Screenshots?"
msgstr "Engedélyezi a(z) %s számára, hogy képernyőképeket készítsen?"
-#: src/screenshot.c:253
+#: src/screenshot.c:257
#, c-format
msgid "%s wants to be able to take screenshots at any time."
msgstr "A(z) %s azt szeretné, hogy bármikor készíthessen képernyőképeket."
-#: src/screenshot.c:261
+#: src/screenshot.c:265
msgid "Allow Applications to Take Screenshots?"
msgstr "Engedélyezi az alkalmazások számára, hogy képernyőképeket készítsenek?"
-#: src/screenshot.c:262
+#: src/screenshot.c:266
msgid "An application wants to be able to take screenshots at any time."
msgstr ""
"Egy alkalmazás azt szeretné, hogy bármikor készíthessen képernyőképeket."
-#: src/screenshot.c:265 src/wallpaper.c:209
+#: src/screenshot.c:269 src/wallpaper.c:213
msgid "This permission can be changed at any time from the privacy settings."
msgstr ""
"Ez az engedély bármikor megváltoztatható az adatvédelmi beállításokban."
-#: src/settings.c:127
+#: src/settings.c:127 src/settings.c:163
msgid "Requested setting not found"
msgstr "A kért beállítás nem található"
-#: src/wallpaper.c:192
-msgid "Allow Applications to Set Backgrounds?"
-msgstr "Engedélyezi az alkalmazások számára, hogy háttereket állítsanak be?"
-
-#: src/wallpaper.c:193
-msgid "An application is requesting to be able to change the background image."
-msgstr "Egy alkalmazás azt kéri, hogy megváltoztathassa a háttérképet."
-
-#: src/wallpaper.c:205
+#: src/wallpaper.c:200
#, c-format
msgid "Allow %s to Set Backgrounds?"
msgstr "Engedélyezi a(z) %s számára, hogy háttereket állítson be?"
-#: src/wallpaper.c:206
+#: src/wallpaper.c:201
#, c-format
msgid "%s is requesting to be able to change the background image."
msgstr "A(z) %s azt kéri, hogy megváltoztathassa a háttérképet."
+
+#: src/wallpaper.c:209
+msgid "Allow Applications to Set Backgrounds?"
+msgstr "Engedélyezi az alkalmazások számára, hogy háttereket állítsanak be?"
+
+#: src/wallpaper.c:210
+msgid "An application is requesting to be able to change the background image."
+msgstr "Egy alkalmazás azt kéri, hogy megváltoztathassa a háttérképet."
diff --git a/po/id.po b/po/id.po
index 6b1a778..7048e75 100644
--- a/po/id.po
+++ b/po/id.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-08-04 16:59-0300\n"
+"POT-Creation-Date: 2023-08-27 13:08-0300\n"
"PO-Revision-Date: 2022-11-30 10:52+0700\n"
"Last-Translator: Kukuh Syafaat <kukuhsyafaat@gnome.org>\n"
"Language-Team: Indonesian <gnome-l10n-id@googlegroups.com>\n"
@@ -115,15 +115,7 @@ msgstr "Tolak Akses"
msgid "Grant Access"
msgstr "Beri Akses"
-#: src/location.c:534
-msgid "Grant Access to Your Location?"
-msgstr "Beri Akses ke Lokasi Anda?"
-
-#: src/location.c:535
-msgid "An application wants to use your location."
-msgstr "Sebuah aplikasi ingin menggunakan lokasi Anda."
-
-#: src/location.c:547
+#: src/location.c:546
#, c-format
msgid "Give %s Access to Your Location?"
msgstr "Beri Akses %s ke Lokasi Anda?"
@@ -133,7 +125,15 @@ msgstr "Beri Akses %s ke Lokasi Anda?"
msgid "%s wants to use your location."
msgstr "%s ingin menggunakan lokasi Anda."
-#: src/location.c:554
+#: src/location.c:559
+msgid "Grant Access to Your Location?"
+msgstr "Beri Akses ke Lokasi Anda?"
+
+#: src/location.c:560
+msgid "An application wants to use your location."
+msgstr "Sebuah aplikasi ingin menggunakan lokasi Anda."
+
+#: src/location.c:563
msgid "Location access can be changed at any time from the privacy settings."
msgstr "Akses lokasi dapat diubah setiap saat dari pengaturan privasi."
@@ -141,46 +141,46 @@ msgstr "Akses lokasi dapat diubah setiap saat dari pengaturan privasi."
msgid "Deny"
msgstr "Tolak"
-#: src/screenshot.c:252
+#: src/screenshot.c:256
#, c-format
msgid "Allow %s to Take Screenshots?"
msgstr "Izinkan %s Mengambil Cuplikan Layar?"
-#: src/screenshot.c:253
+#: src/screenshot.c:257
#, c-format
msgid "%s wants to be able to take screenshots at any time."
msgstr "%s ingin dapat mengambil cuplikan layar kapan saja."
-#: src/screenshot.c:261
+#: src/screenshot.c:265
msgid "Allow Applications to Take Screenshots?"
msgstr "Izinkan Aplikasi Mengambil Cuplikan Layar?"
-#: src/screenshot.c:262
+#: src/screenshot.c:266
msgid "An application wants to be able to take screenshots at any time."
msgstr "Sebuah aplikasi ingin dapat mengambil cuplikan layar kapan saja."
-#: src/screenshot.c:265 src/wallpaper.c:209
+#: src/screenshot.c:269 src/wallpaper.c:213
msgid "This permission can be changed at any time from the privacy settings."
msgstr "Izin ini dapat diubah kapan saja dari pengaturan privasi."
-#: src/settings.c:127
+#: src/settings.c:127 src/settings.c:163
msgid "Requested setting not found"
msgstr "Pengaturan yang diminta tidak ditemukan"
-#: src/wallpaper.c:192
-msgid "Allow Applications to Set Backgrounds?"
-msgstr "Izinkan Aplikasi untuk Mengatur Latar Belakang?"
-
-#: src/wallpaper.c:193
-msgid "An application is requesting to be able to change the background image."
-msgstr "Aplikasi meminta untuk dapat mengubah gambar latar belakang."
-
-#: src/wallpaper.c:205
+#: src/wallpaper.c:200
#, c-format
msgid "Allow %s to Set Backgrounds?"
msgstr "Izinkan %s untuk Mengatur Latar Belakang?"
-#: src/wallpaper.c:206
+#: src/wallpaper.c:201
#, c-format
msgid "%s is requesting to be able to change the background image."
msgstr "%s meminta untuk dapat mengubah gambar latar belakang."
+
+#: src/wallpaper.c:209
+msgid "Allow Applications to Set Backgrounds?"
+msgstr "Izinkan Aplikasi untuk Mengatur Latar Belakang?"
+
+#: src/wallpaper.c:210
+msgid "An application is requesting to be able to change the background image."
+msgstr "Aplikasi meminta untuk dapat mengubah gambar latar belakang."
diff --git a/po/it.po b/po/it.po
index 905bbec..3183ec8 100644
--- a/po/it.po
+++ b/po/it.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-08-04 16:59-0300\n"
+"POT-Creation-Date: 2023-08-27 13:08-0300\n"
"PO-Revision-Date: 2020-02-10 16:11+0100\n"
"Last-Translator: Milo Casagrande <milo@milo.name>\n"
"Language-Team: Italian <gnome-it-list@gnome.org>\n"
@@ -120,15 +120,7 @@ msgstr "Nega accesso"
msgid "Grant Access"
msgstr "Consenti accesso"
-#: src/location.c:534
-msgid "Grant Access to Your Location?"
-msgstr "Consentire l'accesso alla propria posizione?"
-
-#: src/location.c:535
-msgid "An application wants to use your location."
-msgstr "Un'applicazione vuole utilizzare la propria posizione."
-
-#: src/location.c:547
+#: src/location.c:546
#, c-format
msgid "Give %s Access to Your Location?"
msgstr "Consentire a %s di accedere alla propria posizione?"
@@ -138,7 +130,15 @@ msgstr "Consentire a %s di accedere alla propria posizione?"
msgid "%s wants to use your location."
msgstr "%s vuole utilizzare la propria posizione."
-#: src/location.c:554
+#: src/location.c:559
+msgid "Grant Access to Your Location?"
+msgstr "Consentire l'accesso alla propria posizione?"
+
+#: src/location.c:560
+msgid "An application wants to use your location."
+msgstr "Un'applicazione vuole utilizzare la propria posizione."
+
+#: src/location.c:563
msgid "Location access can be changed at any time from the privacy settings."
msgstr ""
"L'accesso alla posizione può essere modificato in qualsiasi momento "
@@ -148,50 +148,50 @@ msgstr ""
msgid "Deny"
msgstr "Nega"
-#: src/screenshot.c:252
+#: src/screenshot.c:256
#, fuzzy, c-format
msgid "Allow %s to Take Screenshots?"
msgstr "Consentire a %s di impostare lo sfondo?"
-#: src/screenshot.c:253
+#: src/screenshot.c:257
#, c-format
msgid "%s wants to be able to take screenshots at any time."
msgstr ""
-#: src/screenshot.c:261
+#: src/screenshot.c:265
#, fuzzy
msgid "Allow Applications to Take Screenshots?"
msgstr "Consentire alle applicazioni di impostare lo sfondo?"
-#: src/screenshot.c:262
+#: src/screenshot.c:266
#, fuzzy
msgid "An application wants to be able to take screenshots at any time."
msgstr "Un'applicazione vuole utilizzare il microfono."
-#: src/screenshot.c:265 src/wallpaper.c:209
+#: src/screenshot.c:269 src/wallpaper.c:213
msgid "This permission can be changed at any time from the privacy settings."
msgstr ""
"Questa impostazione può essere modificata in qualsiasi momento attraverso le "
"impostazioni della privacy."
-#: src/settings.c:127
+#: src/settings.c:127 src/settings.c:163
msgid "Requested setting not found"
msgstr "La risorsa richiesta non è stata trovata"
-#: src/wallpaper.c:192
-msgid "Allow Applications to Set Backgrounds?"
-msgstr "Consentire alle applicazioni di impostare lo sfondo?"
-
-#: src/wallpaper.c:193
-msgid "An application is requesting to be able to change the background image."
-msgstr "Un'applicazione richiede di poter cambiare l'immagine di sfondo."
-
-#: src/wallpaper.c:205
+#: src/wallpaper.c:200
#, c-format
msgid "Allow %s to Set Backgrounds?"
msgstr "Consentire a %s di impostare lo sfondo?"
-#: src/wallpaper.c:206
+#: src/wallpaper.c:201
#, c-format
msgid "%s is requesting to be able to change the background image."
msgstr "L'applicazione %s richiede di poter cambiare l'immagine di sfondo."
+
+#: src/wallpaper.c:209
+msgid "Allow Applications to Set Backgrounds?"
+msgstr "Consentire alle applicazioni di impostare lo sfondo?"
+
+#: src/wallpaper.c:210
+msgid "An application is requesting to be able to change the background image."
+msgstr "Un'applicazione richiede di poter cambiare l'immagine di sfondo."
diff --git a/po/ka.po b/po/ka.po
index 26b422a..16cbd0b 100644
--- a/po/ka.po
+++ b/po/ka.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-08-04 16:59-0300\n"
+"POT-Creation-Date: 2023-08-27 13:08-0300\n"
"PO-Revision-Date: 2023-02-25 14:53+0100\n"
"Last-Translator: Temuri Doghonadze <temuri.doghonadze@gmail.com>\n"
"Language-Team: Georgian <(nothing)>\n"
@@ -118,15 +118,7 @@ msgstr "წვდომის უარყოფა"
msgid "Grant Access"
msgstr "წვდომის მინიჭება"
-#: src/location.c:534
-msgid "Grant Access to Your Location?"
-msgstr "მივანიჭოთ თქვენს მდებარეობაზე წვდომა?"
-
-#: src/location.c:535
-msgid "An application wants to use your location."
-msgstr "აპლიკაციას სურს გამოიყენოს თქვენი მდებარეობა."
-
-#: src/location.c:547
+#: src/location.c:546
#, c-format
msgid "Give %s Access to Your Location?"
msgstr "მივანიჭოთ %s-ს თქვენს მდებარეობაზე წვდომა?"
@@ -136,7 +128,15 @@ msgstr "მივანიჭოთ %s-ს თქვენს მდებარ
msgid "%s wants to use your location."
msgstr "%s-ს სურს გამოიყენოს თქვენი მდებარეობა."
-#: src/location.c:554
+#: src/location.c:559
+msgid "Grant Access to Your Location?"
+msgstr "მივანიჭოთ თქვენს მდებარეობაზე წვდომა?"
+
+#: src/location.c:560
+msgid "An application wants to use your location."
+msgstr "აპლიკაციას სურს გამოიყენოს თქვენი მდებარეობა."
+
+#: src/location.c:563
msgid "Location access can be changed at any time from the privacy settings."
msgstr ""
"მდებარეობაზე წვდომა შეიძლება შეიცვალოს ნებისმიერ დროს კონფიდენციალურობის "
@@ -146,48 +146,48 @@ msgstr ""
msgid "Deny"
msgstr "უარყოფა"
-#: src/screenshot.c:252
+#: src/screenshot.c:256
#, c-format
msgid "Allow %s to Take Screenshots?"
msgstr "მიეცეს %s-ს ეკრანის ანაბეჭდების გადაღების უფლება?"
-#: src/screenshot.c:253
+#: src/screenshot.c:257
#, c-format
msgid "%s wants to be able to take screenshots at any time."
msgstr "%s-ს სურს ეკრანის ანაბეჭდის სურვილისამებრ გადაღების უფლება მიიღოს."
-#: src/screenshot.c:261
+#: src/screenshot.c:265
msgid "Allow Applications to Take Screenshots?"
msgstr "მიეცეს აპლიკაციას ეკრანის ანაბეჭდების გადაღების უფლება?"
-#: src/screenshot.c:262
+#: src/screenshot.c:266
msgid "An application wants to be able to take screenshots at any time."
msgstr ""
"აპლიკაციას სურს ეკრანის ანაბეჭდის სურვილისამებრ გადაღების უფლება მიიღოს."
-#: src/screenshot.c:265 src/wallpaper.c:209
+#: src/screenshot.c:269 src/wallpaper.c:213
msgid "This permission can be changed at any time from the privacy settings."
msgstr ""
"წვდომის შეცვლა შესაძლებელია ნებისმიერ დროს კონფიდენციალურობის პარამეტრებიდან."
-#: src/settings.c:127
+#: src/settings.c:127 src/settings.c:163
msgid "Requested setting not found"
msgstr "მოთხოვნილი პარამეტრი ვერ მოიძებნა"
-#: src/wallpaper.c:192
-msgid "Allow Applications to Set Backgrounds?"
-msgstr "მიეცეს აპლიკაციებს ფონის სურათის შეცვლის უფლება?"
-
-#: src/wallpaper.c:193
-msgid "An application is requesting to be able to change the background image."
-msgstr "აპლიკაცია ფონის სურათის შეცვლის უფლებას მოითხოვს."
-
-#: src/wallpaper.c:205
+#: src/wallpaper.c:200
#, c-format
msgid "Allow %s to Set Backgrounds?"
msgstr "მიეცეს %s-ს ფონის სურათის შეცვლის უფლება?"
-#: src/wallpaper.c:206
+#: src/wallpaper.c:201
#, c-format
msgid "%s is requesting to be able to change the background image."
msgstr "%s ფონის სურათის შეცვლის უფლებას მოითხოვს."
+
+#: src/wallpaper.c:209
+msgid "Allow Applications to Set Backgrounds?"
+msgstr "მიეცეს აპლიკაციებს ფონის სურათის შეცვლის უფლება?"
+
+#: src/wallpaper.c:210
+msgid "An application is requesting to be able to change the background image."
+msgstr "აპლიკაცია ფონის სურათის შეცვლის უფლებას მოითხოვს."
diff --git a/po/lt.po b/po/lt.po
index 649fec1..6b8ef78 100644
--- a/po/lt.po
+++ b/po/lt.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-08-04 16:59-0300\n"
+"POT-Creation-Date: 2023-08-27 13:08-0300\n"
"PO-Revision-Date: 2020-03-07 20:26+0200\n"
"Last-Translator: Moo\n"
"Language-Team: Lithuanian <gnome-lt@lists.akl.lt>\n"
@@ -119,15 +119,7 @@ msgstr "Drausti prieigą"
msgid "Grant Access"
msgstr "Suteikti prieigą"
-#: src/location.c:534
-msgid "Grant Access to Your Location?"
-msgstr "Suteikti prieigą prie jūsų buvimo vietos?"
-
-#: src/location.c:535
-msgid "An application wants to use your location."
-msgstr "Programa nori naudoti jūsų buvimo vietą."
-
-#: src/location.c:547
+#: src/location.c:546
#, c-format
msgid "Give %s Access to Your Location?"
msgstr "Suteikti %s prieigą prie jūsų buvimo vietos?"
@@ -137,7 +129,15 @@ msgstr "Suteikti %s prieigą prie jūsų buvimo vietos?"
msgid "%s wants to use your location."
msgstr "%s nori naudoti jūsų buvimo vietą."
-#: src/location.c:554
+#: src/location.c:559
+msgid "Grant Access to Your Location?"
+msgstr "Suteikti prieigą prie jūsų buvimo vietos?"
+
+#: src/location.c:560
+msgid "An application wants to use your location."
+msgstr "Programa nori naudoti jūsų buvimo vietą."
+
+#: src/location.c:563
msgid "Location access can be changed at any time from the privacy settings."
msgstr ""
"Prieiga prie jūsų buvimo vietos bet kuriuo metu gali būti pakeista privatumo "
@@ -147,49 +147,49 @@ msgstr ""
msgid "Deny"
msgstr "Drausti"
-#: src/screenshot.c:252
+#: src/screenshot.c:256
#, fuzzy, c-format
msgid "Allow %s to Take Screenshots?"
msgstr "Leisti %s nustatyti fonus?"
-#: src/screenshot.c:253
+#: src/screenshot.c:257
#, c-format
msgid "%s wants to be able to take screenshots at any time."
msgstr ""
-#: src/screenshot.c:261
+#: src/screenshot.c:265
#, fuzzy
msgid "Allow Applications to Take Screenshots?"
msgstr "Leisti programoms nustatyti fonus?"
-#: src/screenshot.c:262
+#: src/screenshot.c:266
#, fuzzy
msgid "An application wants to be able to take screenshots at any time."
msgstr "Programa nori naudoti jūsų mikrofoną."
-#: src/screenshot.c:265 src/wallpaper.c:209
+#: src/screenshot.c:269 src/wallpaper.c:213
msgid "This permission can be changed at any time from the privacy settings."
msgstr ""
"Šis leidimas bet kuriuo metu gali būti pakeistas privatumo nustatymuose."
-#: src/settings.c:127
+#: src/settings.c:127 src/settings.c:163
msgid "Requested setting not found"
msgstr "Užklaustas nustatymas nerastas"
-#: src/wallpaper.c:192
-msgid "Allow Applications to Set Backgrounds?"
-msgstr "Leisti programoms nustatyti fonus?"
-
-#: src/wallpaper.c:193
-msgid "An application is requesting to be able to change the background image."
-msgstr "Programa prašo galimybės keisti fono paveikslą."
-
-#: src/wallpaper.c:205
+#: src/wallpaper.c:200
#, c-format
msgid "Allow %s to Set Backgrounds?"
msgstr "Leisti %s nustatyti fonus?"
-#: src/wallpaper.c:206
+#: src/wallpaper.c:201
#, c-format
msgid "%s is requesting to be able to change the background image."
msgstr "%s prašo galimybės keisti fono paveikslą."
+
+#: src/wallpaper.c:209
+msgid "Allow Applications to Set Backgrounds?"
+msgstr "Leisti programoms nustatyti fonus?"
+
+#: src/wallpaper.c:210
+msgid "An application is requesting to be able to change the background image."
+msgstr "Programa prašo galimybės keisti fono paveikslą."
diff --git a/po/nl.po b/po/nl.po
index 33aa44e..ad4923f 100644
--- a/po/nl.po
+++ b/po/nl.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-08-04 16:59-0300\n"
+"POT-Creation-Date: 2023-08-27 13:08-0300\n"
"PO-Revision-Date: 2021-07-18 14:05+0200\n"
"Last-Translator: Heimen Stoffels <vistausss@fastmail.com>\n"
"Language-Team: Dutch\n"
@@ -122,15 +122,7 @@ msgstr "Toegang weigeren"
msgid "Grant Access"
msgstr "Toegang verlenen"
-#: src/location.c:534
-msgid "Grant Access to Your Location?"
-msgstr "Toegang verlenen tot uw locatie?"
-
-#: src/location.c:535
-msgid "An application wants to use your location."
-msgstr "Een toepassing wil uw locatie opvragen."
-
-#: src/location.c:547
+#: src/location.c:546
#, c-format
msgid "Give %s Access to Your Location?"
msgstr "Wilt u %s toegang verlenen tot uw locatie?"
@@ -140,7 +132,15 @@ msgstr "Wilt u %s toegang verlenen tot uw locatie?"
msgid "%s wants to use your location."
msgstr "%s wil uw locatie opvragen."
-#: src/location.c:554
+#: src/location.c:559
+msgid "Grant Access to Your Location?"
+msgstr "Toegang verlenen tot uw locatie?"
+
+#: src/location.c:560
+msgid "An application wants to use your location."
+msgstr "Een toepassing wil uw locatie opvragen."
+
+#: src/location.c:563
msgid "Location access can be changed at any time from the privacy settings."
msgstr ""
"De toegang tot uw locatie kan te allen tijde worden aangepast in de "
@@ -150,52 +150,52 @@ msgstr ""
msgid "Deny"
msgstr "Weigeren"
-#: src/screenshot.c:252
+#: src/screenshot.c:256
#, fuzzy, c-format
msgid "Allow %s to Take Screenshots?"
msgstr "%s toestaan achtergronden in te stellen?"
-#: src/screenshot.c:253
+#: src/screenshot.c:257
#, c-format
msgid "%s wants to be able to take screenshots at any time."
msgstr ""
-#: src/screenshot.c:261
+#: src/screenshot.c:265
#, fuzzy
msgid "Allow Applications to Take Screenshots?"
msgstr "Toepassingen toestaan achtergronden in te stellen?"
-#: src/screenshot.c:262
+#: src/screenshot.c:266
#, fuzzy
msgid "An application wants to be able to take screenshots at any time."
msgstr "Een toepassing wil uw microfoon gebruiken."
-#: src/screenshot.c:265 src/wallpaper.c:209
+#: src/screenshot.c:269 src/wallpaper.c:213
msgid "This permission can be changed at any time from the privacy settings."
msgstr ""
"Dit toegangsrecht kan te allen tijde worden aangepast in de "
"privacyvoorkeuren."
-#: src/settings.c:127
+#: src/settings.c:127 src/settings.c:163
msgid "Requested setting not found"
msgstr "De opgevraagde instelling bestaat niet"
-#: src/wallpaper.c:192
-msgid "Allow Applications to Set Backgrounds?"
-msgstr "Toepassingen toestaan achtergronden in te stellen?"
-
-#: src/wallpaper.c:193
-msgid "An application is requesting to be able to change the background image."
-msgstr ""
-"Een toepassing verzoekt de mogelijkheid om uw achtergrondafbeelding te "
-"wijzigen."
-
-#: src/wallpaper.c:205
+#: src/wallpaper.c:200
#, c-format
msgid "Allow %s to Set Backgrounds?"
msgstr "%s toestaan achtergronden in te stellen?"
-#: src/wallpaper.c:206
+#: src/wallpaper.c:201
#, c-format
msgid "%s is requesting to be able to change the background image."
msgstr "%s verzoekt de mogelijkheid om uw achtergrondafbeelding te wijzigen."
+
+#: src/wallpaper.c:209
+msgid "Allow Applications to Set Backgrounds?"
+msgstr "Toepassingen toestaan achtergronden in te stellen?"
+
+#: src/wallpaper.c:210
+msgid "An application is requesting to be able to change the background image."
+msgstr ""
+"Een toepassing verzoekt de mogelijkheid om uw achtergrondafbeelding te "
+"wijzigen."
diff --git a/po/oc.po b/po/oc.po
index cb4b15d..8581ed2 100644
--- a/po/oc.po
+++ b/po/oc.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-08-04 16:59-0300\n"
+"POT-Creation-Date: 2023-08-27 13:08-0300\n"
"PO-Revision-Date: 2023-02-13 18:49+0100\n"
"Last-Translator: Quentin PAGÈS\n"
"Language-Team: Occitan\n"
@@ -118,15 +118,7 @@ msgstr "Refusar l’accès"
msgid "Grant Access"
msgstr "Acordar l’accès"
-#: src/location.c:534
-msgid "Grant Access to Your Location?"
-msgstr "Donar accès a vòstre localizacion ?"
-
-#: src/location.c:535
-msgid "An application wants to use your location."
-msgstr "Una aplicacion vòl utilizar vòstra localizacion."
-
-#: src/location.c:547
+#: src/location.c:546
#, c-format
msgid "Give %s Access to Your Location?"
msgstr "Donar accès a %s a vòstra localizacion ?"
@@ -136,7 +128,15 @@ msgstr "Donar accès a %s a vòstra localizacion ?"
msgid "%s wants to use your location."
msgstr "%s vòl utilizar vòstra localizacion."
-#: src/location.c:554
+#: src/location.c:559
+msgid "Grant Access to Your Location?"
+msgstr "Donar accès a vòstre localizacion ?"
+
+#: src/location.c:560
+msgid "An application wants to use your location."
+msgstr "Una aplicacion vòl utilizar vòstra localizacion."
+
+#: src/location.c:563
msgid "Location access can be changed at any time from the privacy settings."
msgstr ""
"Las règlas d’accès a la localizacion se pòdon a tot moment modificar als "
@@ -146,48 +146,48 @@ msgstr ""
msgid "Deny"
msgstr "Refusar"
-#: src/screenshot.c:252
+#: src/screenshot.c:256
#, c-format
msgid "Allow %s to Take Screenshots?"
msgstr "Permetre a %s de prendre de capturas d’ecran ?"
-#: src/screenshot.c:253
+#: src/screenshot.c:257
#, c-format
msgid "%s wants to be able to take screenshots at any time."
msgstr "%s vòl poder prendre de capturas d’ecran en tot temps."
-#: src/screenshot.c:261
+#: src/screenshot.c:265
msgid "Allow Applications to Take Screenshots?"
msgstr "Permetre a las aplicacions de prendre de capturas d’ecran ?"
-#: src/screenshot.c:262
+#: src/screenshot.c:266
msgid "An application wants to be able to take screenshots at any time."
msgstr "Una aplicacion vòl poder prendre de capturas d’ecran en tot temps."
-#: src/screenshot.c:265 src/wallpaper.c:209
+#: src/screenshot.c:269 src/wallpaper.c:213
msgid "This permission can be changed at any time from the privacy settings."
msgstr ""
"Las permissions se pòdon modificar a tot moment als paramètres de "
"confidencialitat."
-#: src/settings.c:127
+#: src/settings.c:127 src/settings.c:163
msgid "Requested setting not found"
msgstr "Paramètre demandat pas trobat"
-#: src/wallpaper.c:192
-msgid "Allow Applications to Set Backgrounds?"
-msgstr "Permetre a las aplicacions de definir los fonzes d’ecran ?"
-
-#: src/wallpaper.c:193
-msgid "An application is requesting to be able to change the background image."
-msgstr "Una aplicacion demanda de poder modificar l’imatge de rèireplan."
-
-#: src/wallpaper.c:205
+#: src/wallpaper.c:200
#, c-format
msgid "Allow %s to Set Backgrounds?"
msgstr "Permetre a %s de definir de fonzes d’ecran ?"
-#: src/wallpaper.c:206
+#: src/wallpaper.c:201
#, c-format
msgid "%s is requesting to be able to change the background image."
msgstr "%s demanda de poder modificar l’imatge de rèireplan."
+
+#: src/wallpaper.c:209
+msgid "Allow Applications to Set Backgrounds?"
+msgstr "Permetre a las aplicacions de definir los fonzes d’ecran ?"
+
+#: src/wallpaper.c:210
+msgid "An application is requesting to be able to change the background image."
+msgstr "Una aplicacion demanda de poder modificar l’imatge de rèireplan."
diff --git a/po/pl.po b/po/pl.po
index 407f65f..4cc5403 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-08-04 16:59-0300\n"
+"POT-Creation-Date: 2023-08-27 13:08-0300\n"
"PO-Revision-Date: 2022-09-11 15:05+0200\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Polish <community-poland@mozilla.org>\n"
@@ -116,15 +116,7 @@ msgstr "Odmów dostępu"
msgid "Grant Access"
msgstr "Udziel dostępu"
-#: src/location.c:534
-msgid "Grant Access to Your Location?"
-msgstr "Udzielić dostęp do położenia?"
-
-#: src/location.c:535
-msgid "An application wants to use your location."
-msgstr "Program potrzebuje dostępu do położenia."
-
-#: src/location.c:547
+#: src/location.c:546
#, c-format
msgid "Give %s Access to Your Location?"
msgstr "Udzielić dostęp do położenia programowi „%s”?"
@@ -134,7 +126,15 @@ msgstr "Udzielić dostęp do położenia programowi „%s”?"
msgid "%s wants to use your location."
msgstr "Program „%s” potrzebuje dostępu do położenia."
-#: src/location.c:554
+#: src/location.c:559
+msgid "Grant Access to Your Location?"
+msgstr "Udzielić dostęp do położenia?"
+
+#: src/location.c:560
+msgid "An application wants to use your location."
+msgstr "Program potrzebuje dostępu do położenia."
+
+#: src/location.c:563
msgid "Location access can be changed at any time from the privacy settings."
msgstr ""
"Dostęp do położenia można zmienić w każdej chwili w ustawieniach prywatności."
@@ -143,51 +143,51 @@ msgstr ""
msgid "Deny"
msgstr "Odmów"
-#: src/screenshot.c:252
+#: src/screenshot.c:256
#, c-format
msgid "Allow %s to Take Screenshots?"
msgstr "Pozwolić programowi „%s” na wykonywanie zrzutów ekranu?"
-#: src/screenshot.c:253
+#: src/screenshot.c:257
#, c-format
msgid "%s wants to be able to take screenshots at any time."
msgstr ""
"Program „%s” potrzebuje mieć możliwość wykonywania zrzutów ekranu w dowolnym "
"czasie."
-#: src/screenshot.c:261
+#: src/screenshot.c:265
msgid "Allow Applications to Take Screenshots?"
msgstr "Pozwolić programowi na wykonywanie zrzutów ekranu?"
-#: src/screenshot.c:262
+#: src/screenshot.c:266
msgid "An application wants to be able to take screenshots at any time."
msgstr ""
"Program potrzebuje mieć możliwość wykonywania zrzutów ekranu w dowolnym "
"czasie."
-#: src/screenshot.c:265 src/wallpaper.c:209
+#: src/screenshot.c:269 src/wallpaper.c:213
msgid "This permission can be changed at any time from the privacy settings."
msgstr ""
"To uprawnienie można zmienić w każdej chwili w ustawieniach prywatności."
-#: src/settings.c:127
+#: src/settings.c:127 src/settings.c:163
msgid "Requested setting not found"
msgstr "Nie odnaleziono żądanego ustawienia"
-#: src/wallpaper.c:192
-msgid "Allow Applications to Set Backgrounds?"
-msgstr "Pozwolić programowi na ustawianie tła?"
-
-#: src/wallpaper.c:193
-msgid "An application is requesting to be able to change the background image."
-msgstr "Program potrzebuje mieć możliwość zmiany obrazu tła."
-
-#: src/wallpaper.c:205
+#: src/wallpaper.c:200
#, c-format
msgid "Allow %s to Set Backgrounds?"
msgstr "Pozwolić programowi „%s” na ustawianie tła?"
-#: src/wallpaper.c:206
+#: src/wallpaper.c:201
#, c-format
msgid "%s is requesting to be able to change the background image."
msgstr "Program „%s” potrzebuje mieć możliwość zmiany obrazu tła."
+
+#: src/wallpaper.c:209
+msgid "Allow Applications to Set Backgrounds?"
+msgstr "Pozwolić programowi na ustawianie tła?"
+
+#: src/wallpaper.c:210
+msgid "An application is requesting to be able to change the background image."
+msgstr "Program potrzebuje mieć możliwość zmiany obrazu tła."
diff --git a/po/pt.po b/po/pt.po
index c40e9f6..c157fdd 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-08-04 16:59-0300\n"
+"POT-Creation-Date: 2023-08-27 13:08-0300\n"
"PO-Revision-Date: 2022-01-20 10:40-0300\n"
"Last-Translator: Juliano de Souza Camargo <julianosc@protonmail.com>\n"
"Language-Team: Portuguese < https://l10n.gnome.org/teams/pt/>\n"
@@ -118,15 +118,7 @@ msgstr "Negar acesso"
msgid "Grant Access"
msgstr "Conceder acesso"
-#: src/location.c:534
-msgid "Grant Access to Your Location?"
-msgstr "Conceder acesso à sua localização?"
-
-#: src/location.c:535
-msgid "An application wants to use your location."
-msgstr "Uma aplicação requisita acesso à sua localização."
-
-#: src/location.c:547
+#: src/location.c:546
#, c-format
msgid "Give %s Access to Your Location?"
msgstr "Permitir que %s aceda à sua localização?"
@@ -136,7 +128,15 @@ msgstr "Permitir que %s aceda à sua localização?"
msgid "%s wants to use your location."
msgstr "%s quer ter acesso à sua localização."
-#: src/location.c:554
+#: src/location.c:559
+msgid "Grant Access to Your Location?"
+msgstr "Conceder acesso à sua localização?"
+
+#: src/location.c:560
+msgid "An application wants to use your location."
+msgstr "Uma aplicação requisita acesso à sua localização."
+
+#: src/location.c:563
msgid "Location access can be changed at any time from the privacy settings."
msgstr ""
"Pode alterar, em qualquer altura, o acesso à localização pelas definições de "
@@ -146,50 +146,50 @@ msgstr ""
msgid "Deny"
msgstr "Negar"
-#: src/screenshot.c:252
+#: src/screenshot.c:256
#, fuzzy, c-format
msgid "Allow %s to Take Screenshots?"
msgstr "Permitir que %s defina o fundo?"
-#: src/screenshot.c:253
+#: src/screenshot.c:257
#, c-format
msgid "%s wants to be able to take screenshots at any time."
msgstr ""
-#: src/screenshot.c:261
+#: src/screenshot.c:265
#, fuzzy
msgid "Allow Applications to Take Screenshots?"
msgstr "Permitir que aplicações definam o fundo?"
-#: src/screenshot.c:262
+#: src/screenshot.c:266
#, fuzzy
msgid "An application wants to be able to take screenshots at any time."
msgstr "Uma aplicação requisita o uso de seu microfone."
-#: src/screenshot.c:265 src/wallpaper.c:209
+#: src/screenshot.c:269 src/wallpaper.c:213
msgid "This permission can be changed at any time from the privacy settings."
msgstr ""
"Pode alterar, em qualquer altura, esta permissão pelas definições de "
"privacidade."
-#: src/settings.c:127
+#: src/settings.c:127 src/settings.c:163
msgid "Requested setting not found"
msgstr "Definição solicitada não encontrada"
-#: src/wallpaper.c:192
-msgid "Allow Applications to Set Backgrounds?"
-msgstr "Permitir que aplicações definam o fundo?"
-
-#: src/wallpaper.c:193
-msgid "An application is requesting to be able to change the background image."
-msgstr "Uma aplicação requisita poder alterar a imagem de fundo."
-
-#: src/wallpaper.c:205
+#: src/wallpaper.c:200
#, c-format
msgid "Allow %s to Set Backgrounds?"
msgstr "Permitir que %s defina o fundo?"
-#: src/wallpaper.c:206
+#: src/wallpaper.c:201
#, c-format
msgid "%s is requesting to be able to change the background image."
msgstr "%s requisita poder alterar a imagem de fundo."
+
+#: src/wallpaper.c:209
+msgid "Allow Applications to Set Backgrounds?"
+msgstr "Permitir que aplicações definam o fundo?"
+
+#: src/wallpaper.c:210
+msgid "An application is requesting to be able to change the background image."
+msgstr "Uma aplicação requisita poder alterar a imagem de fundo."
diff --git a/po/pt_BR.po b/po/pt_BR.po
index 9c48332..bc82c59 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-08-04 16:59-0300\n"
+"POT-Creation-Date: 2023-08-27 13:08-0300\n"
"PO-Revision-Date: 2019-11-24 22:29-0300\n"
"Last-Translator: Rafael Fontenelle <rafaelff@gnome.org>\n"
"Language-Team: Brazilian Portuguese <gnome-pt_br-list@gnome.org>\n"
@@ -118,15 +118,7 @@ msgstr "Negar acesso"
msgid "Grant Access"
msgstr "Conceder acesso"
-#: src/location.c:534
-msgid "Grant Access to Your Location?"
-msgstr "Conceder acesso à sua localização?"
-
-#: src/location.c:535
-msgid "An application wants to use your location."
-msgstr "Um aplicativo deseja usar sua localização."
-
-#: src/location.c:547
+#: src/location.c:546
#, c-format
msgid "Give %s Access to Your Location?"
msgstr "Dar %s acesso a sua localização?"
@@ -136,7 +128,15 @@ msgstr "Dar %s acesso a sua localização?"
msgid "%s wants to use your location."
msgstr "%s deseja usar sua localização."
-#: src/location.c:554
+#: src/location.c:559
+msgid "Grant Access to Your Location?"
+msgstr "Conceder acesso à sua localização?"
+
+#: src/location.c:560
+msgid "An application wants to use your location."
+msgstr "Um aplicativo deseja usar sua localização."
+
+#: src/location.c:563
msgid "Location access can be changed at any time from the privacy settings."
msgstr ""
"Acesso à localização pode ser alterado a qualquer tempo a partir das "
@@ -146,53 +146,53 @@ msgstr ""
msgid "Deny"
msgstr "Negar"
-#: src/screenshot.c:252
+#: src/screenshot.c:256
#, fuzzy, c-format
msgid "Allow %s to Take Screenshots?"
msgstr "Permitir que %s defina planos de fundo?"
-#: src/screenshot.c:253
+#: src/screenshot.c:257
#, c-format
msgid "%s wants to be able to take screenshots at any time."
msgstr ""
-#: src/screenshot.c:261
+#: src/screenshot.c:265
#, fuzzy
msgid "Allow Applications to Take Screenshots?"
msgstr "Permitir que aplicativos definam planos de fundo?"
-#: src/screenshot.c:262
+#: src/screenshot.c:266
#, fuzzy
msgid "An application wants to be able to take screenshots at any time."
msgstr "Um aplicativo deseja usar seu microfone."
-#: src/screenshot.c:265 src/wallpaper.c:209
+#: src/screenshot.c:269 src/wallpaper.c:213
msgid "This permission can be changed at any time from the privacy settings."
msgstr ""
"Essa permissão pode ser alterada a qualquer momento a partir das "
"configurações de privacidades."
-#: src/settings.c:127
+#: src/settings.c:127 src/settings.c:163
msgid "Requested setting not found"
msgstr "A configuração requisitada não foi encontrada"
-#: src/wallpaper.c:192
-msgid "Allow Applications to Set Backgrounds?"
-msgstr "Permitir que aplicativos definam planos de fundo?"
-
-#: src/wallpaper.c:193
-msgid "An application is requesting to be able to change the background image."
-msgstr ""
-"Um aplicativo está solicitando a capacidade de alterar a imagem de plano de "
-"fundo."
-
-#: src/wallpaper.c:205
+#: src/wallpaper.c:200
#, c-format
msgid "Allow %s to Set Backgrounds?"
msgstr "Permitir que %s defina planos de fundo?"
-#: src/wallpaper.c:206
+#: src/wallpaper.c:201
#, c-format
msgid "%s is requesting to be able to change the background image."
msgstr ""
"%s está solicitando a capacidade de alterar a imagem de plano de fundo."
+
+#: src/wallpaper.c:209
+msgid "Allow Applications to Set Backgrounds?"
+msgstr "Permitir que aplicativos definam planos de fundo?"
+
+#: src/wallpaper.c:210
+msgid "An application is requesting to be able to change the background image."
+msgstr ""
+"Um aplicativo está solicitando a capacidade de alterar a imagem de plano de "
+"fundo."
diff --git a/po/ro.po b/po/ro.po
index 3236c94..918b817 100644
--- a/po/ro.po
+++ b/po/ro.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-08-04 16:59-0300\n"
+"POT-Creation-Date: 2023-08-27 13:08-0300\n"
"PO-Revision-Date: 2022-02-18 10:51+0000\n"
"Last-Translator: Sergiu Bivol <sergiu@cip.md>\n"
"Language-Team: Romanian\n"
@@ -118,15 +118,7 @@ msgstr "Refuză accesul"
msgid "Grant Access"
msgstr "Permite accesul"
-#: src/location.c:534
-msgid "Grant Access to Your Location?"
-msgstr "Permiteți accesul la localizare?"
-
-#: src/location.c:535
-msgid "An application wants to use your location."
-msgstr "O aplicație vrea să vă folosească localizarea."
-
-#: src/location.c:547
+#: src/location.c:546
#, c-format
msgid "Give %s Access to Your Location?"
msgstr "Permiteți accesul %s la localizare?"
@@ -136,7 +128,15 @@ msgstr "Permiteți accesul %s la localizare?"
msgid "%s wants to use your location."
msgstr "%s vrea să vă folosească localizarea."
-#: src/location.c:554
+#: src/location.c:559
+msgid "Grant Access to Your Location?"
+msgstr "Permiteți accesul la localizare?"
+
+#: src/location.c:560
+msgid "An application wants to use your location."
+msgstr "O aplicație vrea să vă folosească localizarea."
+
+#: src/location.c:563
msgid "Location access can be changed at any time from the privacy settings."
msgstr ""
"Accesul la localizare poate fi schimbat oricând din configurările de "
@@ -146,50 +146,50 @@ msgstr ""
msgid "Deny"
msgstr "Refuză"
-#: src/screenshot.c:252
+#: src/screenshot.c:256
#, fuzzy, c-format
msgid "Allow %s to Take Screenshots?"
msgstr "Permiteți %s să stabilească fundaluri?"
-#: src/screenshot.c:253
+#: src/screenshot.c:257
#, c-format
msgid "%s wants to be able to take screenshots at any time."
msgstr ""
-#: src/screenshot.c:261
+#: src/screenshot.c:265
#, fuzzy
msgid "Allow Applications to Take Screenshots?"
msgstr "Permiteți aplicațiilor să stabilească fundaluri?"
-#: src/screenshot.c:262
+#: src/screenshot.c:266
#, fuzzy
msgid "An application wants to be able to take screenshots at any time."
msgstr "O aplicație vrea să vă folosească microfonul."
-#: src/screenshot.c:265 src/wallpaper.c:209
+#: src/screenshot.c:269 src/wallpaper.c:213
msgid "This permission can be changed at any time from the privacy settings."
msgstr ""
"Această permisiune poate fi schimbată oricând din configurările de "
"confidențialitate."
-#: src/settings.c:127
+#: src/settings.c:127 src/settings.c:163
msgid "Requested setting not found"
msgstr "Configurarea cerută nu a fost găsită"
-#: src/wallpaper.c:192
-msgid "Allow Applications to Set Backgrounds?"
-msgstr "Permiteți aplicațiilor să stabilească fundaluri?"
-
-#: src/wallpaper.c:193
-msgid "An application is requesting to be able to change the background image."
-msgstr "O aplicație cere să poată schimba imaginea de fundal."
-
-#: src/wallpaper.c:205
+#: src/wallpaper.c:200
#, c-format
msgid "Allow %s to Set Backgrounds?"
msgstr "Permiteți %s să stabilească fundaluri?"
-#: src/wallpaper.c:206
+#: src/wallpaper.c:201
#, c-format
msgid "%s is requesting to be able to change the background image."
msgstr "%s cere să poată schimba imaginea de fundal."
+
+#: src/wallpaper.c:209
+msgid "Allow Applications to Set Backgrounds?"
+msgstr "Permiteți aplicațiilor să stabilească fundaluri?"
+
+#: src/wallpaper.c:210
+msgid "An application is requesting to be able to change the background image."
+msgstr "O aplicație cere să poată schimba imaginea de fundal."
diff --git a/po/ru.po b/po/ru.po
index f1839cc..b9b8161 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-08-04 16:59-0300\n"
+"POT-Creation-Date: 2023-08-27 13:08-0300\n"
"PO-Revision-Date: 2022-10-04 12:51+0300\n"
"Last-Translator: Aleksandr Melman <Alexmelman88@gmail.com>\n"
"Language-Team: Russian <gnome-cyr@gnome.org>\n"
@@ -119,15 +119,7 @@ msgstr "Отклонить запрос"
msgid "Grant Access"
msgstr "Предоставить доступ"
-#: src/location.c:534
-msgid "Grant Access to Your Location?"
-msgstr "Предоставить доступ к вашему местоположению?"
-
-#: src/location.c:535
-msgid "An application wants to use your location."
-msgstr "Приложение запрашивает доступ к сервисам геолокации."
-
-#: src/location.c:547
+#: src/location.c:546
#, c-format
msgid "Give %s Access to Your Location?"
msgstr "Дать %s доступ к вашему местоположению?"
@@ -137,7 +129,15 @@ msgstr "Дать %s доступ к вашему местоположению?"
msgid "%s wants to use your location."
msgstr "%s запрашивает доступ к использоованию сервисов геолокации."
-#: src/location.c:554
+#: src/location.c:559
+msgid "Grant Access to Your Location?"
+msgstr "Предоставить доступ к вашему местоположению?"
+
+#: src/location.c:560
+msgid "An application wants to use your location."
+msgstr "Приложение запрашивает доступ к сервисам геолокации."
+
+#: src/location.c:563
msgid "Location access can be changed at any time from the privacy settings."
msgstr ""
"Доступ к сервисам местоположения может быть изменен в любое время из меню "
@@ -147,48 +147,48 @@ msgstr ""
msgid "Deny"
msgstr "Отклонить"
-#: src/screenshot.c:252
+#: src/screenshot.c:256
#, c-format
msgid "Allow %s to Take Screenshots?"
msgstr "Разрешить %s делать снимки экрана?"
-#: src/screenshot.c:253
+#: src/screenshot.c:257
#, c-format
msgid "%s wants to be able to take screenshots at any time."
msgstr "%s хочет иметь возможность делать снимки экрана в любое время."
-#: src/screenshot.c:261
+#: src/screenshot.c:265
msgid "Allow Applications to Take Screenshots?"
msgstr "Разрешить приложениям делать снимки экрана?"
-#: src/screenshot.c:262
+#: src/screenshot.c:266
msgid "An application wants to be able to take screenshots at any time."
msgstr "Приложение хочет иметь возможность делать снимки экрана в любое время."
-#: src/screenshot.c:265 src/wallpaper.c:209
+#: src/screenshot.c:269 src/wallpaper.c:213
msgid "This permission can be changed at any time from the privacy settings."
msgstr ""
"Это разрешение может быть изменено в любое время из меню настроек "
"конфиденциальности."
-#: src/settings.c:127
+#: src/settings.c:127 src/settings.c:163
msgid "Requested setting not found"
msgstr "Запрашиваемая настройка не найдена"
-#: src/wallpaper.c:192
-msgid "Allow Applications to Set Backgrounds?"
-msgstr "Разрешить приложениям устанавливать фоновые изображения?"
-
-#: src/wallpaper.c:193
-msgid "An application is requesting to be able to change the background image."
-msgstr "Приложение запрашивает возможность изменения фонового изображения."
-
-#: src/wallpaper.c:205
+#: src/wallpaper.c:200
#, c-format
msgid "Allow %s to Set Backgrounds?"
msgstr "Разрешить %s устанавливать фоновые изображения?"
-#: src/wallpaper.c:206
+#: src/wallpaper.c:201
#, c-format
msgid "%s is requesting to be able to change the background image."
msgstr "%s запрашивает возможность изменения фонового изображения."
+
+#: src/wallpaper.c:209
+msgid "Allow Applications to Set Backgrounds?"
+msgstr "Разрешить приложениям устанавливать фоновые изображения?"
+
+#: src/wallpaper.c:210
+msgid "An application is requesting to be able to change the background image."
+msgstr "Приложение запрашивает возможность изменения фонового изображения."
diff --git a/po/sk.po b/po/sk.po
index 10bfa89..c449909 100644
--- a/po/sk.po
+++ b/po/sk.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-08-04 16:59-0300\n"
+"POT-Creation-Date: 2023-08-27 13:08-0300\n"
"PO-Revision-Date: 2020-09-22 14:32+0200\n"
"Last-Translator: Dušan Kazik <prescott66@gmail.com>\n"
"Language-Team: Slovak <gnome-sk-list@gnome.org>\n"
@@ -116,15 +116,7 @@ msgstr "Zamietnuť prístup"
msgid "Grant Access"
msgstr "Udeliť prístup"
-#: src/location.c:534
-msgid "Grant Access to Your Location?"
-msgstr "Udeliť prístup k vašej polohe?"
-
-#: src/location.c:535
-msgid "An application wants to use your location."
-msgstr "Aplikácia sa pokúša použiť vašu polohu."
-
-#: src/location.c:547
+#: src/location.c:546
#, c-format
msgid "Give %s Access to Your Location?"
msgstr "Umožniť aplikácii %s prístup k vašej polohe?"
@@ -134,7 +126,15 @@ msgstr "Umožniť aplikácii %s prístup k vašej polohe?"
msgid "%s wants to use your location."
msgstr "Aplikácia %s sa pokúša použiť vašu polohu."
-#: src/location.c:554
+#: src/location.c:559
+msgid "Grant Access to Your Location?"
+msgstr "Udeliť prístup k vašej polohe?"
+
+#: src/location.c:560
+msgid "An application wants to use your location."
+msgstr "Aplikácia sa pokúša použiť vašu polohu."
+
+#: src/location.c:563
msgid "Location access can be changed at any time from the privacy settings."
msgstr ""
"Prístup k vašej polohe môže byť kedykoľvek zmenený z nastavení súkromia."
@@ -143,48 +143,48 @@ msgstr ""
msgid "Deny"
msgstr "Odmietnuť"
-#: src/screenshot.c:252
+#: src/screenshot.c:256
#, fuzzy, c-format
msgid "Allow %s to Take Screenshots?"
msgstr "Umožniť aplikácii %s nastavovať pozadia?"
-#: src/screenshot.c:253
+#: src/screenshot.c:257
#, c-format
msgid "%s wants to be able to take screenshots at any time."
msgstr ""
-#: src/screenshot.c:261
+#: src/screenshot.c:265
#, fuzzy
msgid "Allow Applications to Take Screenshots?"
msgstr "Umožniť aplikáciám nastavovať pozadia?"
-#: src/screenshot.c:262
+#: src/screenshot.c:266
#, fuzzy
msgid "An application wants to be able to take screenshots at any time."
msgstr "Aplikácia sa pokúša použiť váš mikrofón."
-#: src/screenshot.c:265 src/wallpaper.c:209
+#: src/screenshot.c:269 src/wallpaper.c:213
msgid "This permission can be changed at any time from the privacy settings."
msgstr "Toto oprávnenie môže byť kedykoľvek zmenené z nastavení súkromia."
-#: src/settings.c:127
+#: src/settings.c:127 src/settings.c:163
msgid "Requested setting not found"
msgstr "Požadované nastavenie sa nenašlo"
-#: src/wallpaper.c:192
-msgid "Allow Applications to Set Backgrounds?"
-msgstr "Umožniť aplikáciám nastavovať pozadia?"
-
-#: src/wallpaper.c:193
-msgid "An application is requesting to be able to change the background image."
-msgstr "Aplikácia požaduje povolenie na zmenu obrázku pozadia."
-
-#: src/wallpaper.c:205
+#: src/wallpaper.c:200
#, c-format
msgid "Allow %s to Set Backgrounds?"
msgstr "Umožniť aplikácii %s nastavovať pozadia?"
-#: src/wallpaper.c:206
+#: src/wallpaper.c:201
#, c-format
msgid "%s is requesting to be able to change the background image."
msgstr "Aplikácia %s požaduje povolenie na zmenu obrázku pozadia."
+
+#: src/wallpaper.c:209
+msgid "Allow Applications to Set Backgrounds?"
+msgstr "Umožniť aplikáciám nastavovať pozadia?"
+
+#: src/wallpaper.c:210
+msgid "An application is requesting to be able to change the background image."
+msgstr "Aplikácia požaduje povolenie na zmenu obrázku pozadia."
diff --git a/po/sr.po b/po/sr.po
index f21f45b..2bb8eae 100644
--- a/po/sr.po
+++ b/po/sr.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-08-04 16:59-0300\n"
+"POT-Creation-Date: 2023-08-27 13:08-0300\n"
"PO-Revision-Date: 2016-09-14 12:54+0200\n"
"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
"Language-Team: српски <gnome-sr@googlegroups.org>\n"
@@ -119,16 +119,7 @@ msgstr ""
msgid "Grant Access"
msgstr ""
-#: src/location.c:534
-msgid "Grant Access to Your Location?"
-msgstr ""
-
-#: src/location.c:535
-#, fuzzy
-msgid "An application wants to use your location."
-msgstr "Један програм жели да користи вашу камерицу."
-
-#: src/location.c:547
+#: src/location.c:546
#, c-format
msgid "Give %s Access to Your Location?"
msgstr ""
@@ -138,7 +129,16 @@ msgstr ""
msgid "%s wants to use your location."
msgstr "„%s“ жели да користи вашу камерицу."
-#: src/location.c:554
+#: src/location.c:559
+msgid "Grant Access to Your Location?"
+msgstr ""
+
+#: src/location.c:560
+#, fuzzy
+msgid "An application wants to use your location."
+msgstr "Један програм жели да користи вашу камерицу."
+
+#: src/location.c:563
#, fuzzy
msgid "Location access can be changed at any time from the privacy settings."
msgstr ""
@@ -149,52 +149,52 @@ msgstr ""
msgid "Deny"
msgstr ""
-#: src/screenshot.c:252
+#: src/screenshot.c:256
#, c-format
msgid "Allow %s to Take Screenshots?"
msgstr ""
-#: src/screenshot.c:253
+#: src/screenshot.c:257
#, c-format
msgid "%s wants to be able to take screenshots at any time."
msgstr ""
-#: src/screenshot.c:261
+#: src/screenshot.c:265
#, fuzzy
msgid "Allow Applications to Take Screenshots?"
msgstr "Један програм жели да пусти звук."
-#: src/screenshot.c:262
+#: src/screenshot.c:266
#, fuzzy
msgid "An application wants to be able to take screenshots at any time."
msgstr "Један програм жели да користи ваш микрофон."
-#: src/screenshot.c:265 src/wallpaper.c:209
+#: src/screenshot.c:269 src/wallpaper.c:213
#, fuzzy
msgid "This permission can be changed at any time from the privacy settings."
msgstr ""
"Приступ вашим звучницима се може изменити у било које време из подешавања "
"приватности."
-#: src/settings.c:127
+#: src/settings.c:127 src/settings.c:163
msgid "Requested setting not found"
msgstr ""
-#: src/wallpaper.c:192
-#, fuzzy
-msgid "Allow Applications to Set Backgrounds?"
-msgstr "Један програм жели да пусти звук."
-
-#: src/wallpaper.c:193
-msgid "An application is requesting to be able to change the background image."
-msgstr ""
-
-#: src/wallpaper.c:205
+#: src/wallpaper.c:200
#, c-format
msgid "Allow %s to Set Backgrounds?"
msgstr ""
-#: src/wallpaper.c:206
+#: src/wallpaper.c:201
#, c-format
msgid "%s is requesting to be able to change the background image."
msgstr ""
+
+#: src/wallpaper.c:209
+#, fuzzy
+msgid "Allow Applications to Set Backgrounds?"
+msgstr "Један програм жели да пусти звук."
+
+#: src/wallpaper.c:210
+msgid "An application is requesting to be able to change the background image."
+msgstr ""
diff --git a/po/sv.po b/po/sv.po
index dadca0e..5f9c866 100644
--- a/po/sv.po
+++ b/po/sv.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-08-04 16:59-0300\n"
+"POT-Creation-Date: 2023-08-27 13:08-0300\n"
"PO-Revision-Date: 2022-09-10 15:25+0200\n"
"Last-Translator: Anders Jonsson <anders.jonsson@norsjovallen.se>\n"
"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
@@ -119,15 +119,7 @@ msgstr "Neka åtkomst"
msgid "Grant Access"
msgstr "Bevilja åtkomst"
-#: src/location.c:534
-msgid "Grant Access to Your Location?"
-msgstr "Bevilja åtkomst till din plats?"
-
-#: src/location.c:535
-msgid "An application wants to use your location."
-msgstr "Ett program vill använda din plats."
-
-#: src/location.c:547
+#: src/location.c:546
#, c-format
msgid "Give %s Access to Your Location?"
msgstr "Ge %s åtkomst till din plats?"
@@ -137,7 +129,15 @@ msgstr "Ge %s åtkomst till din plats?"
msgid "%s wants to use your location."
msgstr "%s vill använda din plats."
-#: src/location.c:554
+#: src/location.c:559
+msgid "Grant Access to Your Location?"
+msgstr "Bevilja åtkomst till din plats?"
+
+#: src/location.c:560
+msgid "An application wants to use your location."
+msgstr "Ett program vill använda din plats."
+
+#: src/location.c:563
msgid "Location access can be changed at any time from the privacy settings."
msgstr "Platsåtkomst kan ändras när som helst från sekretessinställningarna."
@@ -145,47 +145,47 @@ msgstr "Platsåtkomst kan ändras när som helst från sekretessinställningarna
msgid "Deny"
msgstr "Neka"
-#: src/screenshot.c:252
+#: src/screenshot.c:256
#, c-format
msgid "Allow %s to Take Screenshots?"
msgstr "Tillåt %s att ta skärmbilder?"
-#: src/screenshot.c:253
+#: src/screenshot.c:257
#, c-format
msgid "%s wants to be able to take screenshots at any time."
msgstr "%s vill kunna ta skärmbilder när som helst."
-#: src/screenshot.c:261
+#: src/screenshot.c:265
msgid "Allow Applications to Take Screenshots?"
msgstr "Tillåt program att ta skärmbilder?"
-#: src/screenshot.c:262
+#: src/screenshot.c:266
msgid "An application wants to be able to take screenshots at any time."
msgstr "Ett program vill kunna ta skärmbilder när som helst."
-#: src/screenshot.c:265 src/wallpaper.c:209
+#: src/screenshot.c:269 src/wallpaper.c:213
msgid "This permission can be changed at any time from the privacy settings."
msgstr ""
"Denna rättighet kan ändras när som helst från sekretessinställningarna."
-#: src/settings.c:127
+#: src/settings.c:127 src/settings.c:163
msgid "Requested setting not found"
msgstr "Begärd inställning hittades inte"
-#: src/wallpaper.c:192
-msgid "Allow Applications to Set Backgrounds?"
-msgstr "Tillåt program att ställa in bakgrunder?"
-
-#: src/wallpaper.c:193
-msgid "An application is requesting to be able to change the background image."
-msgstr "Ett program begär att kunna ändra bakgrundsbilden."
-
-#: src/wallpaper.c:205
+#: src/wallpaper.c:200
#, c-format
msgid "Allow %s to Set Backgrounds?"
msgstr "Tillåt %s att ställa in bakgrunder?"
-#: src/wallpaper.c:206
+#: src/wallpaper.c:201
#, c-format
msgid "%s is requesting to be able to change the background image."
msgstr "%s begär att kunna ändra bakgrundsbilden."
+
+#: src/wallpaper.c:209
+msgid "Allow Applications to Set Backgrounds?"
+msgstr "Tillåt program att ställa in bakgrunder?"
+
+#: src/wallpaper.c:210
+msgid "An application is requesting to be able to change the background image."
+msgstr "Ett program begär att kunna ändra bakgrundsbilden."
diff --git a/po/tr.po b/po/tr.po
index 18d141c..8ae69fd 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-08-04 16:59-0300\n"
+"POT-Creation-Date: 2023-08-27 13:08-0300\n"
"PO-Revision-Date: 2023-06-06 02:05+0300\n"
"Last-Translator: Berk Elyesa Yıldırım <beryesa@proton.me>\n"
"Language-Team: Türkçe <gnome-turk@gnome.org>\n"
@@ -122,15 +122,7 @@ msgstr "Erişimi Reddet"
msgid "Grant Access"
msgstr "Erişim İzni Ver"
-#: src/location.c:534
-msgid "Grant Access to Your Location?"
-msgstr "Konumunuza Erişim Verilsin Mi?"
-
-#: src/location.c:535
-msgid "An application wants to use your location."
-msgstr "Bir uygulama, konumunuzu kullanmak istiyor."
-
-#: src/location.c:547
+#: src/location.c:546
#, c-format
msgid "Give %s Access to Your Location?"
msgstr "%s, Bulunduğunuz Konuma Erişsin Mi?"
@@ -140,7 +132,15 @@ msgstr "%s, Bulunduğunuz Konuma Erişsin Mi?"
msgid "%s wants to use your location."
msgstr "%s, konumunuzu kullanmak istiyor."
-#: src/location.c:554
+#: src/location.c:559
+msgid "Grant Access to Your Location?"
+msgstr "Konumunuza Erişim Verilsin Mi?"
+
+#: src/location.c:560
+msgid "An application wants to use your location."
+msgstr "Bir uygulama, konumunuzu kullanmak istiyor."
+
+#: src/location.c:563
msgid "Location access can be changed at any time from the privacy settings."
msgstr ""
"Konum erişimini, gizlilik ayarlarından istediğiniz zaman değiştirilebilir."
@@ -149,46 +149,46 @@ msgstr ""
msgid "Deny"
msgstr "Reddet"
-#: src/screenshot.c:252
+#: src/screenshot.c:256
#, c-format
msgid "Allow %s to Take Screenshots?"
msgstr "%s, Ekran Görüntüsü Almasına İzin Verilsin Mi?"
-#: src/screenshot.c:253
+#: src/screenshot.c:257
#, c-format
msgid "%s wants to be able to take screenshots at any time."
msgstr "%s istediği zaman ekran görüntüsü alabilmek istiyor."
-#: src/screenshot.c:261
+#: src/screenshot.c:265
msgid "Allow Applications to Take Screenshots?"
msgstr "Uygulamaların Ekran Görüntüsü Almasına İzin Verilsin Mi?"
-#: src/screenshot.c:262
+#: src/screenshot.c:266
msgid "An application wants to be able to take screenshots at any time."
msgstr "Bir uygulama istediği zaman ekran görüntüsü alabilmek istiyor."
-#: src/screenshot.c:265 src/wallpaper.c:209
+#: src/screenshot.c:269 src/wallpaper.c:213
msgid "This permission can be changed at any time from the privacy settings."
msgstr "Bu izin, gizlilik ayarlarından istediğiniz zaman değiştirilebilir."
-#: src/settings.c:127
+#: src/settings.c:127 src/settings.c:163
msgid "Requested setting not found"
msgstr "İstenen ayar bulunamadı"
-#: src/wallpaper.c:192
-msgid "Allow Applications to Set Backgrounds?"
-msgstr "Uygulamaların Arka Planı Belirlemesine İzin Verilsin Mi?"
-
-#: src/wallpaper.c:193
-msgid "An application is requesting to be able to change the background image."
-msgstr "Bir uygulama arka planı değiştirme yetkisi istiyor."
-
-#: src/wallpaper.c:205
+#: src/wallpaper.c:200
#, c-format
msgid "Allow %s to Set Backgrounds?"
msgstr "%s, Arka Planı Belirlemesine İzin Verilsin Mi?"
-#: src/wallpaper.c:206
+#: src/wallpaper.c:201
#, c-format
msgid "%s is requesting to be able to change the background image."
msgstr "%s, arka planı değiştirme yetkisi istiyor."
+
+#: src/wallpaper.c:209
+msgid "Allow Applications to Set Backgrounds?"
+msgstr "Uygulamaların Arka Planı Belirlemesine İzin Verilsin Mi?"
+
+#: src/wallpaper.c:210
+msgid "An application is requesting to be able to change the background image."
+msgstr "Bir uygulama arka planı değiştirme yetkisi istiyor."
diff --git a/po/uk.po b/po/uk.po
index d0e222b..afe80b5 100644
--- a/po/uk.po
+++ b/po/uk.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-08-04 16:59-0300\n"
+"POT-Creation-Date: 2023-08-27 13:08-0300\n"
"PO-Revision-Date: 2022-10-04 23:10+0300\n"
"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
"Language-Team: Ukrainian <trans-uk@lists.fedoraproject.org>\n"
@@ -119,16 +119,7 @@ msgstr "Заборонити доступ"
msgid "Grant Access"
msgstr "Надати доступ"
-#: src/location.c:534
-msgid "Grant Access to Your Location?"
-msgstr "Надати доступ до даних щодо вашого перебування?"
-
-#: src/location.c:535
-msgid "An application wants to use your location."
-msgstr ""
-"Програмі потрібен доступ до використання даних щодо вашого місця перебування."
-
-#: src/location.c:547
+#: src/location.c:546
#, c-format
msgid "Give %s Access to Your Location?"
msgstr "Надати %s доступ до даних щодо вашого перебування?"
@@ -139,7 +130,16 @@ msgid "%s wants to use your location."
msgstr ""
"%s потрібен доступ до використання даних щодо вашого місця перебування."
-#: src/location.c:554
+#: src/location.c:559
+msgid "Grant Access to Your Location?"
+msgstr "Надати доступ до даних щодо вашого перебування?"
+
+#: src/location.c:560
+msgid "An application wants to use your location."
+msgstr ""
+"Програмі потрібен доступ до використання даних щодо вашого місця перебування."
+
+#: src/location.c:563
msgid "Location access can be changed at any time from the privacy settings."
msgstr ""
"Параметри доступу до даних щодо вашого місця перебування може бути будь-коли "
@@ -149,48 +149,48 @@ msgstr ""
msgid "Deny"
msgstr "Заборонити"
-#: src/screenshot.c:252
+#: src/screenshot.c:256
#, c-format
msgid "Allow %s to Take Screenshots?"
msgstr "Дозволити %s робити знімки вікон?"
-#: src/screenshot.c:253
+#: src/screenshot.c:257
#, c-format
msgid "%s wants to be able to take screenshots at any time."
msgstr "%s потрібна можливість будь-коли створювати знімки вікон."
-#: src/screenshot.c:261
+#: src/screenshot.c:265
msgid "Allow Applications to Take Screenshots?"
msgstr "Дозволити програмам робити знімки вікон?"
-#: src/screenshot.c:262
+#: src/screenshot.c:266
msgid "An application wants to be able to take screenshots at any time."
msgstr "Програмі потрібна можливість будь-коли створювати знімки вікон."
-#: src/screenshot.c:265 src/wallpaper.c:209
+#: src/screenshot.c:269 src/wallpaper.c:213
msgid "This permission can be changed at any time from the privacy settings."
msgstr ""
"Параметри цього доступу може бути будь-коли змінено за допомогою налаштувань "
"конфіденційності."
-#: src/settings.c:127
+#: src/settings.c:127 src/settings.c:163
msgid "Requested setting not found"
msgstr "Потрібного вам параметра не знайдено"
-#: src/wallpaper.c:192
-msgid "Allow Applications to Set Backgrounds?"
-msgstr "Дозволити програмам встановлювати фонове зображення?"
-
-#: src/wallpaper.c:193
-msgid "An application is requesting to be able to change the background image."
-msgstr "Програмою надіслано запит щодо доступу до зміни фонового зображення."
-
-#: src/wallpaper.c:205
+#: src/wallpaper.c:200
#, c-format
msgid "Allow %s to Set Backgrounds?"
msgstr "Дозволити %s встановлювати фонове зображення?"
-#: src/wallpaper.c:206
+#: src/wallpaper.c:201
#, c-format
msgid "%s is requesting to be able to change the background image."
msgstr "%s надіслано запит щодо доступу до зміни фонового зображення."
+
+#: src/wallpaper.c:209
+msgid "Allow Applications to Set Backgrounds?"
+msgstr "Дозволити програмам встановлювати фонове зображення?"
+
+#: src/wallpaper.c:210
+msgid "An application is requesting to be able to change the background image."
+msgstr "Програмою надіслано запит щодо доступу до зміни фонового зображення."
diff --git a/po/zh_CN.po b/po/zh_CN.po
index 83cbe3c..8cf0637 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -3,22 +3,22 @@
# This file is distributed under the same license as the xdg-desktop-portal package.
# Mingye Wang <arthur2e5@aosc.xyz>, 2016.
# 王滋涵 Zephyr Waitzman <i@wi24rd.ml>, 2019.
-# lumingzh <lumingzh@qq.com>, 2020.
# Dingzhong Chen <wsxy162@gmail.com>, 2020.
+# lumingzh <lumingzh@qq.com>, 2020-2023.
#
msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-08-04 16:59-0300\n"
-"PO-Revision-Date: 2020-10-09 00:19+0800\n"
-"Last-Translator: Dingzhong Chen <wsxy162@gmail.com>\n"
+"POT-Creation-Date: 2023-08-27 13:08-0300\n"
+"PO-Revision-Date: 2023-08-17 19:32+0800\n"
+"Last-Translator: lumingzh <lumingzh@qq.com>\n"
"Language-Team: Chinese - China <i18n-zh@googlegroups.com>\n"
"Language: zh_CN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Gtranslator 3.36.0\n"
+"X-Generator: Gtranslator 42.0\n"
"Plural-Forms: nplurals=1; plural=0\n"
#: src/background.c:741
@@ -113,15 +113,7 @@ msgstr "拒绝访问"
msgid "Grant Access"
msgstr "授权访问"
-#: src/location.c:534
-msgid "Grant Access to Your Location?"
-msgstr "授权访问您的位置信息?"
-
-#: src/location.c:535
-msgid "An application wants to use your location."
-msgstr "有应用程序想使用您的位置信息。"
-
-#: src/location.c:547
+#: src/location.c:546
#, c-format
msgid "Give %s Access to Your Location?"
msgstr "授予 %s 访问您的位置信息权限?"
@@ -131,7 +123,15 @@ msgstr "授予 %s 访问您的位置信息权限?"
msgid "%s wants to use your location."
msgstr "%s 想使用您的位置信息。"
-#: src/location.c:554
+#: src/location.c:559
+msgid "Grant Access to Your Location?"
+msgstr "授权访问您的位置信息?"
+
+#: src/location.c:560
+msgid "An application wants to use your location."
+msgstr "有应用程序想使用您的位置信息。"
+
+#: src/location.c:563
msgid "Location access can be changed at any time from the privacy settings."
msgstr "您可随时在隐私设置中修改位置信息的访问权限。"
@@ -139,48 +139,46 @@ msgstr "您可随时在隐私设置中修改位置信息的访问权限。"
msgid "Deny"
msgstr "拒绝"
-#: src/screenshot.c:252
-#, fuzzy, c-format
+#: src/screenshot.c:256
+#, c-format
msgid "Allow %s to Take Screenshots?"
-msgstr "允许 %s 设置背景吗?"
+msgstr "允许 %s 获取截屏吗?"
-#: src/screenshot.c:253
+#: src/screenshot.c:257
#, c-format
msgid "%s wants to be able to take screenshots at any time."
-msgstr ""
+msgstr "%s 想要在任何时候都能获取截屏。"
-#: src/screenshot.c:261
-#, fuzzy
+#: src/screenshot.c:265
msgid "Allow Applications to Take Screenshots?"
-msgstr "允许应用程序设置背景吗?"
+msgstr "允许应用程序获取截屏吗?"
-#: src/screenshot.c:262
-#, fuzzy
+#: src/screenshot.c:266
msgid "An application wants to be able to take screenshots at any time."
-msgstr "有应用程序想要使用您的麦克风。"
+msgstr "有应用程序想要在任何时候都能获取截屏。"
-#: src/screenshot.c:265 src/wallpaper.c:209
+#: src/screenshot.c:269 src/wallpaper.c:213
msgid "This permission can be changed at any time from the privacy settings."
msgstr "您可随时在隐私设置中修改该权限。"
-#: src/settings.c:127
+#: src/settings.c:127 src/settings.c:163
msgid "Requested setting not found"
msgstr "未找到请求的设置"
-#: src/wallpaper.c:192
-msgid "Allow Applications to Set Backgrounds?"
-msgstr "允许应用程序设置背景吗?"
-
-#: src/wallpaper.c:193
-msgid "An application is requesting to be able to change the background image."
-msgstr "一个应用程序正在请求允许修改背景图像。"
-
-#: src/wallpaper.c:205
+#: src/wallpaper.c:200
#, c-format
msgid "Allow %s to Set Backgrounds?"
msgstr "允许 %s 设置背景吗?"
-#: src/wallpaper.c:206
+#: src/wallpaper.c:201
#, c-format
msgid "%s is requesting to be able to change the background image."
msgstr "%s 正在请求允许修改背景图像。"
+
+#: src/wallpaper.c:209
+msgid "Allow Applications to Set Backgrounds?"
+msgstr "允许应用程序设置背景吗?"
+
+#: src/wallpaper.c:210
+msgid "An application is requesting to be able to change the background image."
+msgstr "一个应用程序正在请求允许修改背景图像。"
diff --git a/po/zh_TW.po b/po/zh_TW.po
index 2d2501f..6886612 100644
--- a/po/zh_TW.po
+++ b/po/zh_TW.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-08-04 16:59-0300\n"
+"POT-Creation-Date: 2023-08-27 13:08-0300\n"
"PO-Revision-Date: 2022-07-03 04:00+0800\n"
"Last-Translator: Freddy Cheng <freddy4212@gmail.com>\n"
"Language-Team: Chinese (Taiwan) <chinese-l10n@googlegroups.com>\n"
@@ -109,15 +109,7 @@ msgstr "不允許"
msgid "Grant Access"
msgstr "允許"
-#: src/location.c:534
-msgid "Grant Access to Your Location?"
-msgstr "允許取用您的位置資訊?"
-
-#: src/location.c:535
-msgid "An application wants to use your location."
-msgstr "應用程式想要使用您的位置資訊。"
-
-#: src/location.c:547
+#: src/location.c:546
#, c-format
msgid "Give %s Access to Your Location?"
msgstr "允許《%s》取用您的位置資訊嗎?"
@@ -127,7 +119,15 @@ msgstr "允許《%s》取用您的位置資訊嗎?"
msgid "%s wants to use your location."
msgstr "《%s》想使用您的位置資訊。"
-#: src/location.c:554
+#: src/location.c:559
+msgid "Grant Access to Your Location?"
+msgstr "允許取用您的位置資訊?"
+
+#: src/location.c:560
+msgid "An application wants to use your location."
+msgstr "應用程式想要使用您的位置資訊。"
+
+#: src/location.c:563
msgid "Location access can be changed at any time from the privacy settings."
msgstr "位置資訊取用權可隨時從隱私設定中更改。"
@@ -135,48 +135,48 @@ msgstr "位置資訊取用權可隨時從隱私設定中更改。"
msgid "Deny"
msgstr "不允許"
-#: src/screenshot.c:252
+#: src/screenshot.c:256
#, fuzzy, c-format
msgid "Allow %s to Take Screenshots?"
msgstr "允許《%s》設定背景嗎?"
-#: src/screenshot.c:253
+#: src/screenshot.c:257
#, c-format
msgid "%s wants to be able to take screenshots at any time."
msgstr ""
-#: src/screenshot.c:261
+#: src/screenshot.c:265
#, fuzzy
msgid "Allow Applications to Take Screenshots?"
msgstr "允許應用程式設定背景?"
-#: src/screenshot.c:262
+#: src/screenshot.c:266
#, fuzzy
msgid "An application wants to be able to take screenshots at any time."
msgstr "應用程式想要使用您的麥克風。"
-#: src/screenshot.c:265 src/wallpaper.c:209
+#: src/screenshot.c:269 src/wallpaper.c:213
msgid "This permission can be changed at any time from the privacy settings."
msgstr "該許可權可隨時從隱私設定中更改。"
-#: src/settings.c:127
+#: src/settings.c:127 src/settings.c:163
msgid "Requested setting not found"
msgstr "找不到請求的設定"
-#: src/wallpaper.c:192
-msgid "Allow Applications to Set Backgrounds?"
-msgstr "允許應用程式設定背景?"
-
-#: src/wallpaper.c:193
-msgid "An application is requesting to be able to change the background image."
-msgstr "應用程式請求能變更背景圖片的許可權。"
-
-#: src/wallpaper.c:205
+#: src/wallpaper.c:200
#, c-format
msgid "Allow %s to Set Backgrounds?"
msgstr "允許《%s》設定背景嗎?"
-#: src/wallpaper.c:206
+#: src/wallpaper.c:201
#, c-format
msgid "%s is requesting to be able to change the background image."
msgstr "《%s》請求能變更背景圖片的許可權。"
+
+#: src/wallpaper.c:209
+msgid "Allow Applications to Set Backgrounds?"
+msgstr "允許應用程式設定背景?"
+
+#: src/wallpaper.c:210
+msgid "An application is requesting to be able to change the background image."
+msgstr "應用程式請求能變更背景圖片的許可權。"
diff --git a/src/location.c b/src/location.c
index b56772c..146d4db 100644
--- a/src/location.c
+++ b/src/location.c
@@ -529,27 +529,36 @@ handle_start_in_thread_func (GTask *task,
g_variant_builder_add (&access_opt_builder, "{sv}",
"icon", g_variant_new_string ("find-location-symbolic"));
- if (g_str_equal (app_id, ""))
+ if (g_strcmp0 (app_id, "") != 0)
{
- title = g_strdup (_("Grant Access to Your Location?"));
- subtitle = g_strdup (_("An application wants to use your location."));
- }
- else
- {
- g_autofree char *id = NULL;
g_autoptr(GDesktopAppInfo) info = NULL;
- const char *name;
+ g_autofree gchar *id = NULL;
+ const gchar *name = NULL;
id = g_strconcat (app_id, ".desktop", NULL);
info = g_desktop_app_info_new (id);
- name = g_app_info_get_display_name (G_APP_INFO (info));
+
+ if (info)
+ name = g_app_info_get_display_name (G_APP_INFO (info));
+ else
+ name = app_id;
title = g_strdup_printf (_("Give %s Access to Your Location?"), name);
- if (g_desktop_app_info_has_key (info, "X-Geoclue-Reason"))
+
+ if (info && g_desktop_app_info_has_key (info, "X-Geoclue-Reason"))
subtitle = g_desktop_app_info_get_string (info, "X-Geoclue-Reason");
else
subtitle = g_strdup_printf (_("%s wants to use your location."), name);
}
+ else
+ {
+ /* Note: this will set the location permission for all unsandboxed
+ * apps for which an app ID can't be determined.
+ */
+ g_assert (xdp_app_info_is_host (request->app_info));
+ title = g_strdup (_("Grant Access to Your Location?"));
+ subtitle = g_strdup (_("An application wants to use your location."));
+ }
body = _("Location access can be changed at any time from the privacy settings.");
diff --git a/src/portal-impl.c b/src/portal-impl.c
index 171bdbf..b67522a 100644
--- a/src/portal-impl.c
+++ b/src/portal-impl.c
@@ -37,9 +37,9 @@ typedef struct _PortalInterface {
typedef struct _PortalConfig {
char *source;
- PortalInterface **ifaces;
+ PortalInterface **interfaces;
size_t n_ifaces;
- PortalInterface *dfl_portal;
+ PortalInterface *default_portal;
} PortalConfig;
static void
@@ -57,10 +57,10 @@ portal_config_free (PortalConfig *config)
g_clear_pointer (&config->source, g_free);
for (size_t i = 0; i < config->n_ifaces; i++)
- portal_interface_free (config->ifaces[i]);
+ portal_interface_free (config->interfaces[i]);
- g_clear_pointer (&config->dfl_portal, portal_interface_free);
- g_clear_pointer (&config->ifaces, g_free);
+ g_clear_pointer (&config->default_portal, portal_interface_free);
+ g_clear_pointer (&config->interfaces, g_free);
g_free (config);
}
@@ -109,8 +109,8 @@ validate_xdg_desktop (const char *desktop)
static char **
get_valid_current_desktops (const char *value)
{
- char **tmp;
GPtrArray *valid_desktops;
+ char **tmp;
if (value == NULL)
value = g_getenv ("XDG_CURRENT_DESKTOP");
@@ -168,8 +168,8 @@ register_portal (const char *path,
gboolean opt_verbose,
GError **error)
{
- g_autoptr(GKeyFile) keyfile = g_key_file_new ();
g_autoptr(PortalImplementation) impl = g_new0 (PortalImplementation, 1);
+ g_autoptr(GKeyFile) keyfile = g_key_file_new ();
g_autofree char *basename = NULL;
int i;
@@ -216,15 +216,6 @@ register_portal (const char *path,
}
impl->use_in = g_key_file_get_string_list (keyfile, "portal", "UseIn", NULL, error);
- if (opt_verbose && impl->use_in != NULL)
- {
- g_autofree char *uses = g_strjoinv (", ", impl->use_in);
- g_warning ("Portal %s uses the deprecated UseIn key; the preferred method to "
- "match portal implementations to desktop environments is to use the "
- "portals.conf configuration file",
- uses);
- }
-
implementations = g_list_prepend (implementations, impl);
impl = NULL;
@@ -278,9 +269,9 @@ sort_impl_by_use_in_and_name (gconstpointer a,
void
load_installed_portals (gboolean opt_verbose)
{
- const char *portal_dir;
- g_autoptr(GFile) dir = NULL;
g_autoptr(GFileEnumerator) enumerator = NULL;
+ g_autoptr(GFile) dir = NULL;
+ const char *portal_dir;
/* We need to override this in the tests */
portal_dir = g_getenv ("XDG_DESKTOP_PORTAL_DIR");
@@ -297,11 +288,13 @@ load_installed_portals (gboolean opt_verbose)
while (TRUE)
{
- g_autoptr(GFileInfo) info = g_file_enumerator_next_file (enumerator, NULL, NULL);
+ g_autoptr(GFileInfo) info = NULL;
+ g_autoptr(GError) error = NULL;
g_autoptr(GFile) child = NULL;
g_autofree char *path = NULL;
const char *name;
- g_autoptr(GError) error = NULL;
+
+ info = g_file_enumerator_next_file (enumerator, NULL, NULL);
if (info == NULL)
break;
@@ -329,20 +322,27 @@ load_portal_configuration_for_dir (gboolean opt_verbose,
const char *base_directory,
const char *portal_file)
{
- g_autofree char *path = g_build_filename (base_directory, portal_file, NULL);
- g_autoptr(GKeyFile) key_file = g_key_file_new ();
+ g_autoptr(GKeyFile) key_file = NULL;
+ g_autofree char *path = NULL;
+ g_auto(GStrv) ifaces = NULL;
+
+ key_file = g_key_file_new ();
+ path = g_build_filename (base_directory, portal_file, NULL);
g_debug ("Looking for portals configuration in '%s'", path);
if (!g_key_file_load_from_file (key_file, path, G_KEY_FILE_NONE, NULL))
return NULL;
- g_auto(GStrv) ifaces = g_key_file_get_keys (key_file, "preferred", NULL, NULL);
+ ifaces = g_key_file_get_keys (key_file, "preferred", NULL, NULL);
if (ifaces != NULL)
{
- g_autoptr(GPtrArray) interfaces = g_ptr_array_new_full (g_strv_length (ifaces) + 1, NULL);
- g_autoptr(PortalConfig) conf = g_new0 (PortalConfig, 1);
- g_autoptr(PortalInterface) dfl_portal = NULL;
+ g_autoptr(PortalInterface) default_portal = NULL;
+ g_autoptr(PortalConfig) portal_config = NULL;
+ g_autoptr(GPtrArray) interfaces = NULL;
+
+ portal_config = g_new0 (PortalConfig, 1);
+ interfaces = g_ptr_array_new_full (g_strv_length (ifaces) + 1, NULL);
for (size_t i = 0; ifaces[i] != NULL; i++)
{
@@ -363,76 +363,129 @@ load_portal_configuration_for_dir (gboolean opt_verbose,
}
if (strcmp (ifaces[i], "default") == 0)
- dfl_portal = g_steal_pointer (&interface);
+ default_portal = g_steal_pointer (&interface);
else
g_ptr_array_add (interfaces, g_steal_pointer (&interface));
}
- conf->n_ifaces = interfaces->len;
- conf->ifaces = (PortalInterface **) g_ptr_array_steal (interfaces, NULL);
- conf->dfl_portal = g_steal_pointer (&dfl_portal);
+ portal_config->n_ifaces = interfaces->len;
+ portal_config->interfaces = (PortalInterface **) g_ptr_array_steal (interfaces, NULL);
+ portal_config->default_portal = g_steal_pointer (&default_portal);
- return g_steal_pointer (&conf);
+ return g_steal_pointer (&portal_config);
}
return NULL;
}
+/*
+ * Returns: %TRUE if configuration was found in @dir
+ */
+static gboolean
+load_config_directory (const char *dir,
+ const char **desktops,
+ gboolean opt_verbose)
+{
+ g_autoptr(PortalConfig) conf = NULL;
+
+ for (size_t i = 0; desktops[i] != NULL; i++)
+ {
+ g_autofree char *portals_conf = g_strdup_printf ("%s-portals.conf", desktops[i]);
+
+ conf = load_portal_configuration_for_dir (opt_verbose, dir, portals_conf);
+
+ if (conf != NULL)
+ {
+ if (opt_verbose)
+ g_debug ("Using portal configuration file '%s/%s' for desktop '%s'",
+ dir, portals_conf, desktops[i]);
+
+ config = g_steal_pointer (&conf);
+ return TRUE;
+ }
+ }
+
+ conf = load_portal_configuration_for_dir (opt_verbose, dir, "portals.conf");
+
+ if (conf != NULL)
+ {
+ if (opt_verbose)
+ g_debug ("Using portal configuration file '%s/%s' for non-specific desktop",
+ dir, "portals.conf");
+
+ config = g_steal_pointer (&conf);
+ return TRUE;
+ }
+
+ return FALSE;
+}
+
+#define XDP_SUBDIR "xdg-desktop-portal"
+
void
load_portal_configuration (gboolean opt_verbose)
{
- g_autoptr(PortalConfig) conf = NULL;
g_autofree char *user_portal_dir = NULL;
+ const char * const *dirs;
+ const char * const *iter;
const char **desktops;
const char *portal_dir;
+ desktops = get_current_lowercase_desktops ();
+
/* We need to override this in the tests */
portal_dir = g_getenv ("XDG_DESKTOP_PORTAL_DIR");
- if (portal_dir == NULL)
- portal_dir = SYSCONFDIR "/xdg-desktop-portal";
- user_portal_dir = g_build_filename (g_get_user_config_dir (),
- "xdg-desktop-portal",
- NULL);
+ if (portal_dir != NULL)
+ {
+ load_config_directory (portal_dir, desktops, opt_verbose);
+ /* All other config directories are ignored when this is set */
+ return;
+ }
+
+ /* $XDG_CONFIG_HOME/xdg-desktop-portal/(DESKTOP-)portals.conf */
+ user_portal_dir = g_build_filename (g_get_user_config_dir (), XDP_SUBDIR, NULL);
- conf = load_portal_configuration_for_dir (opt_verbose, user_portal_dir, "portals.conf");
- if (conf != NULL)
+ if (load_config_directory (user_portal_dir, desktops, opt_verbose))
+ return;
+
+ /* $XDG_CONFIG_DIRS/xdg-desktop-portal/(DESKTOP-)portals.conf */
+ dirs = g_get_system_config_dirs ();
+
+ for (iter = dirs; iter != NULL && *iter != NULL; iter++)
{
- if (opt_verbose)
- g_debug ("Using user portal configuration file");
+ g_autofree char *dir = g_build_filename (*iter, XDP_SUBDIR, NULL);
- config = g_steal_pointer (&conf);
+ if (load_config_directory (dir, desktops, opt_verbose))
+ return;
}
- desktops = get_current_lowercase_desktops ();
- for (size_t i = 0; desktops[i] != NULL; i++)
- {
- g_autofree char *portals_conf = g_strdup_printf ("%s-portals.conf", desktops[i]);
+ /* ${sysconfdir}/xdg-desktop-portal/(DESKTOP-)portals.conf */
+ if (load_config_directory (SYSCONFDIR "/" XDP_SUBDIR, desktops, opt_verbose))
+ return;
- conf = load_portal_configuration_for_dir (opt_verbose, user_portal_dir, portals_conf);
- if (conf != NULL)
- {
- if (opt_verbose)
- g_debug ("Using user portal configuration file '%s' for desktop '%s'",
- portals_conf,
- desktops[i]);
+ /* $XDG_DATA_HOME/xdg-desktop-portal/(DESKTOP-)portals.conf
+ * (just for consistency with other XDG specifications) */
+ g_clear_pointer (&user_portal_dir, g_free);
+ user_portal_dir = g_build_filename (g_get_user_data_dir (), XDP_SUBDIR, NULL);
- config = g_steal_pointer (&conf);
- return;
- }
+ if (load_config_directory (user_portal_dir, desktops, opt_verbose))
+ return;
- conf = load_portal_configuration_for_dir (opt_verbose, portal_dir, portals_conf);
- if (conf != NULL)
- {
- if (opt_verbose)
- g_debug ("Using system portal configuration file '%s' for desktop '%s'",
- portals_conf,
- desktops[i]);
+ /* $XDG_DATA_DIRS/xdg-desktop-portal/(DESKTOP-)portals.conf */
+ dirs = g_get_system_data_dirs ();
- config = g_steal_pointer (&conf);
- return;
- }
+ for (iter = dirs; iter != NULL && *iter != NULL; iter++)
+ {
+ g_autofree char *dir = g_build_filename (*iter, XDP_SUBDIR, NULL);
+
+ if (load_config_directory (dir, desktops, opt_verbose))
+ return;
}
+
+ /* ${datadir}/xdg-desktop-portal/(DESKTOP-)portals.conf */
+ if (load_config_directory (DATADIR "/" XDP_SUBDIR, desktops, opt_verbose))
+ return;
}
static gboolean
@@ -475,14 +528,14 @@ portal_impl_matches_config (const PortalImplementation *impl,
*/
for (int i = 0; i < config->n_ifaces; i++)
{
- const PortalInterface *iface = config->ifaces[i];
+ const PortalInterface *iface = config->interfaces[i];
if (g_strcmp0 (iface->dbus_name, interface) == 0)
return portal_impl_name_matches (impl, iface);
}
- if (config->dfl_portal)
- return portal_impl_name_matches (impl, config->dfl_portal);
+ if (config->default_portal)
+ return portal_impl_name_matches (impl, config->default_portal);
return FALSE;
}
@@ -494,25 +547,22 @@ find_portal_implementation (const char *interface)
GList *l;
int i;
- desktops = get_current_lowercase_desktops ();
-
- for (i = 0; desktops[i] != NULL; i++)
+ for (l = implementations; l != NULL; l = l->next)
{
- for (l = implementations; l != NULL; l = l->next)
- {
- PortalImplementation *impl = l->data;
+ PortalImplementation *impl = l->data;
- if (!g_strv_contains ((const char **)impl->interfaces, interface))
- continue;
+ if (!g_strv_contains ((const char **)impl->interfaces, interface))
+ continue;
- if (portal_impl_matches_config (impl, interface))
- {
- g_debug ("Using %s.portal for %s in %s (config)", impl->source, interface, desktops[i]);
- return impl;
- }
+ if (portal_impl_matches_config (impl, interface))
+ {
+ g_debug ("Using %s.portal for %s (config)", impl->source, interface);
+ return impl;
}
}
+ desktops = get_current_lowercase_desktops ();
+
/* Fallback to the old UseIn key */
for (i = 0; desktops[i] != NULL; i++)
{
@@ -525,25 +575,36 @@ find_portal_implementation (const char *interface)
if (impl->use_in != NULL && g_strv_case_contains ((const char **)impl->use_in, desktops[i]))
{
+ g_warning ("Choosing %s.portal for %s via the deprecated UseIn key",
+ impl->source, interface);
+ g_warning_once ("The preferred method to match portal implementations "
+ "to desktop environments is to use the portals.conf(5) "
+ "configuration file");
+
g_debug ("Using %s.portal for %s in %s (fallback)", impl->source, interface, desktops[i]);
return impl;
}
}
}
-#if 0
- /* Fall back to *any* installed implementation */
for (l = implementations; l != NULL; l = l->next)
{
PortalImplementation *impl = l->data;
+ if (!g_str_equal (impl->dbus_name, "org.freedesktop.impl.portal.desktop.gtk"))
+ continue;
+
if (!g_strv_contains ((const char **)impl->interfaces, interface))
continue;
- g_debug ("Falling back to %s.portal for %s", impl->source, interface);
+ g_warning ("Choosing %s.portal for %s via temporary hard-coded fallback",
+ impl->source, interface);
+ g_warning_once ("The preferred method to match portal implementations "
+ "to desktop environments is to use the portals.conf(5) "
+ "configuration file");
+
return impl;
}
-#endif
return NULL;
}
@@ -560,9 +621,12 @@ find_all_portal_implementations (const char *interface)
{
PortalImplementation *impl = l->data;
- if (g_strv_contains ((const char **)impl->interfaces, interface))
+ if (!g_strv_contains ((const char **)impl->interfaces, interface))
+ continue;
+
+ if (portal_impl_matches_config (impl, interface))
{
- g_debug ("Using %s.portal for %s", impl->source, interface);
+ g_debug ("Using %s.portal for %s (config)", impl->source, interface);
g_ptr_array_add (impls, impl);
}
}
diff --git a/src/screenshot.c b/src/screenshot.c
index 91d69e8..4248a9c 100644
--- a/src/screenshot.c
+++ b/src/screenshot.c
@@ -243,11 +243,15 @@ handle_screenshot_in_thread_func (GTask *task,
{
g_autoptr(GDesktopAppInfo) info = NULL;
g_autofree gchar *id = NULL;
- const gchar *name;
+ const gchar *name = NULL;
id = g_strconcat (app_id, ".desktop", NULL);
info = g_desktop_app_info_new (id);
- name = g_app_info_get_display_name (G_APP_INFO (info));
+
+ if (info)
+ name = g_app_info_get_display_name (G_APP_INFO (info));
+ else
+ name = app_id;
title = g_strdup_printf (_("Allow %s to Take Screenshots?"), name);
subtitle = g_strdup_printf (_("%s wants to be able to take screenshots at any time."), name);
diff --git a/src/wallpaper.c b/src/wallpaper.c
index 4f1b501..a58b1b4 100644
--- a/src/wallpaper.c
+++ b/src/wallpaper.c
@@ -183,28 +183,32 @@ handle_set_wallpaper_in_thread_func (GTask *task,
g_variant_builder_add (&access_opt_builder, "{sv}",
"icon", g_variant_new_string ("preferences-desktop-wallpaper-symbolic"));
- if (g_str_equal (app_id, ""))
- {
- /* Note: this will set the wallpaper permission for all unsandboxed
- * apps for which an app ID can't be determined.
- */
- g_assert (xdp_app_info_is_host (request->app_info));
- title = g_strdup (_("Allow Applications to Set Backgrounds?"));
- subtitle = g_strdup (_("An application is requesting to be able to change the background image."));
- }
- else
+ if (g_strcmp0 (app_id, "") != 0)
{
g_autoptr(GDesktopAppInfo) info = NULL;
g_autofree gchar *id = NULL;
- const gchar *name;
+ const gchar *name = NULL;
id = g_strconcat (app_id, ".desktop", NULL);
info = g_desktop_app_info_new (id);
- name = g_app_info_get_display_name (G_APP_INFO (info));
+
+ if (info)
+ name = g_app_info_get_display_name (G_APP_INFO (info));
+ else
+ name = app_id;
title = g_strdup_printf (_("Allow %s to Set Backgrounds?"), name);
subtitle = g_strdup_printf (_("%s is requesting to be able to change the background image."), name);
}
+ else
+ {
+ /* Note: this will set the wallpaper permission for all unsandboxed
+ * apps for which an app ID can't be determined.
+ */
+ g_assert (xdp_app_info_is_host (request->app_info));
+ title = g_strdup (_("Allow Applications to Set Backgrounds?"));
+ subtitle = g_strdup (_("An application is requesting to be able to change the background image."));
+ }
body = _("This permission can be changed at any time from the privacy settings.");
diff --git a/tests/meson.build b/tests/meson.build
index b91800f..a2dafee 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -273,7 +273,7 @@ python = pymod.find_installation(
required: get_option('pytest'),
)
-enable_pytest = pytest.found() and python.found()
+enable_pytest = pytest.found() and python.found() and python.language_version().version_compare('>=3.9')
if enable_pytest
subdir('templates')