user-accounts: Don't include link in translation
And use a link to local documentation, rather than an external website in English. Removed mentions of "in English" for the languages that mentioned it. https://bugzilla.gnome.org/show_bug.cgi?id=643118
This commit is contained in:
parent
c56919e8fa
commit
f8c3b0c59e
53 changed files with 209 additions and 189 deletions
|
@ -610,6 +610,8 @@ um_password_dialog_new (void)
|
|||
const gchar *filename;
|
||||
UmPasswordDialog *um;
|
||||
GtkWidget *widget;
|
||||
const char *old_label;
|
||||
char *label;
|
||||
gint len;
|
||||
|
||||
builder = gtk_builder_new ();
|
||||
|
@ -650,6 +652,14 @@ um_password_dialog_new (void)
|
|||
gtk_widget_grab_default (widget);
|
||||
um->ok_button = widget;
|
||||
|
||||
widget = (GtkWidget *) gtk_builder_get_object (builder, "password-normal-strength-hints-label");
|
||||
old_label = gtk_label_get_label (GTK_LABEL (widget));
|
||||
label = g_strdup_printf ("<a href=\"%s\">%s</a>",
|
||||
"ghelp:gnome-help?user-goodpassword",
|
||||
old_label);
|
||||
gtk_label_set_markup (GTK_LABEL (widget), label);
|
||||
g_free (label);
|
||||
|
||||
widget = (GtkWidget *) gtk_builder_get_object (builder, "show-password-checkbutton");
|
||||
g_signal_connect (widget, "toggled",
|
||||
G_CALLBACK (show_password_toggled), um);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue