fixed the bug in chamfered/expanded naming

This commit is contained in:
Zeno Rogue committed 2018-07-11 12:55:23 +02:00
1 parent 12047beb3a
commit 654796f028
1 file changed
+3 -3
+3 -3
View File
@@ -638,8 +638,8 @@ namespace hr { namespace gp {
return XLAT("OFF");
else if(param == loc(1, 1) && S3 == 3)
return XLAT("bitruncated");
else if(param == loc(2, 0) && S3 == 3)
return XLAT("chamfered");
else if(param == loc(2, 0))
return S3 == 3 ? XLAT("chamfered") : XLAT("expanded");
else if(param == loc(3, 0) && S3 == 3)
return XLAT("2x bitruncated");
else {
@@ -711,7 +711,7 @@ namespace hr { namespace gp {
}
if(show_nonthree) {
dialog::addBoolItem(XLAT(S3 == 3 ? "expanded" : "chamfered"), param == loc(2,0), 'c');
dialog::addBoolItem(XLAT(S3 == 3 ? "chamfered" : "expanded"), param == loc(2,0), 'c');
dialog::lastItem().value = "GP(2,0)";
}