diff --git a/bt5/erp5_l10n_pl_PL/SkinTemplateItem/portal_skins/erp5_l10n_pl_PL.xml b/bt5/erp5_l10n_pl_PL/SkinTemplateItem/portal_skins/erp5_l10n_pl_PL.xml new file mode 100644 index 0000000000000000000000000000000000000000..7e9e9eea750e521e74b54e9215efa3eb55b478bb --- /dev/null +++ b/bt5/erp5_l10n_pl_PL/SkinTemplateItem/portal_skins/erp5_l10n_pl_PL.xml @@ -0,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> diff --git a/bt5/erp5_l10n_pl_PL/SkinTemplateItem/portal_skins/erp5_l10n_pl_PL/GroupPresencePeriod_setPolishHolidayExceptions.xml b/bt5/erp5_l10n_pl_PL/SkinTemplateItem/portal_skins/erp5_l10n_pl_PL/GroupPresencePeriod_setPolishHolidayExceptions.xml new file mode 100644 index 0000000000000000000000000000000000000000..1a345bba554107b1e67e4e27a25e26ce5117b6d9 --- /dev/null +++ b/bt5/erp5_l10n_pl_PL/SkinTemplateItem/portal_skins/erp5_l10n_pl_PL/GroupPresencePeriod_setPolishHolidayExceptions.xml @@ -0,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> diff --git a/bt5/erp5_l10n_pl_PL/bt/change_log b/bt5/erp5_l10n_pl_PL/bt/change_log index d3843616a422616684499eb93b6f32b092169d3b..dcbcf6be4b3e6ecfc6fdc21b50cfdd2c8787fc8b 100644 --- a/bt5/erp5_l10n_pl_PL/bt/change_log +++ b/bt5/erp5_l10n_pl_PL/bt/change_log @@ -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 \ No newline at end of file diff --git a/bt5/erp5_l10n_pl_PL/bt/comment b/bt5/erp5_l10n_pl_PL/bt/comment new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_l10n_pl_PL/bt/license b/bt5/erp5_l10n_pl_PL/bt/license index 505faa142ba50b9b926378192bdb76f46d68742d..3a3e12bcad97e4b3bdd6a8bb499fd23a4bcb0819 100644 --- a/bt5/erp5_l10n_pl_PL/bt/license +++ b/bt5/erp5_l10n_pl_PL/bt/license @@ -1 +1 @@ -GPL +GPL \ No newline at end of file diff --git a/bt5/erp5_l10n_pl_PL/bt/maintainer_list b/bt5/erp5_l10n_pl_PL/bt/maintainer_list index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..f54763a54f732b474ca55e7380d57c52e19a9844 100644 --- a/bt5/erp5_l10n_pl_PL/bt/maintainer_list +++ b/bt5/erp5_l10n_pl_PL/bt/maintainer_list @@ -0,0 +1,2 @@ +luke +bartek \ No newline at end of file diff --git a/bt5/erp5_l10n_pl_PL/bt/revision b/bt5/erp5_l10n_pl_PL/bt/revision index 209e3ef4b6247ce746048d5711befda46206d235..8fdd954df9831dfd29ceec0d74829b02f3f5d8c3 100644 --- a/bt5/erp5_l10n_pl_PL/bt/revision +++ b/bt5/erp5_l10n_pl_PL/bt/revision @@ -1 +1 @@ -20 +22 \ No newline at end of file diff --git a/bt5/erp5_l10n_pl_PL/bt/template_catalog_datetime_key_list b/bt5/erp5_l10n_pl_PL/bt/template_catalog_datetime_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_l10n_pl_PL/bt/template_catalog_scriptable_key_list b/bt5/erp5_l10n_pl_PL/bt/template_catalog_scriptable_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_l10n_pl_PL/bt/template_skin_id_list b/bt5/erp5_l10n_pl_PL/bt/template_skin_id_list index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..7beb967a37085424df980d234ca04416731bf6d8 100644 --- a/bt5/erp5_l10n_pl_PL/bt/template_skin_id_list +++ b/bt5/erp5_l10n_pl_PL/bt/template_skin_id_list @@ -0,0 +1 @@ +erp5_l10n_pl_PL \ No newline at end of file diff --git a/bt5/erp5_l10n_pl_PL/bt/template_tool_id_list b/bt5/erp5_l10n_pl_PL/bt/template_tool_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391