forked from Shinonome/dots-hyprland
Add left sidebar translation
This commit is contained in:
@@ -5,7 +5,7 @@ import Mpris from 'resource:///com/github/Aylur/ags/service/mpris.js';
|
||||
import Variable from 'resource:///com/github/Aylur/ags/variable.js';
|
||||
import * as Utils from 'resource:///com/github/Aylur/ags/utils.js';
|
||||
const { exec, execAsync } = Utils;
|
||||
import { init as i18n_init, setLanguage as i18n_setLanguage } from './i18n/i18n.js'
|
||||
import { init as i18n_init, getString } from './i18n/i18n.js'
|
||||
//init i18n, Load language file
|
||||
i18n_init()
|
||||
// i18n_setLanguage('zh_CN') //Manual configuration
|
||||
@@ -18,7 +18,7 @@ export const showColorScheme = Variable(false, {})
|
||||
globalThis['openMusicControls'] = showMusicControls;
|
||||
globalThis['openColorScheme'] = showColorScheme;
|
||||
globalThis['mpris'] = Mpris;
|
||||
|
||||
globalThis['getString'] = getString
|
||||
// load monitor shell modes from userOptions
|
||||
const initialMonitorShellModes = () => {
|
||||
const numberOfMonitors = Gdk.Display.get_default()?.get_n_monitors() || 1;
|
||||
|
||||
Reference in New Issue
Block a user