-
Notifications
You must be signed in to change notification settings - Fork 1
feat(fishing-ui): improve fish information and localization features #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
SychO3
wants to merge
2
commits into
LetsTussleBoiz:master
Choose a base branch
from
SychO3:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,91 @@ | ||
| { | ||
| "mod-name": "ArgonMatrix 钓鱼界面", | ||
| "controls.pressnewkey": "按键触发", | ||
| "ui.fishipedia.title": "鱼图鉴", | ||
|
|
||
| "ui.hud.title": "钓鱼助手", | ||
|
|
||
| "watertype.freshwater": "淡水", | ||
| "watertype.ocean": "海水", | ||
|
|
||
| "ui.fishipedia.weather.rainy": "雨天", | ||
| "ui.fishipedia.weather.sunny": "晴天", | ||
| "ui.fishipedia.weather.any": "任意天气", | ||
| "ui.fishipedia.weather.none": "无", | ||
|
|
||
| "ui.fishipedia.season.spring": "春季", | ||
| "ui.fishipedia.season.summer": "夏季", | ||
| "ui.fishipedia.season.fall": "秋季", | ||
| "ui.fishipedia.season.winter": "冬季", | ||
|
|
||
| "ui.fishipedia.time.time_available": "可钓时间", | ||
| "ui.fishipedia.time.between": "在 ", | ||
| "ui.fishipedia.time.and": "至 ", | ||
|
|
||
| "ui.fishipedia.titles.general": "基本信息", | ||
| "ui.fishipedia.titles.trap": "蟹笼信息", | ||
| "ui.fishipedia.titles.catch": "垂钓信息", | ||
| "ui.fishipedia.titles.locations": "地点", | ||
| "ui.fishipedia.titles.pond": "鱼塘信息", | ||
| "ui.fishipedia.titles.items_produced": "产出物品", | ||
|
|
||
| "ui.fishipedia.tooltips.legendary": "传说鱼", | ||
|
|
||
| "ui.fishipedia.ponds.pop_required": "所需数量:", | ||
| "ui.fishipedia.ponds.sale_price": "售价:", | ||
|
|
||
| "ui.fishipedia.spawntime.one": "繁殖周期:", | ||
| "ui.fishipedia.spawntime.two": "天", | ||
|
|
||
| "ui.fishipedia.labels.description": "描述:", | ||
| "ui.fishipedia.labels.caught_status": "捕获状态:", | ||
| "ui.fishipedia.labels.min_size": "最小尺寸:", | ||
| "ui.fishipedia.labels.max_size": "最大尺寸:", | ||
| "ui.fishipedia.labels.inches": "英寸", | ||
| "ui.fishipedia.labels.water_type": "水域类型:", | ||
| "ui.fishipedia.labels.fish_caught": "捕获数量:", | ||
| "ui.fishipedia.labels.fishing_level": "所需钓鱼等级:", | ||
| "ui.fishipedia.labels.biggest": "最大捕获:", | ||
| "ui.fishipedia.labels.every_season": "全年", | ||
| "ui.fishipedia.labels.weather_required": "所需天气:", | ||
| "ui.fishipedia.labels.seasons": "可钓季节:", | ||
| "ui.fishipedia.labels.difficulty": "钓鱼难度:", | ||
| "ui.fishipedia.labels.during": "于", | ||
| "ui.fishipedia.labels.special_information": "特殊说明:", | ||
| "ui.fishipedia.tooltips.special_conditions": "特殊条件", | ||
| "ui.fishipedia.tooltips.area_names": "区域名称", | ||
|
|
||
| "ui.fishipedia.tabs.general": "概要", | ||
| "ui.fishipedia.tabs.catchinfo": "垂钓", | ||
| "ui.fishipedia.tabs.pondinfo": "鱼塘", | ||
|
|
||
| "ui.fishipedia.caught_status.caught": "已捕获", | ||
| "ui.fishipedia.caught_status.uncaught": "未捕获", | ||
|
|
||
| "ui.special.title": "特殊条件", | ||
| "ui.special.segment": "条件:", | ||
|
|
||
| "ui.area.title": "区域信息", | ||
| "ui.area.segment": "区域:", | ||
|
|
||
| "ui.hud.labels.no_fish": "当前位置无可钓鱼!", | ||
|
|
||
| "specialinfo.ghostfish": "亦可在矿井20层与60层捕获,无等级要求,且可由幽灵掉落。", | ||
| "specialinfo.stonefish": "亦可在矿井20层捕获,无等级要求。", | ||
| "specialinfo.icepip": "亦可在矿井60层捕获,无等级要求。", | ||
| "specialinfo.tiger": "在年度鳟鱼大赛期间无视捕获条件。", | ||
| "specialinfo.none": "无特殊说明。", | ||
| "specialinfo.extended_family": "仅在奇先生的“家族团聚”特别委托期间可钓。", | ||
|
|
||
| "gmcm.title": "主要设置", | ||
| "gmcm.tooltip": "开发中:此处包含当前可用的配置项。", | ||
| "gmcm.keybind": "设置鱼图鉴快捷键:", | ||
| "gmcm.hud_size": "HUD 大小(百分比):", | ||
| "gmcm.columns": "HUD 列数:", | ||
| "gmcm.hide_collected_name": "HUD 隐藏已捕获:", | ||
| "gmcm.hide_collected_tooltip": "在鱼类 HUD 中隐藏你已捕获过的鱼。", | ||
| "gmcm.hide_daily_name": "仅显示今日可钓:", | ||
| "gmcm.hide_daily_tooltip": "隐藏今天不可钓的鱼(优先于“仅显示当季”)。", | ||
| "gmcm.hide_season_name": "仅显示当季可钓:", | ||
| "gmcm.hide_season_tooltip": "隐藏非本季节可钓的鱼。" | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The expression
Enum.GetValues<Season>().ToHashSet()is called every time 'Here' is encountered without explicit seasons. Consider caching this HashSet as a static readonly field to avoid repeated allocations and enum value retrievals.