** Changed in: webapps-applications Status: New => Fix Committed -- 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: Fix Committed 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 _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-translations-coordinators Post to : ubuntu-translations-coordinators@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-translations-coordinators More help : https://help.launchpad.net/ListHelp