Do not append name suffix when empty
issue10662 review346771002
This commit is contained in:
1 parent
a8606b92f1
commit
48533a76d2
1 file changed
+5
-1
+5
-1
@@ -46,7 +46,11 @@
|
||||
if (data.ids.length > ids.length) {
|
||||
name_suffix += Sao.i18n.gettext(',...');
|
||||
}
|
||||
return Sao.i18n.gettext('%1 (%2)', name, name_suffix);
|
||||
if (name_suffix) {
|
||||
return Sao.i18n.gettext('%1 (%2)', name, name_suffix);
|
||||
} else {
|
||||
return name;
|
||||
}
|
||||
});
|
||||
}
|
||||
data.action_id = action.id;
|
||||
|
||||
Reference in new issue
Block a user