Translate Delete and Pin note. Part of issue #32

This commit is contained in:
Matias De lellis
2020-06-01 18:04:59 -03:00
parent 3c433cb209
commit b8bbad7f4c
4 changed files with 9 additions and 5 deletions

View File

@@ -13,6 +13,10 @@
$(document).ready(function () {
var translations = {
pinNote: t('quicknotes', 'Pin note'),
};
// this notes object holds all our notes
var Notes = function (baseUrl) {
this._baseUrl = baseUrl;

View File

@@ -12,8 +12,8 @@
</div>
{{else}}
<div>
<div class="icon-header-note icon-delete hide-header-icon icon-delete-note" title="Delete"></div>
<div class="icon-header-note icon-checkmark hide-header-icon" title="Pin note"></div>
<div class="icon-header-note icon-checkmark hide-header-icon" title="{{t "quicknotes" "Pin note"}}"></div>
<div class="icon-header-note icon-delete hide-header-icon icon-delete-note" title="{{t "quicknotes" "Delete note"}}"></div>
<!--
{{#if sharedwith}}
<div class='icon-share shared-title-owner' title="Shared with {{ sharedwith }}"></div>

View File

@@ -15,8 +15,8 @@
</div>
{{else}}
<div>
<div class="icon-header-note icon-delete hide-header-icon icon-delete-note" title="Delete"></div>
<div class="icon-header-note icon-checkmark hide-header-icon" title="Pin note"></div>
<div class="icon-header-note icon-checkmark hide-header-icon" title="{{t "quicknotes" "Pin note"}}"></div>
<div class="icon-header-note icon-delete hide-header-icon icon-delete-note" title="{{t "quicknotes" "Delete note"}}"></div>
<!--
{{#if sharedwith}}
<div class='icon-share shared-title-owner' title="Shared with {{ sharedwith }}"></div>