- new french translation files - initialize locale and gettext in Core\Context constructor - new Core\Context::t() function for translations and arguments.
13 lines
269 B
PHP
13 lines
269 B
PHP
<?php
|
|
namespace Memcache_UI\Page {
|
|
|
|
use Memcache_UI\Core\Element;
|
|
use Memcache_UI\Core\Context;
|
|
|
|
class Main extends Base {
|
|
public function build() {
|
|
parent::build();
|
|
$this->setBody(new Element('p', NULL, Context::t("Hello world\n")));
|
|
}
|
|
}
|
|
}
|