aboutsummaryrefslogtreecommitdiff
path: root/plugins/omemo/data/contact_details_dialog.ui
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2019-10-09 23:32:03 +0200
committerfiaxh <git@lightrise.org>2019-10-10 00:21:45 +0200
commit8e6db8859c756ef2445e1f5277103d83c735c726 (patch)
tree7ac396525e13da4ee37d7983039cafc00307586b /plugins/omemo/data/contact_details_dialog.ui
parent7adb0e82fba1afc62689797be6c9491ad15d03bf (diff)
downloaddino-8e6db8859c756ef2445e1f5277103d83c735c726.tar.gz
dino-8e6db8859c756ef2445e1f5277103d83c735c726.zip
Plugins: Set UI texts in code instead of .ui files to fix translations
Co-authored-by: srgcdev <srg.dev@posteo.net>
Diffstat (limited to 'plugins/omemo/data/contact_details_dialog.ui')
-rw-r--r--plugins/omemo/data/contact_details_dialog.ui14
1 files changed, 4 insertions, 10 deletions
diff --git a/plugins/omemo/data/contact_details_dialog.ui b/plugins/omemo/data/contact_details_dialog.ui
index 1f3e9afa..50e19eee 100644
--- a/plugins/omemo/data/contact_details_dialog.ui
+++ b/plugins/omemo/data/contact_details_dialog.ui
@@ -2,7 +2,6 @@
<interface>
<template class="DinoPluginsOmemoContactDetailsDialog">
<property name="modal">True</property>
- <property name="title" translatable="yes">OMEMO Key Management</property>
<property name="resizable">False</property>
<child internal-child="vbox">
<object class="GtkBox">
@@ -35,10 +34,9 @@
<property name="orientation">vertical</property>
<property name="hexpand">True</property>
<child>
- <object class="GtkLabel">
+ <object class="GtkLabel" id="automatically_accept_new_label">
<property name="visible">True</property>
<property name="halign">start</property>
- <property name="label" translatable="yes">Automatically accept new keys</property>
<attributes>
<attribute name="scale" value="1.1"/>
</attributes>
@@ -51,7 +49,6 @@
<property name="expand">True</property>
<property name="xalign">0</property>
<property name="wrap">True</property>
- <property name="label" translatable="yes">When this contact adds new encryption keys to their account, automatically accept them.</property>
<attributes>
<attribute name="scale" value="0.8"/>
</attributes>
@@ -83,10 +80,9 @@
<property name="orientation">vertical</property>
<property name="spacing">2</property>
<child>
- <object class="GtkLabel">
+ <object class="GtkLabel" id="own_key_label">
<property name="visible">True</property>
<property name="halign">start</property>
- <property name="label" translatable="yes">Own key</property>
<attributes>
<attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
</attributes>
@@ -174,10 +170,9 @@
<property name="orientation">vertical</property>
<property name="spacing">2</property>
<child>
- <object class="GtkLabel">
+ <object class="GtkLabel" id="new_keys_label">
<property name="visible">True</property>
<property name="halign">start</property>
- <property name="label" translatable="yes">New keys</property>
<attributes>
<attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
</attributes>
@@ -210,10 +205,9 @@
<property name="orientation">vertical</property>
<property name="spacing">2</property>
<child>
- <object class="GtkLabel">
+ <object class="GtkLabel" id="associated_keys_label">
<property name="visible">True</property>
<property name="halign">start</property>
- <property name="label" translatable="yes">Associated keys</property>
<attributes>
<attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
</attributes>