Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import locale
- class IOR:
- __version_taskbar = 0.5
- __version_appbar = 0.2
- currentLocale = locale.getdefaultlocale()[0]
- settings = {
- "ru_RU":{
- "settingsWidgetCategories":[
- #top categories menu#
- ("Офис","applications-office",18),
- ("Обучение","user-bookmarks",18),
- ("Система","user-home",18),
- ("Настройки","emblem-system",18),
- ],
- "settingsResources":{
- "folderWorkdir":{
- "rootUserFolder":"workdir/",
- "programming":[
- "Программирование",
- "Pascal",
- "Basic",
- "C++",
- "C",
- "Python",
- "HTML",
- "CSS",
- "JavaScript",
- ],
- "naturalscience":[
- "Точные науки"
- "Физика",
- "Математика",
- ],
- "otherscience":[
- "Прочие науки",
- "Русский язык",
- "Литература",
- "История",
- "Обществоведение",
- ],
- },
- "folderResources":"resources/",
- "folderModules":"modules/",
- "folderThemes":"themes/",
- "folderThemeName":"standard/",
- "fileCss":"theme.css",
- "folderCssTerminal":"wpsterminal/",
- "folderIcons":"icons/",
- "folderSounds":"sounds/",
- "folderPictures":"pictures/",
- "bashrc":".bashrc",
- },
- "settingsApplications":{
- #put here your applications#
- #"Category name":{#
- #"Program name":"path or system name",#
- #. . .#
- #},#
- },
- "settingsWindows":{
- "windowMainBool":True,
- "buttonMenuSlideBool":None,
- },
- "settingsTitles":{
- "taskbarMain":"taskbar v.%s" % __version_taskbar,
- "buttonMenuSlideOpen":"Открыть меню",
- "buttonMenuSlideClose":"Скрыть меню",
- "appbarMain":"appbar v.%s" % __version_appbar,
- },
- }}#end
- root = IOR.settings[IOR.currentLocale]["settingsWidgetCategories"]
- # print([i[1] for i in root])
- for i in range(len([i[0] for i in root])):
- print(root[i][1],root[i][2])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement