Lineage
Toggle table of contents
0.4.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Lineage
proxy
/
ru.hytalemodding.lineage.proxy.i18n
/
ProxyMessages
Proxy
Messages
class
ProxyMessages
(
defaultLanguage
:
String
,
bundles
:
Map
<
String
,
Map
<
String
,
String
>
>
)
In-memory localized proxy messages.
Members
Constructors
Proxy
Messages
Link copied to clipboard
constructor
(
defaultLanguage
:
String
,
bundles
:
Map
<
String
,
Map
<
String
,
String
>
>
)
Types
Companion
Link copied to clipboard
object
Companion
Functions
normalize
Language
Link copied to clipboard
fun
normalizeLanguage
(
language
:
String
?
)
:
String
replace
With
Link copied to clipboard
fun
replaceWith
(
other
:
ProxyMessages
)
text
Link copied to clipboard
fun
text
(
language
:
String
?
,
key
:
String
,
vars
:
Map
<
String
,
String
>
=
emptyMap()
)
:
String