Commit b476b790 authored by Łukasz Nowak's avatar Łukasz Nowak

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

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19990 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6da02067
<?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>
<?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>
2008-03-18 shufla
* introduced erp5_l10n_pl_PL skin for region specific scripts
20060831 shufla added translation, some cleanups 20060831 shufla added translation, some cleanups
20060727 shufla many changes, updates and cleans 20060727 shufla many changes, updates and cleans
\ No newline at end of file
GPL GPL
\ No newline at end of file
luke
bartek
\ No newline at end of file
20 22
\ No newline at end of file
erp5_l10n_pl_PL
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment