Browse Source

多语言

afa 1 year ago
parent
commit
b6c95de1a7

+ 1 - 1
application/api/controller/Order.php

@@ -182,7 +182,7 @@ class Order extends Api
         unset($order_data['status']);
 
         $order_data['img_url']= $goods_info['img_url'];
-        $this->success('', $order_data);
+        $this->success(__('获取成功'), $order_data);
     }
 
     /**

+ 2 - 1
application/api/lang/ar.php

@@ -143,7 +143,8 @@ return [
     '叙利亚'                    => 'سوريا',
     '伊拉克'                    => 'العراق',
     '伊朗'                      => 'إيران',
-    '阿塞拜疆'                  => 'أذربيجان'
+    '阿塞拜疆'                  => 'أذربيجان',
+    '获取成功'                  => 'أحصل على النجاح!'
 
 ];
 

+ 1 - 0
application/api/lang/en.php

@@ -144,6 +144,7 @@ return [
     '伊拉克'                    => 'Iraq',
     '伊朗'                      => 'Iran',
     '阿塞拜疆'                  => 'Azerbaijan',
+    '获取成功'                  => 'Get success!'
 ];
 
 

+ 1 - 0
application/api/lang/ja.php

@@ -144,6 +144,7 @@ return [
     '伊拉克'                    => 'イラク',
     '伊朗'                      => 'イラン',
     '阿塞拜疆'                  => 'アゼルバイジャン',
+    '获取成功'                  => '成功を手に入れましょう!'
 ];
 
 

+ 1 - 0
application/api/lang/ko.php

@@ -144,5 +144,6 @@ return [
     '伊拉克'                    => '이라크',
     '伊朗'                      => '이란',
     '阿塞拜疆'                  => '아제르바이잔',
+    '获取成功'                  => '성공하세요!'
 
 ];

+ 1 - 0
application/api/lang/ma.php

@@ -144,6 +144,7 @@ return [
     '伊拉克'                        => 'Iraq',
     '伊朗'                          => 'Iran',
     '阿塞拜疆'                      => 'Azerbaijan',
+    '获取成功'                      => 'Dapatkan kejayaan!'
 ];
 
 

+ 1 - 0
application/api/lang/th.php

@@ -144,6 +144,7 @@ return [
     '伊拉克'                        => 'อิรัก',
     '伊朗'                          => 'อิหร่าน',
     '阿塞拜疆'                      => 'อาเซอร์ไบจาน',
+    '获取成功'                      => 'รับความสำเร็จ!'
 
 ];
 

+ 1 - 0
application/api/lang/vn.php

@@ -144,4 +144,5 @@ return [
     '伊拉克'                        => 'Irắc',
     '伊朗'                          => 'Iran',
     '阿塞拜疆'                      => 'Azerbaijan',
+    '获取成功'                      => 'Có được thành công!'
 ];

+ 2 - 1
application/api/lang/zh-cn.php

@@ -143,5 +143,6 @@ return [
     '叙利亚'                        => '叙利亚',
     '伊拉克'                        => '伊拉克',
     '伊朗'                          => '伊朗',
-    '阿塞拜疆'                      => '阿塞拜疆'
+    '阿塞拜疆'                      => '阿塞拜疆',
+    '获取成功'                      => '获取成功!'
 ];