mirror of
https://github.com/weechat/weechat.git
synced 2026-07-03 00:03:12 +02:00
Add some notes for translators in gettext files
This commit is contained in:
@@ -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