[gnome-initial-setup] Avoid unintended translator comment
- From: Will Thompson <wjt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup] Avoid unintended translator comment
- Date: Thu, 31 Mar 2022 20:56:34 +0000 (UTC)
commit 57591fd96aba65383f324fd88163cb8a6f7454c4
Author: Will Thompson <will willthompson co uk>
Date: Thu Mar 31 21:54:40 2022 +0100
Avoid unintended translator comment
Because the /* overwrite */ comment appears on the line before (omitting
blank lines) a translatable string, it and the block comment before it
were previously included in the .pot file as a note for translators:
#. By default, libhandy reads settings from the Settings portal, which causes
#. * the portal to be started, which causes gnome-keyring to be started. This
#. * interferes with our attempt below to manually start gnome-keyring and set
#. * the login keyring password to a well-known value, which we overwrite with
#. * the user's password once they choose one.
#.
#. overwrite
#: gnome-initial-setup/gnome-initial-setup.c:287
msgid "— GNOME initial setup"
msgstr ""
Remove the pseudo-keyword-argument comment, to avoid this.
gnome-initial-setup/gnome-initial-setup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnome-initial-setup/gnome-initial-setup.c b/gnome-initial-setup/gnome-initial-setup.c
index fe9a88db..af66e0ba 100644
--- a/gnome-initial-setup/gnome-initial-setup.c
+++ b/gnome-initial-setup/gnome-initial-setup.c
@@ -282,7 +282,7 @@ main (int argc, char *argv[])
* the login keyring password to a well-known value, which we overwrite with
* the user's password once they choose one.
*/
- g_setenv ("HDY_DISABLE_PORTAL", "1", /* overwrite */ TRUE);
+ g_setenv ("HDY_DISABLE_PORTAL", "1", TRUE);
context = g_option_context_new (_("— GNOME initial setup"));
g_option_context_add_main_entries (context, entries, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]