From e55aafc51f35455a671ba62e49df13cfea2c7e98 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Sat, 25 Jun 2022 11:08:52 -0400 Subject: [PATCH] The unused messages in setup.c are now in an unused function instead of being blocked out. I don't know if this makes a difference to the strings available for translation but I did it just in case. --- citadel/utils/setup.c | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/citadel/utils/setup.c b/citadel/utils/setup.c index 619b8b27e..0ca8914cb 100644 --- a/citadel/utils/setup.c +++ b/citadel/utils/setup.c @@ -643,18 +643,21 @@ void edit_value(int curr) { // Messages that are no longer in use. // We keep them here so we don't lose the translations if we need them later. -#if 0 -important_message(_("Setup finished"), -_("Setup of the Citadel server is complete.\n" -"If you will be using WebCit, please run its\n" -"setup program now; otherwise, run './citadel'\n" -"to log in.\n")); -important_message(_("Setup failed"), -_("Setup is finished, but the Citadel server failed to start.\n" -"Go back and check your configuration.\n"); -important_message(_("Setup finished"), -_("Setup is finished. You may now start the server.")); -#endif +void unused_messages(void) { + important_message(_("Setup finished"), + _("Setup of the Citadel server is complete.\n" + "If you will be using WebCit, please run its\n" + "setup program now; otherwise, run './citadel'\n" + "to log in.\n") + ); + important_message(_("Setup failed"), + _("Setup is finished, but the Citadel server failed to start.\n" + "Go back and check your configuration.\n") + ); + important_message(_("Setup finished"), + _("Setup is finished. You may now start the server.") + ); +} int main(int argc, char *argv[]) { -- 2.30.2