# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'preferences.ui'
#
# Created: Sun Mar 21 10:46:17 2010
#      by: PyQt4 UI code generator 4.7
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_PreferencesDialog(object):
    def setupUi(self, PreferencesDialog):
        PreferencesDialog.setObjectName("PreferencesDialog")
        PreferencesDialog.setWindowModality(QtCore.Qt.WindowModal)
        PreferencesDialog.resize(614, 369)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(PreferencesDialog.sizePolicy().hasHeightForWidth())
        PreferencesDialog.setSizePolicy(sizePolicy)
        PreferencesDialog.setSizeGripEnabled(False)
        PreferencesDialog.setModal(True)
        self.verticalLayout_5 = QtGui.QVBoxLayout(PreferencesDialog)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.tabWidget = QtGui.QTabWidget(PreferencesDialog)
        self.tabWidget.setTabPosition(QtGui.QTabWidget.North)
        self.tabWidget.setTabShape(QtGui.QTabWidget.Triangular)
        self.tabWidget.setObjectName("tabWidget")
        self.tab = QtGui.QWidget()
        self.tab.setObjectName("tab")
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.tab)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.label_56 = QtGui.QLabel(self.tab)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_56.sizePolicy().hasHeightForWidth())
        self.label_56.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setWeight(75)
        font.setBold(True)
        self.label_56.setFont(font)
        self.label_56.setObjectName("label_56")
        self.verticalLayout_4.addWidget(self.label_56)
        self.scrollArea = QtGui.QScrollArea(self.tab)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.scrollArea.sizePolicy().hasHeightForWidth())
        self.scrollArea.setSizePolicy(sizePolicy)
        self.scrollArea.setMinimumSize(QtCore.QSize(0, 150))
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName("scrollArea")
        self.scrollAreaWidgetContents = QtGui.QWidget(self.scrollArea)
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 584, 252))
        self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.scrollAreaWidgetContents)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.optionFilterLangLayout_1 = QtGui.QVBoxLayout()
        self.optionFilterLangLayout_1.setSpacing(5)
        self.optionFilterLangLayout_1.setObjectName("optionFilterLangLayout_1")
        self.horizontalLayout_2.addLayout(self.optionFilterLangLayout_1)
        self.optionFilterLangLayout_2 = QtGui.QVBoxLayout()
        self.optionFilterLangLayout_2.setSpacing(5)
        self.optionFilterLangLayout_2.setObjectName("optionFilterLangLayout_2")
        self.horizontalLayout_2.addLayout(self.optionFilterLangLayout_2)
        self.optionFilterLangLayout_3 = QtGui.QVBoxLayout()
        self.optionFilterLangLayout_3.setSpacing(5)
        self.optionFilterLangLayout_3.setObjectName("optionFilterLangLayout_3")
        self.horizontalLayout_2.addLayout(self.optionFilterLangLayout_3)
        self.optionFilterLangLayout_4 = QtGui.QVBoxLayout()
        self.optionFilterLangLayout_4.setSpacing(5)
        self.optionFilterLangLayout_4.setObjectName("optionFilterLangLayout_4")
        self.horizontalLayout_2.addLayout(self.optionFilterLangLayout_4)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.verticalLayout_4.addWidget(self.scrollArea)
        self.tabWidget.addTab(self.tab, "")
        self.tab_6 = QtGui.QWidget()
        self.tab_6.setObjectName("tab_6")
        self.verticalLayout = QtGui.QVBoxLayout(self.tab_6)
        self.verticalLayout.setObjectName("verticalLayout")
        self.groupBox = QtGui.QGroupBox(self.tab_6)
        font = QtGui.QFont()
        font.setWeight(50)
        font.setItalic(False)
        font.setBold(False)
        self.groupBox.setFont(font)
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout_6 = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.optionDownloadFolderAsk = QtGui.QRadioButton(self.groupBox)
        self.optionDownloadFolderAsk.setObjectName("optionDownloadFolderAsk")
        self.verticalLayout_6.addWidget(self.optionDownloadFolderAsk)
        self.optionDownloadFolderSame = QtGui.QRadioButton(self.groupBox)
        self.optionDownloadFolderSame.setChecked(True)
        self.optionDownloadFolderSame.setObjectName("optionDownloadFolderSame")
        self.verticalLayout_6.addWidget(self.optionDownloadFolderSame)
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.optionDownloadFolderPredefined = QtGui.QRadioButton(self.groupBox)
        self.optionDownloadFolderPredefined.setObjectName("optionDownloadFolderPredefined")
        self.horizontalLayout_6.addWidget(self.optionDownloadFolderPredefined)
        self.optionPredefinedFolderText = QtGui.QLineEdit(self.groupBox)
        self.optionPredefinedFolderText.setReadOnly(True)
        self.optionPredefinedFolderText.setObjectName("optionPredefinedFolderText")
        self.horizontalLayout_6.addWidget(self.optionPredefinedFolderText)
        self.optionButtonChooseFolder = QtGui.QPushButton(self.groupBox)
        self.optionButtonChooseFolder.setObjectName("optionButtonChooseFolder")
        self.horizontalLayout_6.addWidget(self.optionButtonChooseFolder)
        self.verticalLayout_6.addLayout(self.horizontalLayout_6)
        self.verticalLayout.addWidget(self.groupBox)
        self.groupBox_2 = QtGui.QGroupBox(self.tab_6)
        self.groupBox_2.setObjectName("groupBox_2")
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox_2)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.optionDownloadSameFilename = QtGui.QRadioButton(self.groupBox_2)
        self.optionDownloadSameFilename.setChecked(True)
        self.optionDownloadSameFilename.setObjectName("optionDownloadSameFilename")
        self.verticalLayout_2.addWidget(self.optionDownloadSameFilename)
        self.optionDownloadSameFilenamePlusLang = QtGui.QRadioButton(self.groupBox_2)
        self.optionDownloadSameFilenamePlusLang.setChecked(False)
        self.optionDownloadSameFilenamePlusLang.setObjectName("optionDownloadSameFilenamePlusLang")
        self.verticalLayout_2.addWidget(self.optionDownloadSameFilenamePlusLang)
        self.optionDownloadSameFilenamePlusLangAndUploader = QtGui.QRadioButton(self.groupBox_2)
        self.optionDownloadSameFilenamePlusLangAndUploader.setChecked(False)
        self.optionDownloadSameFilenamePlusLangAndUploader.setObjectName("optionDownloadSameFilenamePlusLangAndUploader")
        self.verticalLayout_2.addWidget(self.optionDownloadSameFilenamePlusLangAndUploader)
        self.optionDownloadOnlineSubName = QtGui.QRadioButton(self.groupBox_2)
        self.optionDownloadOnlineSubName.setObjectName("optionDownloadOnlineSubName")
        self.verticalLayout_2.addWidget(self.optionDownloadOnlineSubName)
        self.verticalLayout.addWidget(self.groupBox_2)
        self.tabWidget.addTab(self.tab_6, "")
        self.tab_8 = QtGui.QWidget()
        self.tab_8.setObjectName("tab_8")
        self.layoutWidget = QtGui.QWidget(self.tab_8)
        self.layoutWidget.setGeometry(QtCore.QRect(10, 20, 521, 52))
        self.layoutWidget.setObjectName("layoutWidget")
        self.horizontalLayout_4 = QtGui.QHBoxLayout(self.layoutWidget)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.label_55 = QtGui.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setWeight(75)
        font.setBold(True)
        self.label_55.setFont(font)
        self.label_55.setObjectName("label_55")
        self.horizontalLayout_4.addWidget(self.label_55)
        self.optionDefaultUploadLanguage = QtGui.QComboBox(self.layoutWidget)
        self.optionDefaultUploadLanguage.setMinimumSize(QtCore.QSize(0, 20))
        self.optionDefaultUploadLanguage.setObjectName("optionDefaultUploadLanguage")
        self.horizontalLayout_4.addWidget(self.optionDefaultUploadLanguage)
        self.tabWidget.addTab(self.tab_8, "")
        self.tab_9 = QtGui.QWidget()
        self.tab_9.setObjectName("tab_9")
        self.label_52 = QtGui.QLabel(self.tab_9)
        self.label_52.setGeometry(QtCore.QRect(20, 10, 131, 18))
        font = QtGui.QFont()
        font.setWeight(75)
        font.setBold(True)
        self.label_52.setFont(font)
        self.label_52.setObjectName("label_52")
        self.layoutWidget1 = QtGui.QWidget(self.tab_9)
        self.layoutWidget1.setGeometry(QtCore.QRect(20, 30, 241, 67))
        self.layoutWidget1.setObjectName("layoutWidget1")
        self.gridLayout = QtGui.QGridLayout(self.layoutWidget1)
        self.gridLayout.setObjectName("gridLayout")
        self.label_60 = QtGui.QLabel(self.layoutWidget1)
        self.label_60.setObjectName("label_60")
        self.gridLayout.addWidget(self.label_60, 0, 0, 1, 1)
        self.optionProxyHost = QtGui.QLineEdit(self.layoutWidget1)
        self.optionProxyHost.setObjectName("optionProxyHost")
        self.gridLayout.addWidget(self.optionProxyHost, 0, 1, 1, 1)
        self.label_59 = QtGui.QLabel(self.layoutWidget1)
        self.label_59.setObjectName("label_59")
        self.gridLayout.addWidget(self.label_59, 1, 0, 1, 1)
        self.optionProxyPort = QtGui.QSpinBox(self.layoutWidget1)
        self.optionProxyPort.setMaximum(99999)
        self.optionProxyPort.setProperty("value", 8080)
        self.optionProxyPort.setObjectName("optionProxyPort")
        self.gridLayout.addWidget(self.optionProxyPort, 1, 1, 1, 1)
        self.tabWidget.addTab(self.tab_9, "")
        self.tab_7 = QtGui.QWidget()
        self.tab_7.setObjectName("tab_7")
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.tab_7)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_61 = QtGui.QLabel(self.tab_7)
        font = QtGui.QFont()
        font.setWeight(75)
        font.setBold(True)
        self.label_61.setFont(font)
        self.label_61.setObjectName("label_61")
        self.horizontalLayout.addWidget(self.label_61)
        self.optionInterfaceLanguage = QtGui.QComboBox(self.tab_7)
        self.optionInterfaceLanguage.setObjectName("optionInterfaceLanguage")
        self.horizontalLayout.addWidget(self.optionInterfaceLanguage)
        self.helpTranslateButton = QtGui.QPushButton(self.tab_7)
        self.helpTranslateButton.setObjectName("helpTranslateButton")
        self.horizontalLayout.addWidget(self.helpTranslateButton)
        self.verticalLayout_3.addLayout(self.horizontalLayout)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.label_62 = QtGui.QLabel(self.tab_7)
        self.label_62.setEnabled(False)
        font = QtGui.QFont()
        font.setWeight(75)
        font.setBold(True)
        self.label_62.setFont(font)
        self.label_62.setObjectName("label_62")
        self.horizontalLayout_5.addWidget(self.label_62)
        self.optionIntegrationExplorer = QtGui.QCheckBox(self.tab_7)
        self.optionIntegrationExplorer.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.optionIntegrationExplorer.sizePolicy().hasHeightForWidth())
        self.optionIntegrationExplorer.setSizePolicy(sizePolicy)
        self.optionIntegrationExplorer.setMinimumSize(QtCore.QSize(0, 22))
        self.optionIntegrationExplorer.setObjectName("optionIntegrationExplorer")
        self.horizontalLayout_5.addWidget(self.optionIntegrationExplorer)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem)
        self.verticalLayout_3.addLayout(self.horizontalLayout_5)
        self.gridLayout_4 = QtGui.QGridLayout()
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.label_63 = QtGui.QLabel(self.tab_7)
        font = QtGui.QFont()
        font.setWeight(75)
        font.setBold(True)
        self.label_63.setFont(font)
        self.label_63.setObjectName("label_63")
        self.gridLayout_4.addWidget(self.label_63, 0, 0, 1, 2)
        self.label_67 = QtGui.QLabel(self.tab_7)
        self.label_67.setObjectName("label_67")
        self.gridLayout_4.addWidget(self.label_67, 1, 0, 1, 1)
        self.optionVideoAppLocation = QtGui.QLineEdit(self.tab_7)
        self.optionVideoAppLocation.setObjectName("optionVideoAppLocation")
        self.gridLayout_4.addWidget(self.optionVideoAppLocation, 1, 1, 1, 1)
        self.optionVideoAppChooseLocation = QtGui.QPushButton(self.tab_7)
        self.optionVideoAppChooseLocation.setObjectName("optionVideoAppChooseLocation")
        self.gridLayout_4.addWidget(self.optionVideoAppChooseLocation, 1, 2, 1, 1)
        self.label_66 = QtGui.QLabel(self.tab_7)
        self.label_66.setObjectName("label_66")
        self.gridLayout_4.addWidget(self.label_66, 2, 0, 1, 1)
        self.optionVideoAppParams = QtGui.QLineEdit(self.tab_7)
        self.optionVideoAppParams.setObjectName("optionVideoAppParams")
        self.gridLayout_4.addWidget(self.optionVideoAppParams, 2, 1, 1, 1)
        self.label_65 = QtGui.QLabel(self.tab_7)
        self.label_65.setObjectName("label_65")
        self.gridLayout_4.addWidget(self.label_65, 3, 1, 1, 2)
        self.verticalLayout_3.addLayout(self.gridLayout_4)
        self.tabWidget.addTab(self.tab_7, "")
        self.verticalLayout_5.addWidget(self.tabWidget)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        spacerItem1 = QtGui.QSpacerItem(498, 36, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem1)
        self.optionsButtonApplyChanges = QtGui.QPushButton(PreferencesDialog)
        self.optionsButtonApplyChanges.setObjectName("optionsButtonApplyChanges")
        self.horizontalLayout_3.addWidget(self.optionsButtonApplyChanges)
        self.optionsButtonCancel = QtGui.QPushButton(PreferencesDialog)
        self.optionsButtonCancel.setObjectName("optionsButtonCancel")
        self.horizontalLayout_3.addWidget(self.optionsButtonCancel)
        self.verticalLayout_5.addLayout(self.horizontalLayout_3)

        self.retranslateUi(PreferencesDialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(PreferencesDialog)

    def retranslateUi(self, PreferencesDialog):
        PreferencesDialog.setWindowTitle(_("Settings"))
        self.label_56.setText(_("Filter search results by these languages:"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _("Search"))
        self.groupBox.setTitle(_("Destination folder:"))
        self.optionDownloadFolderAsk.setText(_("Always ask user"))
        self.optionDownloadFolderSame.setText(_("Same folder as video file"))
        self.optionDownloadFolderPredefined.setText(_("Predefined folder:"))
        self.optionButtonChooseFolder.setText(_("Browse..."))
        self.groupBox_2.setTitle(_("Filename of the Subtitle:"))
        self.optionDownloadSameFilename.setText(_("Same name as video file"))
        self.optionDownloadSameFilenamePlusLang.setText(_("Same name as video file + language code (ex: StarWarsCD1.eng.srt)"))
        self.optionDownloadSameFilenamePlusLangAndUploader.setText(_("Same name as video file + language code + Uploader (ex: StarWarsCD1.eng.JohnDoe.srt)"))
        self.optionDownloadOnlineSubName.setText(_("Same name as the online subtitle"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_6), _("Download"))
        self.label_55.setText(_("Default language of uploaded subtitles"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_8), _("Upload"))
        self.label_52.setText(_("Network Proxy"))
        self.label_60.setText(_("Host:"))
        self.label_59.setText(_("Port:"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_9), _("Network"))
        self.label_61.setText(_("Interface Language:"))
        self.helpTranslateButton.setText(_("Translate This Application..."))
        self.label_62.setText(_("Context Menu:"))
        self.optionIntegrationExplorer.setText(_("Enable in your explorer"))
        self.label_63.setText(_("External application for video playback"))
        self.label_67.setText(_("Video Player:"))
        self.optionVideoAppChooseLocation.setText(_("Browse..."))
        self.label_66.setText(_("Parameters:"))
        self.label_65.setText(_("{0} = video file path; {1} = subtitle path"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_7), _("Others"))
        self.optionsButtonApplyChanges.setText(_("Save"))
        self.optionsButtonCancel.setText(_("Cancel"))

import images_rc

