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

from PyQt5.QtWidgets import QDialogButtonBox, QLabel, QTabWidget, QTextBrowser, QWidget

def retranslate(window):
    class UI:
        __slots__ = ()
        label_icon = window.findChild(QLabel, 'label_icon')
        label_appname = window.findChild(QLabel, 'label_appname')
        label_version = window.findChild(QLabel, 'label_version')
        label_description = window.findChild(QLabel, 'label_description')
        tab_widget = window.findChild(QTabWidget, 'tab_widget')
        tab_about = window.findChild(QWidget, 'tab_about')
        label_copyright = window.findChild(QLabel, 'label_copyright')
        label_website = window.findChild(QLabel, 'label_website')
        label_translators = window.findChild(QLabel, 'label_translators')
        text_translators = window.findChild(QTextBrowser, 'text_translators')
        tab_feedback = window.findChild(QWidget, 'tab_feedback')
        label_feedback = window.findChild(QLabel, 'label_feedback')
        tab_translation = window.findChild(QWidget, 'tab_translation')
        label_translation = window.findChild(QLabel, 'label_translation')
        tab_license = window.findChild(QWidget, 'tab_license')
        text_license_short = window.findChild(QTextBrowser, 'text_license_short')
        text_license_full = window.findChild(QTextBrowser, 'text_license_full')
        buttonBox = window.findChild(QDialogButtonBox, 'buttonBox')
    ui = UI()

    window.setWindowTitle(_('About Pybik'))
    ui.tab_widget.setTabText(ui.tab_widget.indexOf(ui.tab_about), _('About'))
    ui.label_translators.setProperty('text', _('Translators:'))
    ui.tab_widget.setTabText(ui.tab_widget.indexOf(ui.tab_feedback), _('Feedback'))
    ui.tab_widget.setTabText(ui.tab_widget.indexOf(ui.tab_translation), _('Translate'))
    ui.tab_widget.setTabText(ui.tab_widget.indexOf(ui.tab_license), _('License'))

    return ui

