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

View File

@@ -6,6 +6,7 @@ return [
'comment_buy_temporary_invite' => 'Spend :bonus bonus buy :count temporary invite',
'comment_buy_rainbow_id' => 'Spend :bonus bonus buy :duration days rainbow ID',
'comment_buy_change_username_card' => 'Spend :bonus bonus buy change username card',
'comment_gift_medal' => 'Spend :bonus bonus buy :medal_name and gift to :to_username',
'table_thead' => [
'reward_type' => 'Reward type',
'count' => 'Count',

View File

@@ -35,6 +35,7 @@ return [
'reset' => 'Reset',
'anonymous' => 'Anonymous',
'infinite' => 'Infinite',
'save' => 'Save',
'setting' => [
'nav_text' => 'Setting',
'backup' => [

View File

@@ -28,10 +28,17 @@ return [
'users_count' => 'Sold counts',
'bonus_addition_factor' => 'Bonus addition factor',
'bonus_addition_factor_help' => 'For example: 0.01 means 1% addition, leave blank no addition',
'gift_fee_factor' => 'Gift fee factor',
'gift_fee_factor_help' => 'The additional fee charged for gifts to other users is equal to the price multiplied by this factor',
],
'buy_already' => 'Already buy',
'buy_btn' => 'Buy',
'confirm_to_buy' => 'Sure you want to buy?',
'require_more_bonus' => 'Require more bonus',
'grant_only' => 'Grant only',
'before_sale_begin_time' => 'Before sale begin time',
'after_sale_end_time' => 'After sale end time',
'inventory_empty' => 'Inventory empty',
'gift_btn' => 'Gift',
'confirm_to_gift' => 'Confirm to gift to user ',
];

View File

@@ -27,4 +27,8 @@ return [
'subject' => 'Temporary invite :change_type',
'body' => 'Your temporary invite count had :change_type :count by :operator, reason: :reason.',
],
'receive_medal' => [
'subject' => 'Receive gift medal',
'body' => "User :username purchased a medal [:medal_name] at a cost of :cost_bonus and gave it to you. The medal is worth :price, the fee is :gift_fee_total(factor: :gift_fee_factor), you will have this medal until: :expire_at, and the medal's bonus addition factor is: :bonus_addition_factor.",
],
];

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' => '数量',

View File

@@ -35,6 +35,7 @@ return [
'reset' => '重置',
'anonymous' => '匿名',
'infinite' => '无限',
'save' => '保存',
'setting' => [
'nav_text' => '设置',
'backup' => [

View File

@@ -28,6 +28,8 @@ return [
'users_count' => '已售数量',
'bonus_addition_factor' => '魔力加成系数',
'bonus_addition_factor_help' => '如0.01 表示 1% 的加成,留空无加成',
'gift_fee_factor' => '赠送手续费系数',
'gift_fee_factor_help' => '赠送给其他用户时额外收取手续费等于价格乘以此系数',
],
'buy_already' => '已经购买',
'buy_btn' => '购买',
@@ -37,4 +39,6 @@ return [
'before_sale_begin_time' => '未到可购买时间',
'after_sale_end_time' => '已过可购买时间',
'inventory_empty' => '库存不足',
'gift_btn' => '赠送',
'confirm_to_gift' => '确定要赠送给用户 ',
];

View File

@@ -27,4 +27,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。',
],
];

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' => '數量',

View File

@@ -35,6 +35,7 @@ return [
'reset' => '重置',
'anonymous' => '匿名',
'infinite' => '無限',
'save' => '保存',
'setting' => [
'nav_text' => '設置',
'backup' => [

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' => '確定要贈送給用戶 ',
];

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。',
],
];