From 631d127bd265bdacdce46ccc6dffa08f88736f78 Mon Sep 17 00:00:00 2001 From: Georg Bauer Date: Tue, 6 Dec 2005 20:30:20 +0000 Subject: [PATCH] added two more message IDs for translations to dateparse.js - month names and day names in the parser. Updated existing djangojs.po files. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1559 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/conf/locale/cy/LC_MESSAGES/djangojs.mo | Bin 1009 -> 1009 bytes django/conf/locale/cy/LC_MESSAGES/djangojs.po | 11 +++++++-- django/conf/locale/de/LC_MESSAGES/djangojs.mo | Bin 977 -> 1126 bytes django/conf/locale/de/LC_MESSAGES/djangojs.po | 7 +++++- django/conf/locale/en/LC_MESSAGES/djangojs.mo | Bin 367 -> 367 bytes django/conf/locale/en/LC_MESSAGES/djangojs.po | 7 +++++- django/conf/locale/es/LC_MESSAGES/djangojs.mo | Bin 994 -> 994 bytes django/conf/locale/es/LC_MESSAGES/djangojs.po | 11 +++++++-- django/conf/locale/it/LC_MESSAGES/djangojs.mo | Bin 1026 -> 1026 bytes django/conf/locale/it/LC_MESSAGES/djangojs.po | 11 +++++++-- django/conf/locale/no/LC_MESSAGES/djangojs.mo | Bin 772 -> 772 bytes django/conf/locale/no/LC_MESSAGES/djangojs.po | 7 +++++- django/conf/locale/sr/LC_MESSAGES/djangojs.mo | Bin 1238 -> 1238 bytes django/conf/locale/sr/LC_MESSAGES/djangojs.po | 22 +++++++++++++----- django/conf/locale/sv/LC_MESSAGES/djangojs.mo | Bin 905 -> 905 bytes django/conf/locale/sv/LC_MESSAGES/djangojs.po | 7 +++++- django/contrib/admin/media/js/dateparse.js | 4 ++-- 17 files changed, 69 insertions(+), 18 deletions(-) diff --git a/django/conf/locale/cy/LC_MESSAGES/djangojs.mo b/django/conf/locale/cy/LC_MESSAGES/djangojs.mo index 1e9c7db9d14b7240e8efc677fa75e3223f746229..98c71388b410efaad0b4f246ea7759affcf32674 100644 GIT binary patch delta 23 ecmey!{*iq{AQP9Ff{~$>v5~fc;pS+jX^a3^7Y2y{ delta 23 ecmey!{*iq{AQP8~f}xp}iJ7*6!RBbDX^a3^PzH|x diff --git a/django/conf/locale/cy/LC_MESSAGES/djangojs.po b/django/conf/locale/cy/LC_MESSAGES/djangojs.po index 7720f9faec..5fc58cdbe1 100644 --- a/django/conf/locale/cy/LC_MESSAGES/djangojs.po +++ b/django/conf/locale/cy/LC_MESSAGES/djangojs.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Django\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-12-04 16:46+0000\n" +"POT-Creation-Date: 2005-12-06 21:32+0100\n" "PO-Revision-Date: 2005-12-04 16:53+0000\n" "Last-Translator: Jason Davies \n" "Language-Team: Cymraeg \n" @@ -16,11 +16,18 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +#: contrib/admin/media/js/dateparse.js:26 #: contrib/admin/media/js/calendar.js:24 msgid "" "January February March April May June July August September October November " "December" -msgstr "Ionawr Chwefror Mawrth Ebrill Mai Mehefin Gorffennaf Medi Hydref Tachwedd Rhagfyr" +msgstr "" +"Ionawr Chwefror Mawrth Ebrill Mai Mehefin Gorffennaf Medi Hydref Tachwedd " +"Rhagfyr" + +#: contrib/admin/media/js/dateparse.js:27 +msgid "Sunday Monday Tuesday Wednesday Thursday Friday Saturday" +msgstr "" #: contrib/admin/media/js/calendar.js:25 msgid "S M T W T F S" diff --git a/django/conf/locale/de/LC_MESSAGES/djangojs.mo b/django/conf/locale/de/LC_MESSAGES/djangojs.mo index 9003a6ff3fe68366289fec6115040c230448bb41..e0907d97912d94a41805510f144bc78359b1f45e 100644 GIT binary patch delta 548 zcmX}oy-vbV6u|LYL_kDMOpJpLeF73OAw)+A>c9Ynu&7A`H_${{Q`#VlxH+i<7zZE2 zC-DUwO>}T^F~-6FxfoBl{hf1rKMs9Pzh)*c>&bgXtTDD3GsY$(XYnBVm_iRTc>Y(9 zafSK{7x5NbI73dre3!UqoV+A&to4|kya$@SST?-7&SP!La>#je~ zn*BI5Q`OLuH;x;{A<6X38l{VNVP|i*@YGARthy8Ue&qJ#D52tMe`sniibg@FZ&z5L fLo-(mwI}Z!cObPo)N!O$EeLzsR|k3+>CjidaQIeY delta 357 zcmXxgEpNh56vpw}7if7EBPd9Q!7hO;G?|!SV&K@43LIt@MX-DUT*C*LAVFcU2!aDg zW+n&{F@+^T?EgSH>FKYhJ-6q!M}Oyy4iE0c5P7mpj>!UfAr&plm?XB*$4*>#F-P6Q z1okn+0jh6{F8-i{zo`B_s{aq^8<`UqDQ=vxL^}4Z;gMB(Q58LWiftf=dFAwpP0Zi~ zwb5_XfEjAwJg%4V^EK*y8??;(t)MnpQVaAa?m^G>E3`okQD{>dlqNMuVMkxqG\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" +#: contrib/admin/media/js/dateparse.js:26 #: contrib/admin/media/js/calendar.js:24 msgid "" "January February March April May June July August September October November " @@ -22,6 +23,10 @@ msgstr "" "Januar Februar März April Mai Juni Juli August September Oktober November " "Dezember" +#: contrib/admin/media/js/dateparse.js:27 +msgid "Sunday Monday Tuesday Wednesday Thursday Friday Saturday" +msgstr "Sonntag Montag Dienstag Mittwoch Donnerstag Freitag Samstag" + #: contrib/admin/media/js/calendar.js:25 msgid "S M T W T F S" msgstr "S M D M D F S" diff --git a/django/conf/locale/en/LC_MESSAGES/djangojs.mo b/django/conf/locale/en/LC_MESSAGES/djangojs.mo index 530c951f0f917a686ecc18b87cc22296b0826a10..a39b272824a3a5ac830f29404d71c16374aa182d 100644 GIT binary patch delta 17 ZcmaFQ^qy(L1a>n8BSR}=qlwdR0023O24VmJ delta 17 ZcmaFQ^qy(L1a=bzLvt%5^NG`M0023r25A5Q diff --git a/django/conf/locale/en/LC_MESSAGES/djangojs.po b/django/conf/locale/en/LC_MESSAGES/djangojs.po index a19cb8480d..cd6baad0fa 100644 --- a/django/conf/locale/en/LC_MESSAGES/djangojs.po +++ b/django/conf/locale/en/LC_MESSAGES/djangojs.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-12-04 17:27+0100\n" +"POT-Creation-Date: 2005-12-06 21:32+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -15,12 +15,17 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +#: contrib/admin/media/js/dateparse.js:26 #: 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/dateparse.js:27 +msgid "Sunday Monday Tuesday Wednesday Thursday Friday Saturday" +msgstr "" + #: contrib/admin/media/js/calendar.js:25 msgid "S M T W T F S" msgstr "" diff --git a/django/conf/locale/es/LC_MESSAGES/djangojs.mo b/django/conf/locale/es/LC_MESSAGES/djangojs.mo index 8d32dcff935ed2cad56e44ae1652004a1e74a42f..f6e45313ba7044410f2cfdb23a05b72c4187cdd1 100644 GIT binary patch delta 23 ecmaFF{)l};0uz^+f{~$>v5~fc;pQx+3Pu1{kp^o3 delta 23 ecmaFF{)l};0uz_1f}y#Uk-4sc+2$;!3Pu1|4hDJv diff --git a/django/conf/locale/es/LC_MESSAGES/djangojs.po b/django/conf/locale/es/LC_MESSAGES/djangojs.po index 623632c042..051253c4fb 100644 --- a/django/conf/locale/es/LC_MESSAGES/djangojs.po +++ b/django/conf/locale/es/LC_MESSAGES/djangojs.po @@ -7,18 +7,25 @@ msgid "" msgstr "" "Project-Id-Version: Django JavaScript 1.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-12-05 17:27-0600\n" +"POT-Creation-Date: 2005-12-06 21:32+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Jorge Gajon \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +#: contrib/admin/media/js/dateparse.js:26 #: contrib/admin/media/js/calendar.js:24 msgid "" "January February March April May June July August September October November " "December" -msgstr "Enero Febrero Marzo Abril Mayo Junio Julio Agosto Septiembre Octubre Noviembre Diciembre" +msgstr "" +"Enero Febrero Marzo Abril Mayo Junio Julio Agosto Septiembre Octubre " +"Noviembre Diciembre" + +#: contrib/admin/media/js/dateparse.js:27 +msgid "Sunday Monday Tuesday Wednesday Thursday Friday Saturday" +msgstr "" #: contrib/admin/media/js/calendar.js:25 msgid "S M T W T F S" diff --git a/django/conf/locale/it/LC_MESSAGES/djangojs.mo b/django/conf/locale/it/LC_MESSAGES/djangojs.mo index a0a7c50bb7f605850c80c940ffb5f0c6e7a11059..ec9d8f1a68a95fdde5a223146e5a53c894c354c7 100644 GIT binary patch delta 20 bcmZqTXyVwAz{GB*U}R`zY_vI@X*MGOH{}IB delta 20 bcmZqTXyVwAz{GB%U}$b-WWG6_X*MGOI1mLz diff --git a/django/conf/locale/it/LC_MESSAGES/djangojs.po b/django/conf/locale/it/LC_MESSAGES/djangojs.po index f5909e28c8..03bac7cc6a 100644 --- a/django/conf/locale/it/LC_MESSAGES/djangojs.po +++ b/django/conf/locale/it/LC_MESSAGES/djangojs.po @@ -7,18 +7,25 @@ msgid "" msgstr "" "Project-Id-Version: Django JavaScript 1.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-12-04 17:27+0100\n" +"POT-Creation-Date: 2005-12-06 21:32+0100\n" "PO-Revision-Date: 2005-12-04 21:47+0100\n" "Last-Translator: Antonio Cavedoni \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +#: contrib/admin/media/js/dateparse.js:26 #: contrib/admin/media/js/calendar.js:24 msgid "" "January February March April May June July August September October November " "December" -msgstr "Gennaio Febbraio Marzo Aprile Maggio Giugno Luglio Agosto Settembre Ottobre Novembre Dicembre" +msgstr "" +"Gennaio Febbraio Marzo Aprile Maggio Giugno Luglio Agosto Settembre Ottobre " +"Novembre Dicembre" + +#: contrib/admin/media/js/dateparse.js:27 +msgid "Sunday Monday Tuesday Wednesday Thursday Friday Saturday" +msgstr "" #: contrib/admin/media/js/calendar.js:25 msgid "S M T W T F S" diff --git a/django/conf/locale/no/LC_MESSAGES/djangojs.mo b/django/conf/locale/no/LC_MESSAGES/djangojs.mo index 4832d5c7fdb7e5068136d9003c1404aa5c589dd5..95e35fecd59272edb6ab329546a860fea4958520 100644 GIT binary patch delta 20 bcmZo+Yhl}Pj*;C=!N}0c*l6=rMtw#AKPm;R delta 20 bcmZo+Yhl}Pj*;C&!O+~w$b9ovMtw#AKUD>@ diff --git a/django/conf/locale/no/LC_MESSAGES/djangojs.po b/django/conf/locale/no/LC_MESSAGES/djangojs.po index e18e932515..5053fb3847 100644 --- a/django/conf/locale/no/LC_MESSAGES/djangojs.po +++ b/django/conf/locale/no/LC_MESSAGES/djangojs.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-12-04 17:27+0100\n" +"POT-Creation-Date: 2005-12-06 21:32+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -15,12 +15,17 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +#: contrib/admin/media/js/dateparse.js:26 #: 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/dateparse.js:27 +msgid "Sunday Monday Tuesday Wednesday Thursday Friday Saturday" +msgstr "" + #: contrib/admin/media/js/calendar.js:25 msgid "S M T W T F S" msgstr "" diff --git a/django/conf/locale/sr/LC_MESSAGES/djangojs.mo b/django/conf/locale/sr/LC_MESSAGES/djangojs.mo index 6611e0279ae4ca591bc8d129e88c37b2d6efcc55..8a8c5dbf90b1642b3ebced433d4f9015531bbfb4 100644 GIT binary patch delta 20 bcmcb{d5v>JAQQWpf{~$>vC-xTraC47Ln{TY delta 20 bcmcb{d5v>JAQQW(f}x3(iRI=9raC47LtzEC diff --git a/django/conf/locale/sr/LC_MESSAGES/djangojs.po b/django/conf/locale/sr/LC_MESSAGES/djangojs.po index 65409483f1..18507ab4a6 100644 --- a/django/conf/locale/sr/LC_MESSAGES/djangojs.po +++ b/django/conf/locale/sr/LC_MESSAGES/djangojs.po @@ -7,20 +7,31 @@ msgid "" msgstr "" "Project-Id-Version: django\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-12-05 14:49+0100\n" +"POT-Creation-Date: 2005-12-06 21:32+0100\n" "PO-Revision-Date: 2005-12-05 15:00+0100\n" "Last-Translator: NebojÅ¡a ÄorÄ‘ević \n" -"Language-Team: Nesh & Petar \n" +"Language-Team: Nesh & Petar \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Serbian\n" "X-Poedit-Country: YUGOSLAVIA\n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" +"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +#: contrib/admin/media/js/dateparse.js:26 #: contrib/admin/media/js/calendar.js:24 -msgid "January February March April May June July August September October November December" -msgstr "Januar Februar Mart April Maj Jun Jul Avgust Septembar Oktobar Novembar Decembar" +msgid "" +"January February March April May June July August September October November " +"December" +msgstr "" +"Januar Februar Mart April Maj Jun Jul Avgust Septembar Oktobar Novembar " +"Decembar" + +#: contrib/admin/media/js/dateparse.js:27 +msgid "Sunday Monday Tuesday Wednesday Thursday Friday Saturday" +msgstr "" #: contrib/admin/media/js/calendar.js:25 msgid "S M T W T F S" @@ -72,4 +83,3 @@ msgstr "JuÄe" #: contrib/admin/media/js/admin/DateTimeShortcuts.js:164 msgid "Tomorrow" msgstr "Sutra" - diff --git a/django/conf/locale/sv/LC_MESSAGES/djangojs.mo b/django/conf/locale/sv/LC_MESSAGES/djangojs.mo index c9d1d3c8f9af71f98d4f27df607b76adb92794d2..0e5a3fe0976f44a4e76e7126ee0ad6c1800cf7e5 100644 GIT binary patch delta 20 bcmeBV?_}R_l#$&`!N}0c*l6<^#=VRHKz#-@ delta 20 bcmeBV?_}R_l#$&;!O+~w$b9n|#=VRHK&S>g diff --git a/django/conf/locale/sv/LC_MESSAGES/djangojs.po b/django/conf/locale/sv/LC_MESSAGES/djangojs.po index b3126c85b6..393f6e4480 100644 --- a/django/conf/locale/sv/LC_MESSAGES/djangojs.po +++ b/django/conf/locale/sv/LC_MESSAGES/djangojs.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Django\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-12-04 17:27+0100\n" +"POT-Creation-Date: 2005-12-06 21:32+0100\n" "PO-Revision-Date: 2005-12-04 14:12+0100\n" "Last-Translator: Robin Sonefors \n" "Language-Team: Django Translators \n" @@ -18,12 +18,17 @@ msgstr "" "X-Poedit-Language: Swedish\n" "X-Poedit-Country: SWEDEN\n" +#: contrib/admin/media/js/dateparse.js:26 #: 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/dateparse.js:27 +msgid "Sunday Monday Tuesday Wednesday Thursday Friday Saturday" +msgstr "" + #: contrib/admin/media/js/calendar.js:25 msgid "S M T W T F S" msgstr "" diff --git a/django/contrib/admin/media/js/dateparse.js b/django/contrib/admin/media/js/dateparse.js index cec36e41e0..785e9fd8ff 100644 --- a/django/contrib/admin/media/js/dateparse.js +++ b/django/contrib/admin/media/js/dateparse.js @@ -23,8 +23,8 @@ Array.prototype.filter = function(test) { return matches; }; -var monthNames = "January February March April May June July August September October November December".split(" "); -var weekdayNames = "Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "); +var monthNames = gettext("January February March April May June July August September October November December").split(" "); +var weekdayNames = gettext("Sunday Monday Tuesday Wednesday Thursday Friday Saturday").split(" "); /* Takes a string, returns the index of the month matching that string, throws an error if 0 or more than 1 matches