优化多语言翻译

This commit is contained in:
2026-03-20 10:29:31 +08:00
parent b689a40595
commit 6ff65afcb5
19 changed files with 768 additions and 279 deletions

View File

@@ -1,12 +1,13 @@
{
"toolbar": {
"weightRatio": "Weight Ratio",
"weightTest": "Test Weight"
"weightTest": "Test Weights"
},
"search": {
"tier": "Tier",
"clockwise": "Clockwise",
"anticlockwise": "Anticlockwise"
"anticlockwise": "Counter-clockwise",
"optionBigwin": "BIGWIN"
},
"table": {
"startIndex": "Start Index",
@@ -17,5 +18,67 @@
"realEv": "Real EV",
"remark": "Remark",
"weight": "Weight"
},
"weightShared": {
"xAxisEndIndex": "End Index",
"xAxisGridNumber": "Points",
"emptyTier": "No data for this tier",
"sumLineDual": "Tier weight sum (clockwise): {cw}; counter-clockwise: {ccw} (each row 110000, ratio draw within tier, sum not limited)",
"sumLineSingle": "Tier weight sum: {sum} (each row 110000, ratio draw within tier, sum not limited)",
"t4t5NoteSingle": "T4 and T5 have a single outcome; no weight configuration.",
"t4t5NoteDual": "T4 and T5 have a single outcome when hit; no weight configuration.",
"colEndIndexId": "End Index (id)",
"colGridNumber": "Points (grid_number)",
"colDicePoints": "Dice Points",
"colRealEv": "Real EV",
"colUiText": "Display Text",
"colRemark": "Remark",
"colWeightCwDir": "Clockwise weight (direction=0)",
"colWeightCcwDir": "Counter-clockwise weight (direction=1)",
"weightColSuffix": "Weight (1-10000)",
"fetchFail": "Failed to load weight data",
"nothingToSubmit": "Nothing to submit",
"submitFail": "Save failed",
"btnCancel": "Cancel",
"btnSubmit": "Submit",
"saveSuccess": "Saved successfully"
},
"weightEdit": {
"title": "Dice Reward (dice_reward) Weight Ratio",
"globalTip": "You are editing weights on dice_reward (DiceReward), split by end_index into clockwise and counter-clockwise; the draw uses the set for the current direction."
},
"weightRatio": {
"title": "Weight Ratio",
"globalTip": "Configure dice_reward weights: first by direction (clockwise / counter-clockwise), then by tier (T1T5); each row weight 110000, ratio draw within tier.",
"tabClockwise": "Clockwise",
"tabCounterclockwise": "Counter-clockwise"
},
"weightTest": {
"title": "One-Click Weight Test",
"alertTitle": "Bonus pool logic",
"alertBody": "Same as playStart draw: uses name=default safety line and kill switch; when profit is below the line, paid tickets use player tier weights (custom below), free tickets use killScore; when profit reaches the line and kill is on, both use killScore.",
"stepPaid": "Paid ticket",
"stepFree": "Free ticket",
"labelLotteryTypePaid": "Test pool type",
"labelLotteryTypeFree": "Test pool type",
"placeholderPaidPool": "Leave empty for custom tier odds below (default: default)",
"placeholderFreePool": "Leave empty for custom tier odds below (default: killScore)",
"tierProbHint": "Custom tier odds (T1T5), each 0100%, sum of five must not exceed 100%",
"tierFieldLabel": "Tier {tier} (%)",
"tierSumError": "Current sum of five tiers is {sum}%, cannot exceed 100%",
"labelCwCount": "Clockwise spins",
"labelCcwCount": "Counter-clockwise spins",
"placeholderSelect": "Please select",
"btnPrev": "Back",
"btnNext": "Next",
"btnStart": "Start test",
"btnCancel": "Cancel",
"warnTotalSpins": "At least one of paid/free direction spin counts must be greater than 0",
"warnPaidTierSumPositive": "When no paid pool is selected, T1T5 odds sum must be greater than 0",
"warnPaidTierSumMax": "Paid T1T5 odds sum cannot exceed 100%",
"warnFreeTierSumPositive": "When no free pool is selected, T1T5 odds sum must be greater than 0",
"warnFreeTierSumMax": "Free T1T5 odds sum cannot exceed 100%",
"successCreated": "Test job created and will run in background. Check player draw records (test data) for results.",
"failCreate": "Failed to create test job"
}
}

