Superscript (#635)

* Use superscript 2 and 3 as appropriate
This commit is contained in:
Adam Shanks 2022-06-05 07:55:52 -05:00 committed by GitHub
parent 3775dbd44e
commit 61c5bea9a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
35 changed files with 38 additions and 38 deletions

View File

@ -745,5 +745,5 @@ msgstr ""
msgid "mm/s"
msgstr ""
msgid "mm/s^2"
msgid "mm/s²"
msgstr ""

View File

@ -752,8 +752,8 @@ msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
msgid "mm/s²"
msgstr "mm/s²"
#~ msgid "Displayed Macros"
#~ msgstr "Viste makroer"

View File

@ -769,8 +769,8 @@ msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
msgid "mm/s²"
msgstr "mm/s²"
#~ msgid "Displayed Macros"
#~ msgstr "Aktive Macros"

View File

@ -740,5 +740,5 @@ msgstr ""
msgid "mm/s"
msgstr ""
msgid "mm/s^2"
msgid "mm/s²"
msgstr ""

View File

@ -757,8 +757,8 @@ msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
msgid "mm/s²"
msgstr "mm/s²"
#~ msgid "Displayed Macros"
#~ msgstr "Macros mostrados"

View File

@ -755,8 +755,8 @@ msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
msgid "mm/s²"
msgstr "mm/s²"
#~ msgid "Displayed Macros"
#~ msgstr "Macros affichées"

View File

@ -766,8 +766,8 @@ msgstr "מ''מ"
msgid "mm/s"
msgstr "מ\"מ/ש"
msgid "mm/s^2"
msgstr "mm/s^2"
msgid "mm/s²"
msgstr "mm/s²"
#~ msgid "Displayed Macros"
#~ msgstr "מוצגים מאקרו"

View File

@ -752,8 +752,8 @@ msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
msgid "mm/s²"
msgstr "mm/s²"
#~ msgid "Displayed Macros"
#~ msgstr "Megjelenített makrók"

View File

@ -752,8 +752,8 @@ msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
msgid "mm/s²"
msgstr "mm/s²"
#~ msgid "Displayed Macros"
#~ msgstr "Mostra/Nascondi Macros"

View File

@ -749,8 +749,8 @@ msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
msgid "mm/s²"
msgstr "mm/s²"
#~ msgid "Displayed Macros"
#~ msgstr "표시할 매크로"

View File

@ -755,10 +755,10 @@ msgid "mm"
msgstr "mm"
msgid "mm/s"
msgstr "mm/s^2"
msgstr "mm/s²"
msgid "mm/s^2"
msgstr "mm/s^2"
msgid "mm/s²"
msgstr "mm/s²"
#~ msgid "Displayed Macros"
#~ msgstr "Wyświetlone Makra"

View File

@ -7,7 +7,7 @@ msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-06-02 14:53-0300\n"
"PO-Revision-Date: 2022-03-31 11:10-0300\n"
"PO-Revision-Date: 2022-06-03 20:25-0500\n"
"Last-Translator: Jakob Kais <schpuntik@freenet.de>\n"
"Language-Team: \n"
"Language: ru_RU\n"
@ -759,8 +759,8 @@ msgstr "мм"
msgid "mm/s"
msgstr "мм/с"
msgid "mm/s^2"
msgstr "мм/с^2"
msgid "mm/s²"
msgstr "мм/с²"
#~ msgid "Displayed Macros"
#~ msgstr "Показать макросы"

View File

@ -757,8 +757,8 @@ msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
msgid "mm/s²"
msgstr "mm/s²"
#~ msgid "Displayed Macros"
#~ msgstr "Makron visas"

View File

@ -757,8 +757,8 @@ msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
msgid "mm/s²"
msgstr "mm/s²"
#~ msgid "Displayed Macros"
#~ msgstr "Görüntülenen Makrolar"

View File

@ -761,5 +761,5 @@ msgstr "мм"
msgid "mm/s"
msgstr "мм/с"
msgid "mm/s^2"
msgid "mm/s²"
msgstr "мм/с²"

View File

@ -750,8 +750,8 @@ msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
msgid "mm/s²"
msgstr "mm/s²"
#~ msgid "Displayed Macros"
#~ msgstr "宏命令显示开关"

View File

@ -750,8 +750,8 @@ msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
msgid "mm/s²"
msgstr "mm/s²"
#~ msgid "Displayed Macros"
#~ msgstr "顯示巨集"

View File

@ -554,7 +554,7 @@ class JobStatusPanel(ScreenPanel):
self.labels['temp_grid'].attach(self.extruder_button[self.current_extruder], 0, 0, 1, 1)
self._screen.show_all()
if "max_accel" in data["toolhead"]:
self.labels['max_accel'].set_text("%d mm/s2" % (data["toolhead"]["max_accel"]))
self.labels['max_accel'].set_text("%d mm/s²" % (data["toolhead"]["max_accel"]))
if "extruder" in data and "pressure_advance" in data['extruder']:
self.labels['advance'].set_text("%.2f" % data['extruder']['pressure_advance'])
@ -665,11 +665,11 @@ class JobStatusPanel(ScreenPanel):
self.flowrate = (self.flowrate + median(array(self.flowstore))) / 2
self.flowstore = []
self.labels['flowrate'].set_label("%.1f mm3/s" % self.flowrate)
self.labels['flowrate'].set_label("%.1f mm³/s" % self.flowrate)
self.labels['req_speed'].set_text("%d/%d mm/s" % (self.vel, self.req_speed))
if self.main_status_displayed:
self.speed_button.set_label("%3d%% %5d mm/s" % (self.speed, self.vel))
self.extrusion_button.set_label("%3d%% %5.1f mm3/s" % (self.extrusion, self.flowrate))
self.extrusion_button.set_label("%3d%% %5.1f mm³/s" % (self.extrusion, self.flowrate))
return True
def calculate_time_left(self, duration=0, filament_used=0):

View File

@ -26,9 +26,9 @@ class LimitsPanel(ScreenPanel):
conf = self._printer.get_config_section("printer")
self.options = [
{"name": _("Max Acceleration"), "units": _("mm/s^2"), "option": "max_accel",
{"name": _("Max Acceleration"), "units": _("mm/s²"), "option": "max_accel",
"max": self.stn(conf['max_accel'])},
{"name": _("Max Acceleration to Deceleration"), "units": _("mm/s^2"), "option": "max_accel_to_decel",
{"name": _("Max Acceleration to Deceleration"), "units": _("mm/s²"), "option": "max_accel_to_decel",
"max": self.stn(conf['max_accel_to_decel']) if "max_accel_to_decel" in conf else
round(self.stn(conf['max_accel']) / 2)},
{"name": _("Max Velocity"), "units": _("mm/s"), "option": "max_velocity",