xgettext only recognizes _("foo"), not _('foo') in .js files. Fix

Noted in https://bugzilla.gnome.org/show_bug.cgi?id=609838
This commit is contained in:
Dan Winship
2010-02-15 08:33:35 -05:00
parent 01c267b095
commit 229cfd9f80
3 changed files with 13 additions and 13 deletions

View File

@ -86,7 +86,7 @@ AppFavorites.prototype = {
let app = Shell.AppSystem.get_default().get_app(appId);
Main.overview.infoBar.setMessage(_('%s has been added to your favorites.').format(app.get_name()), Lang.bind(this, function () {
Main.overview.infoBar.setMessage(_("%s has been added to your favorites.").format(app.get_name()), Lang.bind(this, function () {
this._removeFavorite(appId);
}));
},
@ -104,7 +104,7 @@ AppFavorites.prototype = {
if (!this._removeFavorite(appId))
return;
Main.overview.infoBar.setMessage(_('%s has been removed from your favorites.').format(this._favorites[appId].get_name()),
Main.overview.infoBar.setMessage(_("%s has been removed from your favorites.").format(this._favorites[appId].get_name()),
Lang.bind(this, function () {
this._addFavorite(appId);
}));