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' => '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',
+1
View File
@@ -35,6 +35,7 @@ return [
'reset' => 'Reset',
'anonymous' => 'Anonymous',
'infinite' => 'Infinite',
'save' => 'Save',
'setting' => [
'nav_text' => 'Setting',
'backup' => [
+7
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 ',
];
+4
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.",
],
];