X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Futils%2Fsetup.c;h=df16c0ea704921d18a73ab0488f66412e9e5f413;hp=427f62a90178fa44055ba58f22073958a1c8e7cd;hb=319a0b1f3302f13b470bc2f17f4eb60805eac2e9;hpb=80a659e06168b4cb0755c8b77cae8fb0d89c0ea6 diff --git a/citadel/utils/setup.c b/citadel/utils/setup.c index 427f62a90..df16c0ea7 100644 --- a/citadel/utils/setup.c +++ b/citadel/utils/setup.c @@ -760,9 +760,6 @@ void edit_value(int curr) } else { -#ifdef __CYGWIN__ - ctdluid = 0; /* work-around for Windows */ -#else pw = getpwuid(ctdluid); if (pw == NULL) { set_int_val(curr, &ctdluid, default_value); @@ -961,20 +958,18 @@ void fixnss(void) { * 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 niu_messages() { +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[])