The unused messages in setup.c are now in an unused function instead of being blocked...
authorArt Cancro <ajc@citadel.org>
Sat, 25 Jun 2022 15:08:52 +0000 (11:08 -0400)
committerArt Cancro <ajc@citadel.org>
Sat, 25 Jun 2022 15:08:52 +0000 (11:08 -0400)
citadel/utils/setup.c

index 619b8b27e168ee02eadec2067833bc858cf91dbf..0ca8914cb4f8d8174bb08b098e4130c07490cbdf 100644 (file)
@@ -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[]) {