TagSpaces is an offline, open source, document manager with tagging support
fixing i18n issue
uggrock38573a612935
diff --git a/data/js/directories.ui.js b/data/js/directories.ui.jsindex 88d38c970..c7e11256f 100644--- a/data/js/directories.ui.js+++ b/data/js/directories.ui.js@@ -111,6 +111,7 @@ define(function(require, exports, module) {TSCORE.currentLocationObject = TSCORE.Config.getLocation(path);if (TSCORE.currentLocationObject !== undefined) {document.title = TSCORE.currentLocationObject.name + ' | ' + TSCORE.Config.DefaultSettings.appName;+ $('#locationName').removeAttr("data-i18n");;$('#locationName').text(TSCORE.currentLocationObject.name).attr('title', path);// Handle open default perspective for a locationvar defaultPerspective = TSCORE.currentLocationObject.perspective;diff --git a/data/js/perspective.manager.js b/data/js/perspective.manager.jsindex 419a70bf2..d8193f75c 100644--- a/data/js/perspective.manager.js+++ b/data/js/perspective.manager.js@@ -331,12 +331,15 @@ define(function(require, exports, module) {for (var i = 0; i < perspectives.length; i++) {if (perspectives[i].ID === viewType) {var $currentPerspectitveIcon = $('#currentPerspectitveIcon');- var $currentPerspectitveName = $('#currentPerspectitveName');$currentPerspectitveIcon.removeClass();$currentPerspectitveIcon.addClass(perspectives[i].Icon);$currentPerspectitveIcon.addClass('fa-lg');++ var $currentPerspectitveName = $('#currentPerspectitveName');+ $currentPerspectitveName.removeAttr("data-i18n");$currentPerspectitveName.text(' ' + perspectives[i].Title);$currentPerspectitveName.attr('title', perspectives[i].ID);+perspectives[i].load();$('#' + perspectives[i].ID + 'Container').show();}