mirror of
https://github.com/Oth3r/Sit.git
synced 2025-09-20 00:13:21 +02:00
switch to OtterLib language registry
This commit is contained in:
parent
91faaba5c8
commit
9ac4cd5156
3 changed files with 5 additions and 14 deletions
|
@ -1,7 +1,7 @@
|
|||
package one.oth3r.sit.utl;
|
||||
|
||||
import one.oth3r.otterlib.chat.CTxT;
|
||||
import one.oth3r.sit.file.FileData;
|
||||
import one.oth3r.otterlib.registry.LanguageReg;
|
||||
|
||||
import java.awt.*;
|
||||
|
||||
|
@ -11,6 +11,6 @@ public class Chat {
|
|||
}
|
||||
|
||||
public static CTxT lang(String key, Object... args) {
|
||||
return FileData.getLangReader().dynamicTranslatable(key, args);
|
||||
return LanguageReg.getLang(Data.MOD_ID).dynamicTranslatable(key, args);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue