feat/translation #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "tropicalshadow/hudkit:feat/translation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
👉 😀 👈
c3cc76fe80to0c2505cfb4I'll be back to home on Sunday, and I can continue hudkit development then. :)
Looks pretty solid!
@ -0,0 +24,4 @@fun getUsername(): String? = audience.get()?.get<String>(Identity.NAME)?.orElse(null)fun getDisplayName(): Component? = audience.get()?.get<Component>(Identity.DISPLAY_NAME)?.orElse(null)fun getLocale(): Locale = locale?: audience.get()?.get<Locale>(Identity.LOCALE)?.orElse(Locale.getDefault())?: Locale.getDefault()Won't compile, there's a JVM signature clash.
The following declarations have the same JVM signature (getLocale()Ljava/util/Locale;):
fun (): Locale? defined in net.hudkit.api.HudAudience
fun getLocale(): Locale defined in net.hudkit.api.HudAudience
The
var locale: Locale?property auto-generates a getter that conflicts with the explicitfun getLocale(): Localemethod.should be resolved thanks to Claw
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.