refactor: 国际化 not support key 显示具体的key
This commit is contained in:
parent
711c787f8d
commit
c52fddbe19
|
@ -17,6 +17,6 @@ public class Translator {
|
|||
* 单Key翻译
|
||||
*/
|
||||
public static String get(String key) {
|
||||
return messageSource.getMessage(key, null, "Not Support Key", LocaleContextHolder.getLocale());
|
||||
return messageSource.getMessage(key, null, "Not Support Key: " + key, LocaleContextHolder.getLocale());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue