mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-12-10 07:58:05 +00:00
The dedicated server always uses the default Language instance, as it's setter method is stripped from the server jar. So if we mixin to this instance's creation and load it with mods' en_us lang files, we will be able to "translate" text on the server. Translate in quotes as we're only loading en_us files, but mojang was the one who left out translations on the dedicated server we shouldn't feel too bad.
16 lines
702 B
XML
16 lines
702 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE suppressions PUBLIC
|
|
"-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
|
|
"https://checkstyle.org/dtds/suppressions_1_2.dtd">
|
|
<suppressions>
|
|
<!-- All the config options and method fields. -->
|
|
<suppress checks="StaticVariableName" files=".*[\\/]ComputerCraft.java" />
|
|
<suppress checks="StaticVariableName" files=".*[\\/]ComputerCraftAPI.java" />
|
|
|
|
<!-- Some shadowed fields in mixins can't be renamed -->
|
|
<suppress checks="StaticVariableName" files=".*[\\/]mixin[\\/].*" />
|
|
|
|
<!-- The commands API is documented in Lua. -->
|
|
<suppress checks="SummaryJavadocCheck" files=".*[\\/]CommandAPI.java" />
|
|
</suppressions>
|