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:
parent
8a6414c5f1
commit
dd1dab2165
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-04-30 Kjartan Maraas <kmaraas@gnome.org>
|
||||
|
||||
* service-info.c: (service_info_get_description): Translate
|
||||
the url descriptions too. Merged from head.
|
||||
|
||||
2003-04-30 Kjartan Maraas <kmaraas@gnome.org>
|
||||
|
||||
* mime-type-info.c: (mime_type_get_pretty_name_for_server),
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue