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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Titouan Soulard
erp5
Commits
4db8132c
Commit
4db8132c
authored
Aug 31, 2022
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_content_translation: fix Translation form for new UI.
parent
f3dc7d8b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
bt5/erp5_content_translation/SkinTemplateItem/portal_skins/erp5_content_translation/Base_getContentTranslationLanguageValueAndLabelList.py
...on/Base_getContentTranslationLanguageValueAndLabelList.py
+1
-1
bt5/erp5_content_translation/SkinTemplateItem/portal_skins/erp5_content_translation/Base_viewContentTranslation/matrixbox.xml
...ent_translation/Base_viewContentTranslation/matrixbox.xml
+1
-1
bt5/erp5_content_translation/SkinTemplateItem/portal_skins/erp5_content_translation/Base_viewContentTranslation/matrixbox_message.xml
...slation/Base_viewContentTranslation/matrixbox_message.xml
+1
-1
No files found.
bt5/erp5_content_translation/SkinTemplateItem/portal_skins/erp5_content_translation/Base_getContentTranslationLanguageValueAndLabelList.py
View file @
4db8132c
from
Products.ERP5Type.Message
import
translateString
from
Products.ERP5Type.Message
import
translateString
language_column_list
=
[(
i
[
'id'
],
translateString
(
i
[
'title'
]
))
language_column_list
=
[(
i
[
'id'
],
str
(
translateString
(
i
[
'title'
])
))
for
i
in
context
.
Localizer
.
get_languages_map
()]
for
i
in
context
.
Localizer
.
get_languages_map
()]
language_column_list
.
sort
()
language_column_list
.
sort
()
return
language_column_list
return
language_column_list
bt5/erp5_content_translation/SkinTemplateItem/portal_skins/erp5_content_translation/Base_viewContentTranslation/matrixbox.xml
View file @
4db8132c
...
@@ -317,7 +317,7 @@
...
@@ -317,7 +317,7 @@
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
_text
</string>
</key>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: here.Base_getContentTranslationPropertyValueAndLabelList(
pretty=True
)
</string>
</value>
<value>
<string>
python: here.Base_getContentTranslationPropertyValueAndLabelList()
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
bt5/erp5_content_translation/SkinTemplateItem/portal_skins/erp5_content_translation/Base_viewContentTranslation/matrixbox_message.xml
View file @
4db8132c
...
@@ -290,7 +290,7 @@
...
@@ -290,7 +290,7 @@
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
_text
</string>
</key>
<key>
<string>
_text
</string>
</key>
<value>
<string>
cell
</string>
</value>
<value>
<string>
python: str(cell)
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
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