mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-11-30 23:37:16 +01:00
Fix and update translations
This commit is contained in:
@@ -135,7 +135,7 @@ const QnDialogs = {
|
||||
var $dlg = $tmpl.octemplate({
|
||||
dialog_name: dialogName,
|
||||
title: t('quicknotes', 'Share note'),
|
||||
message: t('quicknotes', 'Select the users to share'),
|
||||
message: t('quicknotes', 'Select the users to share. By default you only share the note. Attachments should be shared from files so they can view it.'),
|
||||
type: 'none'
|
||||
});
|
||||
|
||||
|
||||
@@ -1015,6 +1015,10 @@ new OCA.Search(search, function() {
|
||||
search('');
|
||||
});
|
||||
|
||||
Handlebars.registerHelper('SW', function(user) {
|
||||
return t('quicknotes', 'Shared with {user}', {user: user});
|
||||
});
|
||||
|
||||
|
||||
/*
|
||||
* Create modules
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
</li>
|
||||
<li id="shared-folder" class="collapsible open">
|
||||
<button class="collapse"></button>
|
||||
<a href="#" class="icon-share svg">{{t "quicknotes" "Shares" }}</a>
|
||||
<a href="#" class="icon-share svg">{{t "quicknotes" "Shared" }}</a>
|
||||
<ul>
|
||||
<li id="shared-by-you">
|
||||
<a href="#" class="icon-share svg">{{t "quicknotes" "Shared with others" }}</a>
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
</div>
|
||||
<div class='note-shares'>
|
||||
{{#each shared_with}}
|
||||
<div class="icon-user slim-share" title="Shared with {{ shared_user }}">{{{ shared_user }}}</div>
|
||||
<div class="icon-user slim-share" share-id="{{ shared_user }}" title="{{SW shared_user}}">{{{ shared_user }}}</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
<div class='note-tags'>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<div class='note-shares'>
|
||||
{{#each shared_with}}
|
||||
<div class="icon-user slim-share" share-id="{{ shared_user }}" title="Shared with {{ shared_user }}">{{{ shared_user }}}</div>
|
||||
<div class="icon-user slim-share" share-id="{{ shared_user }}" title="{{SW shared_user}}">{{{ shared_user }}}</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
Reference in New Issue
Block a user