View File

@@ -1,7 +1,74 @@
{
"toolbar": {
"gameRewardConfig": "Game Reward Config",
"createRewardRef": "Create Reward Reference"
"createRewardRef": "Create Reward Reference",
"createRewardRefTitle": "Rule: start_index=config(grid_number).id; clockwise end_index=(start_index+grid_number)%26; counter-clockwise end_index=start_index-grid_number>=0?start_index-grid_number:26+start_index-grid_number"
},
"configPage": {
"tabIndex": "Reward Index",
"tabBigwin": "Big Win Weights",
"tipIndex": "Dice points must be between 5 and 30 and unique in this table.",
"tipBigwin": "Left to right: big-win points (read-only), display text, real EV, remark, weight (0~10000). Points 5 and 30 are fixed at 100%. This tab saves big-win weights only.",
"colId": "Index (id)",
"colDicePoints": "Dice Points",
"colDisplayText": "Display Text",
"colDisplayTextEn": "Display Text (EN)",
"colRealEv": "Real Settlement",
"colTier": "Tier",
"colRemark": "Remark",
"placeholderTierSelect": "Tier",
"placeholderDisplayZh": "Display text (Chinese)",
"placeholderDisplayEn": "Display text (English)",
"placeholderRemark": "Remark",
"btnSave": "Save",
"btnReset": "Reset",
"colBigwinPoints": "Big-Win Points",
"colDisplayInfo": "Display Info",
"colDisplayInfoEn": "Display Info (EN)",
"colRealPrize": "Real Prize",
"colWeightRange": "Weight (0-10000)",
"placeholderDisplayInfoZh": "Display info (Chinese)",
"placeholderDisplayInfoEn": "Display info (English)",
"weightFixedTip": "Points 5 and 30 are fixed at 100%",
"emptyBigwin": "No BIGWIN tier rows. Set tier to BIGWIN in the Reward Index tab first.",
"confirmCreateRefTitle": "Create Reward Reference",
"confirmCreateRefMsg": "Create reward reference by rule: start_index is the id of the cell for grid_number in reward config; clockwise end_index=(start_index+roll)%26; counter-clockwise end_index=start_index-roll if >=0 else 26+start_index-roll. Existing data will be cleared, then 26 points (530) for both directions will be generated. Continue?",
"confirmCreateRefOk": "Create",
"confirmCreateRefCancel": "Cancel",
"createRefSuccess": "Created for 26 dice points (530), clockwise + counter-clockwise: clockwise added {cwNew}, counter-clockwise added {ccwNew}; clockwise updated {cwUp}, counter-clockwise updated {ccwUp}{skippedPart}",
"createRefSuccessSkipped": "; {n} point(s) used fallback start index",
"createRefSuccessSimple": "Created successfully",
"createRefFail": "Failed to create reward reference",
"loadIndexFail": "Failed to load reward index config",
"saveSuccess": "Saved successfully",
"saveFail": "Save failed",
"resetIndexReloaded": "Reward index reloaded from server",
"resetBigwinReloaded": "Big win weights reloaded from server",
"warnNoIndexToSave": "No reward index rows to save",
"warnGridRange": "Dice points must be between {min} and {max}",
"dupJoiner": ", ",
"warnDupGrid": "Duplicate dice points in this table: {list}",
"warnNoBigwinToSave": "No BIGWIN rows to save",
"warnBigwinDupGrid": "Duplicate big-win points in this table: {list}",
"infoNoBigwin": "No BIGWIN rows. Set tier to BIGWIN in the Reward Index tab first."
},
"weightRatio": {
"title": "T1T5 Weight Ratio (Clockwise / Counter-clockwise)",
"globalTip": "Weights come from dice_reward, split by end index (DiceRewardConfig.id) into clockwise and counter-clockwise; draw uses the weight set for the current direction.",
"xAxisEndIndex": "End Index",
"emptyTier": "No data for this tier",
"sumLine": "Tier weight sum (clockwise): {cw}; counter-clockwise: {ccw} (each row 110000, ratio draw within tier, sum not limited)",
"t4t5Note": "T4 and T5 have a single outcome; no weight configuration.",
"colEndIndexId": "End Index (id)",
"colDicePoints": "Dice Points",
"colRealEv": "Real EV",
"colUiText": "Display Text",
"colWeightCw": "Clockwise weight (1-10000)",
"colWeightCcw": "Counter-clockwise weight (1-10000)",
"fetchFail": "Failed to load weight ratio data",
"nothingToSubmit": "Nothing to submit",
"submitFail": "Save failed",
"saveSuccess": "Saved successfully"
},
"search": {
"dicePoints": "Dice Points",

View File

@@ -4,6 +4,8 @@
},
"table": {
"id": "ID",
"clockwiseAbbr": "CW",
"counterclockwiseAbbr": "CCW",
"status": "Status",
"paidDraw": "Paid Draw",
"freeDraw": "Free Draw",
@@ -27,5 +29,51 @@
"ruleTestCountRequired": "Test count is required",
"addSuccess": "Added successfully",
"editSuccess": "Updated successfully"
},
"detail": {
"title": "Test Record Detail",
"sectionBasic": "Basic Info",
"recordId": "Record ID",
"testCount": "Test count",
"testCountSuffix": " runs",
"createTime": "Created at",
"admin": "Operator",
"paidPoolId": "Paid lottery pool config ID",
"freePoolId": "Free lottery pool config ID",
"bigwinSnapshot": "BIGWIN weight snapshot",
"sectionPaidTier": "Paid draw tier odds (T1T5, used in test)",
"sectionFreeTier": "Free draw tier odds (T1T5, used in test)",
"colTier": "Tier",
"colWeight": "Weight",
"colPercent": "Share",
"emptyPaidTier": "No paid tier data (legacy records may only have tier_weights_snapshot)",
"emptyFreeTier": "No free tier data",
"sectionSnapshot": "Weight snapshot (T1T5 / BIGWIN used in test)",
"subCw": "Clockwise (non-BIGWIN)",
"subCcw": "Counter-clockwise (non-BIGWIN)",
"colGridNumber": "Dice points",
"emptyCw": "No clockwise data",
"emptyCcw": "No counter-clockwise data",
"subBigwin": "BIGWIN (DiceRewardConfig snapshot)",
"emptyBigwinTable": "No BIGWIN data",
"sectionResult": "Landing stats (count per grid_number)",
"chartXAxis": "Dice points (grid_number)",
"emptyResult": "No landing data",
"resultTotal": "Total landings: {n}",
"btnImport": "Import to current config",
"importTitle": "Import to production config",
"importDesc": "Import this test record into DiceReward (cell weights), DiceRewardConfig (BIGWIN weight), and DiceLotteryPoolConfig (paid/free T1T5 odds). Select target pools.",
"importPaidLabel": "Import paid tier odds to pool",
"importPaidPlaceholder": "Select a pool (paid pool recommended)",
"importPaidTip": "If empty, uses paid pool ID saved on this record",
"importFreeLabel": "Import free tier odds to pool",
"importFreePlaceholder": "Select a pool (free pool recommended)",
"importFreeTip": "If empty, uses free pool ID saved on this record",
"btnConfirmImport": "Confirm import",
"importSuccess": "Imported. DiceReward, DiceRewardConfig (BIGWIN), and pool config refreshed.",
"importFail": "Import failed",
"dash": "—",
"dirCw": "Clockwise",
"dirCcw": "Counter-clockwise"
}
}