Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tomáš Peterka
erp5
Commits
a18c90cd
Commit
a18c90cd
authored
Aug 08, 2011
by
Yusei Tahara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Extract messages from constraints in ZODB property sheets for POT.
parent
bdff5bf7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletion
+13
-1
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/ERP5Site_getToBeTranslatedMessageListFromEntireSystemAsPot.xml
...ite_getToBeTranslatedMessageListFromEntireSystemAsPot.xml
+9
-0
bt5/erp5_forge/bt/change_log
bt5/erp5_forge/bt/change_log
+3
-0
bt5/erp5_forge/bt/revision
bt5/erp5_forge/bt/revision
+1
-1
No files found.
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/ERP5Site_getToBeTranslatedMessageListFromEntireSystemAsPot.xml
View file @
a18c90cd
...
...
@@ -203,6 +203,15 @@ for i in context.portal_types.objectValues():\n
for action_title, action_provider_id in context.Base_getActionTitleListFromAllActionProvider(context.getPortalObject()):\n
add_message(action_title, action_provider_id)\n
\n
#\n
# ZODB Property Sheet\n
#\n
for property_sheet in context.portal_property_sheets.objectValues():\n
for property_ in property_sheet.objectValues():\n
if property_.getId().endswith(\'constraint\'):\n
for key, value in property_.showDict().items():\n
if key.startswith(\'message_\'):\n
add_message(value, portal_url.getRelativeContentURL(property_))\n
\n
#\n
# Output\n
...
...
bt5/erp5_forge/bt/change_log
View file @
a18c90cd
2011-08-08 yusei
* Extract messages from constraints in ZODB property sheets for POT.
2011-04-14 yusei
* Remove old unnecessary tales expression from relation string field.
...
...
bt5/erp5_forge/bt/revision
View file @
a18c90cd
661
\ No newline at end of file
662
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment