[Checkins] SVN: zc.datetimewidget/trunk/src/zc/datetimewidget/
Leftovers from merging the gintas-dateranges branch.
Gintautas Miliauskas
gintas at pov.lt
Mon Sep 17 08:04:07 EDT 2007
Log message for revision 79715:
Leftovers from merging the gintas-dateranges branch.
Changed:
U zc.datetimewidget/trunk/src/zc/datetimewidget/ftesting.zcml
U zc.datetimewidget/trunk/src/zc/datetimewidget/overrides.zcml
D zc.datetimewidget/trunk/src/zc/datetimewidget/resources/lang/calendar-lt.js
A zc.datetimewidget/trunk/src/zc/datetimewidget/resources/lang/calendar-lt.js
-=-
Modified: zc.datetimewidget/trunk/src/zc/datetimewidget/ftesting.zcml
===================================================================
--- zc.datetimewidget/trunk/src/zc/datetimewidget/ftesting.zcml 2007-09-17 12:01:34 UTC (rev 79714)
+++ zc.datetimewidget/trunk/src/zc/datetimewidget/ftesting.zcml 2007-09-17 12:04:06 UTC (rev 79715)
@@ -1,14 +1,13 @@
-<configure
- xmlns="http://namespaces.zope.org/zope"
- xmlns:browser="http://namespaces.zope.org/browser"
- xmlns:zcml="http://namespaces.zope.org/zcml"
- i18n_domain="zope"
- >
+<configure xmlns="http://namespaces.zope.org/zope"
+ xmlns:browser="http://namespaces.zope.org/browser"
+ xmlns:zcml="http://namespaces.zope.org/zcml"
+ i18n_domain="zc.datetimewidget">
<include
zcml:condition="installed zope.app.zcmlfiles"
package="zope.app.zcmlfiles"
/>
+
<include
zcml:condition="not-installed zope.app.zcmlfiles"
package="zope.app"
Modified: zc.datetimewidget/trunk/src/zc/datetimewidget/overrides.zcml
===================================================================
--- zc.datetimewidget/trunk/src/zc/datetimewidget/overrides.zcml 2007-09-17 12:01:34 UTC (rev 79714)
+++ zc.datetimewidget/trunk/src/zc/datetimewidget/overrides.zcml 2007-09-17 12:04:06 UTC (rev 79715)
@@ -1,33 +1,33 @@
<configure xmlns='http://namespaces.zope.org/zope'>
<!-- Wire up our widgets to replace the default ones. -->
- <view
- type="zope.publisher.interfaces.browser.IBrowserRequest"
- for="zope.schema.interfaces.IDatetime"
- provides="zope.app.form.interfaces.IInputWidget"
+ <adapter
+ for="zope.schema.interfaces.IDatetime
+ zope.publisher.interfaces.browser.IBrowserRequest"
+ provides="zope.app.form.browser.interfaces.ISimpleInputWidget"
factory=".datetimewidget.DatetimeWidget"
permission="zope.Public"
/>
- <view
- type="zope.publisher.interfaces.browser.IBrowserRequest"
- for="zope.schema.interfaces.IDate"
- provides="zope.app.form.interfaces.IInputWidget"
+ <adapter
+ for="zope.schema.interfaces.IDate
+ zope.publisher.interfaces.browser.IBrowserRequest"
+ provides="zope.app.form.browser.interfaces.ISimpleInputWidget"
factory=".datetimewidget.DateWidget"
permission="zope.Public"
/>
- <view
- type="zope.publisher.interfaces.browser.IBrowserRequest"
- for="zope.schema.interfaces.IDatetime"
+ <adapter
+ for="zope.schema.interfaces.IDatetime
+ zope.publisher.interfaces.browser.IBrowserRequest"
provides="zope.app.form.interfaces.IDisplayWidget"
factory=".datetimewidget.DatetimeDisplayWidget"
permission="zope.Public"
/>
- <view
- type="zope.publisher.interfaces.browser.IBrowserRequest"
- for="zope.schema.interfaces.IDate"
+ <adapter
+ for="zope.schema.interfaces.IDate
+ zope.publisher.interfaces.browser.IBrowserRequest"
provides="zope.app.form.interfaces.IDisplayWidget"
factory=".datetimewidget.DateDisplayWidget"
permission="zope.Public"
Deleted: zc.datetimewidget/trunk/src/zc/datetimewidget/resources/lang/calendar-lt.js
===================================================================
--- zc.datetimewidget/trunk/src/zc/datetimewidget/resources/lang/calendar-lt.js 2007-09-17 12:01:34 UTC (rev 79714)
+++ zc.datetimewidget/trunk/src/zc/datetimewidget/resources/lang/calendar-lt.js 2007-09-17 12:04:06 UTC (rev 79715)
@@ -1,121 +0,0 @@
-// ** I18N
-
-// Calendar LT language
-// Author: Martynas Majeris, <martynas at solmetra.lt>
-// Encoding: UTF-8
-// Distributed under the same terms as the calendar itself.
-
-// For translators: please use UTF-8 if possible. We strongly believe that
-// Unicode is the answer to a real internationalized world. Also please
-// include your contact information in the header, as can be seen above.
-
-// full day names
-Calendar._DN = new Array
-("Sekmadienis",
- "Pirmadienis",
- "Antradienis",
- "TreÄiadienis",
- "Ketvirtadienis",
- "Penktadienis",
- "Šeštadienis",
- "Sekmadienis");
-
-// Please note that the following array of short day names (and the same goes
-// for short month names, _SMN) isn't absolutely necessary. We give it here
-// for exemplification on how one can customize the short day names, but if
-// they are simply the first N letters of the full name you can simply say:
-//
-// Calendar._SDN_len = N; // short day name length
-// Calendar._SMN_len = N; // short month name length
-//
-// If N = 3 then this is not needed either since we assume a value of 3 if not
-// present, to be compatible with translation files that were written before
-// this feature.
-
-// First day of the week. "0" means display Sunday first, "1" means display
-// Monday first, etc.
-Calendar._FD = 1;
-
-// short day names
-Calendar._SDN = new Array
-("Sek",
- "Pir",
- "Ant",
- "Tre",
- "Ket",
- "Pen",
- "Šeš",
- "Sek");
-
-// full month names
-Calendar._MN = new Array
-("Sausis",
- "Vasaris",
- "Kovas",
- "Balandis",
- "GegužÄ",
- "Birželis",
- "Liepa",
- "Rugpjūtis",
- "RugsÄjis",
- "Spalis",
- "Lapkritis",
- "Gruodis");
-
-// short month names
-Calendar._SMN = new Array
-("Sau",
- "Vas",
- "Kov",
- "Bal",
- "Geg",
- "Bir",
- "Lie",
- "Rgp",
- "Rgs",
- "Spa",
- "Lap",
- "Gru");
-
-// tooltips
-Calendar._TT = {};
-Calendar._TT["INFO"] = "Apie kalendorių";
-
-Calendar._TT["ABOUT"] =
-"DHTML Date/Time Selector\n" +
-"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
-"NaujausiÄ
versijÄ
rasite: http://www.dynarch.com/projects/calendar/\n" +
-"Platinamas pagal GNU LGPL licencijÄ
. Aplankykite http://gnu.org/licenses/lgpl.html" +
-"\n\n" +
-"Datos pasirinkimas:\n" +
-"- Metų pasirinkimas: \xab, \xbb\n" +
-"- MÄnesio pasirinkimas: " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + "\n" +
-"- Nuspauskite ir laikykite pelÄs klaviÅ¡Ä
greitesniam pasirinkimui.";
-Calendar._TT["ABOUT_TIME"] = "\n\n" +
-"Laiko pasirinkimas:\n" +
-"- Spustelkite ant valandų arba minuÄių - skaiÄius padidÄs vienetu.\n" +
-"- Jei spausite kartu su Shift, skaiÄius sumažÄs.\n" +
-"- Greitam pasirinkimui spustelkite ir pajudinkite pelÄ.";
-
-Calendar._TT["PREV_YEAR"] = "Ankstesni metai (laikykite, jei norite meniu)";
-Calendar._TT["PREV_MONTH"] = "Ankstesnis mÄnuo (laikykite, jei norite meniu)";
-Calendar._TT["GO_TODAY"] = "Pasirinkti Å¡iandienÄ
";
-Calendar._TT["NEXT_MONTH"] = "Kitas mÄnuo (laikykite, jei norite meniu)";
-Calendar._TT["NEXT_YEAR"] = "Kiti metai (laikykite, jei norite meniu)";
-Calendar._TT["SEL_DATE"] = "Pasirinkite datÄ
";
-Calendar._TT["DRAG_TO_MOVE"] = "Tempkite";
-Calendar._TT["PART_TODAY"] = " (Å¡iandien)";
-Calendar._TT["DAY_FIRST"] = "Pirma savaitÄs diena - %s";
-Calendar._TT["MON_FIRST"] = "Pirma savaitÄs diena - pirmadienis";
-Calendar._TT["SUN_FIRST"] = "Pirma savaitÄs diena - sekmadienis";
-Calendar._TT["CLOSE"] = "Uždaryti";
-Calendar._TT["TODAY"] = "Å iandien";
-Calendar._TT["TIME_PART"] = "Spustelkite arba tempkite jei norite pakeisti";
-
-// date formats
-Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d";
-Calendar._TT["TT_DATE_FORMAT"] = "%A, %Y-%m-%d";
-
-Calendar._TT["WK"] = "sav";
-Calendar._TT["WEEKEND"] = "1,7";
-Calendar._TT["TIME"] = "Laikas:";
Copied: zc.datetimewidget/trunk/src/zc/datetimewidget/resources/lang/calendar-lt.js (from rev 79713, zc.datetimewidget/branches/gintas-dateranges/src/zc/datetimewidget/resources/lang/calendar-lt.js)
===================================================================
--- zc.datetimewidget/trunk/src/zc/datetimewidget/resources/lang/calendar-lt.js (rev 0)
+++ zc.datetimewidget/trunk/src/zc/datetimewidget/resources/lang/calendar-lt.js 2007-09-17 12:04:06 UTC (rev 79715)
@@ -0,0 +1,121 @@
+// ** I18N
+
+// Calendar LT language
+// Author: Martynas Majeris, <martynas at solmetra.lt>
+// Encoding: UTF-8
+// Distributed under the same terms as the calendar itself.
+
+// For translators: please use UTF-8 if possible. We strongly believe that
+// Unicode is the answer to a real internationalized world. Also please
+// include your contact information in the header, as can be seen above.
+
+// full day names
+Calendar._DN = new Array
+("Sekmadienis",
+ "Pirmadienis",
+ "Antradienis",
+ "TreÄiadienis",
+ "Ketvirtadienis",
+ "Penktadienis",
+ "Šeštadienis",
+ "Sekmadienis");
+
+// Please note that the following array of short day names (and the same goes
+// for short month names, _SMN) isn't absolutely necessary. We give it here
+// for exemplification on how one can customize the short day names, but if
+// they are simply the first N letters of the full name you can simply say:
+//
+// Calendar._SDN_len = N; // short day name length
+// Calendar._SMN_len = N; // short month name length
+//
+// If N = 3 then this is not needed either since we assume a value of 3 if not
+// present, to be compatible with translation files that were written before
+// this feature.
+
+// First day of the week. "0" means display Sunday first, "1" means display
+// Monday first, etc.
+Calendar._FD = 1;
+
+// short day names
+Calendar._SDN = new Array
+("Sek",
+ "Pir",
+ "Ant",
+ "Tre",
+ "Ket",
+ "Pen",
+ "Šeš",
+ "Sek");
+
+// full month names
+Calendar._MN = new Array
+("Sausis",
+ "Vasaris",
+ "Kovas",
+ "Balandis",
+ "GegužÄ",
+ "Birželis",
+ "Liepa",
+ "Rugpjūtis",
+ "RugsÄjis",
+ "Spalis",
+ "Lapkritis",
+ "Gruodis");
+
+// short month names
+Calendar._SMN = new Array
+("Sau",
+ "Vas",
+ "Kov",
+ "Bal",
+ "Geg",
+ "Bir",
+ "Lie",
+ "Rgp",
+ "Rgs",
+ "Spa",
+ "Lap",
+ "Gru");
+
+// tooltips
+Calendar._TT = {};
+Calendar._TT["INFO"] = "Apie kalendorių";
+
+Calendar._TT["ABOUT"] =
+"DHTML Date/Time Selector\n" +
+"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
+"NaujausiÄ
versijÄ
rasite: http://www.dynarch.com/projects/calendar/\n" +
+"Platinamas pagal GNU LGPL licencijÄ
. Aplankykite http://gnu.org/licenses/lgpl.html" +
+"\n\n" +
+"Datos pasirinkimas:\n" +
+"- Metų pasirinkimas: \xab, \xbb\n" +
+"- MÄnesio pasirinkimas: " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + "\n" +
+"- Nuspauskite ir laikykite pelÄs klaviÅ¡Ä
greitesniam pasirinkimui.";
+Calendar._TT["ABOUT_TIME"] = "\n\n" +
+"Laiko pasirinkimas:\n" +
+"- Spustelkite ant valandų arba minuÄių - skaiÄius padidÄs vienetu.\n" +
+"- Jei spausite kartu su Shift, skaiÄius sumažÄs.\n" +
+"- Greitam pasirinkimui spustelkite ir pajudinkite pelÄ.";
+
+Calendar._TT["PREV_YEAR"] = "Ankstesni metai (laikykite, jei norite meniu)";
+Calendar._TT["PREV_MONTH"] = "Ankstesnis mÄnuo (laikykite, jei norite meniu)";
+Calendar._TT["GO_TODAY"] = "Pasirinkti Å¡iandienÄ
";
+Calendar._TT["NEXT_MONTH"] = "Kitas mÄnuo (laikykite, jei norite meniu)";
+Calendar._TT["NEXT_YEAR"] = "Kiti metai (laikykite, jei norite meniu)";
+Calendar._TT["SEL_DATE"] = "Pasirinkite datÄ
";
+Calendar._TT["DRAG_TO_MOVE"] = "Tempkite";
+Calendar._TT["PART_TODAY"] = " (Å¡iandien)";
+Calendar._TT["DAY_FIRST"] = "Pirma savaitÄs diena - %s";
+Calendar._TT["MON_FIRST"] = "Pirma savaitÄs diena - pirmadienis";
+Calendar._TT["SUN_FIRST"] = "Pirma savaitÄs diena - sekmadienis";
+Calendar._TT["CLOSE"] = "Uždaryti";
+Calendar._TT["TODAY"] = "Å iandien";
+Calendar._TT["TIME_PART"] = "Spustelkite arba tempkite jei norite pakeisti";
+
+// date formats
+Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d";
+Calendar._TT["TT_DATE_FORMAT"] = "%A, %Y-%m-%d";
+
+Calendar._TT["WK"] = "sav";
+Calendar._TT["WEEKEND"] = "0,6";
+Calendar._TT["TIME"] = "Laikas:";
More information about the Checkins
mailing list