mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-14 11:20:53 +08:00
fix(admin): correct language pack errors in admin panel
This commit is contained in:
@@ -43,12 +43,12 @@ class OrderHandleJob implements ShouldQueue
|
|||||||
$orderService = new OrderService($order);
|
$orderService = new OrderService($order);
|
||||||
switch ($order->status) {
|
switch ($order->status) {
|
||||||
// cancel
|
// cancel
|
||||||
case 0:
|
case Order::STATUS_PENDING:
|
||||||
if ($order->created_at <= (time() - 3600 * 2)) {
|
if ($order->created_at <= (time() - 3600 * 2)) {
|
||||||
$orderService->cancel();
|
$orderService->cancel();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 1:
|
case Order::STATUS_PROCESSING:
|
||||||
$orderService->open();
|
$orderService->open();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
4
public/assets/admin/assets/index.js
vendored
4
public/assets/admin/assets/index.js
vendored
File diff suppressed because one or more lines are too long
8
public/assets/admin/locales/en-US.js
vendored
8
public/assets/admin/locales/en-US.js
vendored
@@ -443,8 +443,8 @@ window.XBOARD_TRANSLATIONS['en-US'] = {
|
|||||||
},
|
},
|
||||||
"expire": {
|
"expire": {
|
||||||
"label": "Limit Duration",
|
"label": "Limit Duration",
|
||||||
"placeholder": "Enter limit duration in hours",
|
"placeholder": "Enter limit duration in minutes",
|
||||||
"description": "Duration of the registration limit in hours"
|
"description": "Duration of the registration limit in minutes"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"passwordLimit": {
|
"passwordLimit": {
|
||||||
@@ -459,8 +459,8 @@ window.XBOARD_TRANSLATIONS['en-US'] = {
|
|||||||
},
|
},
|
||||||
"expire": {
|
"expire": {
|
||||||
"label": "Lock Duration",
|
"label": "Lock Duration",
|
||||||
"placeholder": "Enter lock duration in hours",
|
"placeholder": "Enter lock duration in minutes",
|
||||||
"description": "Duration of the account lock in hours"
|
"description": "Duration of the account lock in minutes"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
8
public/assets/admin/locales/ko-KR.js
vendored
8
public/assets/admin/locales/ko-KR.js
vendored
@@ -441,8 +441,8 @@ window.XBOARD_TRANSLATIONS['ko-KR'] = {
|
|||||||
},
|
},
|
||||||
"expire": {
|
"expire": {
|
||||||
"label": "제한 기간",
|
"label": "제한 기간",
|
||||||
"placeholder": "제한 기간을 시간 단위로 입력",
|
"placeholder": "제한 기간을 분 단위로 입력",
|
||||||
"description": "등록 제한 기간(시간)"
|
"description": "등록 제한 기간(분)"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"passwordLimit": {
|
"passwordLimit": {
|
||||||
@@ -457,8 +457,8 @@ window.XBOARD_TRANSLATIONS['ko-KR'] = {
|
|||||||
},
|
},
|
||||||
"expire": {
|
"expire": {
|
||||||
"label": "잠금 기간",
|
"label": "잠금 기간",
|
||||||
"placeholder": "잠금 기간을 시간 단위로 입력",
|
"placeholder": "잠금 기간을 분 단위로 입력",
|
||||||
"description": "계정 잠금 기간(시간)"
|
"description": "계정 잠금 기간(분)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
8
public/assets/admin/locales/zh-CN.js
vendored
8
public/assets/admin/locales/zh-CN.js
vendored
@@ -363,8 +363,8 @@ window.XBOARD_TRANSLATIONS['zh-CN'] = {
|
|||||||
},
|
},
|
||||||
"expire": {
|
"expire": {
|
||||||
"label": "限制时长",
|
"label": "限制时长",
|
||||||
"placeholder": "输入限制时长(小时)",
|
"placeholder": "输入限制时长(分钟)",
|
||||||
"description": "注册限制的持续时间(小时)"
|
"description": "注册限制的持续时间(分钟)"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"passwordLimit": {
|
"passwordLimit": {
|
||||||
@@ -379,8 +379,8 @@ window.XBOARD_TRANSLATIONS['zh-CN'] = {
|
|||||||
},
|
},
|
||||||
"expire": {
|
"expire": {
|
||||||
"label": "锁定时长",
|
"label": "锁定时长",
|
||||||
"placeholder": "输入锁定时长(小时)",
|
"placeholder": "输入锁定时长(分钟)",
|
||||||
"description": "账户锁定的持续时间(小时)"
|
"description": "账户锁定的持续时间(分钟)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user