Strings not extracted for translation because of single quotation marks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Translations |
Fix Released
|
High
|
Unassigned | ||
WebApps: Applications Data |
Fix Released
|
Undecided
|
Unassigned | ||
webapps-applications (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
There are some .js files which contain strings marked for translation, but the strings are not extracted into the pot file.
This is because gettext does not support JavaScript, and thus .js files listed in POTFILES.in will be considered as being the default syntax, which is C. However in C, only strings between double quotation marks are considered for extraction into the pot template, the ones between single quotation marks are not. The affected files are currently:
gabor@gabor-
default-
default-
default-
src/Twitter/
src/Amazon/
src/Amazon/
src/Amazon/
src/Amazon/
Related branches
- Maxim Ermilov (community): Approve
-
Diff: 50 lines (+9/-9)3 files modifieddefault-apps/Amazon/Amazon.user.js (+4/-4)
src/Amazon/Amazon.user.js (+4/-4)
src/Twitter/Twitter.user.js (+1/-1)
visibility: | private → public |
Changed in ubuntu-translations: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in webapps-applications: | |
status: | New → Fix Committed |
Changed in ubuntu-translations: | |
status: | Triaged → Fix Released |
Changed in webapps-applications: | |
status: | Fix Committed → Fix Released |
no longer affects: | webapps-applications (Ubuntu Raring) |
This bug was fixed in the package webapps- applications - 2.4.7-0ubuntu4
--------------- applications (2.4.7-0ubuntu4) quantal; urgency=low
webapps-
* debian/ patches/ bzr_extract_ strings. patch:
- Cherry-pick an upstream fix for strings not extracted for translation
because of single quotation marks (LP: #1065246)
-- Didier Roche <email address hidden> Thu, 11 Oct 2012 10:21:26 +0200