# -*- coding: utf-8 -*-
# auto-generated file

from PyQt5.QtWidgets import QAction, QFrame, QLabel, QMenu, QMenuBar, QSplitter, QStatusBar, QToolBar, QToolButton, QWidget

def retranslate(window):
    class UI:
        __slots__ = ()
        centralwidget = window.findChild(QWidget, 'centralwidget')
        frame_editbar = window.findChild(QFrame, 'frame_editbar')
        button_edit_exec = window.findChild(QToolButton, 'button_edit_exec')
        button_edit_clear = window.findChild(QToolButton, 'button_edit_clear')
        splitter = window.findChild(QSplitter, 'splitter')
        layoutWidget = window.findChild(QWidget, 'layoutWidget')
        label_debug_text = window.findChild(QLabel, 'label_debug_text')
        box_sidepane = window.findChild(QWidget, 'box_sidepane')
        menubar = window.findChild(QMenuBar, 'menubar')
        menuGame = window.findChild(QMenu, 'menuGame')
        menuEdit = window.findChild(QMenu, 'menuEdit')
        menuView = window.findChild(QMenu, 'menuView')
        menuHelp = window.findChild(QMenu, 'menuHelp')
        statusbar = window.findChild(QStatusBar, 'statusbar')
        toolbar = window.findChild(QToolBar, 'toolbar')
        action_new = window.findChild(QAction, 'action_new')
        action_new_solved = window.findChild(QAction, 'action_new_solved')
        action_quit = window.findChild(QAction, 'action_quit')
        action_selectmodel = window.findChild(QAction, 'action_selectmodel')
        action_initial_state = window.findChild(QAction, 'action_initial_state')
        action_reset_rotation = window.findChild(QAction, 'action_reset_rotation')
        action_preferences = window.findChild(QAction, 'action_preferences')
        action_toolbar = window.findChild(QAction, 'action_toolbar')
        action_statusbar = window.findChild(QAction, 'action_statusbar')
        action_info = window.findChild(QAction, 'action_info')
        action_rewind = window.findChild(QAction, 'action_rewind')
        action_previous = window.findChild(QAction, 'action_previous')
        action_stop = window.findChild(QAction, 'action_stop')
        action_play = window.findChild(QAction, 'action_play')
        action_next = window.findChild(QAction, 'action_next')
        action_forward = window.findChild(QAction, 'action_forward')
        action_add_mark = window.findChild(QAction, 'action_add_mark')
        action_remove_mark = window.findChild(QAction, 'action_remove_mark')
        action_editbar = window.findChild(QAction, 'action_editbar')
        action_help = window.findChild(QAction, 'action_help')
    ui = UI()

    window.setWindowTitle(_('Pybik'))
    ui.menuGame.setProperty('title', _('&Game'))
    ui.menuEdit.setProperty('title', _('&Edit'))
    ui.menuView.setProperty('title', _('&View'))
    ui.menuHelp.setProperty('title', _('&Help'))
    ui.action_new.setProperty('text', _('&New Random'))
    window.addAction(ui.action_new)
    ui.action_new_solved.setProperty('text', _('Ne&w Solved'))
    window.addAction(ui.action_new_solved)
    ui.action_quit.setProperty('text', _('&Quit'))
    window.addAction(ui.action_quit)
    ui.action_selectmodel.setProperty('text', _('&Select Puzzle …'))
    window.addAction(ui.action_selectmodel)
    ui.action_initial_state.setProperty('text', _('&Set as Initial State'))
    window.addAction(ui.action_initial_state)
    ui.action_reset_rotation.setProperty('text', _('&Reset Rotation'))
    window.addAction(ui.action_reset_rotation)
    ui.action_preferences.setProperty('text', _('&Preferences …'))
    window.addAction(ui.action_preferences)
    ui.action_toolbar.setProperty('text', _('&Toolbar'))
    window.addAction(ui.action_toolbar)
    ui.action_statusbar.setProperty('text', _('&Status Bar'))
    window.addAction(ui.action_statusbar)
    ui.action_info.setProperty('text', _('&Info …'))
    window.addAction(ui.action_info)
    ui.action_rewind.setProperty('text', _('Rewind'))
    window.addAction(ui.action_rewind)
    ui.action_rewind.setProperty('toolTip', _('Go to the previous mark (or the beginning) of the sequence of moves'))
    window.addAction(ui.action_rewind)
    ui.action_previous.setProperty('text', _('Previous'))
    window.addAction(ui.action_previous)
    ui.action_previous.setProperty('toolTip', _('Make one step backwards'))
    window.addAction(ui.action_previous)
    ui.action_stop.setProperty('text', _('Stop'))
    window.addAction(ui.action_stop)
    ui.action_stop.setProperty('toolTip', _('Stop'))
    window.addAction(ui.action_stop)
    ui.action_play.setProperty('text', _('Play'))
    window.addAction(ui.action_play)
    ui.action_play.setProperty('toolTip', _('Run forward through the sequence of moves'))
    window.addAction(ui.action_play)
    ui.action_next.setProperty('text', _('Next'))
    window.addAction(ui.action_next)
    ui.action_next.setProperty('toolTip', _('Make one step forwards'))
    window.addAction(ui.action_next)
    ui.action_forward.setProperty('text', _('Forward'))
    window.addAction(ui.action_forward)
    ui.action_forward.setProperty('toolTip', _('Go to the next mark (or the end) of the sequence of moves'))
    window.addAction(ui.action_forward)
    ui.action_add_mark.setProperty('text', _('Add Mark'))
    window.addAction(ui.action_add_mark)
    ui.action_add_mark.setProperty('toolTip', _('Mark the current place in the sequence of moves'))
    window.addAction(ui.action_add_mark)
    ui.action_remove_mark.setProperty('text', _('Remove Mark'))
    window.addAction(ui.action_remove_mark)
    ui.action_remove_mark.setProperty('toolTip', _('Remove the mark at the current place in the sequence of moves'))
    window.addAction(ui.action_remove_mark)
    ui.action_editbar.setProperty('text', _('&Edit Bar'))
    window.addAction(ui.action_editbar)
    ui.action_help.setProperty('text', _('&Help …'))
    window.addAction(ui.action_help)
    ui.action_help.setProperty('iconText', _('Help'))
    window.addAction(ui.action_help)

    return ui

