]> sipb.mit.edu Git - ikiwiki.git/commitdiff
add day of week to prettydate, and i18n
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 15 Feb 2007 20:06:14 +0000 (20:06 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 15 Feb 2007 20:06:14 +0000 (20:06 +0000)
IkiWiki/Plugin/prettydate.pm
doc/plugins/prettydate.mdwn
po/bg.po
po/cs.po
po/es.po
po/fr.po
po/gu.po
po/ikiwiki.pot
po/pl.po
po/sv.po
po/vi.po

index 8c081e6353535180d0763e2cfc188be1e4d9eb5a..48e9db05c60d00e0071da5f8615ae81de7280a08 100644 (file)
@@ -5,33 +5,39 @@ use warnings;
 no warnings 'redefine';
 use strict;
 
-# Blanks duplicate the time before.
-my $default_timetable=[
-       "late at night on",     # 12
-       "",                     # 1
-       "in the wee hours of",  # 2
-       "",                     # 3
-       "",                     # 4
-       "terribly early in the morning of", # 5
-       "",                     # 6
-       "in early morning on",  # 7
-       "",                     # 8
-       "",                     # 9
-       "in mid-morning of",    # 10
-       "in late morning of",   # 11
-       "at lunch time on",     # 12
-       "",                     # 1
-       "in the afternoon of",  # 2
-       "",                     # 3
-       "",                     # 4
-       "in late afternoon of", # 5
-       "in the evening of",    # 6
-       "",                     # 7
-       "in late evening on",   # 8
-       "",                     # 9
-       "at night on",          # 10
-       "",                     # 11
-];
+sub default_timetable {
+       # Blanks duplicate the time before.
+       return [
+               #translators: These descriptions of times of day are used
+               #translators: in messages like "last edited <description>".
+               #translators: %A is the name of the day of the week, while
+               #translators: %A- is the name of the previous day.
+               gettext("late %A- night"),                      # 12
+               "",                                             # 1
+               gettext("in the wee hours of %A- night"),       # 2
+               "",                                             # 3
+               "",                                             # 4
+               gettext("terribly early %A morning"),           # 5
+               "",                                             # 6
+               gettext("early %A morning"),                    # 7
+               "",                                             # 8
+               "",                                             # 9
+               gettext("in mid-morning %A"),                   # 10
+               gettext("in late morning %A"),                  # 11
+               gettext("at lunch time on %A"),                 # 12
+               "",                                             # 1
+               gettext("%A afternoon"),                        # 2
+               "",                                             # 3
+               "",                                             # 4
+               gettext("late %A afternoon"),                   # 5
+               gettext("%A evening"),                          # 6
+               "",                                             # 7
+               gettext("late %A evening"),                     # 8
+               "",                     # 9                     # 9
+               gettext("%A night"),                            # 10
+               "",                                             # 11
+       ];
+}
 
 sub import { #{{{
        hook(type => "checkconfig", id => "skeleton", call => \&checkconfig);
@@ -40,11 +46,11 @@ sub import { #{{{
 sub checkconfig () { #{{{
        if (! defined $config{prettydateformat} ||
            $config{prettydateformat} eq '%c') {
-               $config{prettydateformat}='%X %B %o, %Y';
+               $config{prettydateformat}='%X, %B %o, %Y';
        }
 
        if (! ref $config{timetable}) {
-               $config{timetable}=$default_timetable;
+               $config{timetable}=default_timetable();
        }
 
        # Fill in the blanks.
@@ -57,34 +63,38 @@ sub checkconfig () { #{{{
 
 sub IkiWiki::displaytime ($) { #{{{
        my $time=shift;
+       
+       eval q{use Date::Format};
+       error($@) if $@;
 
        my @t=localtime($time);
-       my ($h, $m)=@t[2, 1];
+       my ($h, $m, $wday)=@t[2, 1, 6];
+       my $t;
        if ($h == 16 && $m < 30) {
-               $time = "at teatime on";
+               $t = gettext("at teatime on %A");
        }
        elsif (($h == 0 && $m < 30) || ($h == 23 && $m > 50)) {
                # well, at 40 minutes it's more like the martian timeslip..
-               $time = "at midnight on";
+               $t = gettext("at midnight");
        }
        elsif (($h == 12 && $m < 15) || ($h == 11 && $m > 50)) {
-               $time = "at noon on";
+               $t = gettext("at noon on %A");
        }
        # TODO: sunrise and sunset, but to be right I need to do it based on
        # lat and long, and calculate the appropriate one for the actual
        # time of year using Astro::Sunrise. Not tonight, it's wee hours
        # already..
        else {
-               $time = $config{timetable}[$h];
-               if (! length $time) {
-                       $time = "sometime";
+               $t = $config{timetable}[$h];
+               if (! length $t) {
+                       $t = "sometime";
                }
        }
 
-       eval q{use Date::Format};
-       error($@) if $@;
+       $t=~s{\%A-}{my @yest=@t; $yest[6]--; strftime("%A", \@yest)}eg;
+
        my $format=$config{prettydateformat};
-       $format=~s/\%X/$time/g;
+       $format=~s/\%X/$t/g;
        return strftime($format, \@t);
 } #}}}
 
index 17d6ae3e901c4678b2bb26c70ce1a95c8399a0e5..49feaa8e63ec764a87d8fc3a39ee0cf604aafb68 100644 (file)
@@ -2,8 +2,8 @@
 [[tag type/format]]
 
 Enabling this plugin changes the dates displayed on pages in the wiki to
-a format that is nice and easy to read. Examples: "in late evening on
-February 14th, 2007", "at noon on March 15th, 2007"
+a format that is nice and easy to read. Examples: "late Wednesday evening, 
+February 14th, 2007", "at midnight, March 15th, 2007"
 
 The names given to each of the hours in the day can be customised by
 setting the `timetable` configuration variable in ikiwiki's setup file.
@@ -14,6 +14,6 @@ since they do not occupy the whole hour.
 
 The format used for the date can be customised using the `prettydateformat`
 configuration variable in the setup file. `%X` will be expanded to the
-prettified time value. The default prettydateformat is `"%X %B %o, %Y"`.
+prettified time value. The default prettydateformat is `"%X, %B %o, %Y"`.
 
 This plugin uses the [[cpan TimeDate]] perl module.
index 5c88782d807770e3eb481a866df162511c3e52a5..b293e185f4ac7e5b26230aacdeaf6f741cc94faa 100644 (file)
--- a/po/bg.po
+++ b/po/bg.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: ikiwiki-bg\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-02-15 00:37-0500\n"
+"POT-Creation-Date: 2007-02-15 15:01-0500\n"
 "PO-Revision-Date: 2007-01-12 01:19+0200\n"
 "Last-Translator: Damyan Ivanov <dam@modsodtsys.com>\n"
 "Language-Team: Bulgarian <dict@fsa-bg.org>\n"
@@ -209,6 +209,70 @@ msgstr "не е инсталиран polygen"
 msgid "polygen failed"
 msgstr "грешка при изпълнението на poligen"
 
+#. translators: These descriptions of times of day are used
+#. translators: in messages like "last edited <description>".
+#. translators: %A is the name of the day of the week, while
+#. translators: %A- is the name of the previous day.
+#: ../IkiWiki/Plugin/prettydate.pm:15
+msgid "late %A- night"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:17
+msgid "in the wee hours of %A- night"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:20
+msgid "terribly early %A morning"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:22
+msgid "early %A morning"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:25
+msgid "in mid-morning %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:26
+msgid "in late morning %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:27
+msgid "at lunch time on %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:29
+msgid "%A afternoon"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:32
+msgid "late %A afternoon"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:33
+msgid "%A evening"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:35
+msgid "late %A evening"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:37
+msgid "%A night"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:74
+msgid "at teatime on %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:78
+msgid "at midnight"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:81
+msgid "at noon on %A"
+msgstr ""
+
 #: ../IkiWiki/Plugin/search.pm:34
 #, perl-format
 msgid "Must specify %s when using the search plugin"
@@ -230,8 +294,8 @@ msgstr "препратката няма указани параметрите 
 #. translators: First parameter is the name of the shortcut, the second
 #. translators: is an URL.
 #: ../IkiWiki/Plugin/shortcut.pm:33
-#, perl-format
-msgid "shortcut %s points to %s"
+#, fuzzy, perl-format
+msgid "shortcut %s points to <i>%s</i>"
 msgstr "препратката „%s” сочи към „%s”"
 
 #: ../IkiWiki/Plugin/smiley.pm:22
index bc6870353a762819b2838c196faaf5a019cd86bc..d96119daa5953b0c1b9c5f47729b55fe24f24588 100644 (file)
--- a/po/cs.po
+++ b/po/cs.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: ikiwiki\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-02-15 00:37-0500\n"
+"POT-Creation-Date: 2007-02-15 15:01-0500\n"
 "PO-Revision-Date: 2007-01-07 11:59+0100\n"
 "Last-Translator: Miroslav Kure <kurem@debian.cz>\n"
 "Language-Team: Czech <debian-l10n-czech@lists.debian.org>\n"
@@ -204,6 +204,70 @@ msgstr "polygen není nainstalován"
 msgid "polygen failed"
 msgstr "polygen selhal"
 
+#. translators: These descriptions of times of day are used
+#. translators: in messages like "last edited <description>".
+#. translators: %A is the name of the day of the week, while
+#. translators: %A- is the name of the previous day.
+#: ../IkiWiki/Plugin/prettydate.pm:15
+msgid "late %A- night"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:17
+msgid "in the wee hours of %A- night"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:20
+msgid "terribly early %A morning"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:22
+msgid "early %A morning"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:25
+msgid "in mid-morning %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:26
+msgid "in late morning %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:27
+msgid "at lunch time on %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:29
+msgid "%A afternoon"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:32
+msgid "late %A afternoon"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:33
+msgid "%A evening"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:35
+msgid "late %A evening"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:37
+msgid "%A night"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:74
+msgid "at teatime on %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:78
+msgid "at midnight"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:81
+msgid "at noon on %A"
+msgstr ""
+
 #: ../IkiWiki/Plugin/search.pm:34
 #, perl-format
 msgid "Must specify %s when using the search plugin"
@@ -225,8 +289,8 @@ msgstr "zkratka postrádá jméno nebo url"
 #. translators: First parameter is the name of the shortcut, the second
 #. translators: is an URL.
 #: ../IkiWiki/Plugin/shortcut.pm:33
-#, perl-format
-msgid "shortcut %s points to %s"
+#, fuzzy, perl-format
+msgid "shortcut %s points to <i>%s</i>"
 msgstr "zkratka %s odkazuje na %s"
 
 #: ../IkiWiki/Plugin/smiley.pm:22
index b59743f52d29c2e4546e0f11ee5697f87c3845ae..0d6199ea17f4d85d49dd3b8ff3196b4df2252ab8 100644 (file)
--- a/po/es.po
+++ b/po/es.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: es\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-02-15 00:37-0500\n"
+"POT-Creation-Date: 2007-02-15 15:01-0500\n"
 "PO-Revision-Date: 2007-02-12 10:31+0100\n"
 "Last-Translator: Víctor Moral <victor@taquiones.net>\n"
 "Language-Team: spanish <es@li.org>\n"
@@ -211,6 +211,70 @@ msgstr "El complemento polygen no ha sido instalado"
 msgid "polygen failed"
 msgstr "El programa polygen ha fallado"
 
+#. translators: These descriptions of times of day are used
+#. translators: in messages like "last edited <description>".
+#. translators: %A is the name of the day of the week, while
+#. translators: %A- is the name of the previous day.
+#: ../IkiWiki/Plugin/prettydate.pm:15
+msgid "late %A- night"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:17
+msgid "in the wee hours of %A- night"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:20
+msgid "terribly early %A morning"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:22
+msgid "early %A morning"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:25
+msgid "in mid-morning %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:26
+msgid "in late morning %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:27
+msgid "at lunch time on %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:29
+msgid "%A afternoon"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:32
+msgid "late %A afternoon"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:33
+msgid "%A evening"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:35
+msgid "late %A evening"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:37
+msgid "%A night"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:74
+msgid "at teatime on %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:78
+msgid "at midnight"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:81
+msgid "at noon on %A"
+msgstr ""
+
 #: ../IkiWiki/Plugin/search.pm:34
 #, perl-format
 msgid "Must specify %s when using the search plugin"
@@ -232,8 +296,8 @@ msgstr "shortcut necesita el parámetro name ó el parámetro url"
 #. translators: First parameter is the name of the shortcut, the second
 #. translators: is an URL.
 #: ../IkiWiki/Plugin/shortcut.pm:33
-#, perl-format
-msgid "shortcut %s points to %s"
+#, fuzzy, perl-format
+msgid "shortcut %s points to <i>%s</i>"
 msgstr "El atajo %s apunta a %s"
 
 #: ../IkiWiki/Plugin/smiley.pm:22
index b197aadb533185d846e05bd55aa67d4ea5db59dd..13acb072735ea24c7d8ac16eda23fab0e4ec6d29 100644 (file)
--- a/po/fr.po
+++ b/po/fr.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: ikiwiki\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-02-15 00:37-0500\n"
+"POT-Creation-Date: 2007-02-15 15:01-0500\n"
 "PO-Revision-Date: 2007-01-22 22:12+0100\n"
 "Last-Translator: Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>\n"
 "Language-Team: French <debian-l10n-french@lists.debian.org>\n"
@@ -210,6 +210,70 @@ msgstr "polygen n'est pas installé"
 msgid "polygen failed"
 msgstr "Échec de polygen"
 
+#. translators: These descriptions of times of day are used
+#. translators: in messages like "last edited <description>".
+#. translators: %A is the name of the day of the week, while
+#. translators: %A- is the name of the previous day.
+#: ../IkiWiki/Plugin/prettydate.pm:15
+msgid "late %A- night"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:17
+msgid "in the wee hours of %A- night"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:20
+msgid "terribly early %A morning"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:22
+msgid "early %A morning"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:25
+msgid "in mid-morning %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:26
+msgid "in late morning %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:27
+msgid "at lunch time on %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:29
+msgid "%A afternoon"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:32
+msgid "late %A afternoon"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:33
+msgid "%A evening"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:35
+msgid "late %A evening"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:37
+msgid "%A night"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:74
+msgid "at teatime on %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:78
+msgid "at midnight"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:81
+msgid "at noon on %A"
+msgstr ""
+
 #: ../IkiWiki/Plugin/search.pm:34
 #, perl-format
 msgid "Must specify %s when using the search plugin"
@@ -231,8 +295,8 @@ msgstr "Il manque au raccourci un paramètre de nom ou d'url"
 #. translators: First parameter is the name of the shortcut, the second
 #. translators: is an URL.
 #: ../IkiWiki/Plugin/shortcut.pm:33
-#, perl-format
-msgid "shortcut %s points to %s"
+#, fuzzy, perl-format
+msgid "shortcut %s points to <i>%s</i>"
 msgstr "Le raccourci %s pointe vers %s"
 
 #: ../IkiWiki/Plugin/smiley.pm:22
index fe9db91c83263e33b2e6b49d328490ee962722fa..d3edaede9d4b1eaf88dcc520906d57c9bdbe15ed 100644 (file)
--- a/po/gu.po
+++ b/po/gu.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: ikiwiki-gu\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-02-15 00:37-0500\n"
+"POT-Creation-Date: 2007-02-15 15:01-0500\n"
 "PO-Revision-Date: 2007-01-11 16:05+0530\n"
 "Last-Translator: Kartik Mistry <kartik.mistry@gmail.com>\n"
 "Language-Team: Gujarati <team@utkarsh.org>\n"
@@ -203,6 +203,70 @@ msgstr "પોલિગોન સ્થાપિત નથી"
 msgid "polygen failed"
 msgstr "પોલિગોન નિષ્ફળ"
 
+#. translators: These descriptions of times of day are used
+#. translators: in messages like "last edited <description>".
+#. translators: %A is the name of the day of the week, while
+#. translators: %A- is the name of the previous day.
+#: ../IkiWiki/Plugin/prettydate.pm:15
+msgid "late %A- night"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:17
+msgid "in the wee hours of %A- night"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:20
+msgid "terribly early %A morning"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:22
+msgid "early %A morning"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:25
+msgid "in mid-morning %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:26
+msgid "in late morning %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:27
+msgid "at lunch time on %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:29
+msgid "%A afternoon"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:32
+msgid "late %A afternoon"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:33
+msgid "%A evening"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:35
+msgid "late %A evening"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:37
+msgid "%A night"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:74
+msgid "at teatime on %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:78
+msgid "at midnight"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:81
+msgid "at noon on %A"
+msgstr ""
+
 #: ../IkiWiki/Plugin/search.pm:34
 #, perl-format
 msgid "Must specify %s when using the search plugin"
@@ -224,8 +288,8 @@ msgstr "ટુંકોરસ્તો નામ અથવા યુઆરએલ
 #. translators: First parameter is the name of the shortcut, the second
 #. translators: is an URL.
 #: ../IkiWiki/Plugin/shortcut.pm:33
-#, perl-format
-msgid "shortcut %s points to %s"
+#, fuzzy, perl-format
+msgid "shortcut %s points to <i>%s</i>"
 msgstr "ટુંકોરસ્તો %s એ %s ને નિર્દેશ કરે છે"
 
 #: ../IkiWiki/Plugin/smiley.pm:22
index ae31b366bc581b53853b6feaaf53321eb23b1cde..556ff101dac7d2eabfc1ee84152a488e692393bd 100644 (file)
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-02-15 02:44-0500\n"
+"POT-Creation-Date: 2007-02-15 15:01-0500\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"
@@ -204,6 +204,70 @@ msgstr ""
 msgid "polygen failed"
 msgstr ""
 
+#. translators: These descriptions of times of day are used
+#. translators: in messages like "last edited <description>".
+#. translators: %A is the name of the day of the week, while
+#. translators: %A- is the name of the previous day.
+#: ../IkiWiki/Plugin/prettydate.pm:15
+msgid "late %A- night"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:17
+msgid "in the wee hours of %A- night"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:20
+msgid "terribly early %A morning"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:22
+msgid "early %A morning"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:25
+msgid "in mid-morning %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:26
+msgid "in late morning %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:27
+msgid "at lunch time on %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:29
+msgid "%A afternoon"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:32
+msgid "late %A afternoon"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:33
+msgid "%A evening"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:35
+msgid "late %A evening"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:37
+msgid "%A night"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:74
+msgid "at teatime on %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:78
+msgid "at midnight"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:81
+msgid "at noon on %A"
+msgstr ""
+
 #: ../IkiWiki/Plugin/search.pm:34
 #, perl-format
 msgid "Must specify %s when using the search plugin"
@@ -226,7 +290,7 @@ msgstr ""
 #. translators: is an URL.
 #: ../IkiWiki/Plugin/shortcut.pm:33
 #, perl-format
-msgid "shortcut %s points to %s"
+msgid "shortcut %s points to <i>%s</i>"
 msgstr ""
 
 #: ../IkiWiki/Plugin/smiley.pm:22
index 1fa8548f0174f9d298c26ece662000116b500920..3987fda87a7751231d9e68b4f29d09c180a99b4e 100644 (file)
--- a/po/pl.po
+++ b/po/pl.po
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: ikiwiki 1.37\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-02-15 00:37-0500\n"
+"POT-Creation-Date: 2007-02-15 15:01-0500\n"
 "PO-Revision-Date: 2007-01-05 16:33+100\n"
 "Last-Translator: Paweł Tęcza <ptecza@net.icm.edu.pl>\n"
 "Language-Team: Debian L10n Polish <debian-l10n-polish@lists.debian.org>\n"
@@ -212,6 +212,70 @@ msgstr "wtyczka polygen nie jest zainstalowana"
 msgid "polygen failed"
 msgstr "awaria wtyczki polygen"
 
+#. translators: These descriptions of times of day are used
+#. translators: in messages like "last edited <description>".
+#. translators: %A is the name of the day of the week, while
+#. translators: %A- is the name of the previous day.
+#: ../IkiWiki/Plugin/prettydate.pm:15
+msgid "late %A- night"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:17
+msgid "in the wee hours of %A- night"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:20
+msgid "terribly early %A morning"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:22
+msgid "early %A morning"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:25
+msgid "in mid-morning %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:26
+msgid "in late morning %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:27
+msgid "at lunch time on %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:29
+msgid "%A afternoon"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:32
+msgid "late %A afternoon"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:33
+msgid "%A evening"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:35
+msgid "late %A evening"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:37
+msgid "%A night"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:74
+msgid "at teatime on %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:78
+msgid "at midnight"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:81
+msgid "at noon on %A"
+msgstr ""
+
 #: ../IkiWiki/Plugin/search.pm:34
 #, perl-format
 msgid "Must specify %s when using the search plugin"
@@ -233,8 +297,8 @@ msgstr "brakująca nazwa lub adres URL we wtyczce shortcut"
 #. translators: First parameter is the name of the shortcut, the second
 #. translators: is an URL.
 #: ../IkiWiki/Plugin/shortcut.pm:33
-#, perl-format
-msgid "shortcut %s points to %s"
+#, fuzzy, perl-format
+msgid "shortcut %s points to <i>%s</i>"
 msgstr "skrót %s wskazuje na adres %s"
 
 #: ../IkiWiki/Plugin/smiley.pm:22
index 4ece340956546c0d3673d1c1fea5226b58a26d10..19028ef3d80ce60d3ee1998bd8c52a1951e5848f 100644 (file)
--- a/po/sv.po
+++ b/po/sv.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: ikiwiki\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-02-15 00:37-0500\n"
+"POT-Creation-Date: 2007-02-15 15:01-0500\n"
 "PO-Revision-Date: 2007-01-10 23:47+0100\n"
 "Last-Translator: Daniel Nylander <po@danielnylander.se>\n"
 "Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
@@ -205,6 +205,70 @@ msgstr "polygen inte installerad"
 msgid "polygen failed"
 msgstr "polygen misslyckades"
 
+#. translators: These descriptions of times of day are used
+#. translators: in messages like "last edited <description>".
+#. translators: %A is the name of the day of the week, while
+#. translators: %A- is the name of the previous day.
+#: ../IkiWiki/Plugin/prettydate.pm:15
+msgid "late %A- night"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:17
+msgid "in the wee hours of %A- night"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:20
+msgid "terribly early %A morning"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:22
+msgid "early %A morning"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:25
+msgid "in mid-morning %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:26
+msgid "in late morning %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:27
+msgid "at lunch time on %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:29
+msgid "%A afternoon"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:32
+msgid "late %A afternoon"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:33
+msgid "%A evening"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:35
+msgid "late %A evening"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:37
+msgid "%A night"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:74
+msgid "at teatime on %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:78
+msgid "at midnight"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:81
+msgid "at noon on %A"
+msgstr ""
+
 #: ../IkiWiki/Plugin/search.pm:34
 #, perl-format
 msgid "Must specify %s when using the search plugin"
@@ -226,8 +290,8 @@ msgstr "genväg saknar parameter för namn eller url"
 #. translators: First parameter is the name of the shortcut, the second
 #. translators: is an URL.
 #: ../IkiWiki/Plugin/shortcut.pm:33
-#, perl-format
-msgid "shortcut %s points to %s"
+#, fuzzy, perl-format
+msgid "shortcut %s points to <i>%s</i>"
 msgstr "genvägen %s pekar på %s"
 
 #: ../IkiWiki/Plugin/smiley.pm:22
index 131d0391d71b9e5b0593a48b4aa08a562a31dee8..5449e533daf34140eded29cbc75c7837f3346534 100644 (file)
--- a/po/vi.po
+++ b/po/vi.po
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: ikiwiki\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-02-15 00:37-0500\n"
+"POT-Creation-Date: 2007-02-15 15:01-0500\n"
 "PO-Revision-Date: 2007-01-13 15:31+1030\n"
 "Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n"
 "Language-Team: Vietnamese <vi-VN@googlegroups.com>\n"
@@ -206,6 +206,70 @@ msgstr "chưa cài đặt polygen"
 msgid "polygen failed"
 msgstr "lỗi polygen"
 
+#. translators: These descriptions of times of day are used
+#. translators: in messages like "last edited <description>".
+#. translators: %A is the name of the day of the week, while
+#. translators: %A- is the name of the previous day.
+#: ../IkiWiki/Plugin/prettydate.pm:15
+msgid "late %A- night"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:17
+msgid "in the wee hours of %A- night"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:20
+msgid "terribly early %A morning"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:22
+msgid "early %A morning"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:25
+msgid "in mid-morning %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:26
+msgid "in late morning %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:27
+msgid "at lunch time on %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:29
+msgid "%A afternoon"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:32
+msgid "late %A afternoon"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:33
+msgid "%A evening"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:35
+msgid "late %A evening"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:37
+msgid "%A night"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:74
+msgid "at teatime on %A"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:78
+msgid "at midnight"
+msgstr ""
+
+#: ../IkiWiki/Plugin/prettydate.pm:81
+msgid "at noon on %A"
+msgstr ""
+
 #: ../IkiWiki/Plugin/search.pm:34
 #, perl-format
 msgid "Must specify %s when using the search plugin"
@@ -227,8 +291,8 @@ msgstr "lối tắt thiếu tên hay tham số url"
 #. translators: First parameter is the name of the shortcut, the second
 #. translators: is an URL.
 #: ../IkiWiki/Plugin/shortcut.pm:33
-#, perl-format
-msgid "shortcut %s points to %s"
+#, fuzzy, perl-format
+msgid "shortcut %s points to <i>%s</i>"
 msgstr "lối tắt %s chỉ tới %s"
 
 #: ../IkiWiki/Plugin/smiley.pm:22