diff --git a/resources/lang/zh_cn/shop/account.php b/resources/lang/zh_cn/shop/account.php index 189d3f36..ac8ae3d9 100644 --- a/resources/lang/zh_cn/shop/account.php +++ b/resources/lang/zh_cn/shop/account.php @@ -28,6 +28,15 @@ return [ 'amount' => '金额', 'check_details' => '查看详情', + 'edit' => [ + 'index' => '修改个人信息', + 'modify_avatar' => '修改头像', + 'suggest' => '上传JPG或PNG图片。建议300 x 300。', + 'name' => '名称', + 'email' => '邮箱', + 'crop' => '裁剪', + ], + 'wishlist' => [ 'index' => '收藏列表', ], diff --git a/resources/lang/zh_cn/shop/common.php b/resources/lang/zh_cn/shop/common.php index ef59b627..218fd6e7 100644 --- a/resources/lang/zh_cn/shop/common.php +++ b/resources/lang/zh_cn/shop/common.php @@ -10,5 +10,8 @@ */ return [ - 'home' => '首页' + 'home' => '首页', + 'submit' => '提交', + 'cancel' => '取消', + 'confirm' => '确定', ]; diff --git a/themes/default/account/edit.blade.php b/themes/default/account/edit.blade.php index c6145083..42d79ee0 100644 --- a/themes/default/account/edit.blade.php +++ b/themes/default/account/edit.blade.php @@ -26,7 +26,7 @@
-
修改个人信息
+
{{ __('shop/account.edit.index') }}
@@ -43,17 +43,17 @@ width="90">
-
上传JPG或PNG图片。建议300 x 300。
+
{{ __('shop/account.edit.suggest') }}
- + has('name'))@endif --}}
- + has('email'))@endif --}}
- +
@@ -84,7 +84,7 @@