Skip to content

Commit

Permalink
Improve statistics descriptions (#40)
Browse files Browse the repository at this point in the history
* fix: address #34

* zh-CN: update locale

* chore: update changelog
  • Loading branch information
mrmagic2020 authored Jun 6, 2024
1 parent f9ff084 commit 5e8ddc1
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 6 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,17 @@ and this project adheres to [Semantic Versioning].

## [Unreleased]

- /
### Added

- Add tooltips to some statistic entries for better clarity.

### Changed

- Reword some UI elements for better clarity.

### Removed

### Fixed

## [1.0.0-pre.7] - 2024-06-04

Expand Down
11 changes: 9 additions & 2 deletions src/languages/locale/en-GB.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@
"game_time_fake": "Game time (in-game): {PALESILVER}<NUMBER> days",

"action_track_design": "Track design: {PALESILVER}",
"action_stall_and_facility_placement": "Stall / facility placement: {PALESILVER}",
"action_stall_and_facility_placement": "Ride/stall placement: {PALESILVER}",
"action_footpath_placement": "Footpath placement: {PALESILVER}",
"action_scenery_placement": "Scenery placement: {PALESILVER}",
"action_landscaping": "Landscaping: {PALESILVER}",
"action_staff": "Staff action: {PALESILVER}",
"action_staff": "Staff configuration: {PALESILVER}",
"action_relocate_peep": "Peep relocation: {PALESILVER}",
"action_pop_balloon": "Pop balloon: {PALESILVER}",
"action_set_cheats": "Set cheats: {PALESILVER}",
Expand Down Expand Up @@ -132,8 +132,15 @@
"options_delete_data": "Delete all data"
},
"tooltip": {
"action_track_design": "Includes track placement, track removal, track design and setting brake speed.",
"action_stall_and_facility_placement": "Includes placing and demolishing rides, stalls and facilities.",

"entity_count_total_limitation": "An unsigned 16-bit integer has a range limit of 0~65535. If the entity count goes beyond that, the number ceases to change.",

"park_rating_warning_days": "When the park rating drops below 700, you will have 30 days to improve it before the park is forced to close.",

"ride_value_ave": "The value of a ride contributes to the maximum amount of money a guest is willing to pay for it, and the maximum amount of money a guest is willing to pay for the park entrance fee.",

"options_update_running": "Dynamic Dashboard is running and updating automatically.",
"options_update_manual": "Dynamic Dashboard is partially paused. Update manually by clicking the 'Sync now' button.",
"options_update_paused": "Dynamic Dashboard is paused and not updating any data."
Expand Down
7 changes: 7 additions & 0 deletions src/languages/locale/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,15 @@
"options_delete_data": "删除所有数据"
},
"tooltip": {
"action_track_design": "包括轨道放置、拆除、设计和刹车速度设置。",
"action_stall_and_facility_placement": "包括游乐设施及店铺放置、拆除。",

"entity_count_total_limitation": "16位无符号整数的取值范围限制是0~65535。如果实体数量超过这个值,这个数字就会停止变化。",

"park_rating_warning_days": "一旦游乐园评分低于700,你会有30天时间改善评分,否则游乐园会被强制关闭。",

"ride_value_ave": "游乐设施的价值决定了游客愿意为其支付的最高金额,也决定了游客愿意为公园门票支付的最高金额。",

"options_update_running": "动态仪表正在运行。数据将自动刷新。",
"options_update_manual": "动态仪表正在运行。部分数据需要手动刷新。",
"options_update_paused": "动态仪表已暂停。数据不会刷新。"
Expand Down
13 changes: 10 additions & 3 deletions src/ui/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,18 @@ function menu(): void {
),
visibility: "visible"
}),
// Action Statistics
groupbox({
text: language.ui.main.groupbox.player.action_statistics,
content: [
// Track Design
label({
text: compute(
baseData.local.player.action_track_design.store,
(value) =>
language.ui.main.label.action_track_design + value
)
),
tooltip: language.ui.main.tooltip.action_track_design
}),
label({
text: compute(
Expand All @@ -99,7 +102,10 @@ function menu(): void {
(value) =>
language.ui.main.label
.action_stall_and_facility_placement + value
)
),
tooltip:
language.ui.main.tooltip
.action_stall_and_facility_placement
}),
label({
text: compute(
Expand Down Expand Up @@ -1131,7 +1137,8 @@ function menu(): void {
language.ui.main.label.ride_value_ave,
Currency.localise(value)
)
)
),
tooltip: language.ui.main.tooltip.ride_value_ave
}),
label({
text: compute(
Expand Down

0 comments on commit 5e8ddc1

Please sign in to comment.