don't say rebuilding wiki when refreshing
authorJoey Hess <joey@kodama.kitenet.net>
Tue, 30 Sep 2008 19:40:08 +0000 (15:40 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Tue, 30 Sep 2008 19:40:08 +0000 (15:40 -0400)
If run w/o --refresh, it should still say "refreshing wiki", if there's no
setup file specifed.

ikiwiki.in
po/ikiwiki.pot

index f96daab0bb9c55233c2a5a1e0f38a0596d3a1e0f..973ae3b3181df334c3b090d1fb433c326d4748d9 100755 (executable)
@@ -184,7 +184,7 @@ sub main () { #{{{
                # do nothing
        }
        else {
-               if (! $config{refresh}) {
+               if ($config{rebuild}}) {
                        debug(gettext("rebuilding wiki.."));
                }
                else {
index f90b1e8c7aaf467428459ef0e4c27126b948df17..6f81364139035b789d9d08f4aa8e769fba8e5c2e 100644 (file)
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-09-29 19:10-0400\n"
+"POT-Creation-Date: 2008-09-30 15:31-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -48,7 +48,7 @@ msgstr ""
 msgid "You are banned."
 msgstr ""
 
-#: ../IkiWiki/CGI.pm:385 ../IkiWiki/CGI.pm:386 ../IkiWiki.pm:1166
+#: ../IkiWiki/CGI.pm:385 ../IkiWiki/CGI.pm:386 ../IkiWiki.pm:1143
 msgid "Error"
 msgstr ""
 
@@ -904,25 +904,25 @@ msgstr ""
 msgid "refreshing wiki.."
 msgstr ""
 
-#: ../IkiWiki.pm:458
+#: ../IkiWiki.pm:451
 msgid "Must specify url to wiki with --url when using --cgi"
 msgstr ""
 
-#: ../IkiWiki.pm:504
+#: ../IkiWiki.pm:497
 msgid "cannot use multiple rcs plugins"
 msgstr ""
 
-#: ../IkiWiki.pm:533
+#: ../IkiWiki.pm:526
 #, perl-format
 msgid "failed to load external plugin needed for %s plugin: %s"
 msgstr ""
 
-#: ../IkiWiki.pm:1149
+#: ../IkiWiki.pm:1126
 #, perl-format
 msgid "preprocessing loop detected on %s at depth %i"
 msgstr ""
 
-#: ../IkiWiki.pm:1658
+#: ../IkiWiki.pm:1635
 msgid "yes"
 msgstr ""