提交 96fbb928 编写于 作者: G gongfuxiang

修复拼音库使用错误和西班牙语格式错

上级 459469a8
......@@ -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;
}
......
......@@ -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',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册