summaryrefslogtreecommitdiffstats
path: root/core/js/share.js
diff options
context:
space:
mode:
authorscambra <sergio@entrecables.com>2012-09-21 12:05:01 +0200
committerscambra <sergio@entrecables.com>2012-09-21 12:05:01 +0200
commitd5211f96159d2d34833af87978be3e9593413ae0 (patch)
tree37092bd15fa7a66043fa1b52306e543b19b49d6c /core/js/share.js
parente48811017d5fdc6abbf01141fbc2d5368beaa9e6 (diff)
downloadnextcloud-server-d5211f96159d2d34833af87978be3e9593413ae0.tar.gz
nextcloud-server-d5211f96159d2d34833af87978be3e9593413ae0.zip
some characters in comments avoid finding some strings to translate
Diffstat (limited to 'core/js/share.js')
-rw-r--r--core/js/share.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/js/share.js b/core/js/share.js
index e18a2c0e204..c105a27dc0e 100644
--- a/core/js/share.js
+++ b/core/js/share.js
@@ -79,7 +79,7 @@ OC.Share={
var item = itemSource;
}
if (typeof OC.Share.statuses[item] === 'undefined') {
- // NOTE: Check doesn't always work and misses some shares, fix later
+ // NOTE: Check does not always work and misses some shares, fix later
checkShares = true;
} else {
checkShares = true;
@@ -100,7 +100,7 @@ OC.Share={
callback(result.data);
}
} else {
- OC.dialogs.alert(result.data.message, t('core', 'Error while sharing');
+ OC.dialogs.alert(result.data.message, t('core', 'Error while sharing'));
}
});
},
@@ -126,7 +126,7 @@ OC.Share={
var data = OC.Share.loadItem(itemType, itemSource);
var html = '<div id="dropdown" class="drop" data-item-type="'+itemType+'" data-item-source="'+itemSource+'">';
if (data.reshare) {
- if (data.reshare.share_type == OC.Share.SHARE_TYPE_GROUP) { // %s
+ if (data.reshare.share_type == OC.Share.SHARE_TYPE_GROUP) {
html += '<span class="reshare">'+t('core', 'Shared with you and the group %s by %s', data.reshare.share_with, data.reshare.uid_owner)+'</span>';
} else {
html += '<span class="reshare">'+t('core', 'Shared with you by %s', data.reshare.uid_owner)+'</span>';