Skip to content

Commit 40b6a7b

Browse files
committed
feat(utils): expose translateText function
1 parent 4d81fca commit 40b6a7b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/base/api/utils.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import some from '../../utils/some.js';
1212
import TabManager from '../../utils/tabbedView.js';
1313
import rand from '../../utils/rand.js';
1414
import SettingType from '../../utils/settings/types/setting.js';
15+
import { translateText } from '../../utils/translate.js';
1516

1617
const utils = api.mod.utils;
1718

@@ -35,6 +36,7 @@ utils.notify = notify;
3536
utils.shuffle = shuffle;
3637
utils.some = some;
3738
utils.tabManager = TabManager;
39+
utils.translateText = translateText;
3840
utils.VarStore = VarStore;
3941
utils.rand = rand;
4042
utils.SettingType = SettingType;

0 commit comments

Comments
 (0)