mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-11-30 23:37:16 +01:00
Fix translation again and remove unuser arguments
This commit is contained in:
21
js/script.js
21
js/script.js
@@ -488,10 +488,7 @@ View.prototype = {
|
||||
if (result === true) {
|
||||
self._editableShares(newShares, []);
|
||||
}
|
||||
},
|
||||
true,
|
||||
t('quicknotes', 'Shares'),
|
||||
false
|
||||
}
|
||||
);
|
||||
});
|
||||
|
||||
@@ -524,10 +521,7 @@ View.prototype = {
|
||||
if (result === true) {
|
||||
self._editableTags(newTags);
|
||||
}
|
||||
},
|
||||
true,
|
||||
t('quicknotes', 'Tags'),
|
||||
false
|
||||
}
|
||||
);
|
||||
});
|
||||
|
||||
@@ -1015,10 +1009,19 @@ new OCA.Search(search, function() {
|
||||
search('');
|
||||
});
|
||||
|
||||
Handlebars.registerHelper('SW', function(user) {
|
||||
|
||||
/**
|
||||
* Add Helpers to handlebars
|
||||
*/
|
||||
|
||||
Handlebars.registerHelper('tSW', function(user) {
|
||||
return t('quicknotes', 'Shared with {user}', {user: user});
|
||||
});
|
||||
|
||||
Handlebars.registerHelper('tSB', function(user) {
|
||||
return t('quicknotes', 'Shared by {user}', {user: user});
|
||||
});
|
||||
|
||||
|
||||
/*
|
||||
* Create modules
|
||||
|
||||
Reference in New Issue
Block a user