Added contexts to various Unknown strings

Fixes bug https://bugzilla.gnome.org/show_bug.cgi?id=659968
This commit is contained in:
Piotr Drąg 2012-06-01 14:44:40 +02:00
parent 934e5aacab
commit 022376dd56
4 changed files with 4 additions and 4 deletions

View File

@ -63,7 +63,7 @@ const Contact = new Lang.Class({
this.individual.full_name || this.individual.full_name ||
this.individual.nickname || this.individual.nickname ||
email || email ||
_("Unknown"); C_("contact", "Unknown");
let aliasLabel = new St.Label({ text: aliasText, let aliasLabel = new St.Label({ text: aliasText,
style_class: 'contact-details-alias' }); style_class: 'contact-details-alias' });
details.add(aliasLabel, { x_fill: true, details.add(aliasLabel, { x_fill: true,

View File

@ -483,7 +483,7 @@ const NotificationDaemon = new Lang.Class({
}, },
_onTrayIconAdded: function(o, icon) { _onTrayIconAdded: function(o, icon) {
let source = this._getSource(icon.title || icon.wm_class || _("Unknown"), icon.pid, null, null, icon); let source = this._getSource(icon.title || icon.wm_class || C_("program", "Unknown"), icon.pid, null, null, icon);
}, },
_onTrayIconRemoved: function(o, icon) { _onTrayIconRemoved: function(o, icon) {

View File

@ -212,7 +212,7 @@ const DeviceItem = new Lang.Class({
case UPDeviceType.COMPUTER: case UPDeviceType.COMPUTER:
return _("Computer"); return _("Computer");
default: default:
return _("Unknown"); return C_("device", "Unknown");
} }
} }
}); });

View File

@ -371,7 +371,7 @@ shell_app_get_name (ShellApp *app)
name = meta_window_get_wm_class (window); name = meta_window_get_wm_class (window);
if (!name) if (!name)
name = _("Unknown"); name = C_("program", "Unknown");
return name; return name;
} }
} }