Closed b0r1ngx closed 6 months ago
The recent updates across the Minesweeper app's codebase primarily focus on enhancing internationalisation and localisation support. This includes adding imports for generated resources, utilising resource strings for UI text like actions, labels, and buttons, and incorporating ExperimentalResourceApi
for advanced resource handling. Additionally, there's a specific note on exploring resource usage for WebAssembly, indicating a forward-looking approach to cross-platform compatibility.
Files | Changes |
---|---|
.../game/GameContent.kt .../root/RootContent.kt .../settings/EditSettingsContent.kt |
Added imports for generated resources and utilised resource strings for UI elements like actions, labels, and buttons. |
.../jvmMain/kotlin/Main.kt |
Added resource handling for window title. |
.../wasmJsMain/kotlin/Main.kt |
Added a TODO for exploring resource usage in WebAssembly. |
🐰✨
In a land of code and binary,
Where resources were once a mystery,
Came a rabbit, wise and merry,
To sprinkle localisation, quite the fairy.
With strings and resources, all in a flurry,
Our app now speaks globally, no need to worry!
🌍✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
One more thing that I want to say, the task of increasing level of accessibility is a not easy task and requires additional work and tests, so I think in context of this PR we may not target on this, but awesome that we have discussion about it!
Is GIVEN_created_WHEN_first_click_on_cell_THEN_state_started
test start failing?
(check auto build)
Is
GIVEN_created_WHEN_first_click_on_cell_THEN_state_started
test start failing? (check auto build)
I think test test is flaky, filed #22.
Hello, Arkadii, I'm done with extracting user strings from code, please review.
I think that we may extract strings only that user interact with, because later its valueble for translate it for example.
Summary by CodeRabbit
Main.kt
file for potential resource integration with WebAssembly.