mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-11-30 23:37:16 +01:00
Translate Delete and Pin note. Part of issue #32
This commit is contained in:
@@ -90,7 +90,7 @@
|
|||||||
.icon-header-note {
|
.icon-header-note {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
float: right;
|
float: right;
|
||||||
margin: 2px;
|
margin-left: 2px;
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
background-color: rgba(0,0,0,0.08);
|
background-color: rgba(0,0,0,0.08);
|
||||||
opacity: 0.7;
|
opacity: 0.7;
|
||||||
|
|||||||
@@ -13,6 +13,10 @@
|
|||||||
|
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
|
|
||||||
|
var translations = {
|
||||||
|
pinNote: t('quicknotes', 'Pin note'),
|
||||||
|
};
|
||||||
|
|
||||||
// this notes object holds all our notes
|
// this notes object holds all our notes
|
||||||
var Notes = function (baseUrl) {
|
var Notes = function (baseUrl) {
|
||||||
this._baseUrl = baseUrl;
|
this._baseUrl = baseUrl;
|
||||||
|
|||||||
@@ -12,8 +12,8 @@
|
|||||||
</div>
|
</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
<div>
|
<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="{{t "quicknotes" "Pin note"}}"></div>
|
||||||
<div class="icon-header-note icon-checkmark hide-header-icon" title="Pin note"></div>
|
<div class="icon-header-note icon-delete hide-header-icon icon-delete-note" title="{{t "quicknotes" "Delete note"}}"></div>
|
||||||
<!--
|
<!--
|
||||||
{{#if sharedwith}}
|
{{#if sharedwith}}
|
||||||
<div class='icon-share shared-title-owner' title="Shared with {{ sharedwith }}"></div>
|
<div class='icon-share shared-title-owner' title="Shared with {{ sharedwith }}"></div>
|
||||||
|
|||||||
@@ -15,8 +15,8 @@
|
|||||||
</div>
|
</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
<div>
|
<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="{{t "quicknotes" "Pin note"}}"></div>
|
||||||
<div class="icon-header-note icon-checkmark hide-header-icon" title="Pin note"></div>
|
<div class="icon-header-note icon-delete hide-header-icon icon-delete-note" title="{{t "quicknotes" "Delete note"}}"></div>
|
||||||
<!--
|
<!--
|
||||||
{{#if sharedwith}}
|
{{#if sharedwith}}
|
||||||
<div class='icon-share shared-title-owner' title="Shared with {{ sharedwith }}"></div>
|
<div class='icon-share shared-title-owner' title="Shared with {{ sharedwith }}"></div>
|
||||||
|
|||||||
Reference in New Issue
Block a user