mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-03 18:40:52 +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);
|
||||
switch ($order->status) {
|
||||
// cancel
|
||||
case 0:
|
||||
case Order::STATUS_PENDING:
|
||||
if ($order->created_at <= (time() - 3600 * 2)) {
|
||||
$orderService->cancel();
|
||||
}
|
||||
break;
|
||||
case 1:
|
||||
case Order::STATUS_PROCESSING:
|
||||
$orderService->open();
|
||||
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": {
|
||||
"label": "Limit Duration",
|
||||
"placeholder": "Enter limit duration in hours",
|
||||
"description": "Duration of the registration limit in hours"
|
||||
"placeholder": "Enter limit duration in minutes",
|
||||
"description": "Duration of the registration limit in minutes"
|
||||
}
|
||||
},
|
||||
"passwordLimit": {
|
||||
@@ -459,8 +459,8 @@ window.XBOARD_TRANSLATIONS['en-US'] = {
|
||||
},
|
||||
"expire": {
|
||||
"label": "Lock Duration",
|
||||
"placeholder": "Enter lock duration in hours",
|
||||
"description": "Duration of the account lock in hours"
|
||||
"placeholder": "Enter lock duration in minutes",
|
||||
"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": {
|
||||
"label": "제한 기간",
|
||||
"placeholder": "제한 기간을 시간 단위로 입력",
|
||||
"description": "등록 제한 기간(시간)"
|
||||
"placeholder": "제한 기간을 분 단위로 입력",
|
||||
"description": "등록 제한 기간(분)"
|
||||
}
|
||||
},
|
||||
"passwordLimit": {
|
||||
@@ -457,8 +457,8 @@ window.XBOARD_TRANSLATIONS['ko-KR'] = {
|
||||
},
|
||||
"expire": {
|
||||
"label": "잠금 기간",
|
||||
"placeholder": "잠금 기간을 시간 단위로 입력",
|
||||
"description": "계정 잠금 기간(시간)"
|
||||
"placeholder": "잠금 기간을 분 단위로 입력",
|
||||
"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": {
|
||||
"label": "限制时长",
|
||||
"placeholder": "输入限制时长(小时)",
|
||||
"description": "注册限制的持续时间(小时)"
|
||||
"placeholder": "输入限制时长(分钟)",
|
||||
"description": "注册限制的持续时间(分钟)"
|
||||
}
|
||||
},
|
||||
"passwordLimit": {
|
||||
@@ -379,8 +379,8 @@ window.XBOARD_TRANSLATIONS['zh-CN'] = {
|
||||
},
|
||||
"expire": {
|
||||
"label": "锁定时长",
|
||||
"placeholder": "输入锁定时长(小时)",
|
||||
"description": "账户锁定的持续时间(小时)"
|
||||
"placeholder": "输入锁定时长(分钟)",
|
||||
"description": "账户锁定的持续时间(分钟)"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user