LuaStats.wiki
changeset 2023 28eb488c6f8f
parent 2022 654f68cfbeac
equal deleted inserted replaced
2022:654f68cfbeac 2023:28eb488c6f8f
    43 
    43 
    44 If `siPointType` was not used, the point type will default to “number of kills” and is displayed in the ranking like “Team 1 (2 kills)”.
    44 If `siPointType` was not used, the point type will default to “number of kills” and is displayed in the ranking like “Team 1 (2 kills)”.
    45 
    45 
    46 The default point type and the special point types (those with the exclamation mark) will get localized in the frontend, including numerus form and decimal point. Do not enclose these special values in `loc()` (see [LuaLibraryLocale]).
    46 The default point type and the special point types (those with the exclamation mark) will get localized in the frontend, including numerus form and decimal point. Do not enclose these special values in `loc()` (see [LuaLibraryLocale]).
    47 
    47 
    48 If you use the custom text with number, it will not be localized by the frontend. You can enclose it in `loc()` in Lua. However, this type doesn't support localization of the numerus form and decimal point, so only use this one as a last resort.
    48 If you use the custom text with number, it will not be localized by the frontend, but it's supposed to be localized in Lua instead, just use `loc()`. However, this type doesn't support localization of the numerus form and decimal point, so only use this one as a last resort.
    49 
    49 
    50 === Examples ===
    50 === Examples ===
    51 
    51 
    52 <code language="lua">
    52 <code language="lua">
    53 -- will automatically change the health icon to a star
    53 -- will automatically change the health icon to a star