1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-06-11 18:01:03 +02:00
Werner Koch e6463d7fe0
wks: Use templates for the server responses.
* common/helpfile.c (gnupg_get_template): Add arg locale_override and
adjust all callers.
* tools/wks-receive.c (struct receive_ctx_s): Add field ct_language.
(get_language): New.
(new_part): Call it.
(wks_receive): Pass language to the result callback.
* tools/gpg-wks-client.c (short_locale): New.
(main): Get and store the current locale.
(command_create): Fix a glitch for the Posteo hack.  Insert the locale
into the confirmation request.
(send_confirmation_response): Ditto.
* tools/gpg-wks-server.c (struct server_ctx_s): Add field language.
(only_ascii): New.
(struct my_subst_vars_s, my_subst_vars_cb, my_subst_vars): New.
(send_confirmation_request): Use a template.
(send_congratulation_message): Ditto.
(check_and_publish): Pss ctx to send_congratulation_message.
(command_receive_cb): Add arg language.

* doc/wks-utils.txt, doc/wks-utils.de.txt: New.
* doc/Makefile.am (helpfiles): Add them.
--

GnuPG-bug-id: 7381

Note that the subject is not yet translated or templated due to a
missing header encoding function.
2025-06-02 12:42:59 +02:00
..
2024-05-31 12:28:32 +02:00
2024-05-31 12:28:32 +02:00
2015-10-28 10:20:17 +01:00
2021-10-06 10:35:51 +02:00
2020-02-18 18:07:46 -05:00
2024-05-31 12:28:32 +02:00
2024-12-04 11:04:41 +01:00
2015-11-17 12:50:22 +01:00
2024-02-15 14:40:33 +09:00
2024-05-31 12:28:32 +02:00
2024-05-31 12:28:32 +02:00
2021-12-20 19:34:34 +01:00
2021-12-20 19:34:34 +01:00
2024-05-31 12:28:32 +02:00
2018-10-25 16:53:05 -04:00
2018-10-25 16:53:05 -04:00
2019-04-16 13:24:10 +09:00
2019-07-12 12:11:26 +09:00
2020-02-18 18:07:46 -05:00
2016-03-02 14:27:30 +01:00
2025-04-30 15:06:40 +02:00
2024-05-31 12:28:32 +02:00
2018-10-24 15:56:18 -04:00
2024-02-10 14:26:55 +01:00
2024-05-31 12:28:32 +02:00
2019-10-01 10:32:31 +02:00
2024-05-31 12:28:32 +02:00
2020-02-18 18:07:46 -05:00
2020-02-18 18:07:46 -05:00
2020-02-18 18:07:46 -05:00
2022-04-06 13:28:15 +09:00
2022-08-02 14:35:38 +02:00
2024-05-31 12:28:32 +02:00
2022-08-02 14:35:38 +02:00
2022-08-02 14:35:38 +02:00
2017-02-21 13:11:46 -05:00

Common functionality used by all modules of GnuPG.