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
Thomas Gambier
erp5
Commits
9c23c33b
Commit
9c23c33b
authored
Apr 04, 2022
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
project: fix a wrong translation
This was creating different message for each number of tasks
parent
9d761688
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/Delivery_updateTaskFastInputDialog.py
.../erp5_project_trade/Delivery_updateTaskFastInputDialog.py
+1
-2
No files found.
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/Delivery_updateTaskFastInputDialog.py
View file @
9c23c33b
...
@@ -102,6 +102,5 @@ if create and len(validation_errors) == 0:
...
@@ -102,6 +102,5 @@ if create and len(validation_errors) == 0:
destination_section
=
delivery_line
.
getDestinationSection
(),
destination_section
=
delivery_line
.
getDestinationSection
(),
destination_decision
=
delivery_line
.
getDestinationDecision
())
destination_decision
=
delivery_line
.
getDestinationDecision
())
return
context
.
Base_redirect
(
form_id
,
keep_items
=
dict
(
return
context
.
Base_redirect
(
form_id
,
keep_items
=
dict
(
portal_status_message
=
translateString
(
'%s Tasks Created.'
%
(
len
(
listbox
),))))
portal_status_message
=
translateString
(
'${task_count} Tasks Created.'
,
mapping
=
{
'task_count'
:
len
(
listbox
)})))
return
context
.
Delivery_viewTaskFastInputDialog
(
listbox
=
listbox
,
**
kw
)
return
context
.
Delivery_viewTaskFastInputDialog
(
listbox
=
listbox
,
**
kw
)
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