translator-credits is a single string, typically with newline-
separated names.
strcmp (priv->translator_credits, "translator_credits") != 0 &&
strcmp (priv->translator_credits, "translator-credits") != 0)
{
- gchar *translators[2];
-
- translators[0] = priv->translator_credits;
- translators[1] = NULL;
+ gchar **translators;
+ translators = g_strsplit (priv->translator_credits, "\n", 0);
add_credits_section (about, GTK_GRID (grid), &row, _("Translated by"), translators);
+ g_strfreev (translators);
}
if (priv->artists != NULL)