medal add gift_fee_factor and user_medal add priority

This commit is contained in:
xiaomlove
2023-01-29 20:00:58 +08:00
parent fb803d1989
commit 0845bca268
25 changed files with 335 additions and 55 deletions
+1
View File
@@ -6,6 +6,7 @@ return [
'comment_buy_temporary_invite' => '花費 :bonus 魔力購買了 :count 個臨時邀請',
'comment_buy_rainbow_id' => '花費 :bonus 魔力購買了 :duration 天的彩虹 ID',
'comment_buy_change_username_card' => '花費 :bonus 魔力購買了改名卡',
'comment_gift_medal' => '花費 :bonus 魔力購買了 :medal_name 並贈送給 :to_username',
'table_thead' => [
'reward_type' => '獎勵類型',
'count' => '數量',
+1
View File
@@ -35,6 +35,7 @@ return [
'reset' => '重置',
'anonymous' => '匿名',
'infinite' => '無限',
'save' => '保存',
'setting' => [
'nav_text' => '設置',
'backup' => [
+7
View File
@@ -28,10 +28,17 @@ return [
'users_count' => '已售數量',
'bonus_addition_factor' => '魔力加成系數',
'bonus_addition_factor_help' => '如:0.01 表示 1% 的加成,留空無加成',
'gift_fee_factor' => '贈送手續費系數',
'gift_fee_factor_help' => '贈送給其他用戶時額外收取手續費等於價格乘以此系數',
],
'buy_already' => '已經購買',
'buy_btn' => '購買',
'confirm_to_buy' => '確定要購買嗎?',
'require_more_bonus' => '需要更多魔力值',
'grant_only' => '僅授予',
'before_sale_begin_time' => '未到可購買時間',
'after_sale_end_time' => '已過可購買時間',
'inventory_empty' => '庫存不足',
'gift_btn' => '贈送',
'confirm_to_gift' => '確定要贈送給用戶 ',
];
+4
View File
@@ -26,4 +26,8 @@ return [
'subject' => '臨時邀請:change_type',
'body' => '你的臨時邀請被管理員 :operator :change_type :count 個,理由::reason。',
],
'receive_medal' => [
'subject' => '收到贈送勛章',
'body' => '用戶 :username 花費魔力 :cost_bonus 購買了勛章[:medal_name]並贈送與你。此勛章價值 :price,手續費 :gift_fee_total(系數::gift_fee_factor),你將擁有此勛章有效期至: :expire_at,勛章的魔力加成系數為: :bonus_addition_factor。',
],
];