@@ -98,16 +98,16 @@ function Locale.ToNumber(num, format) end
98
98
--- @class SpokenLanguage : Language
99
99
--- @field Path string
100
100
101
- --- ```lua
101
+ --- ```lua
102
102
--- -- Example
103
- --- Locale.GetCurrentLanguage() -- { Type = 'en_US', DisplayName = 'English' }
103
+ --- Locale.GetCurrentLanguage() -- { Type = 'en_US', DisplayName = 'English' }
104
104
--- ```
105
105
--- @return { Type : string , DisplayName : string }
106
106
function Locale .GetCurrentLanguage () end
107
107
108
- --- ```lua
108
+ --- ```lua
109
109
--- -- Example
110
- --- Locale.GetCurrentSpokenLanguage() -- { Type = 'en_US', Path = 'English', DisplayName = 'English' }
110
+ --- Locale.GetCurrentSpokenLanguage() -- { Type = 'en_US', Path = 'English', DisplayName = 'English' }
111
111
--- ```
112
112
--- @return SpokenLanguage
113
113
function Locale .GetCurrentSpokenLanguage () end
@@ -153,15 +153,15 @@ function Locale.IsASCII(str) end
153
153
--- @return boolean
154
154
function Locale .IsUTF8 (str ) end
155
155
156
- --- ```lua
156
+ --- ```lua
157
157
--- -- Example
158
158
--- Locale.ConvertPosixTimeToString(0) -- "1970-01-01 01:00"
159
159
--- ```
160
160
--- @param time number
161
161
--- @return string
162
162
function Locale .ConvertPosixTimeToString (time ) end
163
163
164
- --- ```lua
164
+ --- ```lua
165
165
--- -- Example
166
166
--- Locale.IsNilOrEmpty('') -- true
167
167
--- Locale.IsNilOrEmpty(nil) -- true
@@ -173,7 +173,7 @@ function Locale.IsNilOrEmpty(str) end
173
173
174
174
--- Checks if `str` consists of whitespaces or is `nil`.
175
175
--- <b> Do not use this function to check strings like `"[NEWLINE]"`, `"[SPACE]"` etc. </b>
176
- --- ```lua
176
+ --- ```lua
177
177
--- -- Example
178
178
--- Locale.IsNilOrWhitespace('') -- true
179
179
--- Locale.IsNilOrWhitespace(nil) -- true
@@ -195,10 +195,10 @@ function Locale.IsNilOrWhitespace(str) end
195
195
function Locale .Substring (str , startIndex , endIndex ) end
196
196
197
197
--- Converts `num` to curreny string depending on current language.
198
- --- ```lua
198
+ --- ```lua
199
199
--- -- Example
200
200
--- -- if current language is en_US
201
- --- Locale.ToCurrency(123) -- '$123.00'
201
+ --- Locale.ToCurrency(123) -- '$123.00'
202
202
--- Locale.ToCurrency(123.256) -- '$123.26'
203
203
--- -- if current language is pl_PL
204
204
--- Locale.ToCurrency(123) -- '123,00 zł'
@@ -208,7 +208,7 @@ function Locale.Substring(str, startIndex, endIndex) end
208
208
function Locale .ToCurrency (num ) end
209
209
210
210
--- Converts `num` to ordinal string depending on current language
211
- --- ```lua
211
+ --- ```lua
212
212
--- -- Example
213
213
--- -- if current language is en_US
214
214
--- Locale.ToOrdinal(1) -- "1ˢᵗ"
@@ -224,7 +224,7 @@ function Locale.ToCurrency(num) end
224
224
function Locale .ToOrdinal (num ) end
225
225
226
226
--- Convers `num` to percent, where `1` is `"100%"`. Expect different result depending on current language
227
- --- ```lua
227
+ --- ```lua
228
228
--- -- Example
229
229
--- -- if current language is en_US
230
230
--- Locale.ToPercent(1) -- "100%"
@@ -246,15 +246,15 @@ function Locale.ToPercent(num) end
246
246
--- Locale.ToSpellout(1) -- "one"
247
247
--- Locale.ToSpellout(-555.12) -- "minus five hundred fifty-five point one two"
248
248
--- Locale.ToSpellout(5/0) -- "eighteen quadrillion..." very long number, looks like something like max number
249
- --- -- if current language is pl_PL
249
+ --- -- if current language is pl_PL
250
250
--- Locale.ToSpellout(555) -- "pięćset pięćdziesiąt pięć"
251
251
--- ```
252
252
--- @param num number
253
253
--- @return string
254
254
function Locale .ToSpellout (num ) end
255
255
256
- --- Converts specified `num` to roman numeral string.
257
- --- It is limited by some maximum number after which
256
+ --- Converts specified `num` to roman numeral string.
257
+ --- It is limited by some maximum number after which
258
258
--- just converts number to current language representation
259
259
--- ```lua
260
260
--- -- Example
@@ -268,10 +268,10 @@ function Locale.ToRomanNumeral(num) end
268
268
269
269
--- Unknown behaviour
270
270
--- @deprecated
271
- --- @param ... any
271
+ --- @param ... unknown
272
272
function Locale .LocalSystemCPToUTF8 (...) end
273
273
274
274
--- Unknown behaviour
275
275
--- @deprecated
276
- --- @param ... any
276
+ --- @param ... unknown
277
277
function Locale .UTF8ToLocalSystemCP (...) end
0 commit comments