Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
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
Eteri
erp5_fork
Commits
d44e5ea8
Commit
d44e5ea8
authored
Dec 24, 2020
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
run_my_doc: fix translations
These translations where creating too many messages
parent
49236ced
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPageModule_convertPage.py
...ortal_skins/erp5_run_my_doc/TestPageModule_convertPage.py
+3
-1
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_uploadImage.py
...Item/portal_skins/erp5_run_my_doc/TestPage_uploadImage.py
+1
-1
No files found.
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPageModule_convertPage.py
View file @
d44e5ea8
...
@@ -26,4 +26,6 @@ for uid in uids:
...
@@ -26,4 +26,6 @@ for uid in uids:
obj
.
manage_copyObjects
(
list
(
obj
.
objectIds
())))
obj
.
manage_copyObjects
(
list
(
obj
.
objectIds
())))
return
conv_obj_module
.
Base_redirect
(
''
,
return
conv_obj_module
.
Base_redirect
(
''
,
dict
(
portal_status_message
=
context
.
Base_translateString
(
str
(
counter
)
+
" object(s) converted."
)))
dict
(
portal_status_message
=
context
.
Base_translateString
(
"${document_count} documents converted."
,
mapping
=
{
'document_count'
:
counter
})))
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_uploadImage.py
View file @
d44e5ea8
...
@@ -42,4 +42,4 @@ if slide_type in ['Screenshot', 'Illustration'] and upload_image:
...
@@ -42,4 +42,4 @@ if slide_type in ['Screenshot', 'Illustration'] and upload_image:
form_id
=
context
.
REQUEST
.
get
(
'dialog_id'
,
None
)
form_id
=
context
.
REQUEST
.
get
(
'dialog_id'
,
None
)
context
.
Base_redirect
(
form_id
,
context
.
Base_redirect
(
form_id
,
keep_items
=
dict
(
portal_status_message
=
translateString
(
msg
)
))
keep_items
=
dict
(
portal_status_message
=
msg
))
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