Skip to content

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

Localization

Borislav Sapundzhiev5c9840bd4f34
diff --git a/data/_locales/en_US/messages.json b/data/_locales/en_US/messages.json
index 7fedbedd8..a370492f3 100644
--- a/data/_locales/en_US/messages.json
+++ b/data/_locales/en_US/messages.json
@@ -12,5 +12,49 @@
"appLauncherTitle": {
"message": "Start TagSpaces Browser in a new tab",
"description": "Title of the application launcher in the browser."
+ },
+ "appLauncherLabel": {
+ "message": "Capture Web Content",
+ "description": "Title of label."
+ },
+ "editTitleLabel": {
+ "message": "Edit Title",
+ "description": "Title of label."
+ },
+ "addTagLabel": {
+ "message": "Add Tags",
+ "description": "Title of label."
+ },
+ "addTagHelp": {
+ "message": "Tags should have a minimum length of 2 characters and should not contain special characters such as spaces, #, / ,\\ and other.",
+ "description": "Add tag help message"
+ },
+ "saveFileLabel": {
+ "message": "Save as File",
+ "description": "Title of label."
+ },
+ "saveAsMhtmlTitle": {
+ "message": "Save whole page as MHTML",
+ "description": "Title of save page button"
+ },
+ "saveAsMhtmlLabel": {
+ "message": "Save Whole Page",
+ "description": "Title of label."
+ },
+ "saveSelectionAsHtmlTitle": {
+ "message": "Save selected content as HTML",
+ "description": "Title of save selection button"
+ },
+ "saveAsSelectionLabel": {
+ "message": "Save Selected",
+ "description": "Title of label."
+ },
+ "saveScreenshotTitle": {
+ "message": "Save screenshot of the visible page area as PNG",
+ "description": "Title of screenshot button"
+ },
+ "saveScreenshotLabel": {
+ "message": "Screenshot",
+ "description": "Title of label."
}
}
\ No newline at end of file
diff --git a/data/popup.html b/data/popup.html
index 802447264..e146547fe 100644
--- a/data/popup.html
+++ b/data/popup.html
@@ -21,26 +21,30 @@ can be found in the LICENSE file.
<img src="assets/icon128.png" class="pull-left" style="margin-left: 20px; max-height: 32px; max-width: 32px;"/>&nbsp;&nbsp;
<a href="#" class="btn btn-primary" id="startTagSpaces" style="width: 350px;" data-i18n="appLauncher" data-i18n-title="appLauncherTitle"></a>
</div>
- <label style="margin-top: 15px; font-size: 17px;">Capture Web Content</label>
+ <label style="margin-top: 15px; font-size: 17px;" data-i18n="appLauncherLabel"></label>
<div class="form-group">
- <label class="control-label" for="title">1. <span>Edit Title</span></label>
- <input class="form-control" type="text" name="title" id="title" autocomplete="off"
- data-i18n="[placeholder]ns.dialogs:tagOperationTagsPlaceholder"/>
- <p class="help-block" data-i18n="ns.dialogs:editTagNamesRestrictionsHelp"></p>
+ <label class="control-label" for="title">1. <span data-i18n="editTitleLabel"></span></label>
+ <input class="form-control" type="text" name="title" id="title" autocomplete="off"/>
+ <p class="help-block"></p>
</div>
<form role="form" data-toggle="validator">
<div class="form-group">
- <label class="control-label" for="tags">2. <span>Add Tags</span></label>
- <input class="form-control" type="text" name="tags" id="tags" autocomplete="off"
- data-i18n="[placeholder]ns.dialogs:tagOperationTagsPlaceholder"/>
- <p class="help-block">Tags should have a minimum length of 2 characters and should not contain special characters such as spaces, #, / ,\ and other.</p>
+ <label class="control-label" for="tags">2. <span data-i18n="addTagLabel"></span></label>
+ <input class="form-control" type="text" name="tags" id="tags" autocomplete="off"/>
+ <p class="help-block" data-i18n="addTagHelp"></p>
</div>
</form>
- <label>3. <span>Save as File</span></label>
+ <label>3. <span data-i18n="saveFileLabel"></span></label>
<div class="btn-toolbar text-center noWrap">
- <a href="#" class="btn btn-primary" id="saveAsMhtml" title="Save whole page as MHTML"><i class="fa fa-file fa-lg fa-fw"></i>&nbsp;<span>Save Whole Page</span></a>
- <a href="#" class="btn btn-primary" id="saveSelectionAsHtml" title="Save selected content as HTML"><i class="fa fa-file-text fa-lg fa-fw"></i>&nbsp;<span>Save Selected</span></a>
- <a href="#" class="btn btn-primary" id="saveScreenshot" title="Save screenshot of the visible page area as PNG"><i class="fa fa-camera fa-lg fa-fw"></i>&nbsp;<span>Screenshot</span></a>
+ <a href="#" class="btn btn-primary" id="saveAsMhtml" data-i18n-title="saveAsMhtmlTitle">
+ <i class="fa fa-file fa-lg fa-fw"></i>&nbsp;<span data-i18n="saveAsMhtmlLabel"></span>
+ </a>
+ <a href="#" class="btn btn-primary" id="saveSelectionAsHtml" data-i18n-title="saveSelectionAsHtmlTitle">
+ <i class="fa fa-file-text fa-lg fa-fw"></i>&nbsp;<span data-i18n="saveAsSelectionLabel"></span>
+ </a>
+ <a href="#" class="btn btn-primary" id="saveScreenshot" data-i18n-title="saveScreenshotTitle">
+ <i class="fa fa-camera fa-lg fa-fw"></i>&nbsp;<span data-i18n="saveScreenshotLabel"></span>
+ </a>
</div>
</div>
<script type="text/javascript" src="libs/jquery/jquery-2.1.1.min.js"></script>