mirror of
https://github.com/weechat/weechat.git
synced 2026-07-10 19:53:13 +02:00
Add some notes for translators in gettext files
This commit is contained in:
@@ -1473,7 +1473,7 @@ command_help (void *data, struct t_gui_buffer *buffer,
|
||||
{
|
||||
gui_chat_printf (NULL, "");
|
||||
gui_chat_printf (NULL,
|
||||
/* TRANSLATORS: %s is "weechat" */
|
||||
/* TRANSLATORS: "%s" is "weechat" */
|
||||
_("%s internal commands:"),
|
||||
PACKAGE_NAME);
|
||||
command_found = 1;
|
||||
@@ -3841,6 +3841,7 @@ command_uptime (void *data, struct t_gui_buffer *buffer,
|
||||
else if ((argc >= 2) && (string_strcasecmp (argv[1], "-ol") == 0))
|
||||
{
|
||||
snprintf (string, sizeof (string),
|
||||
/* TRANSLATORS: "%s" after "started on" is date */
|
||||
_("WeeChat uptime: %d %s %02d:%02d:%02d, started on %s"),
|
||||
day,
|
||||
NG_("day", "days", day),
|
||||
@@ -3853,6 +3854,7 @@ command_uptime (void *data, struct t_gui_buffer *buffer,
|
||||
else
|
||||
{
|
||||
gui_chat_printf (NULL,
|
||||
/* TRANSLATORS: "%s%s" after "started on" is date */
|
||||
_("WeeChat uptime: %s%d %s%s "
|
||||
"%s%02d%s:%s%02d%s:%s%02d%s, "
|
||||
"started on %s%s"),
|
||||
|
||||
+2
-1
@@ -97,6 +97,7 @@ weechat_display_usage (char *exec_name)
|
||||
{
|
||||
string_iconv_fprintf (stdout, "\n");
|
||||
string_iconv_fprintf (stdout,
|
||||
/* TRANSLATORS: "%s %s" after "compiled on" is date and time */
|
||||
_("%s (c) Copyright 2003-2010, compiled on %s %s\n"
|
||||
"Developed by FlashCode <flashcode@flashtux.org> "
|
||||
"- %s"),
|
||||
@@ -137,7 +138,7 @@ weechat_display_keys ()
|
||||
|
||||
gui_keyboard_default_bindings ();
|
||||
string_iconv_fprintf (stdout,
|
||||
/* TRANSLATORS: %s is "weechat" */
|
||||
/* TRANSLATORS: "%s" is "weechat" */
|
||||
_("%s default keys:\n"),
|
||||
PACKAGE_NAME);
|
||||
string_iconv_fprintf (stdout, "\n");
|
||||
|
||||
@@ -417,7 +417,7 @@ weechat_aspell_speller_list_dicts ()
|
||||
|
||||
weechat_printf (NULL, "");
|
||||
weechat_printf (NULL,
|
||||
/* TRANSLATORS: %s is "aspell" */
|
||||
/* TRANSLATORS: "%s" is "aspell" */
|
||||
_( "%s dictionaries list:"),
|
||||
ASPELL_PLUGIN_NAME);
|
||||
|
||||
|
||||
@@ -2686,6 +2686,7 @@ IRC_PROTOCOL_CALLBACK(329)
|
||||
{
|
||||
weechat_printf_tags (ptr_channel->buffer,
|
||||
irc_protocol_tags (command, "irc_numeric"),
|
||||
/* TRANSLATORS: "%s" after "created on" is date */
|
||||
_("%sChannel created on %s"),
|
||||
weechat_prefix ("network"),
|
||||
weechat_util_get_time_string (&datetime));
|
||||
@@ -2696,6 +2697,7 @@ IRC_PROTOCOL_CALLBACK(329)
|
||||
{
|
||||
weechat_printf_tags (server->buffer,
|
||||
irc_protocol_tags (command, "irc_numeric"),
|
||||
/* TRANSLATORS: "%s" after "created on" is date */
|
||||
_("%sChannel %s%s%s created on %s"),
|
||||
weechat_prefix ("network"),
|
||||
IRC_COLOR_CHAT_CHANNEL,
|
||||
@@ -2886,6 +2888,7 @@ IRC_PROTOCOL_CALLBACK(333)
|
||||
{
|
||||
weechat_printf_tags (ptr_channel->buffer,
|
||||
irc_protocol_tags (command, "irc_numeric"),
|
||||
/* TRANSLATORS: "%s" after "on" is date */
|
||||
_("%sTopic set by %s%s%s%s%s%s%s%s%s on %s"),
|
||||
weechat_prefix ("network"),
|
||||
IRC_COLOR_NICK_IN_SERVER_MESSAGE(ptr_nick),
|
||||
@@ -2903,6 +2906,7 @@ IRC_PROTOCOL_CALLBACK(333)
|
||||
{
|
||||
weechat_printf_tags (ptr_channel->buffer,
|
||||
irc_protocol_tags (command, "irc_numeric"),
|
||||
/* TRANSLATORS: "%s" after "on" is date */
|
||||
_("%sTopic set on %s"),
|
||||
weechat_prefix ("network"),
|
||||
weechat_util_get_time_string (&datetime));
|
||||
@@ -2914,6 +2918,7 @@ IRC_PROTOCOL_CALLBACK(333)
|
||||
{
|
||||
weechat_printf_tags (server->buffer,
|
||||
irc_protocol_tags (command, "irc_numeric"),
|
||||
/* TRANSLATORS: "%s" after "on" is date */
|
||||
_("%sTopic for %s%s%s set by %s%s%s%s%s%s%s%s%s on %s"),
|
||||
weechat_prefix ("network"),
|
||||
IRC_COLOR_CHAT_CHANNEL,
|
||||
@@ -2934,6 +2939,7 @@ IRC_PROTOCOL_CALLBACK(333)
|
||||
{
|
||||
weechat_printf_tags (server->buffer,
|
||||
irc_protocol_tags (command, "irc_numeric"),
|
||||
/* TRANSLATORS: "%s" after "on" is date */
|
||||
_("%sTopic for %s%s%s set on %s"),
|
||||
weechat_prefix ("network"),
|
||||
IRC_COLOR_CHAT_CHANNEL,
|
||||
@@ -3088,6 +3094,7 @@ IRC_PROTOCOL_CALLBACK(346)
|
||||
datetime = (time_t)(atol (argv[6]));
|
||||
weechat_printf_tags (ptr_buffer,
|
||||
irc_protocol_tags (command, "irc_numeric"),
|
||||
/* TRANSLATORS: "%s" after "on" is date */
|
||||
_("%s%s[%s%s%s] %s%s%s invited by "
|
||||
"%s%s %s(%s%s%s)%s on %s"),
|
||||
weechat_prefix ("network"),
|
||||
@@ -3196,6 +3203,7 @@ IRC_PROTOCOL_CALLBACK(348)
|
||||
datetime = (time_t)(atol (argv[6]));
|
||||
weechat_printf_tags (ptr_buffer,
|
||||
irc_protocol_tags (command, "irc_numeric"),
|
||||
/* TRANSLATORS: "%s" after "on" is date */
|
||||
_("%s%s[%s%s%s]%s exception %s%s%s "
|
||||
"by %s%s %s(%s%s%s)%s on %s"),
|
||||
weechat_prefix ("network"),
|
||||
@@ -3702,6 +3710,7 @@ IRC_PROTOCOL_CALLBACK(367)
|
||||
datetime = (time_t)(atol (argv[6]));
|
||||
weechat_printf_tags (ptr_buffer,
|
||||
irc_protocol_tags (command, "irc_numeric"),
|
||||
/* TRANSLATORS: "%s" after "on" is date */
|
||||
_("%s%s[%s%s%s] %s%s%s banned by "
|
||||
"%s%s %s(%s%s%s)%s on %s"),
|
||||
weechat_prefix ("network"),
|
||||
|
||||
@@ -132,7 +132,7 @@ irc_signal_upgrade_cb (void *data, const char *signal, const char *type_data,
|
||||
if (disconnected > 0)
|
||||
{
|
||||
weechat_printf (NULL,
|
||||
/* TRANSLATORS: %s after %d is "server" or "servers" */
|
||||
/* TRANSLATORS: "%s" after "%d" is "server" or "servers" */
|
||||
_("%s%s: disconnected from %d %s (SSL connection "
|
||||
"not supported with upgrade)"),
|
||||
weechat_prefix ("error"), IRC_PLUGIN_NAME,
|
||||
|
||||
@@ -1052,7 +1052,7 @@ script_display_list (struct t_weechat_plugin *weechat_plugin,
|
||||
|
||||
weechat_printf (NULL, "");
|
||||
weechat_printf (NULL,
|
||||
/* TRANSLATORS: %s is language (for example "perl") */
|
||||
/* TRANSLATORS: "%s" is language (for example "perl") */
|
||||
_("%s scripts loaded:"),
|
||||
weechat_plugin->name);
|
||||
if (scripts)
|
||||
@@ -1101,7 +1101,7 @@ script_display_short_list (struct t_weechat_plugin *weechat_plugin,
|
||||
|
||||
if (scripts)
|
||||
{
|
||||
/* TRANSLATORS: %s is language (for example "perl") */
|
||||
/* TRANSLATORS: "%s" is language (for example "perl") */
|
||||
scripts_loaded = _("%s scripts loaded:");
|
||||
|
||||
length = strlen (scripts_loaded) + strlen (weechat_plugin->name) + 1;
|
||||
|
||||
@@ -133,6 +133,7 @@ xfer_command_xfer_list (int full)
|
||||
strftime (date, sizeof (date),
|
||||
"%a, %d %b %Y %H:%M:%S", date_tmp);
|
||||
weechat_printf (NULL,
|
||||
/* TRANSLATORS: "%s" after "started on" is date */
|
||||
_("%3d. %s, chat with %s (local nick: %s), "
|
||||
"started on %s, status: %s%s"),
|
||||
i,
|
||||
@@ -168,6 +169,7 @@ xfer_command_xfer_list (int full)
|
||||
strftime (date, sizeof (date),
|
||||
"%a, %d %b %Y %H:%M:%S", date_tmp);
|
||||
weechat_printf (NULL,
|
||||
/* TRANSLATORS: "%s" after "started on" is date */
|
||||
_(" fast_send: %s, blocksize: %d, "
|
||||
"started on %s"),
|
||||
(ptr_xfer->fast_send) ? _("yes") : _("no"),
|
||||
|
||||
Reference in New Issue
Block a user