#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'prefs_project_advanced.ui'
**
** Created by: Qt User Interface Compiler version 5.6.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_PREFS_PROJECT_ADVANCED_H
#define UI_PREFS_PROJECT_ADVANCED_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "kurlrequester.h"
#include "prefs.h"

QT_BEGIN_NAMESPACE

class Ui_project_advanced
{
public:
    QVBoxLayout *vboxLayout;
    QGroupBox *groupBox;
    QFormLayout *formLayout;
    QLabel *l0;
    QLineEdit *kcfg_Accel;
    QLabel *l1;
    QLineEdit *kcfg_Markup;
    QGroupBox *groupBox_2;
    QFormLayout *formLayout_2;
    QLabel *l2;
    KUrlRequester *potBaseDir;
    QLabel *l3;
    KUrlRequester *branchDir;
    QLabel *l4;
    KUrlRequester *altDir;
    RelPathSaver *kcfg_PotBaseDir;
    RelPathSaver *kcfg_BranchDir;
    RelPathSaver *kcfg_AltDir;
    QSpacerItem *verticalSpacer;

    void setupUi(QWidget *project_advanced)
    {
        if (project_advanced->objectName().isEmpty())
            project_advanced->setObjectName(QStringLiteral("project_advanced"));
        project_advanced->resize(611, 419);
        vboxLayout = new QVBoxLayout(project_advanced);
        vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
        groupBox = new QGroupBox(project_advanced);
        groupBox->setObjectName(QStringLiteral("groupBox"));
        formLayout = new QFormLayout(groupBox);
        formLayout->setObjectName(QStringLiteral("formLayout"));
        l0 = new QLabel(groupBox);
        l0->setObjectName(QStringLiteral("l0"));

        formLayout->setWidget(0, QFormLayout::LabelRole, l0);

        kcfg_Accel = new QLineEdit(groupBox);
        kcfg_Accel->setObjectName(QStringLiteral("kcfg_Accel"));

        formLayout->setWidget(0, QFormLayout::FieldRole, kcfg_Accel);

        l1 = new QLabel(groupBox);
        l1->setObjectName(QStringLiteral("l1"));
        l1->setWordWrap(false);

        formLayout->setWidget(1, QFormLayout::LabelRole, l1);

        kcfg_Markup = new QLineEdit(groupBox);
        kcfg_Markup->setObjectName(QStringLiteral("kcfg_Markup"));

        formLayout->setWidget(1, QFormLayout::FieldRole, kcfg_Markup);


        vboxLayout->addWidget(groupBox);

        groupBox_2 = new QGroupBox(project_advanced);
        groupBox_2->setObjectName(QStringLiteral("groupBox_2"));
        formLayout_2 = new QFormLayout(groupBox_2);
        formLayout_2->setObjectName(QStringLiteral("formLayout_2"));
        formLayout_2->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
        l2 = new QLabel(groupBox_2);
        l2->setObjectName(QStringLiteral("l2"));
        l2->setWordWrap(false);

        formLayout_2->setWidget(0, QFormLayout::LabelRole, l2);

        potBaseDir = new KUrlRequester(groupBox_2);
        potBaseDir->setObjectName(QStringLiteral("potBaseDir"));
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(potBaseDir->sizePolicy().hasHeightForWidth());
        potBaseDir->setSizePolicy(sizePolicy);

        formLayout_2->setWidget(0, QFormLayout::FieldRole, potBaseDir);

        l3 = new QLabel(groupBox_2);
        l3->setObjectName(QStringLiteral("l3"));
        l3->setWordWrap(false);

        formLayout_2->setWidget(1, QFormLayout::LabelRole, l3);

        branchDir = new KUrlRequester(groupBox_2);
        branchDir->setObjectName(QStringLiteral("branchDir"));
        sizePolicy.setHeightForWidth(branchDir->sizePolicy().hasHeightForWidth());
        branchDir->setSizePolicy(sizePolicy);

        formLayout_2->setWidget(1, QFormLayout::FieldRole, branchDir);

        l4 = new QLabel(groupBox_2);
        l4->setObjectName(QStringLiteral("l4"));
        l4->setWordWrap(false);

        formLayout_2->setWidget(2, QFormLayout::LabelRole, l4);

        altDir = new KUrlRequester(groupBox_2);
        altDir->setObjectName(QStringLiteral("altDir"));
        sizePolicy.setHeightForWidth(altDir->sizePolicy().hasHeightForWidth());
        altDir->setSizePolicy(sizePolicy);

        formLayout_2->setWidget(2, QFormLayout::FieldRole, altDir);


        vboxLayout->addWidget(groupBox_2);

        kcfg_PotBaseDir = new RelPathSaver(project_advanced);
        kcfg_PotBaseDir->setObjectName(QStringLiteral("kcfg_PotBaseDir"));

        vboxLayout->addWidget(kcfg_PotBaseDir);

        kcfg_BranchDir = new RelPathSaver(project_advanced);
        kcfg_BranchDir->setObjectName(QStringLiteral("kcfg_BranchDir"));

        vboxLayout->addWidget(kcfg_BranchDir);

        kcfg_AltDir = new RelPathSaver(project_advanced);
        kcfg_AltDir->setObjectName(QStringLiteral("kcfg_AltDir"));

        vboxLayout->addWidget(kcfg_AltDir);

        verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);

        vboxLayout->addItem(verticalSpacer);


        retranslateUi(project_advanced);

        QMetaObject::connectSlotsByName(project_advanced);
    } // setupUi

    void retranslateUi(QWidget *project_advanced)
    {
        groupBox->setTitle(tr2i18n("Syntax", 0));
        l0->setText(tr2i18n("Accelerator:", "@label:textbox"));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_Accel->setToolTip(tr2i18n("Usually '&', but may also be '_' for GTK apps.", 0));
#endif // QT_NO_TOOLTIP
        l1->setText(tr2i18n("Markup:", "@label:textbox"));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_Markup->setToolTip(tr2i18n("Regular expression of markup. It is used for translation memory matching and for 'Insert tag' feature.\n"
"\n"
"A default value (suitable for XML-based texts) is:\n"
"(<[^>]+>)+|(&[A-Za-z_:][A-Za-z0-9_\\.:-]*;)+\n"
"\n"
"It is only used for gettext PO files, as XLIFF format has its own way of specifying where markup is.", 0));
#endif // QT_NO_TOOLTIP
        groupBox_2->setTitle(tr2i18n("Paths", 0));
        l2->setText(tr2i18n("Template files folder:", "@label:textbox"));
#ifndef UI_QT_NO_TOOLTIP
        potBaseDir->setToolTip(tr2i18n("Usually your translation project will be a subproject of a project\n"
"for translating same texts into multiple languages.\n"
"\n"
"Set this to path of a folder containing empty translation files\n"
"(i.e. files without translation into any language)\n"
"shared among all subprojects.", 0));
#endif // QT_NO_TOOLTIP
        l3->setText(tr2i18n("Branch folder:", "@label:textbox"));
#ifndef UI_QT_NO_TOOLTIP
        branchDir->setToolTip(tr2i18n("This setting is for Sync Mode.\n"
"\n"
"Sync Mode may be used to make changes to translation\n"
"for two branches simultaneously.\n"
"\n"
"Set this to path that corresponds to root folder of the branch project,\n"
"and Secondary Sync view will automatically open files from branch.\n"
"Then, each time you make changes in files of your main branch,\n"
"they will automatically be replicated to the branch\n"
"(of course, if it contains the same English string).\n"
"\n"
"See documentation for more details.", "this message contains text from documentation, so use its translation when you're translating docs"));
#endif // QT_NO_TOOLTIP
        l4->setText(tr2i18n("Alternate translations folder:", "@label:textbox"));
#ifndef UI_QT_NO_TOOLTIP
        altDir->setToolTip(tr2i18n("Set this to path of a folder with structure similar to Root Folder.\n"
"\n"
"On each translation file open, a corresponding file in Alternate translations directory will be looked up and,\n"
"if it is found, it will be used for Alternate Translations view.\n"
"\n"
"You will likely want to use translations of another target language (i.e. another subproject), which is close to yours.\n"
"Also, you can use other subproject's translations either immediately, or have them pretranslated to your language by machine.\n"
"\n"
"See documentation for more details.", "this message contains text from documentation, so use its translation when you're translating docs"));
#endif // QT_NO_TOOLTIP
        Q_UNUSED(project_advanced);
    } // retranslateUi

};

namespace Ui {
    class project_advanced: public Ui_project_advanced {};
} // namespace Ui

QT_END_NAMESPACE

#endif // PREFS_PROJECT_ADVANCED_H

