Skip to content

Commit 833d014

Browse files
committed
Use new gettext function
1 parent 2d9eb78 commit 833d014

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BbcodeToolbar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function run()
2929

3030
public function addLanguage($data)
3131
{
32-
load_textdomain('bbcode-toolbar', dirname(__FILE__).'/lang/'.Container::get('user')->language.'/bbeditor.mo');
32+
translate('bbeditor', 'bbcode-toolbar');
3333
$lang_bbeditor = array(
3434
'btnBold' => __('btnBold', 'bbcode-toolbar'),
3535
'btnItalic' => __('btnItalic', 'bbcode-toolbar'),

0 commit comments

Comments
 (0)