Skip to content

Commit 99f8a53

Browse files
committed
Get rid of the .mo extension
1 parent 46eaa19 commit 99f8a53

29 files changed

+52
-52
lines changed

extern.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,8 @@ function authenticate_user($user, $password, $password_is_hash = false)
229229
User::get()->is_guest = false;
230230
}
231231

232-
translate('common.mo');
233-
translate('index.mo');
232+
translate('common');
233+
translate('index');
234234
}
235235

236236
// If we're a guest and we've sent a username/pass, we can try to authenticate using those details

featherbb/Controller/Admin/Bans.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Bans
1919
public function __construct()
2020
{
2121
$this->model = new \FeatherBB\Model\Admin\Bans();
22-
translate('admin/bans.mo');
22+
translate('admin/bans');
2323

2424
if (User::get()->g_id != ForumEnv::get('FEATHER_ADMIN') && (User::get()->g_moderator != '1' || User::get()->g_mod_ban_users == '0')) {
2525
throw new Error(__('No permission'), '403');

featherbb/Controller/Admin/Categories.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Categories
2020
public function __construct()
2121
{
2222
$this->model = new \FeatherBB\Model\Admin\Categories();
23-
translate('admin/categories.mo');
23+
translate('admin/categories');
2424
}
2525

2626
public function add($req, $res, $args)

featherbb/Controller/Admin/Censoring.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Censoring
1717
public function __construct()
1818
{
1919
$this->model = new \FeatherBB\Model\Admin\Censoring();
20-
translate('admin/censoring.mo');
20+
translate('admin/censoring');
2121
}
2222

2323
public function display($req, $res, $args)

featherbb/Controller/Admin/Forums.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Forums
1919
public function __construct()
2020
{
2121
$this->model = new \FeatherBB\Model\Admin\Forums();
22-
translate('admin/forums.mo');
22+
translate('admin/forums');
2323
}
2424

2525
public function add()

featherbb/Controller/Admin/Groups.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Groups
1818
public function __construct()
1919
{
2020
$this->model = new \FeatherBB\Model\Admin\Groups();
21-
translate('admin/groups.mo');
21+
translate('admin/groups');
2222
}
2323

2424
public function display($req, $res, $args)

featherbb/Controller/Admin/Index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Index
1818
{
1919
public function __construct()
2020
{
21-
translate('admin/index.mo');
21+
translate('admin/index');
2222
}
2323

2424
public function display($req, $res, $args)

featherbb/Controller/Admin/Maintenance.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Maintenance
1717
public function __construct()
1818
{
1919
$this->model = new \FeatherBB\Model\Admin\Maintenance();
20-
translate('admin/maintenance.mo');
20+
translate('admin/maintenance');
2121
}
2222

2323
public function display($req, $res, $args)

featherbb/Controller/Admin/Options.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Options
1717
public function __construct()
1818
{
1919
$this->model = new \FeatherBB\Model\Admin\Options();
20-
translate('admin/options.mo');
20+
translate('admin/options');
2121
}
2222

2323
public function display($req, $res, $args)

featherbb/Controller/Admin/Parser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Parser
1919
public function __construct()
2020
{
2121
$this->model = new \FeatherBB\Model\Admin\Parser();
22-
translate('admin/parser.mo');
22+
translate('admin/parser');
2323
}
2424

2525
public function display($req, $res, $args)

0 commit comments

Comments
 (0)