mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-23 16:22:58 +03:00
Polish language has been added to the designer
This commit is contained in:
parent
e211838595
commit
4fb39eaf35
@ -127,7 +127,7 @@ RCC_DIR = $${ARCH_DIR}/$${BUILD_TYPE}/rcc
|
||||
|
||||
LIMEREPORT_VERSION_MAJOR = 1
|
||||
LIMEREPORT_VERSION_MINOR = 5
|
||||
LIMEREPORT_VERSION_RELEASE = 1
|
||||
LIMEREPORT_VERSION_RELEASE = 2
|
||||
|
||||
LIMEREPORT_VERSION = '$${LIMEREPORT_VERSION_MAJOR}.$${LIMEREPORT_VERSION_MINOR}.$${LIMEREPORT_VERSION_RELEASE}'
|
||||
DEFINES *= LIMEREPORT_VERSION_STR=\\\"$${LIMEREPORT_VERSION}\\\"
|
||||
|
@ -15,10 +15,11 @@ void DesignerSettingManager::getAvailableLanguages(QList<QLocale::Language>* lan
|
||||
{
|
||||
languages->append(QLocale::Russian);
|
||||
languages->append(QLocale::English);
|
||||
languages->append(QLocale::Arabic);
|
||||
// languages->append(QLocale::Arabic);
|
||||
languages->append(QLocale::French);
|
||||
languages->append(QLocale::Chinese);
|
||||
languages->append(QLocale::Spanish);
|
||||
languages->append(QLocale::Polish);
|
||||
}
|
||||
|
||||
QLocale::Language DesignerSettingManager::getCurrentDefaultLanguage()
|
||||
|
@ -12,7 +12,6 @@ class DesignerSettingManager : public QObject
|
||||
public:
|
||||
explicit DesignerSettingManager(QObject *parent = 0);
|
||||
~DesignerSettingManager();
|
||||
void setApplicationInstance(QApplication* application);
|
||||
public slots:
|
||||
void getAvailableLanguages(QList<QLocale::Language>* languages);
|
||||
QLocale::Language getCurrentDefaultLanguage();
|
||||
|
@ -176,7 +176,7 @@ public:
|
||||
bool isOwned() const {return true;}
|
||||
bool isEditable() const {return true;}
|
||||
bool isRemovable() const {return true;}
|
||||
void invalidate(IDataSource::DatasourceMode mode, bool dbWillBeClosed){ updateModel();}
|
||||
void invalidate(IDataSource::DatasourceMode mode, bool /*dbWillBeClosed*/){ updateModel();}
|
||||
void update(){ updateModel(); }
|
||||
void clearErrors(){}
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user