[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-anastasis-gtk] branch master updated: add normalization hints (#7
From: |
gnunet |
Subject: |
[taler-anastasis-gtk] branch master updated: add normalization hints (#7095) |
Date: |
Thu, 30 Dec 2021 15:36:32 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository anastasis-gtk.
The following commit(s) were added to refs/heads/master by this push:
new d6cbc5f add normalization hints (#7095)
d6cbc5f is described below
commit d6cbc5f0ef9c455b7cea24e1765a3a696ef82468
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Thu Dec 30 15:36:30 2021 +0100
add normalization hints (#7095)
---
contrib/anastasis_gtk_main_window.glade | 91 +++++++++++++++++++++++++--------
1 file changed, 71 insertions(+), 20 deletions(-)
diff --git a/contrib/anastasis_gtk_main_window.glade
b/contrib/anastasis_gtk_main_window.glade
index bb879e3..e78e4d8 100644
--- a/contrib/anastasis_gtk_main_window.glade
+++ b/contrib/anastasis_gtk_main_window.glade
@@ -891,20 +891,44 @@ Author: Christian Grothoff, Dennis Neufeld
</packing>
</child>
<child>
- <object class="GtkEntry"
id="anastasis_gtk_ia_full_name_entry">
+ <object class="GtkBox">
<property
name="visible">True</property>
- <property
name="can-focus">True</property>
- <property
name="hexpand">True</property>
- <property
name="placeholder-text" translatable="yes">Max Mustermann</property>
- <signal name="changed"
handler="AG_identity_changed" swapped="no"/>
- <signal
name="focus-in-event" handler="anastasis_gtk_show_on_focus_in_event_cb"
object="anastasis_gtk_name_casewarning_label" swapped="yes"/>
- <signal
name="focus-out-event" handler="anastasis_gtk_hide_on_focus_out_event_cb"
object="anastasis_gtk_name_casewarning_label" swapped="yes"/>
- <signal
name="style-updated" handler="gtk_widget_queue_draw" swapped="no"/>
+ <property
name="can-focus">False</property>
+ <property
name="orientation">vertical</property>
+ <child>
+ <object
class="GtkEntry" id="anastasis_gtk_ia_full_name_entry">
+ <property
name="visible">True</property>
+ <property
name="can-focus">True</property>
+ <property
name="hexpand">True</property>
+ <property
name="placeholder-text" translatable="yes" comments="Change to a common
"dummy" name in the target language, using the suggested canonical
format for that name in that language.">DOE, John</property>
+ <signal
name="changed" handler="AG_identity_changed" swapped="no"/>
+ <signal
name="focus-in-event" handler="anastasis_gtk_show_on_focus_in_event_cb"
object="anastasis_gtk_name_casewarning_label" swapped="yes"/>
+ <signal
name="focus-out-event" handler="anastasis_gtk_hide_on_focus_out_event_cb"
object="anastasis_gtk_name_casewarning_label" swapped="yes"/>
+ <signal
name="style-updated" handler="gtk_widget_queue_draw" swapped="no"/>
+ </object>
+ <packing>
+ <property
name="expand">True</property>
+ <property
name="fill">True</property>
+ <property
name="padding">5</property>
+ <property
name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object
class="GtkLabel" id="anastasis_gtk_ia_name_format_hint_label">
+ <property
name="visible">True</property>
+ <property
name="can-focus">False</property>
+ <property
name="label" translatable="yes" comments="You may completely change the
recommended format if the given format is inappropriate for the target language
or culture.">If possible, use "LASTNAME, Firstname(s)" without
abbreviations.</property>
+ </object>
+ <packing>
+ <property
name="expand">False</property>
+ <property
name="fill">True</property>
+ <property
name="position">1</property>
+ </packing>
+ </child>
</object>
<packing>
<property
name="expand">True</property>
<property
name="fill">True</property>
- <property
name="padding">5</property>
<property
name="position">1</property>
</packing>
</child>
@@ -953,7 +977,7 @@ Author: Christian Grothoff, Dennis Neufeld
<child>
<object class="GtkLabel"
id="anastasis_gtk_name_casewarning_label">
<property
name="can-focus">False</property>
- <property name="label"
translatable="yes">This field is case-sensitive. You must enter
+ <property name="label"
translatable="yes" comments="If the user's language does not have cases (like
in Kanji), you may choose to leave out the text about case-sensitivity to avoid
confusing the reader.">This field is case-sensitive. You must enter
exactly the same value during recovery.</property>
<attributes>
<attribute
name="foreground" value="#81813d3d9c9c"/>
@@ -1129,20 +1153,47 @@ exactly the same value during recovery.</property>
</packing>
</child>
<child>
- <object class="GtkEntry"
id="anastasis_gtk_ia_birthplace_entry">
+ <object class="GtkBox">
<property
name="visible">True</property>
- <property
name="can-focus">True</property>
- <property
name="hexpand">True</property>
- <property
name="placeholder-text" translatable="yes">Earth</property>
- <signal name="changed"
handler="AG_identity_changed" swapped="no"/>
- <signal
name="focus-in-event" handler="anastasis_gtk_show_on_focus_in_event_cb"
object="anastasis_gtk_birthplace_casewarning_label" swapped="yes"/>
- <signal
name="focus-out-event" handler="anastasis_gtk_hide_on_focus_out_event_cb"
object="anastasis_gtk_birthplace_casewarning_label" swapped="no"/>
- <signal
name="style-updated" handler="gtk_widget_queue_draw" swapped="no"/>
+ <property
name="can-focus">False</property>
+ <property
name="orientation">vertical</property>
+ <child>
+ <object
class="GtkEntry" id="anastasis_gtk_ia_birthplace_entry">
+ <property
name="visible">True</property>
+ <property
name="can-focus">True</property>
+ <property
name="hexpand">True</property>
+ <property
name="placeholder-text" translatable="yes" comments="Example for Birthplace in
suitable language- and culture-specific format with good details.">Lafayette,
Indiana, USA</property>
+ <signal
name="changed" handler="AG_identity_changed" swapped="no"/>
+ <signal
name="focus-in-event" handler="anastasis_gtk_show_on_focus_in_event_cb"
object="anastasis_gtk_birthplace_casewarning_label" swapped="yes"/>
+ <signal
name="focus-out-event" handler="anastasis_gtk_hide_on_focus_out_event_cb"
object="anastasis_gtk_birthplace_casewarning_label" swapped="no"/>
+ <signal
name="style-updated" handler="gtk_widget_queue_draw" swapped="no"/>
+ </object>
+ <packing>
+ <property
name="expand">True</property>
+ <property
name="fill">True</property>
+ <property
name="padding">5</property>
+ <property
name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object
class="GtkLabel" id="anastasis_gtk_ia_birthplace_format_hint_label">
+ <property
name="visible">True</property>
+ <property
name="can-focus">False</property>
+ <property
name="label" translatable="yes" comments="You may completely change the
recommendation if for the target language/culture the recommendation is not
applicable.">If possible, use "Location, Region, Country".</property>
+ <attributes>
+ <attribute
name="scale" value="0.90000000000000002"/>
+ </attributes>
+ </object>
+ <packing>
+ <property
name="expand">False</property>
+ <property
name="fill">True</property>
+ <property
name="position">1</property>
+ </packing>
+ </child>
</object>
<packing>
<property
name="expand">True</property>
<property
name="fill">True</property>
- <property
name="padding">5</property>
<property
name="position">1</property>
</packing>
</child>
@@ -1191,7 +1242,7 @@ exactly the same value during recovery.</property>
<child>
<object class="GtkLabel"
id="anastasis_gtk_birthplace_casewarning_label">
<property
name="can-focus">False</property>
- <property name="label"
translatable="yes">This field is case-sensitive. You must enter
+ <property name="label"
translatable="yes" comments="If the user's language does not have cases (like
in Kanji), you may choose to leave out the text about case-sensitivity to avoid
confusing the reader.">This field is case-sensitive. You must enter
exactly the same value during recovery.</property>
<attributes>
<attribute
name="foreground" value="#81813d3d9c9c"/>
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-anastasis-gtk] branch master updated: add normalization hints (#7095),
gnunet <=