ubuntu-translations-coordinators team mailing list archive
-
ubuntu-translations-coordinators team
-
Mailing list archive
-
Message #04887
[Bug 1065246] [NEW] Strings not extracted for translation because of single quotation marks
Public bug reported:
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-laptop:~/src/launchpad/webapps-applications$ grep -r \_\(\' *default-apps/Amazon/Amazon.user.js: addAction(_('Basket'), 'gp/cart/view.html');
default-apps/Amazon/Amazon.user.js: addAction(_('Wishlist'), 'gp/registry/wishlist/');
default-apps/Amazon/Amazon.user.js: addAction(_('Orders'), 'gp/css/history/orders/view.html');
default-apps/Amazon/Amazon.user.js: addAction(_('Manage your Kindle'), 'gp/digital/fiona/manage');
src/Twitter/Twitter.user.js: title = _('Tweets');
src/Amazon/Amazon.user.js: addAction(_('Basket'), 'gp/cart/view.html');
src/Amazon/Amazon.user.js: addAction(_('Wishlist'), 'gp/registry/wishlist/');
src/Amazon/Amazon.user.js: addAction(_('Orders'), 'gp/css/history/orders/view.html');
src/Amazon/Amazon.user.js: addAction(_('Manage your Kindle'), 'gp/digital/fiona/manage');
** Affects: ubuntu-translations
Importance: High
Status: Triaged
** Affects: webapps-applications
Importance: Undecided
Status: New
** Visibility changed to: Public
** Also affects: ubuntu-translations
Importance: Undecided
Status: New
** Changed in: ubuntu-translations
Status: New => Triaged
** Changed in: ubuntu-translations
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Translations Coordinators, which is subscribed to Ubuntu Translations.
Matching subscriptions: Ubuntu Translations bug mail
https://bugs.launchpad.net/bugs/1065246
Title:
Strings not extracted for translation because of single quotation
marks
Status in Ubuntu Translations:
Triaged
Status in WebApps: Initial set of Apps:
New
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-laptop:~/src/launchpad/webapps-applications$ grep -r \_\(\' *default-apps/Amazon/Amazon.user.js: addAction(_('Basket'), 'gp/cart/view.html');
default-apps/Amazon/Amazon.user.js: addAction(_('Wishlist'), 'gp/registry/wishlist/');
default-apps/Amazon/Amazon.user.js: addAction(_('Orders'), 'gp/css/history/orders/view.html');
default-apps/Amazon/Amazon.user.js: addAction(_('Manage your Kindle'), 'gp/digital/fiona/manage');
src/Twitter/Twitter.user.js: title = _('Tweets');
src/Amazon/Amazon.user.js: addAction(_('Basket'), 'gp/cart/view.html');
src/Amazon/Amazon.user.js: addAction(_('Wishlist'), 'gp/registry/wishlist/');
src/Amazon/Amazon.user.js: addAction(_('Orders'), 'gp/css/history/orders/view.html');
src/Amazon/Amazon.user.js: addAction(_('Manage your Kindle'), 'gp/digital/fiona/manage');
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-translations/+bug/1065246/+subscriptions
Follow ups
-
[Bug 1065246] Re: Strings not extracted for translation because of single quotation marks
From: Adolfo Jayme, 2014-02-24
-
[Bug 1065246] Re: Strings not extracted for translation because of single quotation marks
From: Maxim Ermilov, 2012-11-13
-
[Bug 1065246] Re: Strings not extracted for translation because of single quotation marks
From: David Planella, 2012-10-18
-
[Bug 1065246] Re: Strings not extracted for translation because of single quotation marks
From: Launchpad Bug Tracker, 2012-10-11
-
[Bug 1065246] Re: Strings not extracted for translation because of single quotation marks
From: Launchpad Bug Tracker, 2012-10-11
-
[Bug 1065246] Re: Strings not extracted for translation because of single quotation marks
From: Launchpad Bug Tracker, 2012-10-11
-
[Bug 1065246] Re: Strings not extracted for translation because of single quotation marks
From: Didier Roche, 2012-10-11
-
[Bug 1065246] Re: Strings not extracted for translation because of single quotation marks
From: Maxim Ermilov, 2012-10-10
-
[Bug 1065246] Re: Strings not extracted for translation because of single quotation marks
From: Gabor Kelemen, 2012-10-10
-
[Bug 1065246] [NEW] Strings not extracted for translation because of single quotation marks
From: Gabor Kelemen, 2012-10-10
References