<property name="label" translatable="yes">Set Up Encryption Identity</property>
<property name="wrap">True</property>
<property name="wrap-mode">word-char</property>
<property name="justify">center</property>
@ -146,15 +146,13 @@
</child>
<child>
<object class="GtkLabel" id="bootstrap_label">
<property name="label" translatable="yes">You need to setup an encryption identity, since this is the first time you logged into your account.</property>
label.set_label(&gettext("You need to set up an encryption identity, since this is the first time you logged into your account."));
setup_btn.add_css_class("suggested-action");
setup_btn.remove_css_class("destructive-action");
setup_btn.set_label(&gettext("Set Up"));
restart_btn.set_visible(false);
bootstrap_can_restart.set(false);
}
BootstrapMode::NoDevices=>{
label.set_label(&gettext("No other devices are available to verify this session. You can either restore cross-signing from another device and restart this process or reset the encryption identity."));
setup_btn.remove_css_class("suggested-action");
setup_btn.add_css_class("destructive-action");
setup_btn.set_label(&gettext("Reset"));
restart_btn.set_visible(true);
bootstrap_can_restart.set(false);
}
BootstrapMode::Reset=>{
label.set_label(&gettext("If you lost access to all other sessions, you can create a new encryption identity. Be careful because this will cancel the verifications of all users and sessions."));
setup_btn.remove_css_class("suggested-action");
setup_btn.add_css_class("destructive-action");
setup_btn.set_label(&gettext("Reset"));
restart_btn.set_visible(false);
bootstrap_can_restart.set(true);
}
}
self.set_request(None);
imp.bootstrap_label.set_label(&gettext("If you lost access to all other sessions you can create a new encryption identity. Be careful because this will cancel the verifications of all users and sessions."));