TagSpaces is an offline, open source, document manager with tagging support
refactoring
kristiyandde38a790be7c2
diff --git a/data/index.html b/data/index.htmlindex c1984c3af..5964c9395 100644--- a/data/index.html+++ b/data/index.html@@ -896,7 +896,7 @@<p class="help-block with-errors"></p></div><div class="form-group">- <label class="control-label" for="tagGroupBackgroundColor" data-i18n="ns.common:tagGroupBackgroundColor"></label>+ <label class="control-label" for="tagGroupBackgroundColor" data-i18n="ns.dialogs:tagBackgroundColor"></label><input type="color" class="form-control" id="tagGroupBackgroundColor" style="padding: 0"><select class="form-control" id="tagGroupBackgroundColorChooser"><option value="#ffffff">#ffffff</option>@@ -927,7 +927,7 @@</select></div><div class="form-group">- <label class="control-label" for="tagGroupForegroundColor" data-i18n="ns.common:tagGroupForegroundColor"></label>+ <label class="control-label" for="tagGroupForegroundColor" data-i18n="ns.dialogs:tagForegroundColor"></label><input type="color" class="form-control" id="tagGroupForegroundColor" style="padding: 0"><select class="form-control" id="tagGroupForegroundColorChooser"><option value="#ffffff">#ffffff</option>diff --git a/data/js/settings.api.js b/data/js/settings.api.jsindex 71fca1796..7a1d640f9 100644--- a/data/js/settings.api.js+++ b/data/js/settings.api.js@@ -1070,7 +1070,7 @@ define(function(require, exports, module) {newTagModel.textcolor = newTagTextColor;} else {newTagModel.color = value.color !== undefined ? value.color : getDefaultTagColor();- newTagModel.textcolor = value.color !== undefined ? value.color : getDefaultTagTextColor();+ newTagModel.textcolor = value.textcolor !== undefined ? value.textcolor : getDefaultTagTextColor();}value.children.push(newTagModel);} else {diff --git a/data/locales/en_US/ns.common.json b/data/locales/en_US/ns.common.jsonindex 47c05c5b5..24b566adb 100644--- a/data/locales/en_US/ns.common.json+++ b/data/locales/en_US/ns.common.json@@ -252,8 +252,6 @@"exitApp":"Exit","openNewInstance":"New Application Window","documentation":"Documentation",- "tagGroupBackgroundColor":"Default tag group background color",- "tagGroupForegroundColor":"Default tag group text color","-": "-"}