Improve router bundle (#6269)

* router

* optimise
This commit is contained in:
Ilya246
2025-02-06 15:51:32 -05:00
committed by GitHub
parent 4a0bf40431
commit ba622cb76b
+5 -1
View File
@@ -494,7 +494,11 @@ public class Vars implements Loadable{
//router //router
if(locale.toString().equals("router")){ if(locale.toString().equals("router")){
bundle.debug("router"); I18NBundle defBundle = I18NBundle.createBundle(Core.files.internal("bundles/bundle"));
String router = Character.toString(Iconc.blockRouter);
for(String s : bundle.getKeys()){
bundle.getProperties().put(s, Strings.stripColors(defBundle.get(s)).replaceAll("\\S", router));
}
} }
} }
} }