summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-11-06 21:57:53 +0100
committerSebastien Helleu <flashcode@flashtux.org>2009-11-06 21:57:53 +0100
commit03e604c675e0685a8b83bf29f50dd5bcfe983e52 (patch)
tree217563a449a36a01dd57be75cceda9b519e66e8e /src
parent2ee653f1b5703029b0e2ef336cd0ff6ce82c52f2 (diff)
downloadweechat-03e604c675e0685a8b83bf29f50dd5bcfe983e52.zip
Fix typos in translations
Diffstat (limited to 'src')
-rw-r--r--src/plugins/scripts/script.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/plugins/scripts/script.c b/src/plugins/scripts/script.c
index 7beb2cd77..f7012466e 100644
--- a/src/plugins/scripts/script.c
+++ b/src/plugins/scripts/script.c
@@ -208,7 +208,7 @@ script_init (struct t_weechat_plugin *weechat_plugin,
struct t_gui_buffer *buffer))
{
char *string, *completion;
- char infolist_description[512], signal_name[128];
+ char signal_name[128];
int length, i, upgrading;
/* read script configuration */
@@ -277,10 +277,7 @@ script_init (struct t_weechat_plugin *weechat_plugin,
snprintf (string, length, "%s_script", weechat_plugin->name);
weechat_hook_completion (string, N_("list of scripts"),
callback_completion, NULL);
- snprintf (infolist_description, sizeof (infolist_description),
- /* TRANSLATORS: %s is language (for example "perl") */
- _("list of %s scripts"), weechat_plugin->name);
- weechat_hook_infolist (string, infolist_description,
+ weechat_hook_infolist (string, N_("list of scripts"),
callback_infolist, NULL);
free (string);
}