#endif
identities_manager = parent_app.model;
request_queue = new GLib.Queue<IdentityRequest>();
- this.title = "Moonshot Identity Selector";
+ this.title = _("Moonshot Identity Selector");
this.set_position(WindowPosition.CENTER);
set_default_size(WINDOW_WIDTH, WINDOW_HEIGHT);
build_ui();
{
bool remove = WarningDialog.confirm(this,
Markup.printf_escaped(
- "<span font-weight='heavy'>You are about to remove the identity '%s'.</span>",
+ "<span font-weight='heavy'>" + _("You are about to remove the identity '%s'.") + "</span>",
id_card.display_name)
- + "\n\nAre you sure you want to do this?",
+ + "\n\n" + _("Are you sure you want to do this?"),
"delete_idcard");
if (remove)
remove_identity(id_card);
var id_card = request.id_card;
- if ((id_card != null) && (id_card.display_name != IdCard.NO_IDENTITY)) {
+ if ((id_card != null) && (!id_card.is_no_identity())) {
nai_out = id_card.nai;
if ((request.password != null) && (request.password != ""))
password_out = request.password;