Project

General

Profile

Bug #8019

Javascript en locale files contain fuzzy English-English translations

Added by Dominic Cleal over 4 years ago. Updated about 1 year ago.

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

Description

Since my routine i18n pull in https://github.com/theforeman/foreman/commit/7501834b766d3f9b39a4a0a298c69eb8f0b03f42, some of the English Javascript locale files contain fuzzy translations.

e.g. app/assets/javascripts/locale/en/app.js contains "password match" => "Password hash"

What appears to be happening is that the makefile i18n update is doing a "rake locale:find", which does a "rake gettext:find" first, which updates all of the .po files too, then runs a "rake gettext:po_to_json". The .po update is actually including fuzzy translations of the English source, so this appears among a few others:

#, fuzzy
msgid "password match" 
msgstr "Password hash" 

And then this is getting incorporated into the Javascript locale files. This doesn't affect the .po files in the end, as they are reverted back to what Transifex supplies.

Associated revisions

Revision ab28ae25 (diff)
Added by Dominic Cleal over 4 years ago

fixes #8019 - convert po to JSON before refreshing pot/po files

History

#1 Updated by The Foreman Bot over 4 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/1869 added
  • Pull request deleted ()

#2 Updated by Dominic Cleal over 4 years ago

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

#3 Updated by Dominic Cleal over 4 years ago

  • Legacy Backlogs Release (now unused) set to 21

Also available in: Atom PDF