1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 04:16:38 +02:00

script: remove spaces before/after tags displayed on detail of script

This commit is contained in:
Sebastien Helleu
2012-08-28 16:37:29 +02:00
parent df7b14e41c
commit 186053f90c
14 changed files with 361 additions and 282 deletions
+2 -18
View File
@@ -428,27 +428,11 @@ script_buffer_display_detail_script (struct t_repo_script *script)
else
{
weechat_printf_y (script_buffer, line + 1,
"%s: %s%s (%s%s%s%s%s%s%s%s%s%s%s%s )",
"%s: %s%s (%s)",
script_buffer_detail_label (_(labels[line]), max_length),
script_repo_get_status_for_display (script, "*iaHrN", 1),
weechat_color ("chat"),
(script->popularity > 0) ? " " : "",
(script->popularity > 0) ? _("popular") : "",
(script->status & SCRIPT_STATUS_INSTALLED) ? " " : "",
/* TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) */
(script->status & SCRIPT_STATUS_INSTALLED) ? _("installed") : "",
(script->status & SCRIPT_STATUS_AUTOLOADED) ? " " : "",
/* TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) */
(script->status & SCRIPT_STATUS_AUTOLOADED) ? _("autoloaded") : "",
(script->status & SCRIPT_STATUS_HELD) ? " " : "",
/* TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) */
(script->status & SCRIPT_STATUS_HELD) ? _("held") : "",
(script->status & SCRIPT_STATUS_RUNNING) ? " " : "",
/* TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) */
(script->status & SCRIPT_STATUS_RUNNING) ? _("running") : "",
(script->status & SCRIPT_STATUS_NEW_VERSION) ? " " : "",
/* TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) */
(script->status & SCRIPT_STATUS_NEW_VERSION) ? _("obsolete") : "");
script_repo_get_status_desc_for_display (script, "*iaHrN"));
}
line++;
tm = localtime (&script->date_added);