Project

General

Profile

Bug #6717

Template locked/unlock message cannot be translated

Added by Dominic Cleal almost 5 years ago. Updated 10 months ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Internationalization
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

#3103 added a UI ability to lock and unlock provisioning templates, but the success string can't be extracted and translated as it uses interpolation:

process_success :success_msg => _("Template #{locked ? 'locked' : 'unlocked'}."), :success_redirect => :back

(app/controllers/config_templates_controller.rb:124)


Related issues

Related to Foreman - Feature #3103: Read only provisioning/config templates for pluginsClosed2013-09-17

Associated revisions

Revision 40d8433e (diff)
Added by Dominic Cleal almost 5 years ago

fixes #6717 - remove interpolation from message for i18n extraction

History

#1 Updated by Dominic Cleal almost 5 years ago

  • Related to Feature #3103: Read only provisioning/config templates for plugins added

#2 Updated by Dominic Cleal almost 5 years ago

  • Assignee set to Dominic Cleal

#3 Updated by The Foreman Bot almost 5 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 1.8.0
  • Pull request https://github.com/theforeman/foreman/pull/1621 added
  • Pull request deleted ()

#4 Updated by Dominic Cleal almost 5 years ago

  • Legacy Backlogs Release (now unused) set to 10

#5 Updated by Dominic Cleal almost 5 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF