From cf765c6f353a29463d5d30f4e5e82e5479bc60e1 Mon Sep 17 00:00:00 2001 From: tadeubas Date: Sat, 17 Aug 2024 09:00:12 -0300 Subject: [PATCH] fix printing.. translation --- i18n/translations/de-DE.json | 2 +- i18n/translations/es-MX.json | 2 +- i18n/translations/fr-FR.json | 2 +- i18n/translations/nl-NL.json | 2 +- i18n/translations/pl-PL.json | 2 +- i18n/translations/pt-BR.json | 2 +- i18n/translations/ru-RU.json | 2 +- i18n/translations/tr-TR.json | 2 +- i18n/translations/vi-VN.json | 2 +- src/krux/pages/print_page.py | 4 ++-- src/krux/pages/tiny_seed.py | 2 +- src/krux/translations.py | 18 +++++++++--------- 12 files changed, 21 insertions(+), 21 deletions(-) diff --git a/i18n/translations/de-DE.json b/i18n/translations/de-DE.json index 37937819..a16446f6 100644 --- a/i18n/translations/de-DE.json +++ b/i18n/translations/de-DE.json @@ -186,7 +186,7 @@ "Print?": "Drucken?", "Printer": "Drucker", "Printer Driver not set!": "Druckertreiber nicht gesetzt!", - "Printing": "Wird gedruckt", + "Printing..": "Wird gedruckt..", "Proceed anyway?": "Trotzdem fortfahren?", "Proceed?": "Weiter?", "Processing..": "Wird bearbeitet..", diff --git a/i18n/translations/es-MX.json b/i18n/translations/es-MX.json index d908a0bb..295b162c 100644 --- a/i18n/translations/es-MX.json +++ b/i18n/translations/es-MX.json @@ -186,7 +186,7 @@ "Print?": "¿Impresión?", "Printer": "Impresora", "Printer Driver not set!": "¡El controlador de impresora no está configurado!", - "Printing": "Imprimiendo", + "Printing..": "Imprimiendo..", "Proceed anyway?": "¿Proceder de todas maneras?", "Proceed?": "¿Continuar?", "Processing..": "Procesando..", diff --git a/i18n/translations/fr-FR.json b/i18n/translations/fr-FR.json index 3ae50329..c44e3b72 100644 --- a/i18n/translations/fr-FR.json +++ b/i18n/translations/fr-FR.json @@ -186,7 +186,7 @@ "Print?": "Imprimer ?", "Printer": "Imprimante", "Printer Driver not set!": "Le conducteur d'imprimante n'est pas défini !", - "Printing": "Impression", + "Printing..": "Impression..", "Proceed anyway?": "Procéder quand même ?", "Proceed?": "Procéder ?", "Processing..": "Traitement..", diff --git a/i18n/translations/nl-NL.json b/i18n/translations/nl-NL.json index 0e4e56e5..2307b12d 100644 --- a/i18n/translations/nl-NL.json +++ b/i18n/translations/nl-NL.json @@ -186,7 +186,7 @@ "Print?": "Afdrukken?", "Printer": "Printer", "Printer Driver not set!": "Printer driver niet ingesteld!", - "Printing": "Afdrukken", + "Printing..": "Afdrukken..", "Proceed anyway?": "Toch doorgaan?", "Proceed?": "Doorgaan?", "Processing..": "Verwerken..", diff --git a/i18n/translations/pl-PL.json b/i18n/translations/pl-PL.json index 0f86e52b..408d05eb 100644 --- a/i18n/translations/pl-PL.json +++ b/i18n/translations/pl-PL.json @@ -186,7 +186,7 @@ "Print?": "Wydrukować?", "Printer": "Drukarka", "Printer Driver not set!": "Sterownik drukarki nie jest ustawiony!", - "Printing": "Drukowanie", + "Printing..": "Drukowanie..", "Proceed anyway?": "Kontynuować mimo to?", "Proceed?": "Przystępować?", "Processing..": "Przetwarzanie..", diff --git a/i18n/translations/pt-BR.json b/i18n/translations/pt-BR.json index ecdd87c0..7fdd4f01 100644 --- a/i18n/translations/pt-BR.json +++ b/i18n/translations/pt-BR.json @@ -186,7 +186,7 @@ "Print?": "Imprimir?", "Printer": "Impressora", "Printer Driver not set!": "Driver de impressora não está definido!", - "Printing": "Imprimindo", + "Printing..": "Imprimindo..", "Proceed anyway?": "Continuar mesmo assim?", "Proceed?": "Seguir?", "Processing..": "Processando..", diff --git a/i18n/translations/ru-RU.json b/i18n/translations/ru-RU.json index aadeb872..6cea763b 100644 --- a/i18n/translations/ru-RU.json +++ b/i18n/translations/ru-RU.json @@ -186,7 +186,7 @@ "Print?": "Печатать?", "Printer": "Принтер", "Printer Driver not set!": "Драйвер Принтера не установлен!", - "Printing": "Идет печать", + "Printing..": "Идет печать..", "Proceed anyway?": "Все равно продолжить?", "Proceed?": "Продолжить?", "Processing..": "Обработка..", diff --git a/i18n/translations/tr-TR.json b/i18n/translations/tr-TR.json index 850f49cf..3647caff 100644 --- a/i18n/translations/tr-TR.json +++ b/i18n/translations/tr-TR.json @@ -186,7 +186,7 @@ "Print?": "Yazdırılsın mı?", "Printer": "Yazıcı", "Printer Driver not set!": "Yazıcı Sürücüsü ayarlanmadı!", - "Printing": "Yazdırılıyor", + "Printing..": "Yazdırılıyor..", "Proceed anyway?": "Yine de devam edilsin mi?", "Proceed?": "Devam edilsin mi?", "Processing..": "İşleniyor..", diff --git a/i18n/translations/vi-VN.json b/i18n/translations/vi-VN.json index 4ba201aa..65100788 100644 --- a/i18n/translations/vi-VN.json +++ b/i18n/translations/vi-VN.json @@ -186,7 +186,7 @@ "Print?": "In?", "Printer": "Máy in", "Printer Driver not set!": "Trình điều khiển máy in chưa được cài đặt!", - "Printing": "Đang in", + "Printing..": "Đang in..", "Proceed anyway?": "Vẫn tiếp tục?", "Proceed?": "Thực hiện?", "Processing..": "Đang xử lý..", diff --git a/src/krux/pages/print_page.py b/src/krux/pages/print_page.py index cf9d5ede..b3782f19 100644 --- a/src/krux/pages/print_page.py +++ b/src/krux/pages/print_page.py @@ -42,7 +42,7 @@ def _send_qr_to_printer(self, qr_code, i=0, count=1): self.ctx.display.draw_centered_text(t("Exporting to SD card..")) else: self.ctx.display.draw_centered_text( - t("Printing") + "\n%d / %d" % (i + 1, count) + t("Printing..") + "\n%d / %d" % (i + 1, count) ) self.printer.print_qr_code(qr_code) @@ -71,7 +71,7 @@ def print_mnemonic_text(self, mnemonic, suffix=""): """Prints Mnemonics words as text""" self.ctx.display.clear() self.ctx.display.draw_hcentered_text( - t("Printing") + "..", self.ctx.display.height() // 2 + t("Printing.."), self.ctx.display.height() // 2 ) self.printer.print_string("BIP39" + " " + suffix + "\n\n") words = mnemonic.split(" ") diff --git a/src/krux/pages/tiny_seed.py b/src/krux/pages/tiny_seed.py index 3ade4513..b40e3aa7 100644 --- a/src/krux/pages/tiny_seed.py +++ b/src/krux/pages/tiny_seed.py @@ -179,7 +179,7 @@ def print_tiny_seed(self): pad_y = 8 # 2mm*8px self.ctx.display.clear() self.ctx.display.draw_hcentered_text( - t("Printing") + "..", self.ctx.display.height() // 2 + t("Printing.."), self.ctx.display.height() // 2 ) self.printer.print_string("Tiny Seed\n\n") for page in range(len(words) // 12): diff --git a/src/krux/translations.py b/src/krux/translations.py index 6f6bb90f..b201de44 100644 --- a/src/krux/translations.py +++ b/src/krux/translations.py @@ -209,7 +209,7 @@ 3339507095: "Drucken?", 1123106929: "Drucker", 3903571079: "Druckertreiber nicht gesetzt!", - 3388542885: "Wird gedruckt", + 3586624216: "Wird gedruckt..", 3593149291: "Trotzdem fortfahren?", 2580599003: "Weiter?", 3108881025: "Wird bearbeitet..", @@ -503,7 +503,7 @@ 3339507095: "¿Impresión?", 1123106929: "Impresora", 3903571079: "¡El controlador de impresora no está configurado!", - 3388542885: "Imprimiendo", + 3586624216: "Imprimiendo..", 3593149291: "¿Proceder de todas maneras?", 2580599003: "¿Continuar?", 3108881025: "Procesando..", @@ -797,7 +797,7 @@ 3339507095: "Imprimer\u2009?", 1123106929: "Imprimante", 3903571079: "Le conducteur d'imprimante n'est pas défini\u2009!", - 3388542885: "Impression", + 3586624216: "Impression..", 3593149291: "Procéder quand même\u2009?", 2580599003: "Procéder\u2009?", 3108881025: "Traitement..", @@ -1091,7 +1091,7 @@ 3339507095: "Afdrukken?", 1123106929: "Printer", 3903571079: "Printer driver niet ingesteld!", - 3388542885: "Afdrukken", + 3586624216: "Afdrukken..", 3593149291: "Toch doorgaan?", 2580599003: "Doorgaan?", 3108881025: "Verwerken..", @@ -1385,7 +1385,7 @@ 3339507095: "Wydrukować?", 1123106929: "Drukarka", 3903571079: "Sterownik drukarki nie jest ustawiony!", - 3388542885: "Drukowanie", + 3586624216: "Drukowanie..", 3593149291: "Kontynuować mimo to?", 2580599003: "Przystępować?", 3108881025: "Przetwarzanie..", @@ -1679,7 +1679,7 @@ 3339507095: "Imprimir?", 1123106929: "Impressora", 3903571079: "Driver de impressora não está definido!", - 3388542885: "Imprimindo", + 3586624216: "Imprimindo..", 3593149291: "Continuar mesmo assim?", 2580599003: "Seguir?", 3108881025: "Processando..", @@ -1973,7 +1973,7 @@ 3339507095: "Печатать?", 1123106929: "Принтер", 3903571079: "Драйвер Принтера не установлен!", - 3388542885: "Идет печать", + 3586624216: "Идет печать..", 3593149291: "Все равно продолжить?", 2580599003: "Продолжить?", 3108881025: "Обработка..", @@ -2267,7 +2267,7 @@ 3339507095: "Yazdırılsın mı?", 1123106929: "Yazıcı", 3903571079: "Yazıcı Sürücüsü ayarlanmadı!", - 3388542885: "Yazdırılıyor", + 3586624216: "Yazdırılıyor..", 3593149291: "Yine de devam edilsin mi?", 2580599003: "Devam edilsin mi?", 3108881025: "İşleniyor..", @@ -2561,7 +2561,7 @@ 3339507095: "In?", 1123106929: "Máy in", 3903571079: "Trình điều khiển máy in chưa được cài đặt!", - 3388542885: "Đang in", + 3586624216: "Đang in..", 3593149291: "Vẫn tiếp tục?", 2580599003: "Thực hiện?", 3108881025: "Đang xử lý..",