@@ -9,14 +9,14 @@ msgid ""
99msgstr ""
1010"Project-Id-Version : Flatpak \n "
1111"Report-Msgid-Bugs-To : \n "
12- "POT-Creation-Date : 2025-03-13 09:30 +0530\n "
12+ "POT-Creation-Date : 2026-04-10 07:35 +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 <LL@li.org>\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.17 .0\n "
19+ "Generated-By : Babel 2.18 .0\n "
2020
2121#: ../../electron.rst:2
2222msgid "Electron"
@@ -40,11 +40,10 @@ msgstr ""
4040#: ../../electron.rst:13
4141msgid ""
4242"The guide walks through the `manifest file <https://github.com/flathub"
43- "/electron-sample-app/blob/master/flatpak/org.flathub.electron-sample-"
44- "app.yml>`_ of the `sample Electron Flatpak application "
45- "<https://github.com/flathub/electron-sample-app>`_. Before you start, it "
46- "is a good idea to take a look at this, either online or by downloading "
47- "the application."
43+ "/electron-sample-app/blob/master/org.flathub.electron-sample-app.yml>`_ "
44+ "of the `sample Electron Flatpak application <https://github.com/flathub"
45+ "/electron-sample-app>`_. Before you start, it is a good idea to take a "
46+ "look at this, either online or by downloading the application."
4847msgstr ""
4948
5049#: ../../electron.rst:22
@@ -60,43 +59,42 @@ msgstr ""
6059#: ../../electron.rst:27
6160msgid ""
6261"To get setup for the build, download or clone the sample app from GitHub,"
63- " and navigate to the ``/flatpak`` directory in the terminal. Then to "
64- "build::"
62+ " and navigate to the project directory in the terminal. Then to build::"
6563msgstr ""
6664
67- #: ../../electron.rst:33
65+ #: ../../electron.rst:32
6866msgid "Finally, the application can be run with::"
6967msgstr ""
7068
71- #: ../../electron.rst:38
69+ #: ../../electron.rst:37
7270msgid "Basic configuration"
7371msgstr ""
7472
75- #: ../../electron.rst:40
73+ #: ../../electron.rst:39
7674msgid ""
7775"The first part of the sample application's manifest specifies the "
7876"application's ID. It also configures the runtime and SDK:"
7977msgstr ""
8078
81- #: ../../electron.rst:50
79+ #: ../../electron.rst:49
8280msgid ""
8381"The Freedesktop runtime is generally the best runtime to use with "
8482"Electron applications, since it is the most minimal runtime, and other "
8583"dependencies will be specific to Electron itself."
8684msgstr ""
8785
88- #: ../../electron.rst:55
86+ #: ../../electron.rst:54
8987msgid "The Electron BaseApp"
9088msgstr ""
9189
92- #: ../../electron.rst:57
90+ #: ../../electron.rst:56
9391msgid ""
9492"Next, the manifest specifies that the Electron BaseApp should be used, by"
9593" specifying the ``base`` and ``base-version`` properties in the "
9694"application manifest:"
9795msgstr ""
9896
99- #: ../../electron.rst:66
97+ #: ../../electron.rst:65
10098msgid ""
10199"BaseApps are described in :doc:`dependencies`. Using the Electron base "
102100"app is much faster and more convenient than manually building Electron "
@@ -105,44 +103,44 @@ msgid ""
105103"saved once on disk."
106104msgstr ""
107105
108- #: ../../electron.rst:72
106+ #: ../../electron.rst:71
109107msgid "The Node.js SDK extension"
110108msgstr ""
111109
112- #: ../../electron.rst:74
110+ #: ../../electron.rst:73
113111msgid ""
114112"In order to build Electron-based apps, you need Node.js available at "
115113"build time. Flathub provides Node.js LTS versions as extensions for the "
116114"SDK, so you can install one of them and add it in your apps' manifest:"
117115msgstr ""
118116
119- #: ../../electron.rst:83
117+ #: ../../electron.rst:82
120118msgid "Enable the extension by adding it to ``PATH``:"
121119msgstr ""
122120
123- #: ../../electron.rst:90
121+ #: ../../electron.rst:89
124122msgid ""
125123"Note that the extension name (last portion of reverse-dns notation, "
126124"``node18`` in this example) must be the same in ``sdk-extensions`` and "
127125"``append-path``."
128126msgstr ""
129127
130- #: ../../electron.rst:94
128+ #: ../../electron.rst:93
131129msgid "Command"
132130msgstr ""
133131
134- #: ../../electron.rst:96
132+ #: ../../electron.rst:95
135133msgid ""
136134"The ``command`` property indicates that a script called ``run.sh`` is to "
137135"be executed to run the application. This will be explained in further "
138136"detail later."
139137msgstr ""
140138
141- #: ../../electron.rst:105
139+ #: ../../electron.rst:104
142140msgid "Sandbox permissions"
143141msgstr ""
144142
145- #: ../../electron.rst:107
143+ #: ../../electron.rst:106
146144msgid ""
147145"The standard sandbox :ref:`sandbox-permissions:Permissions guidelines` "
148146"also apply to Electron applications. However, Electron's Wayland support "
@@ -151,53 +149,53 @@ msgid ""
151149"Wayland session and nothing else is required."
152150msgstr ""
153151
154- #: ../../electron.rst:113
152+ #: ../../electron.rst:112
155153msgid ""
156154"The sample app also configures PulseAudio for sound and enables network "
157155"access:"
158156msgstr ""
159157
160- #: ../../electron.rst:126
158+ #: ../../electron.rst:125
161159msgid ""
162160"To allow experimental `native Wayland` support in Electron>=20, the "
163161"``--ozone-platform-hint=auto`` flag can be passed to the program. `auto` "
164162"will choose Wayland when the current session is running under Wayland and"
165163" Xwayland or X11 otherwise."
166164msgstr ""
167165
168- #: ../../electron.rst:131
166+ #: ../../electron.rst:130
169167msgid ""
170168"It's recommended to leave actually `enabling` Wayland up to the user for "
171169"now, i.e. set ``--socket=x11`` in the manifest. Wayland can then be "
172170"tested with::"
173171msgstr ""
174172
175- #: ../../electron.rst:137
173+ #: ../../electron.rst:136
176174msgid "Enable native Wayland support by default"
177175msgstr ""
178176
179- #: ../../electron.rst:141
177+ #: ../../electron.rst:140
180178msgid ""
181179"Native Wayland support in Electron is still experimental and often "
182180"unstable. It is advised to stick with the X11/Xwayland configuration "
183181"above as the default."
184182msgstr ""
185183
186- #: ../../electron.rst:145
184+ #: ../../electron.rst:144
187185msgid ""
188186"To make native Wayland the `default` for users, ``--socket=fallback-x11``"
189187" and ``--socket=wayland`` must be used in the manifest."
190188msgstr ""
191189
192- #: ../../electron.rst:148
190+ #: ../../electron.rst:147
193191msgid ""
194192"For Electron versions between 17 and 27, client-side window decorations "
195193"under native Wayland can be enabled by passing ``--enable-"
196194"features=WaylandWindowDecorations`` to the program. For newer versions of"
197195" Electron , this isn't necessary anymore."
198196msgstr ""
199197
200- #: ../../electron.rst:153
198+ #: ../../electron.rst:152
201199msgid ""
202200"Electron uses ``libnotify`` on Linux to provide desktop notifications. "
203201"`Since version 0.8.0 "
@@ -210,18 +208,18 @@ msgid ""
210208"``libnotify>=0.8.0`` since ``branch/23.08``."
211209msgstr ""
212210
213- #: ../../electron.rst:160
211+ #: ../../electron.rst:159
214212msgid ""
215213"To ensure proper mouse cursor scaling on HiDPI displays under Wayland, "
216214"the ``XCURSOR_PATH`` environment variable must be set to the host's "
217215"corresponding directories:"
218216msgstr ""
219217
220- #: ../../electron.rst:172
218+ #: ../../electron.rst:171
221219msgid "Using correct desktop file name"
222220msgstr ""
223221
224- #: ../../electron.rst:174
222+ #: ../../electron.rst:173
225223#, python-brace-format
226224msgid ""
227225"It's important for Linux applications to set the correct desktop file "
@@ -233,15 +231,16 @@ msgid ""
233231"\" com.example.MyApp.desktop\" ``."
234232msgstr ""
235233
236- #: ../../electron.rst:178
234+ #: ../../electron.rst:177
237235#, python-brace-format
238236msgid ""
239- "In case you repack a binary, you can use the ``patch-desktop-filename`` "
240- "script provided by the BaseApp. Each Electron binary ships with "
241- "``resources/app.asar`` file. You need to call ``patch-desktop-filename`` "
242- "with this file as argument. If your application is installed under "
243- "``${FLATPAK_DEST}/my-app`` you need to run ``patch-desktop-filename "
244- "${FLATPAK_DEST}/my-app/resources/app.asar``."
237+ "In case you repack a binary, you can use the `patch-electron-desktop-"
238+ "filename <https://codeberg.org/JakobDev/patch-electron-desktop-"
239+ "filename>`_ tool included in the BaseApp. Each Electron binary ships "
240+ "with ``resources/app.asar`` file. You need to call ``patch-desktop-"
241+ "filename`` with this file as argument. If your application is installed "
242+ "under ``${FLATPAK_DEST}/my-app`` you need to run ``patch-desktop-filename"
243+ " ${FLATPAK_DEST}/my-app/resources/app.asar``."
245244msgstr ""
246245
247246#: ../../electron.rst:183
@@ -586,3 +585,37 @@ msgstr ""
586585#~ "on ``$PATH``:"
587586#~ msgstr ""
588587
588+ #~ msgid ""
589+ #~ "The guide walks through the `manifest"
590+ #~ " file <https://github.com/flathub/electron-sample-"
591+ #~ "app/blob/master/flatpak/org.flathub.electron-sample-"
592+ #~ "app.yml>`_ of the `sample Electron "
593+ #~ "Flatpak application <https://github.com/flathub"
594+ #~ "/electron-sample-app>`_. Before you start,"
595+ #~ " it is a good idea to take "
596+ #~ "a look at this, either online or"
597+ #~ " by downloading the application."
598+ #~ msgstr ""
599+
600+ #~ msgid ""
601+ #~ "To get setup for the build, "
602+ #~ "download or clone the sample app "
603+ #~ "from GitHub, and navigate to the "
604+ #~ "``/flatpak`` directory in the terminal. "
605+ #~ "Then to build::"
606+ #~ msgstr ""
607+
608+ #~ msgid ""
609+ #~ "In case you repack a binary, you"
610+ #~ " can use the ``patch-desktop-"
611+ #~ "filename`` script provided by the "
612+ #~ "BaseApp. Each Electron binary ships with"
613+ #~ " ``resources/app.asar`` file. You need to"
614+ #~ " call ``patch-desktop-filename`` with "
615+ #~ "this file as argument. If your "
616+ #~ "application is installed under "
617+ #~ "``${FLATPAK_DEST}/my-app`` you need to "
618+ #~ "run ``patch-desktop-filename ${FLATPAK_DEST"
619+ #~ "}/my-app/resources/app.asar``."
620+ #~ msgstr ""
621+
0 commit comments