initial fluent-widgets ui
This commit is contained in:
21
app/common/translator.py
Normal file
21
app/common/translator.py
Normal file
@ -0,0 +1,21 @@
|
||||
# coding: utf-8
|
||||
from PySide6.QtCore import QObject
|
||||
|
||||
|
||||
class Translator(QObject):
|
||||
|
||||
def __init__(self, parent=None):
|
||||
super().__init__(parent=parent)
|
||||
self.text = self.tr('Text')
|
||||
self.view = self.tr('View')
|
||||
self.menus = self.tr('Menus & toolbars')
|
||||
self.icons = self.tr('Icons')
|
||||
self.layout = self.tr('Layout')
|
||||
self.dialogs = self.tr('Dialogs & flyouts')
|
||||
self.scroll = self.tr('Scrolling')
|
||||
self.material = self.tr('Material')
|
||||
self.dateTime = self.tr('Date & time')
|
||||
self.navigation = self.tr('Navigation')
|
||||
self.basicInput = self.tr('Basic input')
|
||||
self.statusInfo = self.tr('Status & info')
|
||||
self.price = self.tr("Price")
|
||||
Reference in New Issue
Block a user