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:
@@ -273,6 +273,7 @@ div[contenteditable="true"] {
|
||||
|
||||
/* Restore defaults select2 rules */
|
||||
|
||||
|
||||
.select2-container-multi
|
||||
.select2-choices
|
||||
.select2-search-choice {
|
||||
@@ -297,6 +298,10 @@ div[contenteditable="true"] {
|
||||
z-index: 10000;
|
||||
}
|
||||
|
||||
div.select2-container {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* Modal Content */
|
||||
|
||||
.modal-content {
|
||||
|
||||
@@ -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>
|
||||
@@ -4,3 +4,8 @@
|
||||
*/
|
||||
p($l->t('Delete attachment'));
|
||||
p($l->t('Attach file'));
|
||||
p($l->t('Shared'));
|
||||
p($l->t('Shared with others'));
|
||||
p($l->t('Shared with you'));
|
||||
p($l->t('Share note'));
|
||||
p($l->t('Close'));
|
||||
Reference in New Issue
Block a user