Project

General

Profile

Actions

Bug #4785

closed

angular-gettext's gettext function only works for extraction, need to also handle replacements

Added by Walden Raines about 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web UI
Target version:
Difficulty:
medium
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

See https://github.com/rubenv/angular-gettext/issues/29

We have various gettext() calls in our Bastion javascript files that will only return the untranslated string. We need to figure out a way to handle replacement.

A couple of ideas:
  1. Wrap the angular-gettext function with our own version that does replacements
  2. Use what's outlined here: https://github.com/rubenv/angular-gettext/issues/29#issuecomment-37196935
Actions #1

Updated by Walden Raines about 10 years ago

  • Status changed from New to Assigned
Actions #2

Updated by Mike McCune about 10 years ago

  • Triaged changed from No to Yes
Actions #3

Updated by Walden Raines about 10 years ago

  • Status changed from Assigned to Ready For Testing
Actions #4

Updated by Walden Raines about 10 years ago

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

Applied in changeset katello|commit:6f5e909f1dd697105e714fca9789bba4d41e929b.

Actions #5

Updated by Eric Helms over 9 years ago

  • translation missing: en.field_release set to 13
Actions

Also available in: Atom PDF