From 41234a3f0f03b66ff2f446c2bebed6646481f017 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 2 Jan 2008 23:38:45 -0500 Subject: [PATCH] round days old message --- IkiWiki/Plugin/aggregate.pm | 2 +- po/ikiwiki.pot | 30 +++++++++++++++--------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/IkiWiki/Plugin/aggregate.pm b/IkiWiki/Plugin/aggregate.pm index 37939245c..503f23ae4 100644 --- a/IkiWiki/Plugin/aggregate.pm +++ b/IkiWiki/Plugin/aggregate.pm @@ -229,7 +229,7 @@ sub expire () { #{{{ my $days_old = (time - $IkiWiki::pagectime{$item->{page}}) / 60 / 60 / 24; if ($days_old > $feed->{expireage}) { debug(sprintf(gettext("expiring %s (%s days old)"), - $item->{page}, $days_old)); + $item->{page}, int($days_old))); $item->{expired}=1; } } diff --git a/po/ikiwiki.pot b/po/ikiwiki.pot index 3a5367059..da48be688 100644 --- a/po/ikiwiki.pot +++ b/po/ikiwiki.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2007-12-30 14:58-0500\n" +"POT-Creation-Date: 2008-01-01 20:04-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -16,54 +16,54 @@ msgstr "" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" -#: ../IkiWiki/CGI.pm:171 +#: ../IkiWiki/CGI.pm:168 msgid "You need to log in first." msgstr "" -#: ../IkiWiki/CGI.pm:233 +#: ../IkiWiki/CGI.pm:229 msgid "Login" msgstr "" -#: ../IkiWiki/CGI.pm:234 +#: ../IkiWiki/CGI.pm:230 msgid "Preferences" msgstr "" -#: ../IkiWiki/CGI.pm:235 +#: ../IkiWiki/CGI.pm:231 msgid "Admin" msgstr "" -#: ../IkiWiki/CGI.pm:293 +#: ../IkiWiki/CGI.pm:287 msgid "Preferences saved." msgstr "" -#: ../IkiWiki/CGI.pm:350 +#: ../IkiWiki/CGI.pm:343 #, perl-format msgid "%s is not an editable page" msgstr "" -#: ../IkiWiki/CGI.pm:441 ../IkiWiki/Plugin/brokenlinks.pm:24 +#: ../IkiWiki/CGI.pm:434 ../IkiWiki/Plugin/brokenlinks.pm:24 #: ../IkiWiki/Plugin/inline.pm:234 ../IkiWiki/Plugin/opendiscussion.pm:17 #: ../IkiWiki/Plugin/orphans.pm:28 ../IkiWiki/Render.pm:98 #: ../IkiWiki/Render.pm:178 msgid "discussion" msgstr "" -#: ../IkiWiki/CGI.pm:487 +#: ../IkiWiki/CGI.pm:480 #, perl-format msgid "creating %s" msgstr "" -#: ../IkiWiki/CGI.pm:505 ../IkiWiki/CGI.pm:524 ../IkiWiki/CGI.pm:534 -#: ../IkiWiki/CGI.pm:568 ../IkiWiki/CGI.pm:616 +#: ../IkiWiki/CGI.pm:498 ../IkiWiki/CGI.pm:517 ../IkiWiki/CGI.pm:527 +#: ../IkiWiki/CGI.pm:561 ../IkiWiki/CGI.pm:609 #, perl-format msgid "editing %s" msgstr "" -#: ../IkiWiki/CGI.pm:710 +#: ../IkiWiki/CGI.pm:703 msgid "You are banned." msgstr "" -#: ../IkiWiki/CGI.pm:730 +#: ../IkiWiki/CGI.pm:723 msgid "login failed, perhaps you need to turn on cookies?" msgstr "" @@ -616,13 +616,13 @@ msgid "failed to write %s: %s" msgstr "" #. translators: The parameter is a C filename. -#: ../IkiWiki/Wrapper.pm:109 +#: ../IkiWiki/Wrapper.pm:115 #, perl-format msgid "failed to compile %s" msgstr "" #. translators: The parameter is a filename. -#: ../IkiWiki/Wrapper.pm:129 +#: ../IkiWiki/Wrapper.pm:135 #, perl-format msgid "successfully generated %s" msgstr "" -- 2.26.2