From: Art Cancro Date: Sat, 25 Jun 2022 15:08:52 +0000 (-0400) Subject: The unused messages in setup.c are now in an unused function instead of being blocked... X-Git-Tag: v958~78 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=e55aafc51f35455a671ba62e49df13cfea2c7e98;p=citadel.git 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. --- 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[]) {