mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 22:12:25 +00:00
Added Japanese localization
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18140 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
38f49ca392
commit
8ff7421a3e
18 files changed
+174
-12
No files matched your search
@@ -411,12 +411,12 @@ public class JDKInstaller extends ToolInstaller {
|
||||
@Extension
|
||||
public static final class DescriptorImpl extends ToolInstallerDescriptor<JDKInstaller> {
|
||||
public String getDisplayName() {
|
||||
return "Install from java.sun.com"; // XXX I18N
|
||||
return Messages.JDKInstaller_DescriptorImpl_displayName();
|
||||
}
|
||||
|
||||
public FormValidation doCheckId(@QueryParameter String value) {
|
||||
if (Util.fixEmpty(value) == null) {
|
||||
return FormValidation.error("Define JDK ID"); // XXX I18N and improve message
|
||||
return FormValidation.error(Messages.JDKInstaller_DescriptorImpl_doCheckId()); // improve message
|
||||
} else {
|
||||
// XXX further checks?
|
||||
return FormValidation.ok();
|
||||
@@ -435,7 +435,7 @@ public class JDKInstaller extends ToolInstaller {
|
||||
if (value) {
|
||||
return FormValidation.ok();
|
||||
} else {
|
||||
return FormValidation.error("You must agree to the license to download the JDK."); // XXX I18N
|
||||
return FormValidation.error(Messages.JDKInstaller_DescriptorImpl_doCheckAcceptLicense());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -108,7 +108,7 @@ public class ToolLocationNodeProperty extends NodeProperty<Node> {
|
||||
public static class DescriptorImpl extends NodePropertyDescriptor {
|
||||
|
||||
public String getDisplayName() {
|
||||
return Messages.ToolLocationNodeProperty_DisplayName();
|
||||
return Messages.ToolLocationNodeProperty_displayName();
|
||||
}
|
||||
|
||||
public DescriptorExtensionList<ToolInstallation,ToolDescriptor<?>> getToolDescriptors() {
|
||||
|
||||
Reference in new issue
Block a user