Closes #7418 Translator help for First Last name

This commit is contained in:
Eric Gregory 2013-09-17 11:56:02 -07:00
parent 3321a6dc40
commit c39020509c
2 changed files with 4 additions and 1 deletions

View file

@ -6,6 +6,9 @@
// Page for adding or editing an account.
public class AddEditPage : Gtk.Box {
/// Placeholder text indicating that the user should type their first name and last name
private const string REAL_NAME_PLACEHOLDER = _("First Last");
public enum PageMode {
WELCOME,
ADD,
@ -187,6 +190,7 @@ public class AddEditPage : Gtk.Box {
_("Welcome to Geary."), _("Enter your account information to get started.")));
entry_real_name = (Gtk.Entry) builder.get_object("entry: real_name");
entry_real_name.placeholder_text = REAL_NAME_PLACEHOLDER;
label_nickname = (Gtk.Label) builder.get_object("label: nickname");
entry_nickname = (Gtk.Entry) builder.get_object("entry: nickname");
combo_service = (Gtk.ComboBoxText) builder.get_object("combo: service");

View file

@ -195,7 +195,6 @@
<property name="invisible_char_set">True</property>
<property name="primary_icon_activatable">False</property>
<property name="secondary_icon_activatable">False</property>
<property name="placeholder_text" translatable="yes">First Last</property>
</object>
<packing>
<property name="left_attach">1</property>