[New] Added I18n*Bundles for quick i18n
This commit is contained in:
parent
2a0a59f71b
commit
44f7ed163e
|
@ -0,0 +1,7 @@
|
|||
package li.strolch.agent;
|
||||
|
||||
import java.util.ResourceBundle;
|
||||
|
||||
public class I18nAgentBundle {
|
||||
public static final ResourceBundle i18nAgentBundle = ResourceBundle.getBundle("strolch-agent");
|
||||
}
|
|
@ -81,7 +81,7 @@ public class LogMessage extends I18nMessage {
|
|||
}
|
||||
|
||||
@Override
|
||||
public LogMessage value(String key, String value) {
|
||||
public LogMessage value(String key, Object value) {
|
||||
super.value(key, value);
|
||||
return this;
|
||||
}
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
package li.strolch.service;
|
||||
|
||||
import java.util.ResourceBundle;
|
||||
|
||||
public class I18nServiceBundle {
|
||||
public static final ResourceBundle i18nServiceBundle = ResourceBundle.getBundle("strolch-service");
|
||||
}
|
|
@ -1,3 +1,4 @@
|
|||
execution.handler.invalidState=ExecutionHandler has state {state}, can not start new jobs!
|
||||
execution.handler.failed.execution=Failed to set to execution due to {reason}
|
||||
execution.handler.failed.executed=Failed to set to execution due to {reason}
|
||||
execution.handler.failed.stopped=Failed to set to execution due to {reason}
|
||||
|
|
Loading…
Reference in New Issue