diff options
-rw-r--r-- | gui/lang/nl_NL.ts | 4 | ||||
-rw-r--r-- | gui/lang/ru_RU.ts | 4 | ||||
-rw-r--r-- | gui/lang/stub.ts | 4 | ||||
-rw-r--r-- | gui/lang/zh_CN.ts | 4 | ||||
-rw-r--r-- | gui/mapping-dialog.cpp | 6 |
5 files changed, 19 insertions, 3 deletions
diff --git a/gui/lang/nl_NL.ts b/gui/lang/nl_NL.ts index 64ee0621..60b84189 100644 --- a/gui/lang/nl_NL.ts +++ b/gui/lang/nl_NL.ts @@ -121,6 +121,10 @@ Press "clear calibration" to remove any calibration data pertaining to <source>%1°</source> <translation type="unfinished"></translation> </message> + <message> + <source>%1 cm</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>options_dialog</name> diff --git a/gui/lang/ru_RU.ts b/gui/lang/ru_RU.ts index 8e3ca4a7..d40b4775 100644 --- a/gui/lang/ru_RU.ts +++ b/gui/lang/ru_RU.ts @@ -121,6 +121,10 @@ Press "clear calibration" to remove any calibration data pertaining to <source>%1°</source> <translation></translation> </message> + <message> + <source>%1 cm</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>options_dialog</name> diff --git a/gui/lang/stub.ts b/gui/lang/stub.ts index 932f4348..b383a0d8 100644 --- a/gui/lang/stub.ts +++ b/gui/lang/stub.ts @@ -121,6 +121,10 @@ Press "clear calibration" to remove any calibration data pertaining to <source>%1°</source> <translation type="unfinished"></translation> </message> + <message> + <source>%1 cm</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>options_dialog</name> diff --git a/gui/lang/zh_CN.ts b/gui/lang/zh_CN.ts index 45414302..fa2d512c 100644 --- a/gui/lang/zh_CN.ts +++ b/gui/lang/zh_CN.ts @@ -122,6 +122,10 @@ Press "clear calibration" to remove any calibration data pertaining to <source>%1°</source> <translation></translation> </message> + <message> + <source>%1 cm</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>options_dialog</name> diff --git a/gui/mapping-dialog.cpp b/gui/mapping-dialog.cpp index 0bfb5068..8a5147cf 100644 --- a/gui/mapping-dialog.cpp +++ b/gui/mapping-dialog.cpp @@ -130,9 +130,9 @@ void mapping_dialog::load() auto update_xstep = [&qfc](int clamp_x) { int value; - if (clamp_x <= c::r20) + if (clamp_x <= c::r30) value = 1; - else if (clamp_x <= c::r30) + else if (clamp_x <= c::r45) value = 5; else value = 10; @@ -146,7 +146,7 @@ void mapping_dialog::load() { default: case c::o_r180: - value = 15; break; + value = 20; break; case c::o_r90: value = 10; break; case c::o_t75: |