From 96fbb928f8077b071c7c3625cf4ddc13ae49156c Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Fri, 26 Apr 2024 15:01:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8B=BC=E9=9F=B3=E5=BA=93?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E9=94=99=E8=AF=AF=E5=92=8C=E8=A5=BF=E7=8F=AD?= =?UTF-8?q?=E7=89=99=E8=AF=AD=E6=A0=BC=E5=BC=8F=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common.php | 2 +- app/lang/spa.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/common.php b/app/common.php index 7d13bffe3..1d910b199 100755 --- a/app/common.php +++ b/app/common.php @@ -326,7 +326,7 @@ function ArrayFieldContrastHandle($arr1, $arr2) */ function ChinesePinyin($string, $is_string = false, $join = '') { - $value = (new \Overtrue\Pinyin\Pinyin())->convert($string); + $value = (new \Overtrue\Pinyin\Pinyin())->sentence($string, 'none'); return ($is_string && is_array($value)) ? implode($join, $value) : $value; } diff --git a/app/lang/spa.php b/app/lang/spa.php index 10ef9f3a3..7eae01379 100644 --- a/app/lang/spa.php +++ b/app/lang/spa.php @@ -384,10 +384,10 @@ return [ 'open_title' => 'Abrir', 'number_title' => 'Cantidad', 'inventory_title' => 'Inventario', - 'weight_title' => "Peso", - 'volume_title' => "Volumen", - 'coding_title' => 'codificación' ", - 'barcode_title' => 'código de barras' ", + 'weight_title' => 'Peso', + 'volume_title' => 'Volumen', + 'coding_title' => 'codificación', + 'barcode_title' => 'código de barras', 'enter_inventory_title' => 'Almacenamiento', 'sales_title' => 'Ventas', 'access_title' => 'Visitas', -- GitLab