提交 4b86129b 编写于 作者: S Seiji Sogabe

Updated ja.

上级 1fbb0d96
......@@ -1763,11 +1763,12 @@ public abstract class AbstractProject<P extends AbstractProject<P,R>,R extends A
try {
Label.parseExpression(value);
} catch (ANTLRException e) {
return FormValidation.error(e,"Invalid boolean expression: "+e.getMessage());
return FormValidation.error(e,
Messages.AbstractProject_AssignedLabelString_InvalidBooleanExpression(e.getMessage()));
}
// TODO: if there's an atom in the expression that is empty, report it
if (Hudson.getInstance().getLabel(value).isEmpty())
return FormValidation.warning("There's no slave/cloud that matches this assignment");
return FormValidation.warning(Messages.AbstractProject_AssignedLabelString_NoMatch());
return FormValidation.ok();
}
......
......@@ -179,8 +179,10 @@ public abstract class FormValidation extends IOException implements HttpResponse
if (e==null) return _errorWithMarkup(Util.escape(message),kind);
return _errorWithMarkup(Util.escape(message)+
" <a href='#' class='showDetails'>(show details)</a><pre style='display:none'>"
+ Functions.printThrowable(e) +
" <a href='#' class='showDetails'>"
+ Messages.FormValidation_Error_Details()
+ "</a><pre style='display:none'>"
+ Functions.printThrowable(e) +
"</pre>",kind
);
}
......
......@@ -51,6 +51,10 @@ AbstractProject.ExtendedReadPermission.Description=\
This permission grants read-only access to project configurations. Please be \
aware that sensitive information in your builds, such as passwords, will be \
exposed to a wider audience by granting this permission.
AbstractProject.AssignedLabelString.InvalidBooleanExpression=\
Invalid boolean expression: {0}
AbstractProject.AssignedLabelString.NoMatch=\
There's no slave/cloud that matches this assignment
Api.MultipleMatch=XPath "{0}" matched {1} nodes. \
Create XPath that only matches one, or use the "wrapper" query parameter to wrap them all under a root element.
......
......@@ -47,6 +47,10 @@ AbstractProject.WorkspacePermission.Description=\
AbstractProject.ExtendedReadPermission.Description=\
\u3053\u306e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u8a2d\u5b9a\u753b\u9762\u306e\u53c2\u7167\u306e\u307f\u8a31\u53ef\u3057\u307e\u3059\u3002\
\u3053\u306e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3092\u4e0e\u3048\u308b\u3068\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u3088\u3046\u306a\u30d3\u30eb\u30c9\u306e\u614e\u91cd\u306b\u6271\u3046\u5fc5\u8981\u304c\u3042\u308b\u60c5\u5831\u304c\u516c\u958b\u3055\u308c\u3066\u3057\u307e\u3046\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002
AbstractProject.AssignedLabelString.InvalidBooleanExpression=\
\u30e9\u30d9\u30eb\u5f0f\u306b\u9593\u9055\u3044\u304c\u3042\u308a\u307e\u3059\u3002: {0}
AbstractProject.AssignedLabelString.NoMatch=\
\u8a72\u5f53\u3059\u308b\u30b9\u30ec\u30fc\u30d6\u3082\u3057\u304f\u306f\u30af\u30e9\u30a6\u30c9\u306f\u3042\u308a\u307e\u305b\u3093\u3002
Api.MultipleMatch=XPath "{0}" \u306f {1} \u500b\u306e\u30ce\u30fc\u30c9\u3068\u4e00\u81f4\u3057\u307e\u3057\u305f\u3002 \
1\u3064\u306e\u30ce\u30fc\u30c9\u306b\u306e\u307f\u4e00\u81f4\u3059\u308bXPath\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3082\u3057\u304f\u306f\u3001\u30eb\u30fc\u30c8\u8981\u7d20\u304c\u542b\u3080\u3059\u3079\u3066\u3092\u30e9\u30c3\u30d7\u3059\u308b"wrapper"\u30af\u30a8\u30ea\u30fc\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002
......@@ -145,6 +149,7 @@ Run.DeletePermission.Description=\
\u3053\u306e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u306f\u3001\u30d3\u30eb\u30c9\u5c65\u6b74\u304b\u3089\u306e\u7279\u5b9a\u30d3\u30eb\u30c9\u306e\u524a\u9664\u3092\u8a31\u53ef\u3057\u307e\u3059\u3002
Run.UpdatePermission.Description=\
\u3053\u306e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u306f\u3001\u30d3\u30eb\u30c9\u5931\u6557\u306e\u539f\u56e0\u306b\u95a2\u3059\u308b\u30e1\u30e2\u3092\u6b8b\u3059\u306a\u3069\u3001\u30d3\u30eb\u30c9\u306e\u8aac\u660e\u3084\u4ed6\u306e\u5c5e\u6027\u306e\u66f4\u65b0\u3092\u8a31\u53ef\u3057\u307e\u3059\u3002
Run.InProgressDuration={0} \u4ee5\u4e0a
Run.Summary.Stable=\u5b89\u5b9a
Run.Summary.Unstable=\u4e0d\u5b89\u5b9a
......
......@@ -24,4 +24,5 @@ ClockDifference.InSync=In sync
ClockDifference.Ahead=\ ahead
ClockDifference.Behind=\ behind
ClockDifference.Failed=Failed to check
FormValidation.ValidateRequired=Required
\ No newline at end of file
FormValidation.ValidateRequired=Required
FormValidation.Error.Details=(show details)
\ No newline at end of file
......@@ -24,4 +24,5 @@ ClockDifference.InSync=\u540c\u671f\u4e2d
ClockDifference.Ahead=\ \u9032\u3093\u3067\u3044\u307e\u3059
ClockDifference.Behind=\ \u9045\u308c\u3066\u3044\u307e\u3059
ClockDifference.Failed=\u30c1\u30a7\u30c3\u30af\u306b\u5931\u6557\u3057\u307e\u3057\u305f
FormValidation.ValidateRequired=\u5fc5\u9808\u9805\u76ee\u3067\u3059\u3002
\ No newline at end of file
FormValidation.ValidateRequired=\u5fc5\u9808\u9805\u76ee\u3067\u3059\u3002
FormValidation.Error.Details=(\u8a73\u7d30)
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册