Skip to content

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

correcting translation issues

Iliand6252904a8ac
diff --git a/data/index.html b/data/index.html
index 03898ff85..fe9967fce 100644
--- a/data/index.html
+++ b/data/index.html
@@ -73,7 +73,7 @@ can be found in the LICENSE file.
<button type="button" class="btn btn-default" style="width: 16%; text-align: center; min-width: 40px;" data-placement="right;" data-i18n="[title]ns.common:connectNewLocationTooltip" data-original-title="Start using TagSpaces by creating a new location!" id="createNewLocation">
<i class="glyphicon glyphicon-plus-sign"></i>
</button>
- <button type="button" class="btn btn-default" style="width: 69%" id="locationName" data-toggle="dropdown" data-i18n="ns.common:chooseLocation">Choose Location</button>
+ <button type="button" class="btn btn-default" style="width: 69%" id="locationName" data-toggle="dropdown">Choose Location</button>
<button type="button" class="btn btn-default dropdown-toggle" id="selectLocation" style="width: 14%" data-toggle="dropdown">
<span class="caret"></span>
</button>
@@ -196,7 +196,7 @@ can be found in the LICENSE file.
</span>
<div class="input-group">
<button type="button" id="perspectiveSwitcherButton" class="btn btn-link dropdown-toggle" data-toggle="dropdown"><i id="currentPerspectitveIcon" class="fa fa-film"></i>&nbsp;
- <span id="currentPerspectitveName" data-i18n="ns.common:perspectivesDropDown">Perspectives</span>&nbsp;<span class="caret"></span>
+ <span id="currentPerspectitveName">Perspectives</span>&nbsp;<span class="caret"></span>
</button>
<ul class="dropdown-menu pull-right" style="position:absolute; top:35px; right:2px; width: 200px;" id="viewSwitcher"></ul>
</div>
diff --git a/data/js/directories.ui.js b/data/js/directories.ui.js
index fdaffa422..02819bd38 100644
--- a/data/js/directories.ui.js
+++ b/data/js/directories.ui.js
@@ -450,7 +450,9 @@ define(function(require, exports, module) {
$( "#directoryMenuOpenDirectory" ).click( function() {
TSCORE.IO.openDirectory(dir4ContextMenu);
- });
+ });
+
+ $("#locationName").text($.i18n.t("ns.common:chooseLocation"));
}
diff --git a/data/js/perspective.manager.js b/data/js/perspective.manager.js
index 08b7ae98e..cd08c49e7 100644
--- a/data/js/perspective.manager.js
+++ b/data/js/perspective.manager.js
@@ -19,6 +19,8 @@ var initPerspectives = function () {
$("#viewContainers").empty();
$("#viewFooters").empty();
+ $("#locationName").text($.i18n.t("ns.common:perspectivesDropDown"));
+
initWelcomeScreen();
var extensions = TSCORE.Config.getPerspectives();