mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
"MDL-13766, added more language strings for repository api"
This commit is contained in:
parent
6876783acd
commit
362a728f81
@ -1,7 +1,8 @@
|
||||
<?php //$Id$
|
||||
$string['accessiblefilepicker']='Accessible file picker';
|
||||
$string['activerepository'] = 'Active repository plugins';
|
||||
$string['add'] = 'Add...';
|
||||
$string['add'] = 'Add';
|
||||
$string['addfile'] = 'Add...';
|
||||
$string['addplugin'] = 'Add a repository plugin';
|
||||
$string['activaterep'] = 'Active repositories';
|
||||
$string['areabackup'] = 'Backups';
|
||||
@ -16,6 +17,7 @@ $string['attachedfiles'] = 'Attached files';
|
||||
$string['back'] = '< Back';
|
||||
$string['cacheexpire'] = 'Cache expire';
|
||||
$string['cachecleared'] = 'Cached files are removed';
|
||||
$string['cannotaccessparentwin'] = 'If parent window is on HTTPS, then we are not allowed to access window.opener object, so we cannot refresh the repository for you automatically, but we already got your session, just go back to file picker and select the repository again, it should work now.';
|
||||
$string['cannotdelete'] = 'Cannot delete this file.';
|
||||
$string['cannotdownload'] = 'Cannot download this file';
|
||||
$string['cannotinitplugin'] = 'Call plugin_init failed';
|
||||
@ -81,6 +83,7 @@ $string['preview'] = 'Preview';
|
||||
$string['popup'] = 'Click "Login" button to login';
|
||||
$string['readonlyinstance'] = 'You cannot edit/delete a read-only instance';
|
||||
$string['refresh'] = 'Refresh';
|
||||
$string['refreshnonjsfilepicker'] = 'Please clos this window and refresh non-javascript file picker';
|
||||
$string['removed'] = 'Repository removed';
|
||||
$string['repository'] = 'Repository';
|
||||
$string['repositorycourse'] = 'Course repositories';
|
||||
|
@ -1,5 +1,6 @@
|
||||
<?php // $Id$
|
||||
$string['configplugin'] = 'Configuration for local file repository';
|
||||
$string['currentusefiles'] = 'Current use files';
|
||||
$string['repositoryname'] = 'Local files';
|
||||
$string['repositorydesc'] = 'Repository on the local Moodle server';
|
||||
$string['notitle'] = 'notitle';
|
||||
|
@ -216,7 +216,7 @@ class repository_boxnet extends repository {
|
||||
echo '<td><input type="password" name="boxpassword" /></td></tr>';
|
||||
echo '<input type="hidden" name="ticket" value="'.$t['ticket'].'" />';
|
||||
echo '</table>';
|
||||
echo '<input type="submit" value="Enter" />';
|
||||
echo '<input type="submit" value="'.get_string('enter', 'repository').'" />';
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -250,7 +250,7 @@ default:
|
||||
}
|
||||
echo '</ul>';
|
||||
}
|
||||
echo '<div><a href="'.$url.'&action=plugins">'.get_string('add', 'repository').'</a></div>';
|
||||
echo '<div><a href="'.$url.'&action=plugins">'.get_string('addfile', 'repository').'</a></div>';
|
||||
print_footer('empty');
|
||||
break;
|
||||
}
|
||||
|
@ -133,7 +133,7 @@ class repository_flickr extends repository {
|
||||
$ret['login'] = array($popup_btn);
|
||||
return $ret;
|
||||
} else {
|
||||
echo '<a target="_blank" href="'.$this->flickr->auth().'">Login</a>';
|
||||
echo '<a target="_blank" href="'.$this->flickr->auth().'">'.get_string('login', 'repository').'</a>';
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -182,7 +182,7 @@ class repository_flickr_public extends repository {
|
||||
echo '</table>';
|
||||
|
||||
echo '<input type="hidden" name="action" value="search" />';
|
||||
echo '<input type="submit" value="Search" />';
|
||||
echo '<input type="submit" value="'.get_string('search', 'repository').'" />';
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -89,7 +89,7 @@ class repository_local extends repository {
|
||||
$context = get_system_context();
|
||||
// append draft files directory
|
||||
$node = array(
|
||||
'title' => 'Current use files',
|
||||
'title' => get_string('currentusefiles', 'repository_local'),
|
||||
'size' => 0,
|
||||
'date' => '',
|
||||
'path' => 'draft',
|
||||
|
Loading…
x
Reference in New Issue
Block a user