Project

General

Profile

Actions

Bug #19176

closed

Parameters and plurals incorrectly translated in select all hosts related strings

Added by Dominic Cleal over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Internationalization
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

#16043 has a number of bad string extractions for translation, in violation of Translating.

  1. A few instances where a variable is interpolated before being passed to _(), e.g. _("Reminder: <strong> All #{hosts.size} hosts are selected </strong>")
  2. Many instances where the source string uses plural language, but the n_() plural method isn't used, e.g. the line above or __("Select all<b> %s </b> hosts")
  3. Trailing whitespace in translated strings, e.g. __("All <b> %d </b> hosts are selected. "). If significant, it should be added after translation.

Related issues 1 (0 open1 closed)

Related to Foreman - Bug #16043: Unable to select all hosts from the GUIClosedAmir Fefer08/10/2016Actions
Actions

Also available in: Atom PDF