Mercurial > pidgin
comparison libpurple/plugin.c @ 23458:44159acb7bb7
propagate from branch 'im.pidgin.pidgin' (head 8da8d3c2a708d8bd00fe907d35de61998fb20125)
to branch 'im.pidgin.pidgin.khc.msnp15' (head 12d02c8d8c4cbee5a1f9c9aade905aca905c531d)
author | Ka-Hing Cheung <khc@hxbc.us> |
---|---|
date | Thu, 06 Mar 2008 04:19:53 +0000 |
parents | 19f26913fe71 |
children | 17cd33c5b5ef |
comparison
equal
deleted
inserted
replaced
23457:f61f7e8d897e | 23458:44159acb7bb7 |
---|---|
922 const gchar * | 922 const gchar * |
923 purple_plugin_get_name(const PurplePlugin *plugin) { | 923 purple_plugin_get_name(const PurplePlugin *plugin) { |
924 g_return_val_if_fail(plugin, NULL); | 924 g_return_val_if_fail(plugin, NULL); |
925 g_return_val_if_fail(plugin->info, NULL); | 925 g_return_val_if_fail(plugin->info, NULL); |
926 | 926 |
927 return plugin->info->name; | 927 return _(plugin->info->name); |
928 } | 928 } |
929 | 929 |
930 const gchar * | 930 const gchar * |
931 purple_plugin_get_version(const PurplePlugin *plugin) { | 931 purple_plugin_get_version(const PurplePlugin *plugin) { |
932 g_return_val_if_fail(plugin, NULL); | 932 g_return_val_if_fail(plugin, NULL); |
938 const gchar * | 938 const gchar * |
939 purple_plugin_get_summary(const PurplePlugin *plugin) { | 939 purple_plugin_get_summary(const PurplePlugin *plugin) { |
940 g_return_val_if_fail(plugin, NULL); | 940 g_return_val_if_fail(plugin, NULL); |
941 g_return_val_if_fail(plugin->info, NULL); | 941 g_return_val_if_fail(plugin->info, NULL); |
942 | 942 |
943 return plugin->info->summary; | 943 return _(plugin->info->summary); |
944 } | 944 } |
945 | 945 |
946 const gchar * | 946 const gchar * |
947 purple_plugin_get_description(const PurplePlugin *plugin) { | 947 purple_plugin_get_description(const PurplePlugin *plugin) { |
948 g_return_val_if_fail(plugin, NULL); | 948 g_return_val_if_fail(plugin, NULL); |
949 g_return_val_if_fail(plugin->info, NULL); | 949 g_return_val_if_fail(plugin->info, NULL); |
950 | 950 |
951 return plugin->info->description; | 951 return _(plugin->info->description); |
952 } | 952 } |
953 | 953 |
954 const gchar * | 954 const gchar * |
955 purple_plugin_get_author(const PurplePlugin *plugin) { | 955 purple_plugin_get_author(const PurplePlugin *plugin) { |
956 g_return_val_if_fail(plugin, NULL); | 956 g_return_val_if_fail(plugin, NULL); |
957 g_return_val_if_fail(plugin->info, NULL); | 957 g_return_val_if_fail(plugin->info, NULL); |
958 | 958 |
959 return plugin->info->author; | 959 return _(plugin->info->author); |
960 } | 960 } |
961 | 961 |
962 const gchar * | 962 const gchar * |
963 purple_plugin_get_homepage(const PurplePlugin *plugin) { | 963 purple_plugin_get_homepage(const PurplePlugin *plugin) { |
964 g_return_val_if_fail(plugin, NULL); | 964 g_return_val_if_fail(plugin, NULL); |