Method

GtkAboutDialogset_translator_credits

since: 2.6

Declaration [src]

void
gtk_about_dialog_set_translator_credits (
  GtkAboutDialog* about,
  const gchar* translator_credits
)

Description [src]

Sets the translator credits string which is displayed in the translators tab of the secondary credits dialog.

The intended use for this string is to display the translator of the language which is currently used in the user interface. Using gettext(), a simple way to achieve that is to mark the string for translation:

GtkWidget *about = gtk_about_dialog_new ();
gtk_about_dialog_set_translator_credits (GTK_ABOUT_DIALOG (about),
                                         _("translator-credits"));

It is a good idea to use the customary msgid “translator-credits” for this purpose, since translators will already know the purpose of that msgid, and since GtkAboutDialog will detect if “translator-credits” is untranslated and hide the tab.

Available since: 2.6

Parameters

translator_credits

Type: const gchar*

The translator credits.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.