Make texture style settings translatable
This commit is contained in:
parent
0cfe439e95
commit
729859d3b7
1 changed files with 8 additions and 8 deletions
|
@ -537,21 +537,21 @@ int TTextureStyle::getParamCount() const { return 8; }
|
||||||
QString TTextureStyle::getParamNames(int index) const {
|
QString TTextureStyle::getParamNames(int index) const {
|
||||||
switch (index) {
|
switch (index) {
|
||||||
case 0:
|
case 0:
|
||||||
return "Load From File";
|
return QObject::tr("Load From File");
|
||||||
case 1:
|
case 1:
|
||||||
return "Use As Pattern";
|
return QObject::tr("Use As Pattern");
|
||||||
case 2:
|
case 2:
|
||||||
return "Position";
|
return QObject::tr("Position");
|
||||||
case 3:
|
case 3:
|
||||||
return "Scale";
|
return QObject::tr("Scale");
|
||||||
case 4:
|
case 4:
|
||||||
return "Rotation(degrees)";
|
return QObject::tr("Rotation(degrees)");
|
||||||
case 5:
|
case 5:
|
||||||
return "X displ";
|
return QObject::tr("X displ");
|
||||||
case 6:
|
case 6:
|
||||||
return "Y displ";
|
return QObject::tr("Y displ");
|
||||||
case 7:
|
case 7:
|
||||||
return "Contrast";
|
return QObject::tr("Contrast");
|
||||||
default:
|
default:
|
||||||
assert(false);
|
assert(false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue