Skip to content

TagSpaces is an offline, open source, document manager with tagging support

adding title to the tag counter in the tag group

uggrockcaee72103358
diff --git a/data/js/tags.ui.js b/data/js/tags.ui.js
index 2c4775488..862556be1 100644
--- a/data/js/tags.ui.js
+++ b/data/js/tags.ui.js
@@ -20,7 +20,7 @@ define(function(require, exports, module) {
'<button class="btn btn-link btn-lg tagGroupIcon" data-toggle="collapse" data-target="#tagButtons{{@index}}" data-i18n="[title]ns.common:toggleTagGroup" title="{{../toggleTagGroup}}">' +
'<i class="fa fa-tags fa-fw"></i>' +
'</button>' +
- '<button class="btn btn-link tagGroupTitle flexMaxWidth" key="{{key}}">{{title}}({{children.length}})</button>' +
+ '<button class="btn btn-link tagGroupTitle flexMaxWidth" key="{{key}}">{{title}}<span data-i18n="[title]ns.common:tagGroupTagsCount"> ({{children.length}}) </span></button>' +
'<button class="btn btn-link btn-lg tagGroupActions" key="{{key}}" data-i18n="[title]ns.common:tagGroupOperations" title="{{../tagGroupOperations}}">' +
'<b class="fa fa-ellipsis-v"></b>' +
'</button>' +
diff --git a/data/locales/en_US/ns.common.json b/data/locales/en_US/ns.common.json
index 1e1f96c2f..f0434937e 100644
--- a/data/locales/en_US/ns.common.json
+++ b/data/locales/en_US/ns.common.json
@@ -62,6 +62,7 @@
"deleteTagFromTagGroupTooltip": "Delete the tag from the taggroup",
"deleteTagFromTagGroup": "Delete Tag",
"tagGroupOperations": "Tag Group Operations",
+ "tagGroupTagsCount": "Number of tags in the tag group",
"addTagsTooltip": "Add tags to tag group",
"addTags": "Add Tags",
"importTagsTooltip": "Import tags to tag group",