@@ -9,14 +9,14 @@ msgid ""
99msgstr ""
1010"Project-Id-Version : Flatpak \n "
1111"Report-Msgid-Bugs-To : \n "
12- "POT-Creation-Date : 2024-12-01 08:05 +0530\n "
12+ "POT-Creation-Date : 2025-03-20 23:19 +0530\n "
1313"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
1414"Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
1515"
Language-Team :
LANGUAGE <[email protected] >\n "
1616"MIME-Version : 1.0\n "
1717"Content-Type : text/plain; charset=utf-8\n "
1818"Content-Transfer-Encoding : 8bit\n "
19- "Generated-By : Babel 2.16 .0\n "
19+ "Generated-By : Babel 2.17 .0\n "
2020
2121#: ../../desktop-integration.rst:2
2222msgid "Desktop Integration"
@@ -274,68 +274,75 @@ msgstr ""
274274
275275#: ../../desktop-integration.rst:149
276276msgid ""
277- "Flatpak applications cannot directly use the system theme because "
278- "flatpaks do not have access to data files or libraries in ``/usr`` (where"
279- " system themes are typically located). The solution is to package themes "
280- "as flatpaks; relying on the host to have the correct version for every "
281- "flatpak defeats the portability benefits Flatpak provides. These themes "
277+ "Flatpak applications cannot directly use the system theme from the host "
278+ "as the ``/usr`` directory inside the sandbox is reserved by the runtime, "
279+ "and host's ``/usr`` where system themes are typically stored cannot be "
280+ "made available over that. Additionally, themes often depend on specific "
281+ "toolkit versions, which may differ between the host and the runtime. "
282+ "Relying on the host to have the correct version for every flatpak also "
283+ "defeats the portability benefits Flatpak provides."
284+ msgstr ""
285+
286+ #: ../../desktop-integration.rst:157
287+ msgid ""
288+ "The solution to this is to package the themes as flatpaks. These themes "
282289"are provided as :doc:`extension` to the Freedesktop runtime for Gtk3 "
283290"themes and to the KDE runtime for Qt themes."
284291msgstr ""
285292
286- #: ../../desktop-integration.rst:157
293+ #: ../../desktop-integration.rst:161
287294msgid ""
288295"The theming system requires Flatpak 0.8.4+ and applications using up-to-"
289296"date ``org.gnome.Platform`` 3.24+, ``org.freedesktop.Platform`` 1.6+, or "
290297"``org.kde.Platform`` 5.9+."
291298msgstr ""
292299
293- #: ../../desktop-integration.rst:162
300+ #: ../../desktop-integration.rst:166
294301msgid "Installing themes"
295302msgstr ""
296303
297- #: ../../desktop-integration.rst:165
304+ #: ../../desktop-integration.rst:169
298305msgid "Instructions for Gtk themes"
299306msgstr ""
300307
301- #: ../../desktop-integration.rst:167
308+ #: ../../desktop-integration.rst:171
302309msgid ""
303310"As of Flatpak 0.10.1, Flatpak can automatically detect the active Gtk "
304311"theme on the host by reading the value of the ``gtk-theme`` DConf key."
305312msgstr ""
306313
307- #: ../../desktop-integration.rst:170
314+ #: ../../desktop-integration.rst:174
308315msgid ""
309316"If the corresponding theme is packaged as an extension in the remote, "
310317"Flatpak will automatically install it during ``flatpak install`` or "
311318"``flatpak update``."
312319msgstr ""
313320
314- #: ../../desktop-integration.rst:175
321+ #: ../../desktop-integration.rst:179
315322msgid "Instructions for Qt themes"
316323msgstr ""
317324
318- #: ../../desktop-integration.rst:177
325+ #: ../../desktop-integration.rst:181
319326msgid ""
320327"There are a few Qt theme extensions packaged on Flathub. To see a list, "
321328"you can run::"
322329msgstr ""
323330
324- #: ../../desktop-integration.rst:182
331+ #: ../../desktop-integration.rst:186
325332msgid "Then you can install the theme with::"
326333msgstr ""
327334
328- #: ../../desktop-integration.rst:186
335+ #: ../../desktop-integration.rst:190
329336msgid ""
330337"replacing ``Foo`` with the name of the desired theme. The theme needs to "
331338"be available for the KDE runtime branch used by the application."
332339msgstr ""
333340
334- #: ../../desktop-integration.rst:190
341+ #: ../../desktop-integration.rst:194
335342msgid "Gtk look and feel in Qt applications"
336343msgstr ""
337344
338- #: ../../desktop-integration.rst:192
345+ #: ../../desktop-integration.rst:196
339346msgid ""
340347"On Wayland, starting from the 5.15-22.08+ and 6.5+ branches of the "
341348"``org.kde.Platform`` runtime, "
@@ -346,64 +353,64 @@ msgid ""
346353"file#usage>`_ instructions as well."
347354msgstr ""
348355
349- #: ../../desktop-integration.rst:198
356+ #: ../../desktop-integration.rst:202
350357msgid "These plugins will be part of upstream starting at Qt 6.8."
351358msgstr ""
352359
353- #: ../../desktop-integration.rst:200
360+ #: ../../desktop-integration.rst:204
354361msgid ""
355362"For older runtimes, ``org.kde.PlatformTheme.QGnomePlatform`` and "
356363"``org.kde.WaylandDecoration.QGnomePlatform-decoration`` need to be "
357364"installed."
358365msgstr ""
359366
360- #: ../../desktop-integration.rst:205
367+ #: ../../desktop-integration.rst:209
361368msgid "Applying themes"
362369msgstr ""
363370
364- #: ../../desktop-integration.rst:207
371+ #: ../../desktop-integration.rst:211
365372msgid ""
366373"The prerequisite for applying themes in Flatpak is to have the theme "
367374"available to the application in the sandbox, commonly done by packaging "
368375"them as theme extensions."
369376msgstr ""
370377
371- #: ../../desktop-integration.rst:211
378+ #: ../../desktop-integration.rst:215
372379msgid ""
373380"Now the system theme needs to be communicated from the host to the "
374381"sandbox."
375382msgstr ""
376383
377- #: ../../desktop-integration.rst:213
384+ #: ../../desktop-integration.rst:217
378385msgid ""
379386"On X11, Gtk3 picks up themes from XSettings. Specifically, on GNOME, the "
380387"GNOME XSettings daemon ``gsd-xsettings`` reads the DConf values and "
381388"converts them into XSettings values. On GNOME, this should work by "
382389"default, provided ``gsd-xsettings`` is running."
383390msgstr ""
384391
385- #: ../../desktop-integration.rst:218
392+ #: ../../desktop-integration.rst:222
386393msgid ""
387394"On Wayland, the active theme is exposed via the corresponding Settings "
388395"portal. This requires the portal backend for the desktop environment to "
389396"be installed."
390397msgstr ""
391398
392- #: ../../desktop-integration.rst:222
399+ #: ../../desktop-integration.rst:226
393400msgid ""
394401"Once the theme is installed and exposed in the sandbox, it will be "
395402"automatically applied, depending on the toolkit or libraries used by the "
396403"application."
397404msgstr ""
398405
399- #: ../../desktop-integration.rst:226
406+ #: ../../desktop-integration.rst:230
400407msgid ""
401408"If the theme is not available via Flatpak extensions, or either the "
402409"Settings portal or XSettings support is lacking, Gtk and Qt applications "
403410"will fall back to using Adwaita or the default Qt theme."
404411msgstr ""
405412
406- #: ../../desktop-integration.rst:230
413+ #: ../../desktop-integration.rst:234
407414msgid ""
408415"In that case, either the theme needs to be packaged as an extension, or "
409416"the application needs to have permission to read the theme and Gtk or Qt "
@@ -413,62 +420,62 @@ msgid ""
413420"for the Settings portal or XSettings daemon."
414421msgstr ""
415422
416- #: ../../desktop-integration.rst:237
423+ #: ../../desktop-integration.rst:241
417424msgid ""
418425"If a Gtk theme is not packaged as an extension, an unmaintained extension"
419426" can be created for it. Please see :ref:`extension:Creating an "
420427"unmaintained Gtk theme extension`."
421428msgstr ""
422429
423- #: ../../desktop-integration.rst:242
430+ #: ../../desktop-integration.rst:246
424431msgid "Appearance Settings"
425432msgstr ""
426433
427- #: ../../desktop-integration.rst:244
434+ #: ../../desktop-integration.rst:248
428435msgid ""
429436"Appearance settings, such as the Freedesktop color-scheme preference, are"
430437" also exposed similarly via the respective Settings portal. The "
431438"application needs to support reading it, and the proper portal backends "
432439"need to be installed for this to work."
433440msgstr ""
434441
435- #: ../../desktop-integration.rst:250
442+ #: ../../desktop-integration.rst:254
436443msgid "Icons"
437444msgstr ""
438445
439- #: ../../desktop-integration.rst:252
446+ #: ../../desktop-integration.rst:256
440447msgid ""
441448"Since Flatpak 0.8.8, host icons from ``/usr/share/icons`` are exposed in "
442449"the sandbox at ``/run/host/share/icons`` and ``$XDG_DATA_HOME/icons`` in "
443450"``/run/host/user-share/icons``."
444451msgstr ""
445452
446- #: ../../desktop-integration.rst:256
453+ #: ../../desktop-integration.rst:260
447454msgid "``~/.icons`` is a legacy path and should not be used."
448455msgstr ""
449456
450- #: ../../desktop-integration.rst:259
457+ #: ../../desktop-integration.rst:263
451458msgid "Fonts"
452459msgstr ""
453460
454- #: ../../desktop-integration.rst:261
461+ #: ../../desktop-integration.rst:265
455462msgid ""
456463"Flatpak exposes fonts from the host to the sandbox, and the runtime ships"
457464" the default fontconfig from upstream."
458465msgstr ""
459466
460- #: ../../desktop-integration.rst:264
467+ #: ../../desktop-integration.rst:268
461468msgid ""
462469"Fonts from ``/usr/share/fonts`` are exposed at ``/run/host/fonts``, from "
463470"``/usr/local/share/fonts`` at ``/run/host/local-fonts``, and from "
464471"``$XDG_DATA_HOME/fonts`` at ``/run/host/user-fonts``."
465472msgstr ""
466473
467- #: ../../desktop-integration.rst:268
474+ #: ../../desktop-integration.rst:272
468475msgid "``~/.fonts`` is a legacy path and should not be used."
469476msgstr ""
470477
471- #: ../../desktop-integration.rst:270
478+ #: ../../desktop-integration.rst:274
472479msgid "Fontconfig config files from the host are not exposed."
473480msgstr ""
474481
@@ -1003,3 +1010,20 @@ msgstr ""
10031010#~ msgid "Fontconfig config files from host are not exposed."
10041011#~ msgstr ""
10051012
1013+ #~ msgid ""
1014+ #~ "Flatpak applications cannot directly use "
1015+ #~ "the system theme because flatpaks do "
1016+ #~ "not have access to data files or"
1017+ #~ " libraries in ``/usr`` (where system "
1018+ #~ "themes are typically located). The "
1019+ #~ "solution is to package themes as "
1020+ #~ "flatpaks; relying on the host to "
1021+ #~ "have the correct version for every "
1022+ #~ "flatpak defeats the portability benefits "
1023+ #~ "Flatpak provides. These themes are "
1024+ #~ "provided as :doc:`extension` to the "
1025+ #~ "Freedesktop runtime for Gtk3 themes and"
1026+ #~ " to the KDE runtime for Qt "
1027+ #~ "themes."
1028+ #~ msgstr ""
1029+
0 commit comments