summaryrefslogtreecommitdiff
path: root/src/plugins/alias
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2007-12-18 17:20:08 +0100
committerSebastien Helleu <flashcode@flashtux.org>2007-12-18 17:20:08 +0100
commit6fd0bd2158e5eb0c182e6b7d4132c84734a256cb (patch)
treeb596fba5c6e3afc8659ebf7ad6a30726c26495e6 /src/plugins/alias
parent7873047e5575fc896ea0f1d7372b45a848c516ba (diff)
downloadweechat-6fd0bd2158e5eb0c182e6b7d4132c84734a256cb.zip
All messages translated to french, fixed bugs/typos in some messages
Diffstat (limited to 'src/plugins/alias')
-rw-r--r--src/plugins/alias/alias.c39
1 files changed, 18 insertions, 21 deletions
diff --git a/src/plugins/alias/alias.c b/src/plugins/alias/alias.c
index d8d9f8174..44091d1ae 100644
--- a/src/plugins/alias/alias.c
+++ b/src/plugins/alias/alias.c
@@ -191,9 +191,9 @@ alias_cb (void *data, struct t_gui_buffer *buffer, int argc, char **argv,
if (ptr_alias->running)
{
weechat_printf (NULL,
- _("%sAlias: error, circular reference when calling "
- "alias \"/%s\""),
- weechat_prefix ("error"),
+ _("%s%s: error, circular reference when calling "
+ "alias \"%s\""),
+ weechat_prefix ("error"), "Alias",
ptr_alias->name);
return WEECHAT_RC_ERROR;
}
@@ -349,9 +349,9 @@ alias_get_final_command (struct t_alias *alias)
if (alias->running)
{
weechat_printf (NULL,
- _("%sAlias: error, circular reference when calling "
- "alias \"/%s\""),
- weechat_prefix ("error"),
+ _("%s%s: error, circular reference when calling "
+ "alias \"%s\""),
+ weechat_prefix ("error"), "Alias",
alias->name);
return NULL;
}
@@ -431,8 +431,8 @@ alias_config_read_line (struct t_config_file *config_file, char *option_name,
if (!alias_new (option_name, value))
{
weechat_printf (NULL,
- "%sAlias: error creating alias \"%s\" => \"%s\"",
- weechat_prefix ("error"),
+ "%s%s: error creating alias \"%s\" => \"%s\"",
+ weechat_prefix ("error"), "Alias",
option_name, value);
}
}
@@ -551,14 +551,13 @@ alias_config_reload_signal_cb (void *data, char *signal, void *signal_data)
if (weechat_config_reload (alias_config_file) == 0)
{
weechat_printf (NULL,
- _("%sAlias: configuration file reloaded"),
- weechat_prefix ("info"));
+ _("%s%s: configuration file reloaded"),
+ weechat_prefix ("info"), "Alias");
return WEECHAT_RC_OK;
}
weechat_printf (NULL,
- _("%sAlias: failed to reload alias configuration "
- "file"),
- weechat_prefix ("error"));
+ _("%s%s: failed to reload configuration file"),
+ weechat_prefix ("error"), "Alias");
return WEECHAT_RC_ERROR;
}
@@ -596,9 +595,9 @@ alias_command_cb (void *data, struct t_gui_buffer *buffer, int argc,
if (!alias_new (alias_name, argv_eol[2]))
{
weechat_printf (NULL,
- _("%sAlias: error creating alias \"%s\" "
- "=> \"%\""),
- weechat_prefix ("error"),
+ _("%s%s: error creating alias \"%s\" "
+ "=> \"%s\""),
+ weechat_prefix ("error"), "Alias",
alias_name, argv_eol[2]);
return WEECHAT_RC_ERROR;
}
@@ -646,9 +645,7 @@ alias_command_cb (void *data, struct t_gui_buffer *buffer, int argc,
}
}
else
- weechat_printf (NULL,
- _("%sNo alias defined."),
- weechat_prefix ("info"));
+ weechat_printf (NULL, _("No alias defined"));
}
return 0;
}
@@ -726,8 +723,8 @@ weechat_plugin_init (struct t_weechat_plugin *plugin)
if (!alias_config_init ())
{
weechat_printf (NULL,
- "%sAlias: error creating configuration file \"%s\"",
- weechat_prefix("error"),
+ "%s%s: error creating configuration file \"%s\"",
+ weechat_prefix("error"), "Alias",
ALIAS_CONFIG_FILENAME);
return WEECHAT_RC_ERROR;
}