-
Type:
Task
-
Status: Closed
-
Priority:
Normal
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: PUP 5.3.4
-
Component/s: None
-
Labels:None
-
Template:customfield_10700 221014
-
Acceptance Criteria:
-
Epic Link:
-
Sub-team:
-
Team:Platform Core
-
Sprint:Platform Core KANBAN
-
Release Notes:Not Needed
-
QA Risk Assessment:No Action
The Puppet::Util.benchmark method adds to the message (msg) passed into the method. We should instead find all usages of the method and append the 'in %
{seconds}to the string passed in so that it can be included in the original translation message rather than appended separately. (like it as below)
object.send(level, msg + (_(" in %0.2f seconds") % seconds))
Making this change will cause the test tests/i18n/check_puppet_run_messages.rb to fail until translation is completed and the translation string in the test is updated (as needed).