From 41459cf90fc6abbf86d09f66d3c6549da8573441 Mon Sep 17 00:00:00 2001 From: Maxim Babichev Date: Mon, 17 Nov 2025 21:49:30 +0300 Subject: [PATCH 1/2] Fix Spanish and Chinese error messages for grammatical accuracy - Corrected the Spanish phrases for product availability and wallet status to include proper accentuation. - Updated the Chinese translation for confirmed transactions to enhance clarity and accuracy. --- resources/lang/de/errors.php | 14 ++++++++++++++ resources/lang/es/errors.php | 4 ++-- resources/lang/fr/errors.php | 14 ++++++++++++++ resources/lang/it/errors.php | 14 ++++++++++++++ resources/lang/ja/errors.php | 14 ++++++++++++++ resources/lang/pl/errors.php | 14 ++++++++++++++ resources/lang/pt_BR/errors.php | 14 ++++++++++++++ resources/lang/tr/errors.php | 14 ++++++++++++++ resources/lang/zh-CN/errors.php | 2 +- 9 files changed, 101 insertions(+), 3 deletions(-) create mode 100644 resources/lang/de/errors.php create mode 100644 resources/lang/fr/errors.php create mode 100644 resources/lang/it/errors.php create mode 100644 resources/lang/ja/errors.php create mode 100644 resources/lang/pl/errors.php create mode 100644 resources/lang/pt_BR/errors.php create mode 100644 resources/lang/tr/errors.php diff --git a/resources/lang/de/errors.php b/resources/lang/de/errors.php new file mode 100644 index 000000000..b5a96c482 --- /dev/null +++ b/resources/lang/de/errors.php @@ -0,0 +1,14 @@ + 'Der Preis muss positiv sein', + 'product_stock' => 'Das Produkt ist nicht auf Lager', + 'wallet_empty' => 'Die Brieftasche ist leer', + 'insufficient_funds' => 'Unzureichende Mittel', + 'confirmed_invalid' => 'Die Transaktion wurde bereits bestätigt', + 'unconfirmed_invalid' => 'Die Bestätigung wurde bereits zurückgesetzt', + 'owner_invalid' => 'Sie sind nicht der Eigentümer der Brieftasche', +]; + diff --git a/resources/lang/es/errors.php b/resources/lang/es/errors.php index 27a5da25f..7350b384a 100644 --- a/resources/lang/es/errors.php +++ b/resources/lang/es/errors.php @@ -4,8 +4,8 @@ return [ 'price_positive' => 'El precio debe ser un valor positivo', - 'product_stock' => 'El producto no esta disponible en el inventario', - 'wallet_empty' => 'La cartera esta vacía', + 'product_stock' => 'El producto no está disponible en el inventario', + 'wallet_empty' => 'La cartera está vacía', 'insufficient_funds' => 'Fondos Insuficientes', 'confirmed_invalid' => 'La transferencia ya fue confirmada', 'unconfirmed_invalid' => 'La confirmación ya fue restablecida', diff --git a/resources/lang/fr/errors.php b/resources/lang/fr/errors.php new file mode 100644 index 000000000..e233c8442 --- /dev/null +++ b/resources/lang/fr/errors.php @@ -0,0 +1,14 @@ + 'Le prix doit être positif', + 'product_stock' => 'Le produit est en rupture de stock', + 'wallet_empty' => 'Le portefeuille est vide', + 'insufficient_funds' => 'Fonds insuffisants', + 'confirmed_invalid' => 'La transaction a déjà été confirmée', + 'unconfirmed_invalid' => 'La confirmation a déjà été réinitialisée', + 'owner_invalid' => 'Vous n\'êtes pas le propriétaire du portefeuille', +]; + diff --git a/resources/lang/it/errors.php b/resources/lang/it/errors.php new file mode 100644 index 000000000..f081ca03a --- /dev/null +++ b/resources/lang/it/errors.php @@ -0,0 +1,14 @@ + 'Il prezzo deve essere positivo', + 'product_stock' => 'Il prodotto è esaurito', + 'wallet_empty' => 'Il portafoglio è vuoto', + 'insufficient_funds' => 'Fondi insufficienti', + 'confirmed_invalid' => 'La transazione è già stata confermata', + 'unconfirmed_invalid' => 'La conferma è già stata reimpostata', + 'owner_invalid' => 'Non sei il proprietario del portafoglio', +]; + diff --git a/resources/lang/ja/errors.php b/resources/lang/ja/errors.php new file mode 100644 index 000000000..9ac0221e6 --- /dev/null +++ b/resources/lang/ja/errors.php @@ -0,0 +1,14 @@ + '価格は正の値である必要があります', + 'product_stock' => '商品在庫がありません', + 'wallet_empty' => 'ウォレットが空です', + 'insufficient_funds' => '資金不足', + 'confirmed_invalid' => '取引は既に確認済みです', + 'unconfirmed_invalid' => '確認は既にリセットされています', + 'owner_invalid' => 'あなたはウォレットの所有者ではありません', +]; + diff --git a/resources/lang/pl/errors.php b/resources/lang/pl/errors.php new file mode 100644 index 000000000..f6f01f73b --- /dev/null +++ b/resources/lang/pl/errors.php @@ -0,0 +1,14 @@ + 'Cena musi być dodatnia', + 'product_stock' => 'Produkt jest niedostępny', + 'wallet_empty' => 'Portfel jest pusty', + 'insufficient_funds' => 'Niewystarczające środki', + 'confirmed_invalid' => 'Transakcja została już potwierdzona', + 'unconfirmed_invalid' => 'Potwierdzenie zostało już zresetowane', + 'owner_invalid' => 'Nie jesteś właścicielem portfela', +]; + diff --git a/resources/lang/pt_BR/errors.php b/resources/lang/pt_BR/errors.php new file mode 100644 index 000000000..bd417cad2 --- /dev/null +++ b/resources/lang/pt_BR/errors.php @@ -0,0 +1,14 @@ + 'O preço deve ser positivo', + 'product_stock' => 'O produto está fora de estoque', + 'wallet_empty' => 'A carteira está vazia', + 'insufficient_funds' => 'Fundos insuficientes', + 'confirmed_invalid' => 'A transação já foi confirmada', + 'unconfirmed_invalid' => 'A confirmação já foi redefinida', + 'owner_invalid' => 'Você não é o proprietário da carteira', +]; + diff --git a/resources/lang/tr/errors.php b/resources/lang/tr/errors.php new file mode 100644 index 000000000..8a8ce4f0c --- /dev/null +++ b/resources/lang/tr/errors.php @@ -0,0 +1,14 @@ + 'Fiyat pozitif olmalıdır', + 'product_stock' => 'Ürün stokta yok', + 'wallet_empty' => 'Cüzdan boş', + 'insufficient_funds' => 'Yetersiz bakiye', + 'confirmed_invalid' => 'İşlem zaten onaylandı', + 'unconfirmed_invalid' => 'Onay zaten sıfırlandı', + 'owner_invalid' => 'Bu cüzdanın sahibi değilsiniz', +]; + diff --git a/resources/lang/zh-CN/errors.php b/resources/lang/zh-CN/errors.php index 8631bae86..0a9c9e52e 100644 --- a/resources/lang/zh-CN/errors.php +++ b/resources/lang/zh-CN/errors.php @@ -7,7 +7,7 @@ 'product_stock' => '库存不足', 'wallet_empty' => '钱包为空', 'insufficient_funds' => '余额不足', - 'confirmed_invalid' => '翻译已经确认', + 'confirmed_invalid' => '交易已经确认', 'unconfirmed_invalid' => '確認已被重置', 'owner_invalid' => '你不是钱包的主人', ]; From ca99a0d0e66b8e070924069c777e5cf637a91c3b Mon Sep 17 00:00:00 2001 From: Github bot Date: Mon, 17 Nov 2025 18:54:58 +0000 Subject: [PATCH 2/2] autofix --- resources/lang/de/errors.php | 1 - resources/lang/fr/errors.php | 1 - resources/lang/it/errors.php | 1 - resources/lang/ja/errors.php | 1 - resources/lang/pl/errors.php | 1 - resources/lang/pt_BR/errors.php | 1 - resources/lang/tr/errors.php | 1 - 7 files changed, 7 deletions(-) diff --git a/resources/lang/de/errors.php b/resources/lang/de/errors.php index b5a96c482..5bfdb03b9 100644 --- a/resources/lang/de/errors.php +++ b/resources/lang/de/errors.php @@ -11,4 +11,3 @@ 'unconfirmed_invalid' => 'Die Bestätigung wurde bereits zurückgesetzt', 'owner_invalid' => 'Sie sind nicht der Eigentümer der Brieftasche', ]; - diff --git a/resources/lang/fr/errors.php b/resources/lang/fr/errors.php index e233c8442..cee08f153 100644 --- a/resources/lang/fr/errors.php +++ b/resources/lang/fr/errors.php @@ -11,4 +11,3 @@ 'unconfirmed_invalid' => 'La confirmation a déjà été réinitialisée', 'owner_invalid' => 'Vous n\'êtes pas le propriétaire du portefeuille', ]; - diff --git a/resources/lang/it/errors.php b/resources/lang/it/errors.php index f081ca03a..ab35cb2a9 100644 --- a/resources/lang/it/errors.php +++ b/resources/lang/it/errors.php @@ -11,4 +11,3 @@ 'unconfirmed_invalid' => 'La conferma è già stata reimpostata', 'owner_invalid' => 'Non sei il proprietario del portafoglio', ]; - diff --git a/resources/lang/ja/errors.php b/resources/lang/ja/errors.php index 9ac0221e6..adcc32684 100644 --- a/resources/lang/ja/errors.php +++ b/resources/lang/ja/errors.php @@ -11,4 +11,3 @@ 'unconfirmed_invalid' => '確認は既にリセットされています', 'owner_invalid' => 'あなたはウォレットの所有者ではありません', ]; - diff --git a/resources/lang/pl/errors.php b/resources/lang/pl/errors.php index f6f01f73b..a673bfd03 100644 --- a/resources/lang/pl/errors.php +++ b/resources/lang/pl/errors.php @@ -11,4 +11,3 @@ 'unconfirmed_invalid' => 'Potwierdzenie zostało już zresetowane', 'owner_invalid' => 'Nie jesteś właścicielem portfela', ]; - diff --git a/resources/lang/pt_BR/errors.php b/resources/lang/pt_BR/errors.php index bd417cad2..d159d9fa8 100644 --- a/resources/lang/pt_BR/errors.php +++ b/resources/lang/pt_BR/errors.php @@ -11,4 +11,3 @@ 'unconfirmed_invalid' => 'A confirmação já foi redefinida', 'owner_invalid' => 'Você não é o proprietário da carteira', ]; - diff --git a/resources/lang/tr/errors.php b/resources/lang/tr/errors.php index 8a8ce4f0c..8adc47639 100644 --- a/resources/lang/tr/errors.php +++ b/resources/lang/tr/errors.php @@ -11,4 +11,3 @@ 'unconfirmed_invalid' => 'Onay zaten sıfırlandı', 'owner_invalid' => 'Bu cüzdanın sahibi değilsiniz', ]; -