Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
f80e3199
Commit
f80e3199
authored
Feb 08, 2015
by
Fabio Bas
Browse files
Added translations for oracle; fix #293
Translations have been updated.
parent
25747a09
Changes
23
Expand all
Hide whitespace changes
Inline
Side-by-side
oracle/src/oraclewizard.h
View file @
f80e3199
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
class
QCheckBox
;
class
QCheckBox
;
class
QGroupBox
;
class
QGroupBox
;
class
QComboBox
;
class
QLabel
;
class
QLabel
;
class
QLineEdit
;
class
QLineEdit
;
class
QRadioButton
;
class
QRadioButton
;
...
@@ -25,9 +26,17 @@ public:
...
@@ -25,9 +26,17 @@ public:
void
accept
();
void
accept
();
void
enableButtons
();
void
enableButtons
();
void
disableButtons
();
void
disableButtons
();
void
retranslateUi
();
public:
public:
OracleImporter
*
importer
;
OracleImporter
*
importer
;
QSettings
*
settings
;
QSettings
*
settings
;
private
slots
:
void
updateLanguage
();
private:
QStringList
findQmFiles
();
QString
languageName
(
const
QString
&
qmFile
);
protected:
void
changeEvent
(
QEvent
*
event
);
};
};
...
@@ -36,6 +45,7 @@ class OracleWizardPage : public QWizardPage
...
@@ -36,6 +45,7 @@ class OracleWizardPage : public QWizardPage
Q_OBJECT
Q_OBJECT
public:
public:
OracleWizardPage
(
QWidget
*
parent
=
0
)
:
QWizardPage
(
parent
)
{};
OracleWizardPage
(
QWidget
*
parent
=
0
)
:
QWizardPage
(
parent
)
{};
virtual
void
retranslateUi
()
=
0
;
protected:
protected:
inline
OracleWizard
*
wizard
()
{
return
(
OracleWizard
*
)
QWizardPage
::
wizard
();
};
inline
OracleWizard
*
wizard
()
{
return
(
OracleWizard
*
)
QWizardPage
::
wizard
();
};
};
};
...
@@ -44,9 +54,16 @@ class IntroPage : public OracleWizardPage
...
@@ -44,9 +54,16 @@ class IntroPage : public OracleWizardPage
{
{
Q_OBJECT
Q_OBJECT
public:
public:
IntroPage
(
QWidget
*
parent
=
0
);
IntroPage
(
QWidget
*
parent
=
0
);
void
retranslateUi
();
private:
private:
QLabel
*
label
;
QStringList
findQmFiles
();
QString
languageName
(
const
QString
&
qmFile
);
private:
QLabel
*
label
,
*
languageLabel
;
QComboBox
*
languageBox
;
private
slots
:
void
languageBoxChanged
(
int
index
);
};
};
class
LoadSetsPage
:
public
OracleWizardPage
class
LoadSetsPage
:
public
OracleWizardPage
...
@@ -54,6 +71,7 @@ class LoadSetsPage : public OracleWizardPage
...
@@ -54,6 +71,7 @@ class LoadSetsPage : public OracleWizardPage
Q_OBJECT
Q_OBJECT
public:
public:
LoadSetsPage
(
QWidget
*
parent
=
0
);
LoadSetsPage
(
QWidget
*
parent
=
0
);
void
retranslateUi
();
protected:
protected:
void
initializePage
();
void
initializePage
();
bool
validatePage
();
bool
validatePage
();
...
@@ -85,6 +103,7 @@ class ChooseSetsPage : public OracleWizardPage
...
@@ -85,6 +103,7 @@ class ChooseSetsPage : public OracleWizardPage
Q_OBJECT
Q_OBJECT
public:
public:
ChooseSetsPage
(
QWidget
*
parent
=
0
);
ChooseSetsPage
(
QWidget
*
parent
=
0
);
void
retranslateUi
();
protected:
protected:
void
initializePage
();
void
initializePage
();
bool
validatePage
();
bool
validatePage
();
...
@@ -103,6 +122,7 @@ class SaveSetsPage : public OracleWizardPage
...
@@ -103,6 +122,7 @@ class SaveSetsPage : public OracleWizardPage
Q_OBJECT
Q_OBJECT
public:
public:
SaveSetsPage
(
QWidget
*
parent
=
0
);
SaveSetsPage
(
QWidget
*
parent
=
0
);
void
retranslateUi
();
private:
private:
QTextEdit
*
messageLog
;
QTextEdit
*
messageLog
;
QCheckBox
*
defaultPathCheckBox
;
QCheckBox
*
defaultPathCheckBox
;
...
...
oracle/translations/oracle_en.ts
0 → 100644
View file @
f80e3199
This diff is collapsed.
Click to expand it.
oracle/translations/oracle_it.ts
0 → 100644
View file @
f80e3199
This diff is collapsed.
Click to expand it.
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment