added more translation hooks for calendar (month names and day first characters where still missing) and updated translation files
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
2565d41fb5
commit
9cdcef97e1
Binary file not shown.
|
@ -7,13 +7,25 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Django JavaScript 1.0\n"
|
"Project-Id-Version: Django JavaScript 1.0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2005-12-04 13:29+0100\n"
|
"POT-Creation-Date: 2005-12-04 17:27+0100\n"
|
||||||
"PO-Revision-Date: 2005-12-04 13:21+0100\n"
|
"PO-Revision-Date: 2005-12-04 13:21+0100\n"
|
||||||
"Last-Translator: Georg Bauer <gb@bofh.ms>\n"
|
"Last-Translator: Georg Bauer <gb@bofh.ms>\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=iso-8859-1\n"
|
"Content-Type: text/plain; charset=iso-8859-1\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
|
||||||
|
#: contrib/admin/media/js/calendar.js:24
|
||||||
|
msgid ""
|
||||||
|
"January February March April May June July August September October November "
|
||||||
|
"December"
|
||||||
|
msgstr ""
|
||||||
|
"Januar Februar März April Mai Juni Juli August September Oktober November "
|
||||||
|
"Dezember"
|
||||||
|
|
||||||
|
#: contrib/admin/media/js/calendar.js:25
|
||||||
|
msgid "S M T W T F S"
|
||||||
|
msgstr "S M D M D F S"
|
||||||
|
|
||||||
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:45
|
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:45
|
||||||
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:80
|
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:80
|
||||||
msgid "Now"
|
msgid "Now"
|
||||||
|
|
Binary file not shown.
|
@ -7,7 +7,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2005-12-04 13:32+0100\n"
|
"POT-Creation-Date: 2005-12-04 17:27+0100\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
@ -15,6 +15,16 @@ msgstr ""
|
||||||
"Content-Type: text/plain; charset=utf-8\n"
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
|
||||||
|
#: contrib/admin/media/js/calendar.js:24
|
||||||
|
msgid ""
|
||||||
|
"January February March April May June July August September October November "
|
||||||
|
"December"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: contrib/admin/media/js/calendar.js:25
|
||||||
|
msgid "S M T W T F S"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:45
|
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:45
|
||||||
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:80
|
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:80
|
||||||
msgid "Now"
|
msgid "Now"
|
||||||
|
|
Binary file not shown.
|
@ -7,13 +7,23 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Django JavaScript 1.0\n"
|
"Project-Id-Version: Django JavaScript 1.0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2005-12-04 14:09+0100\n"
|
"POT-Creation-Date: 2005-12-04 17:27+0100\n"
|
||||||
"PO-Revision-Date: 2005-12-04 14:32+0100\n"
|
"PO-Revision-Date: 2005-12-04 14:32+0100\n"
|
||||||
"Last-Translator: Antonio Cavedoni <antonio@cavedoni.org>\n"
|
"Last-Translator: Antonio Cavedoni <antonio@cavedoni.org>\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
|
||||||
|
#: contrib/admin/media/js/calendar.js:24
|
||||||
|
msgid ""
|
||||||
|
"January February March April May June July August September October November "
|
||||||
|
"December"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: contrib/admin/media/js/calendar.js:25
|
||||||
|
msgid "S M T W T F S"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:45
|
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:45
|
||||||
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:80
|
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:80
|
||||||
msgid "Now"
|
msgid "Now"
|
||||||
|
|
Binary file not shown.
|
@ -7,7 +7,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2005-12-04 13:32+0100\n"
|
"POT-Creation-Date: 2005-12-04 17:27+0100\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
@ -15,6 +15,16 @@ msgstr ""
|
||||||
"Content-Type: text/plain; charset=utf-8\n"
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
|
||||||
|
#: contrib/admin/media/js/calendar.js:24
|
||||||
|
msgid ""
|
||||||
|
"January February March April May June July August September October November "
|
||||||
|
"December"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: contrib/admin/media/js/calendar.js:25
|
||||||
|
msgid "S M T W T F S"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:45
|
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:45
|
||||||
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:80
|
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:80
|
||||||
msgid "Now"
|
msgid "Now"
|
||||||
|
|
Binary file not shown.
|
@ -7,7 +7,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Django\n"
|
"Project-Id-Version: Django\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2005-12-04 15:59+0100\n"
|
"POT-Creation-Date: 2005-12-04 17:27+0100\n"
|
||||||
"PO-Revision-Date: 2005-12-04 14:12+0100\n"
|
"PO-Revision-Date: 2005-12-04 14:12+0100\n"
|
||||||
"Last-Translator: Robin Sonefors <ozamosi@blinkenlights.se>\n"
|
"Last-Translator: Robin Sonefors <ozamosi@blinkenlights.se>\n"
|
||||||
"Language-Team: Django Translators <Django-I18N@googlegroups.com>\n"
|
"Language-Team: Django Translators <Django-I18N@googlegroups.com>\n"
|
||||||
|
@ -18,6 +18,16 @@ msgstr ""
|
||||||
"X-Poedit-Language: Swedish\n"
|
"X-Poedit-Language: Swedish\n"
|
||||||
"X-Poedit-Country: SWEDEN\n"
|
"X-Poedit-Country: SWEDEN\n"
|
||||||
|
|
||||||
|
#: contrib/admin/media/js/calendar.js:24
|
||||||
|
msgid ""
|
||||||
|
"January February March April May June July August September October November "
|
||||||
|
"December"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: contrib/admin/media/js/calendar.js:25
|
||||||
|
msgid "S M T W T F S"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:45
|
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:45
|
||||||
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:80
|
#: contrib/admin/media/js/admin/DateTimeShortcuts.js:80
|
||||||
msgid "Now"
|
msgid "Now"
|
||||||
|
|
|
@ -23,8 +23,8 @@ function quickElement() {
|
||||||
|
|
||||||
// CalendarNamespace -- Provides a collection of HTML calendar-related helper functions
|
// CalendarNamespace -- Provides a collection of HTML calendar-related helper functions
|
||||||
var CalendarNamespace = {
|
var CalendarNamespace = {
|
||||||
monthsOfYear: 'January February March April May June July August September October November December'.split(' '),
|
monthsOfYear: gettext('January February March April May June July August September October November December').split(' '),
|
||||||
daysOfWeek: 'S M T W T F S'.split(' '),
|
daysOfWeek: gettext('S M T W T F S').split(' '),
|
||||||
isLeapYear: function(year) {
|
isLeapYear: function(year) {
|
||||||
return (((year % 4)==0) && ((year % 100)!=0) || ((year % 400)==0));
|
return (((year % 4)==0) && ((year % 100)!=0) || ((year % 400)==0));
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue