From 32bef6345f37b4b1de1b970f73c07bb65ce1dd82 Mon Sep 17 00:00:00 2001 From: Nicola Benaglia Date: Fri, 20 Jun 2025 22:13:31 +0200 Subject: [PATCH] Remove translation key --- src/components/Minting/Minting.tsx | 11 ++--------- src/i18n/locales/de/group.json | 3 +-- src/i18n/locales/en/group.json | 3 +-- src/i18n/locales/es/group.json | 3 +-- src/i18n/locales/fr/group.json | 3 +-- src/i18n/locales/it/group.json | 3 +-- src/i18n/locales/ja/group.json | 3 +-- src/i18n/locales/ru/group.json | 3 +-- src/i18n/locales/zh/group.json | 3 +-- 9 files changed, 10 insertions(+), 25 deletions(-) diff --git a/src/components/Minting/Minting.tsx b/src/components/Minting/Minting.tsx index 4a6ef97..f6fea83 100644 --- a/src/components/Minting/Minting.tsx +++ b/src/components/Minting/Minting.tsx @@ -823,15 +823,8 @@ export const Minting = ({ setIsOpenMinting, myAddress, show }) => { {t('group:message.generic.next_level', { postProcess: 'capitalizeFirstChar', - })}{' '} - {levelUpBlocks(accountInfo, nodeStatus)} - - - - {t('group:message.generic.node_minting', { - postProcess: 'capitalizeFirstChar', - })}{' '} - {nodeStatus?.isMintingPossible?.toString()} + })} + : {levelUpBlocks(accountInfo, nodeStatus)} diff --git a/src/i18n/locales/de/group.json b/src/i18n/locales/de/group.json index 314adb4..8fccfc5 100644 --- a/src/i18n/locales/de/group.json +++ b/src/i18n/locales/de/group.json @@ -91,8 +91,7 @@ "minting_account": "Minting-Konto:", "minting_keys_per_node": "Nur 2 Minting-Schlüssel pro Node erlaubt. Bitte entferne einen.", "minting_keys_per_node_different": "Nur 2 Minting-Schlüssel pro Node erlaubt. Entferne einen, um einen anderen hinzuzufügen.", - "next_level": "Verbleibende Blöcke bis zum nächsten Level:", - "node_minting": "Dieser Node mintet:", + "next_level": "Verbleibende Blöcke bis zum nächsten Level", "node_minting_account": "Minting-Konten dieses Nodes", "node_minting_key": "Du hast bereits einen Minting-Schlüssel für dieses Konto auf diesem Node", "no_announcement": "Keine Ankündigungen", diff --git a/src/i18n/locales/en/group.json b/src/i18n/locales/en/group.json index 34731c1..0acc3cb 100644 --- a/src/i18n/locales/en/group.json +++ b/src/i18n/locales/en/group.json @@ -91,8 +91,7 @@ "minting_account": "minting account:", "minting_keys_per_node": "only 2 minting keys are allowed per node. Please remove one if you would like to mint with this account.", "minting_keys_per_node_different": "only 2 minting keys are allowed per node. Please remove one if you would like to add a different account.", - "next_level": "blocks remaining until next level:", - "node_minting": "this node is minting:", + "next_level": "blocks remaining until next level", "node_minting_account": "node's minting accounts", "node_minting_key": "you currently have a minting key for this account attached to this node", "no_announcement": "no announcements", diff --git a/src/i18n/locales/es/group.json b/src/i18n/locales/es/group.json index a5165bc..b1647eb 100644 --- a/src/i18n/locales/es/group.json +++ b/src/i18n/locales/es/group.json @@ -91,8 +91,7 @@ "minting_account": "cuenta de minteo:", "minting_keys_per_node": "solo se permiten 2 claves de minteo por nodo. Elimina una para usar esta cuenta.", "minting_keys_per_node_different": "solo se permiten 2 claves de minteo por nodo. Elimina una para añadir otra cuenta.", - "next_level": "bloques restantes para el siguiente nivel:", - "node_minting": "este nodo está minteando:", + "next_level": "bloques restantes para el siguiente nivel", "node_minting_account": "cuentas de minteo del nodo", "node_minting_key": "ya tienes una clave de minteo para esta cuenta en este nodo", "no_announcement": "no hay anuncios", diff --git a/src/i18n/locales/fr/group.json b/src/i18n/locales/fr/group.json index 1f1dcba..383a2e1 100644 --- a/src/i18n/locales/fr/group.json +++ b/src/i18n/locales/fr/group.json @@ -91,8 +91,7 @@ "minting_account": "compte de minage :", "minting_keys_per_node": "2 clés de minage max par nœud. Veuillez en retirer une.", "minting_keys_per_node_different": "2 clés de minage max par nœud. Retirez-en une pour ajouter un autre compte.", - "next_level": "blocs restants avant le niveau suivant :", - "node_minting": "ce nœud est en train de miner :", + "next_level": "blocs pour le niveau suivant", "node_minting_account": "comptes de minage du nœud", "node_minting_key": "vous avez déjà une clé de minage attachée à ce nœud", "no_announcement": "aucune annonce", diff --git a/src/i18n/locales/it/group.json b/src/i18n/locales/it/group.json index fa504c8..2b267c7 100644 --- a/src/i18n/locales/it/group.json +++ b/src/i18n/locales/it/group.json @@ -91,8 +91,7 @@ "minting_account": "account di minting:", "minting_keys_per_node": "sono ammesse solo 2 chiavi di minting per nodo. Rimuoverne una se si desidera fare minting con questo account.", "minting_keys_per_node_different": "sono ammesse solo 2 chiavi di minting per nodo. Rimuovine una se desideri aggiungere un account diverso.", - "next_level": "blocchi mancanti al livello successivo:", - "node_minting": "questo nodo sta coniando:", + "next_level": "blocchi al livello successivo", "node_minting_account": "account minting del nodo", "node_minting_key": "hai una chiave di minting per questo account collegata al nodo", "no_announcement": "nessun annuncio", diff --git a/src/i18n/locales/ja/group.json b/src/i18n/locales/ja/group.json index 98f1b05..6ec3f9c 100644 --- a/src/i18n/locales/ja/group.json +++ b/src/i18n/locales/ja/group.json @@ -91,8 +91,7 @@ "minting_account": "マイニングアカウント:", "minting_keys_per_node": "ノードごとに最大2つのマイニング鍵が許可されています。削除してから追加してください。", "minting_keys_per_node_different": "他のアカウントを追加するには、既存の鍵を削除してください。", - "next_level": "次のレベルまでの残りブロック数:", - "node_minting": "このノードはマイニング中:", + "next_level": "次のレベルまでの残りブロック数", "node_minting_account": "ノードのマイニングアカウント", "node_minting_key": "このノードに現在接続されているアカウントのマイニング鍵があります", "no_announcement": "お知らせはありません", diff --git a/src/i18n/locales/ru/group.json b/src/i18n/locales/ru/group.json index ed5ca33..efa9ce8 100644 --- a/src/i18n/locales/ru/group.json +++ b/src/i18n/locales/ru/group.json @@ -91,8 +91,7 @@ "minting_account": "аккаунт майнинга:", "minting_keys_per_node": "максимум 2 ключа майнинга на узел. Удалите один, чтобы продолжить.", "minting_keys_per_node_different": "максимум 2 ключа майнинга на узел. Удалите ключ для добавления другого.", - "next_level": "блоков до следующего уровня:", - "node_minting": "этот узел майнит:", + "next_level": "блоков до следующего уровня", "node_minting_account": "аккаунты майнинга узла", "node_minting_key": "этот узел уже содержит ключ майнинга для этой учетной записи", "no_announcement": "нет объявлений", diff --git a/src/i18n/locales/zh/group.json b/src/i18n/locales/zh/group.json index 999c6c9..ef191d2 100644 --- a/src/i18n/locales/zh/group.json +++ b/src/i18n/locales/zh/group.json @@ -91,8 +91,7 @@ "minting_account": "铸币账户:", "minting_keys_per_node": "每个节点最多允许 2 个铸币密钥。请先移除一个", "minting_keys_per_node_different": "每个节点最多允许 2 个铸币密钥。请先移除再添加其他账户", - "next_level": "距离下一级还需区块数:", - "node_minting": "当前节点正在铸币:", + "next_level": "距离下一级还需区块数", "node_minting_account": "节点铸币账户", "node_minting_key": "你已有该账户的铸币密钥与该节点绑定", "no_announcement": "暂无公告",