diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js
index 53a7a8752c..2467af6112 100644
--- a/core/js/oc-dialogs.js
+++ b/core/js/oc-dialogs.js
@@ -106,7 +106,7 @@ var OCdialogs = {
var c_name = 'oc-dialog-'+OCdialogs.dialogs_counter+'-content';
var c_id = '#'+c_name;
var d = '
';
- if (!modal) modal = false; // Huh..?
+ if (!modal) modal = false; // Huh..
if (!multiselect) multiselect = false;
$('body').append(d);
$(c_id + ' #dirtree').focus(function() {
diff --git a/core/js/share.js b/core/js/share.js
index e18a2c0e20..c105a27dc0 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 = '';
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 += ''+t('core', 'Shared with you and the group %s by %s', data.reshare.share_with, data.reshare.uid_owner)+'';
} else {
html += ''+t('core', 'Shared with you by %s', data.reshare.uid_owner)+'';