[Erp5-report] r19990 - in /erp5/trunk/bt5/erp5_l10n_pl_PL: SkinTemplateItem/ SkinTemplateIt...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Mar 18 14:49:49 CET 2008


Author: luke
Date: Tue Mar 18 14:49:46 2008
New Revision: 19990

URL: http://svn.erp5.org?rev=19990&view=rev
Log:
2008-03-18 shufla
* introduced erp5_l10n_pl_PL skin for region specific scripts

- script which was removed from erp5_accounting_l10n_pl while its cleanup re-introduced (GroupPresencePeriod_setPolishHolidayExceptions)
- update to new Business Template format

Added:
    erp5/trunk/bt5/erp5_l10n_pl_PL/SkinTemplateItem/
    erp5/trunk/bt5/erp5_l10n_pl_PL/SkinTemplateItem/portal_skins/
    erp5/trunk/bt5/erp5_l10n_pl_PL/SkinTemplateItem/portal_skins/erp5_l10n_pl_PL/
    erp5/trunk/bt5/erp5_l10n_pl_PL/SkinTemplateItem/portal_skins/erp5_l10n_pl_PL.xml
    erp5/trunk/bt5/erp5_l10n_pl_PL/SkinTemplateItem/portal_skins/erp5_l10n_pl_PL/GroupPresencePeriod_setPolishHolidayExceptions.xml
    erp5/trunk/bt5/erp5_l10n_pl_PL/bt/comment
    erp5/trunk/bt5/erp5_l10n_pl_PL/bt/template_catalog_datetime_key_list
    erp5/trunk/bt5/erp5_l10n_pl_PL/bt/template_catalog_scriptable_key_list
    erp5/trunk/bt5/erp5_l10n_pl_PL/bt/template_tool_id_list
Modified:
    erp5/trunk/bt5/erp5_l10n_pl_PL/bt/change_log
    erp5/trunk/bt5/erp5_l10n_pl_PL/bt/license
    erp5/trunk/bt5/erp5_l10n_pl_PL/bt/maintainer_list
    erp5/trunk/bt5/erp5_l10n_pl_PL/bt/revision
    erp5/trunk/bt5/erp5_l10n_pl_PL/bt/template_skin_id_list

