Commit Graph

13 Commits

Author SHA1 Message Date
Salman Ahmed 08f1280aa8 Add `UsedImplicitly` specification to silence unused member inspection
Also applied to `Language` while at it.
2022-07-16 05:04:24 +03:00
andy840119 de7f2a0bba Remove the nullable disable annotation in the localisation. 2022-06-28 20:59:57 +08:00
Dan Balasescu f8830c6850 Automated #nullable processing 2022-06-17 16:37:17 +09:00
Dean Herbert a195d4f5aa Use a culture name that doesn't cause everything to fall over 2022-04-19 16:49:41 +09:00
Dean Herbert feeff16476 Add debug language to help with localisation efforts
The idea is to allow a developer to immediately see which text on a
component or screen has already got localisation support. It can be a
bit of a challenge to see this when creating a new component that
doesn't yet have any translations populated.

Curious to hear thoughts on this. I could see it working very well as a
visual tests checkbox (implemented at o!f side), potentially in addition
to having this at the game level, or replacing this PR.
2022-04-19 14:30:50 +09:00
Dan Balasescu 0e1d17d1d1 Use zh-Hant instead of zh-TW 2022-04-12 13:11:22 +09:00
Bartłomiej Dach 4fe30ca923 Remove Traditional Chinese (HK) language option
Due to no actual existing translations it was falling back to Simplified
Chinese instead, making the option actively wrong/confusing.
2021-06-24 18:32:17 +02:00
Bartłomiej Dach b47774b55a Remove Tagalog language for now
Rationale given in inline comment.
2021-06-19 08:07:37 +02:00
Gagah Pangeran Rosfatiputra 0e9ca3df3c
add remaining non-rtl language 2021-06-16 21:14:48 +07:00
Bartłomiej Dach dc2e3ff89e Fix wrong language codes
Confused them with the flags from the web-side source used.

Tagalog (`tl`) still has no discernible effect, but that's because there
are actually no localisation files in `osu-resources` for that language.
Leave it be for now, as web has that entry, so it might mean that
translations might be coming at some point in the future.
2021-06-16 12:01:58 +02:00
Bartłomiej Dach 64bb1f381b Add more languages to settings dropdown 2021-06-16 10:25:30 +02:00
smoogipoo aa5dae84b2 Make all localisation class strings verbatim 2021-06-14 16:51:17 +09:00
Dean Herbert 60acd824cb Add two sample implementations 2021-04-20 17:30:40 +09:00