Fixed some language strings in file picker

This commit is contained in:
moodler
2008-09-03 05:55:35 +00:00
parent d0dfe9491d
commit d0b5d122b1
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -37,14 +37,14 @@ $string['manageurl'] = 'Manage';
$string['manageuserrepository'] = 'Manage individual repository';
$string['noenter'] = 'Nothing entered';
$string['operation'] = 'Operation';
$string['openpicker'] = 'Open file picker';
$string['openpicker'] = 'Choose a file...';
$string['plugin'] = 'Repository plug-ins';
$string['preview'] = 'Preview';
$string['removed'] = 'Repository removed';
$string['repository'] = 'Repository';
$string['repositories'] = 'Repositories';
$string['save'] = 'Save';
$string['saveas'] = 'Save As';
$string['saveas'] = 'Save as';
$string['saved'] = 'Saved';
$string['saving'] = 'Saving';
$string['settings'] = 'Settings';
+2 -1
View File
@@ -1079,6 +1079,7 @@ function repository_get_client($context){
$strsaveas = get_string('saveas', 'repository').': ';
$stradd = get_string('add', 'repository');
$strback = get_string('back', 'repository');
$strcancel = get_string('cancel');
$strclose = get_string('close', 'repository');
$strcopying = get_string('copying', 'repository');
$strdownbtn = get_string('getfile', 'repository');
@@ -1333,7 +1334,7 @@ _client.rename = function(oldname, url, icon){
html += '<p><input type="hidden" id="fileurl-$suffix" value="'+url+'" />';
html += '<a href="###" onclick="repository_client_$suffix.viewfiles()">$strback</a> ';
html += '<input type="button" onclick="repository_client_$suffix.download()" value="$strdownbtn" />';
html += '<input type="button" onclick="repository_client_$suffix.hide()" value="Cancle" /></p>';
html += '<input type="button" onclick="repository_client_$suffix.hide()" value="$strcancel" /></p>';
html += '</div>';
panel.get('element').innerHTML = html;
}