From c0307c352c64ba148a4c1c0e9b4da76ac86c058f Mon Sep 17 00:00:00 2001 From: QuickMythril Date: Tue, 5 Apr 2022 11:46:32 -0400 Subject: [PATCH] Updated ApiError translations removed some duplicate entries, and standardized the order --- .../resources/i18n/ApiError_de.properties | 1 - .../resources/i18n/ApiError_en.properties | 4 - .../resources/i18n/ApiError_es.properties | 136 ++++++-------- .../resources/i18n/ApiError_fi.properties | 5 +- .../resources/i18n/ApiError_fr.properties | 32 +++- .../resources/i18n/ApiError_hu.properties | 7 +- .../resources/i18n/ApiError_it.properties | 8 +- .../resources/i18n/ApiError_nl.properties | 2 +- .../resources/i18n/ApiError_ru.properties | 166 +++++++++--------- .../resources/i18n/ApiError_zh_CN.properties | 4 - .../resources/i18n/ApiError_zh_TW.properties | 4 - 11 files changed, 168 insertions(+), 201 deletions(-) diff --git a/src/main/resources/i18n/ApiError_de.properties b/src/main/resources/i18n/ApiError_de.properties index 9ec2cd6d..7a81e07a 100644 --- a/src/main/resources/i18n/ApiError_de.properties +++ b/src/main/resources/i18n/ApiError_de.properties @@ -81,4 +81,3 @@ ORDER_SIZE_TOO_SMALL = order amount too low FILE_NOT_FOUND = Datei nicht gefunden NO_REPLY = peer did not reply with data - diff --git a/src/main/resources/i18n/ApiError_en.properties b/src/main/resources/i18n/ApiError_en.properties index 977b2646..a9ab51c2 100644 --- a/src/main/resources/i18n/ApiError_en.properties +++ b/src/main/resources/i18n/ApiError_en.properties @@ -80,8 +80,4 @@ ORDER_SIZE_TOO_SMALL = order amount too low ### Data ### FILE_NOT_FOUND = file not found -ORDER_SIZE_TOO_SMALL = order size too small - -FILE_NOT_FOUND = file not found - NO_REPLY = peer didn't reply within the allowed time diff --git a/src/main/resources/i18n/ApiError_es.properties b/src/main/resources/i18n/ApiError_es.properties index 36d3ff3a..473a8810 100644 --- a/src/main/resources/i18n/ApiError_es.properties +++ b/src/main/resources/i18n/ApiError_es.properties @@ -1,121 +1,83 @@ -# Keys are from api.ApiError enum -# "localeLang": "es", - -### Common ### +#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/) +# Keys are from api.ApiError enum + +# "localeLang": "es", + +### Common ### JSON = no se pudo analizar el mensaje JSON -#failed to parse JSON message - + INSUFFICIENT_BALANCE = saldo insuficiente -#insufficient balance - + UNAUTHORIZED = Llamada API no autorizada -#API call unauthorized - + REPOSITORY_ISSUE = error de repositorio -#repository error - + NON_PRODUCTION = esta llamada API no está permitida para sistemas de producción -#this API call is not permitted for production systems - + BLOCKCHAIN_NEEDS_SYNC = blockchain necesita sincronizarse primero -#blockchain needs to synchronize first - + NO_TIME_SYNC = aún no hay sincronización de reloj -#no clock synchronization yet - -### Validation ### + +### Validation ### INVALID_SIGNATURE = firma no válida -#invalid signature - + INVALID_ADDRESS = dirección no válida -#invalid address - + INVALID_PUBLIC_KEY = clave pública no válida -#invalid public key - + INVALID_DATA = datos no válidos -#invalid data - + INVALID_NETWORK_ADDRESS = dirección de red no válida -#invalid network address - + ADDRESS_UNKNOWN = dirección de cuenta desconocida -#account address unknown - + INVALID_CRITERIA = criterio de búsqueda no válido -#invalid search criteria - + INVALID_REFERENCE = referencia no válida -#invalid reference - + TRANSFORMATION_ERROR = no se pudo transformar JSON en transacción -#could not transform JSON into transaction - + INVALID_PRIVATE_KEY = clave privada no válida -#invalid private key - + INVALID_HEIGHT = altura de bloque no válida -#invalid block height - + CANNOT_MINT = la cuenta no puede acuñar -#account cannot mint - -### Blocks ### + +### Blocks ### BLOCK_UNKNOWN = bloque desconocido -#block unknown - -### Transactions ### + +### Transactions ### TRANSACTION_UNKNOWN = transacción desconocida -#transaction unknown - + PUBLIC_KEY_NOT_FOUND = clave pública no encontrada -#public key not found - -# this one is special in that caller expected to pass two additional strings, hence the two %s + +# this one is special in that caller expected to pass two additional strings, hence the two %s TRANSACTION_INVALID = transacción no válida: %s (%s) -#transaction invalid: %s (%s) - -### Naming ### + +### Naming ### NAME_UNKNOWN = nombre desconocido -#name unknown - -### Asset ### + +### Asset ### INVALID_ASSET_ID = ID de recurso no válido -#invalid asset ID - + INVALID_ORDER_ID = ID de pedido de activo no válido -#invalid asset order ID - + ORDER_UNKNOWN = ID de pedido de activo desconocido -#unknown asset order ID - -### Groups ### + +### Groups ### GROUP_UNKNOWN = grupo desconocido -#group unknown - -### Foreign Blockchain ### + +### Foreign Blockchain ### FOREIGN_BLOCKCHAIN_NETWORK_ISSUE = problema de cadena de bloques extranjera o red ElectrumX -#foreign blockchain or ElectrumX network issue - + FOREIGN_BLOCKCHAIN_BALANCE_ISSUE = saldo insuficiente en blockchain extranjera -#insufficient balance on foreign blockchain - + FOREIGN_BLOCKCHAIN_TOO_SOON = demasiado pronto para transmitir transacciones de blockchain extranjeras (LockTime/mediana de tiempo de bloqueo) -#too soon to broadcast foreign blockchain transaction (LockTime/median block time) - -### Trade Portal ### + +### Trade Portal ### ORDER_SIZE_TOO_SMALL = importe del pedido demasiado bajo -#order amount too low - -### Data ### + +### Data ### FILE_NOT_FOUND = archivo no encontrado -#file not found - -ORDER_SIZE_TOO_SMALL = tamaño del pedido demasiado pequeño -#order size too small - -FILE_NOT_FOUND = archivo no encontrado -#file not found - + NO_REPLY = el compañero no respondió dentro del tiempo permitido -#peer didn't reply within the allowed time \ No newline at end of file diff --git a/src/main/resources/i18n/ApiError_fi.properties b/src/main/resources/i18n/ApiError_fi.properties index f9518700..af5e890e 100644 --- a/src/main/resources/i18n/ApiError_fi.properties +++ b/src/main/resources/i18n/ApiError_fi.properties @@ -1,10 +1,7 @@ #Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/) # Keys are from api.ApiError enum -# Kielen muuttaminen suomeksi tapahtuu settings.json-tiedostossa -# # "localeLang": "fi", -# muista pilkku lopussa jos komento ei ole viimeisellä rivillä ### Common ### JSON = JSON-viestin jaottelu epäonnistui @@ -83,4 +80,4 @@ ORDER_SIZE_TOO_SMALL = order amount too low ### Data ### FILE_NOT_FOUND = file not found -NO_REPLY = peer did not reply with data \ No newline at end of file +NO_REPLY = peer did not reply with data diff --git a/src/main/resources/i18n/ApiError_fr.properties b/src/main/resources/i18n/ApiError_fr.properties index 122b6d03..f278e6a1 100644 --- a/src/main/resources/i18n/ApiError_fr.properties +++ b/src/main/resources/i18n/ApiError_fr.properties @@ -1,24 +1,46 @@ -### Commun ### +#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/) +# Keys are from api.ApiError enum + +# "localeLang": "fr", + +### Commun ### JSON = échec de l'analyse du message JSON + INSUFFICIENT_BALANCE = balance insuffisante + UNAUTHORIZED = appel de l’API non autorisé + REPOSITORY_ISSUE = erreur de dépôt + NON_PRODUCTION = cet appel API n'est pas autorisé pour les systèmes en production + BLOCKCHAIN_NEEDS_SYNC = la blockchain doit d'abord être synchronisée + NO_TIME_SYNC = heure pas encore synchronisée ### Validation ### INVALID_SIGNATURE = signature invalide + INVALID_ADDRESS = adresse invalide + INVALID_PUBLIC_KEY = clé publique invalide + INVALID_DATA = données invalides + INVALID_NETWORK_ADDRESS = adresse réseau invalide + ADDRESS_UNKNOWN = adresse de compte inconnue + INVALID_CRITERIA = critère de recherche invalide + INVALID_REFERENCE = référence invalide + TRANSFORMATION_ERROR = ne peut pas transformer JSON en transaction + INVALID_PRIVATE_KEY = clé privée invalide + INVALID_HEIGHT = hauteur de bloc invalide + CANNOT_MINT = le compte ne peut pas mint ### Blocks ### @@ -26,6 +48,7 @@ BLOCK_UNKNOWN = bloc inconnu ### Transactions ### TRANSACTION_UNKNOWN = opération inconnue + PUBLIC_KEY_NOT_FOUND = clé publique introuvable # celui-ci est spécial dans le sens où l'appelant doit passer deux chaînes supplémentaires, d'où les deux %s @@ -36,7 +59,9 @@ NAME_UNKNOWN = nom inconnu ### Asset ### INVALID_ASSET_ID = identifiant d'actif invalide + INVALID_ORDER_ID = identifiant de commande d'actif non valide + ORDER_UNKNOWN = identifiant d'ordre d'actif inconnu ### Groupes ### @@ -44,7 +69,9 @@ GROUP_UNKNOWN = groupe inconnu ### Blockchain étrangère ### FOREIGN_BLOCKCHAIN_NETWORK_ISSUE = Problème blokchain étrangère ou de réseau ElectrumX + FOREIGN_BLOCKCHAIN_BALANCE_ISSUE = solde insuffisant sur la blockchain étrangère + FOREIGN_BLOCKCHAIN_TOO_SOON = trop tôt pour diffuser la transaction sur la blockchain étrangère (temps de verrouillage/temps de bloc médian) ### Portail de trading ### @@ -52,4 +79,5 @@ ORDER_SIZE_TOO_SMALL = montant de commande trop bas ### Données ### FILE_NOT_FOUND = fichier introuvable -NO_REPLY = le pair n'a pas renvoyé de données \ No newline at end of file + +NO_REPLY = le pair n'a pas renvoyé de données diff --git a/src/main/resources/i18n/ApiError_hu.properties b/src/main/resources/i18n/ApiError_hu.properties index 8aa783da..18178669 100644 --- a/src/main/resources/i18n/ApiError_hu.properties +++ b/src/main/resources/i18n/ApiError_hu.properties @@ -1,8 +1,5 @@ #Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/) -# Keys are from api.ApiError enum - -# Magyar myelvre forditotta: Szkíta (Scythian). 2021 Augusztus 7. -# Az alkalmazás nyelvének magyarra való változtatása a settings.json oldalon történik. +# Keys are from api.ApiError enum # Magyar myelvre forditotta: Szkíta (Scythian). 2021 Augusztus 7. # "localeLang": "hu", @@ -83,4 +80,4 @@ ORDER_SIZE_TOO_SMALL = rendelési összeg túl alacsony ### Data ### FILE_NOT_FOUND = fájl nem található -NO_REPLY = a másik csomópont nem válaszolt \ No newline at end of file +NO_REPLY = a másik csomópont nem válaszolt diff --git a/src/main/resources/i18n/ApiError_it.properties b/src/main/resources/i18n/ApiError_it.properties index 33993200..0436017f 100644 --- a/src/main/resources/i18n/ApiError_it.properties +++ b/src/main/resources/i18n/ApiError_it.properties @@ -1,11 +1,7 @@ #Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/) -# Keys are from api.ApiError enum -# Italian translation by Pabs 2021 +# Keys are from api.ApiError enum # Italian translation by Pabs 2021 -# La modifica della lingua dell'UI è fatta nel file Settings.json -# # "localeLang": "it", -# Si prega ricordare la virgola alla fine, se questo comando non è sull'ultima riga ### Common ### JSON = Impossibile analizzare il messaggio JSON @@ -84,4 +80,4 @@ ORDER_SIZE_TOO_SMALL = order amount too low ### Data ### FILE_NOT_FOUND = file not found -NO_REPLY = peer did not reply with data \ No newline at end of file +NO_REPLY = peer did not reply with data diff --git a/src/main/resources/i18n/ApiError_nl.properties b/src/main/resources/i18n/ApiError_nl.properties index 5c54cf64..94605d68 100644 --- a/src/main/resources/i18n/ApiError_nl.properties +++ b/src/main/resources/i18n/ApiError_nl.properties @@ -80,4 +80,4 @@ ORDER_SIZE_TOO_SMALL = order amount too low ### Data ### FILE_NOT_FOUND = file not found -NO_REPLY = peer did not reply with data \ No newline at end of file +NO_REPLY = peer did not reply with data diff --git a/src/main/resources/i18n/ApiError_ru.properties b/src/main/resources/i18n/ApiError_ru.properties index 61948a2a..cbe91ba9 100644 --- a/src/main/resources/i18n/ApiError_ru.properties +++ b/src/main/resources/i18n/ApiError_ru.properties @@ -1,83 +1,83 @@ -#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/) -# Keys are from api.ApiError enum - -# "localeLang": "ru", - -### Common ### -JSON = не удалось разобрать сообщение json - -INSUFFICIENT_BALANCE = insufficient balance - -UNAUTHORIZED = вызов API не авторизован - -REPOSITORY_ISSUE = ошибка репозитория - -NON_PRODUCTION = этот вызов API не разрешен для производственных систем - -BLOCKCHAIN_NEEDS_SYNC = блокчейн должен сначала синхронизироваться - -NO_TIME_SYNC = no clock synchronization yet - -### Validation ### -INVALID_SIGNATURE = недействительная подпись - -INVALID_ADDRESS = неизвестный адрес - -INVALID_PUBLIC_KEY = недействительный открытый ключ - -INVALID_DATA = неверные данные - -INVALID_NETWORK_ADDRESS = неверный сетевой адрес - -ADDRESS_UNKNOWN = неизвестная учетная запись - -INVALID_CRITERIA = неверные критерии поиска - -INVALID_REFERENCE = неверная ссылка - -TRANSFORMATION_ERROR = не удалось преобразовать JSON в транзакцию - -INVALID_PRIVATE_KEY = неверный приватный ключ - -INVALID_HEIGHT = недопустимая высота блока - -CANNOT_MINT = аккаунт не может чеканить - -### Blocks ### -BLOCK_UNKNOWN = неизвестный блок - -### Transactions ### -TRANSACTION_UNKNOWN = транзакция неизвестна - -PUBLIC_KEY_NOT_FOUND = открытый ключ не найден - -# this one is special in that caller expected to pass two additional strings, hence the two %s -TRANSACTION_INVALID = транзакция недействительна: %s (%s) - -### Naming ### -NAME_UNKNOWN = имя неизвестно - -### Asset ### -INVALID_ASSET_ID = неверный идентификатор актива - -INVALID_ORDER_ID = неверный идентификатор заказа актива - -ORDER_UNKNOWN = неизвестный идентификатор заказа актива - -### Groups ### -GROUP_UNKNOWN = неизвестная группа - -### Foreign Blockchain ### -FOREIGN_BLOCKCHAIN_NETWORK_ISSUE = foreign blokchain or ElectrumX network issue - -FOREIGN_BLOCKCHAIN_BALANCE_ISSUE = insufficient balance on foreign blockchain - -FOREIGN_BLOCKCHAIN_TOO_SOON = too soon to broadcast foreign blockchain transaction (LockTime/median block time) - -### Trade Portal ### -ORDER_SIZE_TOO_SMALL = order amount too low - -### Data ### -FILE_NOT_FOUND = file not found - -NO_REPLY = peer did not reply with data \ No newline at end of file +#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/) +# Keys are from api.ApiError enum + +# "localeLang": "ru", + +### Common ### +JSON = не удалось разобрать сообщение json + +INSUFFICIENT_BALANCE = insufficient balance + +UNAUTHORIZED = вызов API не авторизован + +REPOSITORY_ISSUE = ошибка репозитория + +NON_PRODUCTION = этот вызов API не разрешен для производственных систем + +BLOCKCHAIN_NEEDS_SYNC = блокчейн должен сначала синхронизироваться + +NO_TIME_SYNC = no clock synchronization yet + +### Validation ### +INVALID_SIGNATURE = недействительная подпись + +INVALID_ADDRESS = неизвестный адрес + +INVALID_PUBLIC_KEY = недействительный открытый ключ + +INVALID_DATA = неверные данные + +INVALID_NETWORK_ADDRESS = неверный сетевой адрес + +ADDRESS_UNKNOWN = неизвестная учетная запись + +INVALID_CRITERIA = неверные критерии поиска + +INVALID_REFERENCE = неверная ссылка + +TRANSFORMATION_ERROR = не удалось преобразовать JSON в транзакцию + +INVALID_PRIVATE_KEY = неверный приватный ключ + +INVALID_HEIGHT = недопустимая высота блока + +CANNOT_MINT = аккаунт не может чеканить + +### Blocks ### +BLOCK_UNKNOWN = неизвестный блок + +### Transactions ### +TRANSACTION_UNKNOWN = транзакция неизвестна + +PUBLIC_KEY_NOT_FOUND = открытый ключ не найден + +# this one is special in that caller expected to pass two additional strings, hence the two %s +TRANSACTION_INVALID = транзакция недействительна: %s (%s) + +### Naming ### +NAME_UNKNOWN = имя неизвестно + +### Asset ### +INVALID_ASSET_ID = неверный идентификатор актива + +INVALID_ORDER_ID = неверный идентификатор заказа актива + +ORDER_UNKNOWN = неизвестный идентификатор заказа актива + +### Groups ### +GROUP_UNKNOWN = неизвестная группа + +### Foreign Blockchain ### +FOREIGN_BLOCKCHAIN_NETWORK_ISSUE = foreign blokchain or ElectrumX network issue + +FOREIGN_BLOCKCHAIN_BALANCE_ISSUE = insufficient balance on foreign blockchain + +FOREIGN_BLOCKCHAIN_TOO_SOON = too soon to broadcast foreign blockchain transaction (LockTime/median block time) + +### Trade Portal ### +ORDER_SIZE_TOO_SMALL = order amount too low + +### Data ### +FILE_NOT_FOUND = file not found + +NO_REPLY = peer did not reply with data diff --git a/src/main/resources/i18n/ApiError_zh_CN.properties b/src/main/resources/i18n/ApiError_zh_CN.properties index 9f3ec74f..e2955506 100644 --- a/src/main/resources/i18n/ApiError_zh_CN.properties +++ b/src/main/resources/i18n/ApiError_zh_CN.properties @@ -80,8 +80,4 @@ ORDER_SIZE_TOO_SMALL = 交易数量太少 ### Data ### FILE_NOT_FOUND = 档案不存在 -ORDER_SIZE_TOO_SMALL = 交易数量太少 - -FILE_NOT_FOUND = 档案不存在 - NO_REPLY = 其他节点在指定时间内没有回应 diff --git a/src/main/resources/i18n/ApiError_zh_TW.properties b/src/main/resources/i18n/ApiError_zh_TW.properties index 36fb933c..d2ddf540 100644 --- a/src/main/resources/i18n/ApiError_zh_TW.properties +++ b/src/main/resources/i18n/ApiError_zh_TW.properties @@ -80,8 +80,4 @@ ORDER_SIZE_TOO_SMALL = 交易數量太少 ### Data ### FILE_NOT_FOUND = 檔案不存在 -ORDER_SIZE_TOO_SMALL = 交易數量太少 - -FILE_NOT_FOUND = 檔案不存在 - NO_REPLY = 其他節點在指定時間内沒有回應