mirror of
https://github.com/moodle/moodle.git
synced 2025-04-16 14:02:32 +02:00
MDL-15252 renaming the default implementation string_manager
We should not use the term 'amos' in Moodle core. core_string_manager follows the naming style we already have in renderers.
This commit is contained in:
parent
d730eae98b
commit
71d2465de9
@ -5671,7 +5671,7 @@ function get_string_manager() {
|
||||
|
||||
if ($singleton === null) {
|
||||
if (empty($CFG->early_install_lang)) {
|
||||
$singleton = new amos_string_manager($CFG->langotherroot, $CFG->langlocalroot);
|
||||
$singleton = new core_string_manager($CFG->langotherroot, $CFG->langlocalroot);
|
||||
} else {
|
||||
$singleton = new install_string_manager();
|
||||
}
|
||||
@ -5724,7 +5724,7 @@ interface string_manager {
|
||||
|
||||
|
||||
/**
|
||||
* Low level string getching implementation.
|
||||
* Standard string_manager implementation
|
||||
*
|
||||
* TODO: implement lang precompilation
|
||||
*
|
||||
@ -5732,7 +5732,7 @@ interface string_manager {
|
||||
* @copyright 2010 Petr Skoda (http://skodak.org)
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class amos_string_manager implements string_manager {
|
||||
class core_string_manager implements string_manager {
|
||||
/** @var string location of all packs except 'en' */
|
||||
protected $otherroot;
|
||||
/** @var string location of all lang pack local modifications */
|
||||
|
Loading…
x
Reference in New Issue
Block a user