Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Japanese translations #63

Merged
merged 3 commits into from
Oct 5, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public BuildStepWithTimeout newInstance(StaplerRequest req, JSONObject formData)

@Override
public String getDisplayName() {
return "Run with timeout";
return Messages.BuildStepWithTimeout_DisplayName();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# The MIT License
#
# Copyright (c) 2004-2012, Sun Microsystems, Inc., Seiji Sogabe
# Copyright (c) 2016-, Seiji Sogabe
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Somehow this file is displayed as renamed, they are actually not renamed but removed and added.
LikelyStuckTimeOutStrategy/config.jelly have no texts to translate (there are no text "Likely stuck"), and LikelyStuckTimeOutStrategy/config_ja.properties is unnecessary.

#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
Expand All @@ -20,4 +20,11 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

Likely\ stuck=\u6ede\u7559\u3057\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u9ad8\u3044\u306a\u3089\u3070\u4e2d\u6b62
#Build\ Step=ビルド手順
Build\ Step=\u30d3\u30eb\u30c9\u624b\u9806
#Time-out\ strategy=タイムアウトの判定方法
Time-out\ strategy=\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u306e\u5224\u5b9a\u65b9\u6cd5
#Time-out\ actions=タイムアウト時のアクション
Time-out\ actions=\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u6642\u306e\u30a2\u30af\u30b7\u30e7\u30f3
#Add\ action=アクションの追加
Add\ action=\u30a2\u30af\u30b7\u30e7\u30f3\u306e\u8ffd\u52a0
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@

#Time-out\ actions=タイムアウト時のアクション
Time-out\ actions=\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u6642\u306e\u30a2\u30af\u30b7\u30e7\u30f3
#Add\ action=処理を追加する
Add\ action=\u51e6\u7406\u3092\u8ffd\u52a0\u3059\u308b
#Add\ action=アクションの追加
Add\ action=\u30a2\u30af\u30b7\u30e7\u30f3\u306e\u8ffd\u52a0
#Time-out\ strategy=タイムアウトの判定方法
Time-out\ strategy=\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u306e\u5224\u5b9a\u65b9\u6cd5
#Time-out\ variable=タイムアウト時間の保存先
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ Descriptor.DisplayName=Abort the build if it''s stuck
Timeout.Message=Build timed out (after {0} minutes). Marking the build as {1}.
Timeout.Aborted=aborted
Timeout.Failed=failed

BuildStepWithTimeout.DisplayName=Run with timeout
8 changes: 7 additions & 1 deletion src/main/resources/hudson/plugins/build_timeout/Messages_ja.properties
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,15 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

# Abort the build if it''s stuck
#Descriptor.DisplayName=滞留した場合にビルドを中止する
Descriptor.DisplayName=\u6ede\u7559\u3057\u305f\u5834\u5408\u306b\u30d3\u30eb\u30c9\u3092\u4e2d\u6b62\u3059\u308b

#Timeout.Message=ビルドがタイムアウトしました({0}分)。ビルドを"{1}"に変更します。
Timeout.Message=\u30d3\u30eb\u30c9\u304c\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u3057\u307e\u3057\u305f({0}\u5206)\u3002\u30d3\u30eb\u30c9\u3092"{1}"\u306b\u5909\u66f4\u3057\u307e\u3059\u3002
#Timeout.Aborted=中止
Timeout.Aborted=\u4e2d\u6b62
#Timeout.Failed=失敗
Timeout.Failed=\u5931\u6557

#BuildStepWithTimeout.DisplayName=タイムアウト付きの実行
BuildStepWithTimeout.DisplayName=\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u4ed8\u304d\u306e\u5b9f\u884c
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change "起動" to "実行" as it would be a better translation for "run" in this context.

Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,19 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

#Timeout\ minutes=タイムアウト(分)
Timeout\ minutes=\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8(\u5206)
#Timeout\ as\ a\ percentage\ of\ recent\ non-failing\ builds=\
# 失敗していないビルドの平均所要時間から算出
Timeout\ as\ a\ percentage\ of\ recent\ non-failing\ builds=\
\u5931\u6557\u3057\u3066\u3044\u306a\u3044\u30d3\u30eb\u30c9\u306e\u5e73\u5747\u6240\u8981\u6642\u9593\u304b\u3089\u7b97\u51fa
#Timeout\ to\ use\ if\ there\ are\ no\ previous\ successful\ or\ unstable\ builds=\
# 成功もしくは不安定ビルドがない場合のタイムアウト
Timeout\ to\ use\ if\ there\ are\ no\ previous\ successful\ or\ unstable\ builds=\
\u6210\u529f\u3082\u3057\u304f\u306f\u4e0d\u5b89\u5b9a\u30d3\u30eb\u30c9\u304c\u306a\u3044\u5834\u5408\u306e\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8
# Number\ of\ Builds=ビルドの数
#Number\ of\ Builds=ビルドの数
Number\ of\ Builds=\u30d3\u30eb\u30c9\u306e\u6570
#Number\ of\ builds\ to\ consider\ computing\ average\ duration=平均所要時間の算出に使用するビルドの数
Number\ of\ builds\ to\ consider\ computing\ average\ duration=\u5e73\u5747\u6240\u8981\u6642\u9593\u306e\u7b97\u51fa\u306b\u4f7f\u7528\u3059\u308b\u30d3\u30eb\u30c9\u306e\u6570
#Timeout\ minutes\ as\ the\ shortest\ timeout=タイムアウトの最小値
Timeout\ minutes\ as\ the\ shortest\ timeout=\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u306e\u6700\u5c0f\u5024
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<p>
Jenkins の Executor.html#isLikelyStuck() で使用されている方法を用い、ビルドが過去の実績から推定される最大のビルド時間を超えている場合にタイムアウトします。
<br/>
過去の実行に比べて極端に長い時間ビルドが実行されている場合にタイムアウトと判定します。
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Translated from help.html: Abort the build when the job has taken many times longer than previous runs.

</p>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# The MIT License
#
# Copyright (c) 2015, Fernando Migu�lez <[email protected]>
# Copyright (c) 2004-2016, Sun Microsystems, Inc., Seiji Sogabe
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some how it is diaplayed as renamed from LikelyStuckTimeOutStrategy/config_es.properties even though it is actually commited as renamed from LikelyStuckTimeOutStrategy/config_ja.properties.
Anyway, LikelyStuckTimeOutStrategy/config_*.properties is unnecessary as ditto.

#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
Expand All @@ -20,4 +20,5 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

Likely\ stuck=Probablemente atascada
#Maximum\ restarts=最大再起動回数
Maximum\ restarts=\u6700\u5927\u518d\u8d77\u52d5\u56de\u6570
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<div>
Count of maximum restarts. 0 means without a limit.</a>.
Count of maximum restarts. 0 means without a limit.
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div>
最大再起動回数。0は制限なしを表します。
</div>