Translate the url descriptions too. Merged from head.

2003-04-30  Kjartan Maraas  <kmaraas@gnome.org>

	* service-info.c: (service_info_get_description): Translate
	the url descriptions too. Merged from head.
This commit is contained in:
Kjartan Maraas 2003-04-30 19:36:07 +00:00 committed by Kjartan Maraas
parent 8a6414c5f1
commit dd1dab2165
2 changed files with 6 additions and 1 deletions

View file

@ -144,7 +144,7 @@ service_info_get_description (ServiceInfo *info)
for (i = 0; url_descriptions[i][0] != NULL; i++)
if (!strcmp (url_descriptions[i][0], info->protocol))
return g_strdup (url_descriptions[i][1]);
return g_strdup (_(url_descriptions[i][1]));
}
return info->description;