Added: erp5/trunk/bt5/erp5_l10n_pl_PL/SkinTemplateItem/portal_skins/erp5_l10n_pl_PL.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_l10n_pl_PL/SkinTemplateItem/portal_skins/erp5_l10n_pl_PL.xml?rev=19990&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_l10n_pl_PL/SkinTemplateItem/portal_skins/erp5_l10n_pl_PL.xml (added)
+++ erp5/trunk/bt5/erp5_l10n_pl_PL/SkinTemplateItem/portal_skins/erp5_l10n_pl_PL.xml Tue Mar 18 14:49:46 2008
@@ -1,0 +1,35 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="Folder" module="OFS.Folder"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_objects</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>erp5_l10n_pl_PL</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_l10n_pl_PL/SkinTemplateItem/portal_skins/erp5_l10n_pl_PL/GroupPresencePeriod_setPolishHolidayExceptions.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_l10n_pl_PL/SkinTemplateItem/portal_skins/erp5_l10n_pl_PL/GroupPresencePeriod_setPolishHolidayExceptions.xml?rev=19990&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_l10n_pl_PL/SkinTemplateItem/portal_skins/erp5_l10n_pl_PL/GroupPresencePeriod_setPolishHolidayExceptions.xml (added)
+++ erp5/trunk/bt5/erp5_l10n_pl_PL/SkinTemplateItem/portal_skins/erp5_l10n_pl_PL/GroupPresencePeriod_setPolishHolidayExceptions.xml Tue Mar 18 14:49:46 2008
@@ -1,0 +1,170 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>Python_magic</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>Script_magic</string> </key>
+            <value> <int>3</int> </value>
+        </item>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_bind_names</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>_asgns</string> </key>
+                        <value>
+                          <dictionary>
+                            <item>
+                                <key> <string>name_container</string> </key>
+                                <value> <string>container</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_context</string> </key>
+                                <value> <string>context</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_m_self</string> </key>
+                                <value> <string>script</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_subpath</string> </key>
+                                <value> <string>traverse_subpath</string> </value>
+                            </item>
+                          </dictionary>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>_body</string> </key>
+            <value> <string>"""\n
+  This script sets all standard (non-movable) holidays for polish calendar\n
+  on context Group Calendar Period.\n
+  Year defaults to current year.\n
+"""\n
+\n
+part_holiday_list = [\'01-01\',\'05-01\',\'05-03\',\'08-15\',\'11-01\',\'11-11\',\'12-25\',\'12-26\']\n
+holiday_list = [\'-\'.join((str(year),holiday))  for holiday in part_holiday_list]\n
+\n
+for day in holiday_list:\n
+   holiday = DateTime(day)\n
+   context.newContent(portal_type = \'Calendar Exception\',\n
+                      exception_date = holiday)\n
+</string> </value>
+        </item>
+        <item>
+            <key> <string>_code</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_filepath</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_owner</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_params</string> </key>
+            <value> <string>year = DateTime().year()</string> </value>
+        </item>
+        <item>
+            <key> <string>errors</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>func_code</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>co_argcount</string> </key>
+                        <value> <int>1</int> </value>
+                    </item>
+                    <item>
+                        <key> <string>co_varnames</string> </key>
+                        <value>
+                          <tuple>
+                            <string>year</string>
+                            <string>part_holiday_list</string>
+                            <string>append</string>
+                            <string>$append0</string>
+                            <string>_getiter_</string>
+                            <string>holiday</string>
+                            <string>_getattr_</string>
+                            <string>str</string>
+                            <string>holiday_list</string>
+                            <string>day</string>
+                            <string>DateTime</string>
+                            <string>context</string>
+                          </tuple>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>func_defaults</string> </key>
+            <value>
+              <tuple>
+                <int>2008</int>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>GroupPresencePeriod_setPolishHolidayExceptions</string> </value>
+        </item>
+        <item>
+            <key> <string>warnings</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_l10n_pl_PL/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_l10n_pl_PL/bt/change_log?rev=19990&r1=19989&r2=19990&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_l10n_pl_PL/bt/change_log (original)
+++ erp5/trunk/bt5/erp5_l10n_pl_PL/bt/change_log Tue Mar 18 14:49:46 2008
@@ -1,2 +1,5 @@
+2008-03-18 shufla
+* introduced erp5_l10n_pl_PL skin for region specific scripts
+
 20060831 shufla added translation, some cleanups
 20060727 shufla many changes, updates and cleans

Added: erp5/trunk/bt5/erp5_l10n_pl_PL/bt/comment
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_l10n_pl_PL/bt/comment?rev=19990&view=auto
==============================================================================
    (empty)

Modified: erp5/trunk/bt5/erp5_l10n_pl_PL/bt/license
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_l10n_pl_PL/bt/license?rev=19990&r1=19989&r2=19990&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_l10n_pl_PL/bt/license (original)
+++ erp5/trunk/bt5/erp5_l10n_pl_PL/bt/license Tue Mar 18 14:49:46 2008
@@ -1,1 +1,1 @@
-GPL
+GPL

Modified: erp5/trunk/bt5/erp5_l10n_pl_PL/bt/maintainer_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_l10n_pl_PL/bt/maintainer_list?rev=19990&r1=19989&r2=19990&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_l10n_pl_PL/bt/maintainer_list (original)
+++ erp5/trunk/bt5/erp5_l10n_pl_PL/bt/maintainer_list Tue Mar 18 14:49:46 2008
@@ -1,0 +1,2 @@
+luke
+bartek

Modified: erp5/trunk/bt5/erp5_l10n_pl_PL/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_l10n_pl_PL/bt/revision?rev=19990&r1=19989&r2=19990&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_l10n_pl_PL/bt/revision (original)
+++ erp5/trunk/bt5/erp5_l10n_pl_PL/bt/revision Tue Mar 18 14:49:46 2008
@@ -1,1 +1,1 @@
-20
+22

Added: erp5/trunk/bt5/erp5_l10n_pl_PL/bt/template_catalog_datetime_key_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_l10n_pl_PL/bt/template_catalog_datetime_key_list?rev=19990&view=auto
==============================================================================
    (empty)

Added: erp5/trunk/bt5/erp5_l10n_pl_PL/bt/template_catalog_scriptable_key_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_l10n_pl_PL/bt/template_catalog_scriptable_key_list?rev=19990&view=auto
==============================================================================
    (empty)

Modified: erp5/trunk/bt5/erp5_l10n_pl_PL/bt/template_skin_id_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_l10n_pl_PL/bt/template_skin_id_list?rev=19990&r1=19989&r2=19990&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_l10n_pl_PL/bt/template_skin_id_list (original)
+++ erp5/trunk/bt5/erp5_l10n_pl_PL/bt/template_skin_id_list Tue Mar 18 14:49:46 2008
@@ -1,0 +1,1 @@
+erp5_l10n_pl_PL

Added: erp5/trunk/bt5/erp5_l10n_pl_PL/bt/template_tool_id_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_l10n_pl_PL/bt/template_tool_id_list?rev=19990&view=auto
==============================================================================
    (empty)




More information about the Erp5-report mailing list