some characters in comments avoid finding some strings to translate
This commit is contained in:
parent
e48811017d
commit
d5211f9615
|
@ -106,7 +106,7 @@ var OCdialogs = {
|
||||||
var c_name = 'oc-dialog-'+OCdialogs.dialogs_counter+'-content';
|
var c_name = 'oc-dialog-'+OCdialogs.dialogs_counter+'-content';
|
||||||
var c_id = '#'+c_name;
|
var c_id = '#'+c_name;
|
||||||
var d = '<div id="'+c_name+'" title="'+title+'"><select id="dirtree"><option value="0">'+OC.currentUser+'</option></select><div id="filelist"></div><div class="filepicker_loader"><img src="'+OC.filePath('gallery','img','loading.gif')+'"></div></div>';
|
var d = '<div id="'+c_name+'" title="'+title+'"><select id="dirtree"><option value="0">'+OC.currentUser+'</option></select><div id="filelist"></div><div class="filepicker_loader"><img src="'+OC.filePath('gallery','img','loading.gif')+'"></div></div>';
|
||||||
if (!modal) modal = false; // Huh..?
|
if (!modal) modal = false; // Huh..
|
||||||
if (!multiselect) multiselect = false;
|
if (!multiselect) multiselect = false;
|
||||||
$('body').append(d);
|
$('body').append(d);
|
||||||
$(c_id + ' #dirtree').focus(function() {
|
$(c_id + ' #dirtree').focus(function() {
|
||||||
|
|
|
@ -79,7 +79,7 @@ OC.Share={
|
||||||
var item = itemSource;
|
var item = itemSource;
|
||||||
}
|
}
|
||||||
if (typeof OC.Share.statuses[item] === 'undefined') {
|
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;
|
checkShares = true;
|
||||||
} else {
|
} else {
|
||||||
checkShares = true;
|
checkShares = true;
|
||||||
|
@ -100,7 +100,7 @@ OC.Share={
|
||||||
callback(result.data);
|
callback(result.data);
|
||||||
}
|
}
|
||||||
} else {
|
} 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 data = OC.Share.loadItem(itemType, itemSource);
|
||||||
var html = '<div id="dropdown" class="drop" data-item-type="'+itemType+'" data-item-source="'+itemSource+'">';
|
var html = '<div id="dropdown" class="drop" data-item-type="'+itemType+'" data-item-source="'+itemSource+'">';
|
||||||
if (data.reshare) {
|
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>';
|
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 {
|
} else {
|
||||||
html += '<span class="reshare">'+t('core', 'Shared with you by %s', data.reshare.uid_owner)+'</span>';
|
html += '<span class="reshare">'+t('core', 'Shared with you by %s', data.reshare.uid_owner)+'</span>';
|
||||||
|
|
Loading…
Reference in New Issue