from gettext import gettext as _

from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(1000, 600)
        MainWindow.setMinimumSize(QtCore.QSize(200, 200))
        self.centralwidget = QtWidgets.QWidget(parent=MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.centralwidget)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.stackedWidget = QtWidgets.QStackedWidget(parent=self.centralwidget)
        self.stackedWidget.setObjectName("stackedWidget")
        self.horizontalLayout.addWidget(self.stackedWidget)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(parent=MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 1000, 24))
        self.menubar.setObjectName("menubar")
        self.menuFile = QtWidgets.QMenu(parent=self.menubar)
        self.menuFile.setObjectName("menuFile")
        self.menuView = QtWidgets.QMenu(parent=self.menubar)
        self.menuView.setObjectName("menuView")
        self.menuChat = QtWidgets.QMenu(parent=self.menubar)
        self.menuChat.setObjectName("menuChat")
        self.menuUsers = QtWidgets.QMenu(parent=self.menubar)
        self.menuUsers.setObjectName("menuUsers")
        self.menuHelp = QtWidgets.QMenu(parent=self.menubar)
        self.menuHelp.setObjectName("menuHelp")
        MainWindow.setMenuBar(self.menubar)
        self.actionQuit = QtGui.QAction(parent=MainWindow)
        self.actionQuit.setObjectName("actionQuit")
        self.actionHide = QtGui.QAction(parent=MainWindow)
        self.actionHide.setObjectName("actionHide")
        self.actionSettings = QtGui.QAction(parent=MainWindow)
        self.actionSettings.setObjectName("actionSettings")
        self.actionReset_zoom = QtGui.QAction(parent=MainWindow)
        self.actionReset_zoom.setObjectName("actionReset_zoom")
        self.actionZoom_in = QtGui.QAction(parent=MainWindow)
        self.actionZoom_in.setObjectName("actionZoom_in")
        self.actionZoom_out = QtGui.QAction(parent=MainWindow)
        self.actionZoom_out.setObjectName("actionZoom_out")
        self.actionToggle_full_screen = QtGui.QAction(parent=MainWindow)
        self.actionToggle_full_screen.setObjectName("actionToggle_full_screen")
        self.actionOpen_DevTools = QtGui.QAction(parent=MainWindow)
        self.actionOpen_DevTools.setObjectName("actionOpen_DevTools")
        self.actionGrid_view = QtGui.QAction(parent=MainWindow)
        self.actionGrid_view.setObjectName("actionGrid_view")
        self.actionToggle_sidebar = QtGui.QAction(parent=MainWindow)
        self.actionToggle_sidebar.setCheckable(True)
        self.actionToggle_sidebar.setObjectName("actionToggle_sidebar")
        self.actionTheme_auto = QtGui.QAction(parent=MainWindow)
        self.actionTheme_auto.setCheckable(True)
        self.actionTheme_auto.setObjectName("actionTheme_auto")
        self.actionTheme_light = QtGui.QAction(parent=MainWindow)
        self.actionTheme_light.setCheckable(True)
        self.actionTheme_light.setObjectName("actionTheme_light")
        self.actionTheme_dark = QtGui.QAction(parent=MainWindow)
        self.actionTheme_dark.setCheckable(True)
        self.actionTheme_dark.setObjectName("actionTheme_dark")
        self.actionReload = QtGui.QAction(parent=MainWindow)
        self.actionReload.setObjectName("actionReload")
        self.actionNew_chat = QtGui.QAction(parent=MainWindow)
        self.actionNew_chat.setObjectName("actionNew_chat")
        self.actionBy_phone_number = QtGui.QAction(parent=MainWindow)
        self.actionBy_phone_number.setObjectName("actionBy_phone_number")
        self.actionShortcuts = QtGui.QAction(parent=MainWindow)
        self.actionShortcuts.setObjectName("actionShortcuts")
        self.actionSobre_o_ZapZap = QtGui.QAction(parent=MainWindow)
        self.actionSobre_o_ZapZap.setObjectName("actionSobre_o_ZapZap")
        self.menuFile.addAction(self.actionSettings)
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.actionHide)
        self.menuFile.addAction(self.actionQuit)
        self.menuView.addAction(self.actionGrid_view)
        self.menuView.addAction(self.actionOpen_DevTools)
        self.menuView.addSeparator()
        self.menuView.addAction(self.actionToggle_sidebar)
        self.menuView.addAction(self.actionToggle_full_screen)
        self.menuView.addSeparator()
        self.menuView.addAction(self.actionTheme_auto)
        self.menuView.addAction(self.actionTheme_light)
        self.menuView.addAction(self.actionTheme_dark)
        self.menuView.addSeparator()
        self.menuView.addAction(self.actionReset_zoom)
        self.menuView.addAction(self.actionZoom_in)
        self.menuView.addAction(self.actionZoom_out)
        self.menuChat.addAction(self.actionReload)
        self.menuChat.addSeparator()
        self.menuChat.addAction(self.actionNew_chat)
        self.menuChat.addAction(self.actionBy_phone_number)
        self.menuHelp.addAction(self.actionShortcuts)
        self.menuHelp.addAction(self.actionSobre_o_ZapZap)
        self.menubar.addAction(self.menuFile.menuAction())
        self.menubar.addAction(self.menuView.menuAction())
        self.menubar.addAction(self.menuChat.menuAction())
        self.menubar.addAction(self.menuUsers.menuAction())
        self.menubar.addAction(self.menuHelp.menuAction())

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        
        MainWindow.setWindowTitle(_("ZapZap"))
        self.menuFile.setTitle(_("File"))
        self.menuView.setTitle(_("View"))
        self.menuChat.setTitle(_("Chat"))
        self.menuUsers.setTitle(_("Users"))
        self.menuHelp.setTitle(_("Help"))
        self.actionQuit.setText(_("Quit"))
        self.actionQuit.setShortcut(_("Ctrl+Q"))
        self.actionHide.setText(_("Hide"))
        self.actionHide.setShortcut(_("Ctrl+W"))
        self.actionSettings.setText(_("Settings"))
        self.actionSettings.setShortcut(_("Ctrl+P"))
        self.actionReset_zoom.setText(_("Reset zoom"))
        self.actionReset_zoom.setShortcut(_("Ctrl+0"))
        self.actionZoom_in.setText(_("Zoom in"))
        self.actionZoom_in.setShortcut(_("Ctrl++"))
        self.actionZoom_out.setText(_("Zoom out"))
        self.actionZoom_out.setShortcut(_("Ctrl+-"))
        self.actionToggle_full_screen.setText(_("Toggle full screen"))
        self.actionToggle_full_screen.setShortcut(_("F11"))
        self.actionOpen_DevTools.setText(_("Open DevTools"))
        self.actionOpen_DevTools.setShortcut(_("Ctrl+Shift+I"))
        self.actionGrid_view.setText(_("Grid View"))
        self.actionGrid_view.setShortcut(_("Ctrl+G"))
        self.actionToggle_sidebar.setText(_("Show sidebar"))
        self.actionTheme_auto.setText(_("Automatic theme"))
        self.actionTheme_auto.setShortcut(_("Ctrl+Alt+1"))
        self.actionTheme_light.setText(_("Light theme"))
        self.actionTheme_light.setShortcut(_("Ctrl+Alt+2"))
        self.actionTheme_dark.setText(_("Dark theme"))
        self.actionTheme_dark.setShortcut(_("Ctrl+Alt+3"))
        self.actionReload.setText(_("Reload"))
        self.actionReload.setShortcut(_("F5"))
        self.actionNew_chat.setText(_("New chat"))
        self.actionNew_chat.setShortcut(_("Ctrl+N"))
        self.actionBy_phone_number.setText(_("By number phone"))
        self.actionBy_phone_number.setShortcut(_("Ctrl+M"))
        self.actionShortcuts.setText(_("Keyboard shortcuts"))
        self.actionShortcuts.setShortcut(_("Ctrl+Shift+/, Ctrl+?"))
        self.actionSobre_o_ZapZap.setText(_("About"))


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    MainWindow = QtWidgets.QMainWindow()
    ui = Ui_MainWindow()
    ui.setupUi(MainWindow)
    MainWindow.show()
    sys.exit(app.exec())
