shell: Add translator-credits string to About dialog
This mechanism will allow for translations to propagate their credits to the UI.
This commit is contained in:
parent
24435a6178
commit
ff9dc202a7
1 changed files with 2 additions and 0 deletions
|
@ -110,6 +110,8 @@ about_activated (GSimpleAction *action,
|
|||
GtkWidget *about_window;
|
||||
|
||||
about_window = adw_about_window_new_from_appdata ("/org/gnome/Settings/appdata", VERSION);
|
||||
/* Translators should localize the following string which will be displayed in the About dialog giving credit to the translator(s). */
|
||||
adw_about_window_set_translator_credits (ADW_ABOUT_WINDOW (about_window), _("translator-credits"));
|
||||
gtk_window_set_transient_for (GTK_WINDOW (about_window), GTK_WINDOW (self->window));
|
||||
|
||||
gtk_window_present (GTK_WINDOW (about_window));
|
||||
|
|
Loading…
Add table
Reference in a new issue