You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
619 B
23 lines
619 B
3 years ago
|
package com.eco.plugin.xx.zcgjsync.kit;
|
||
|
|
||
|
import com.fr.locale.InterProviderFactory;
|
||
|
|
||
|
import java.util.Locale;
|
||
|
import java.util.Map;
|
||
|
|
||
|
public class I18nKit {
|
||
|
public I18nKit() {
|
||
|
}
|
||
|
|
||
|
public static String getLocText(String string) {
|
||
|
return InterProviderFactory.getProvider().getLocText(string);
|
||
|
}
|
||
|
|
||
|
public static String getLocText(String string, String... args) {
|
||
|
return InterProviderFactory.getProvider().getLocText(string, args);
|
||
|
}
|
||
|
|
||
|
public static Map<String, String> getEntireKV(Locale locale) {
|
||
|
return InterProviderFactory.getClientProvider().getEntireKV(locale);
|
||
|
}
|
||
|
}
|