Skip to content
This repository was archived by the owner on Feb 13, 2020. It is now read-only.

Commit

Permalink
i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
ikikko committed May 5, 2014
1 parent 27bc7fc commit 3b43f40
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListen
Long topicId = Long.valueOf(topicNumber);

// Typetalkに通知中...
listener.getLogger().println("Notifying to the typetalk...");
listener.getLogger().println("Notifying to the Typetalk...");

Credential credential = getDescriptor().getCredential(name);
if (credential == null) {
Expand Down Expand Up @@ -158,7 +158,7 @@ public boolean isApplicable(Class<? extends AbstractProject> jobType) {

@Override
public String getDisplayName() {
return "Typetalkに通知";
return "Typetalk Notification";
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
See global.jelly for a general discussion about jelly script.
-->

<f:entry title="credential">
<f:entry title="${%Credential}">
<select class="setting-input" name="credential.name" description="Select configured credential">
<j:forEach var="credential" items="${descriptor.credentials}">
<f:option selected="${credential.name.equals(instance.name)}">${credential.name}</f:option>
</j:forEach>
</select>
</f:entry>

<f:entry title="トピック番号" field="topicNumber">
<f:entry title="${%Topic Number}" field="topicNumber">
<f:textbox />
</f:entry>

<f:entry title="ビルドが成功した場合も通知する" field="notifyWhenSuccess">
<f:entry title="${%Notify even if build succeeds}" field="notifyWhenSuccess">
<f:checkbox />
</f:entry>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
-->
<f:section title="Typetalk">

<f:entry title="credentials" field="credentials">
<f:entry title="${%Credentials}" field="credentials">

<f:repeatable var="credential" header="credential" items="${descriptor.credentials}">
<f:repeatable var="credential" header="${%Credential}" items="${descriptor.credentials}">

<table width="100%">

<f:entry title="Name">
<f:entry title="${%Name}">
<f:textbox name="credential.name" value="${credential.name}"/>
</f:entry>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<div>
<p>
ビルド結果をTypetalk上に通知する際の認証情報を設定します。ここで設定した認証情報を、ジョブの設定で指定します。
Configure credentials to notify a build result to Typetalk. The credentials is used at a job configure page.
</p>
認証情報の設定方法は以下の通りです。
How to configure credentials is below.
<ol>
<li>TypetalkのDeveloper設定から<a href="https://typetalk.in/my/develop/applications/register" target="_blank">アプリケーションを登録</a>します。"Grant Type"は"Client Credentials"を選択してください。その他の項目は任意の値で構いません。</li>
<li>アプリケーション登録後の画面に表示されている"Client ID"と"Client Secret"を、Jenkinsの設定項目に入力してください。"Name"は識別しやすい任意の値で構いません。</li>
<li><a href="https://typetalk.in/my/develop/applications/register" target="_blank">Register new application</a> via Typetalk Developer Application Page. Specify 'Client Credentials' in 'Grant Type'. Other items are optional.</li>
<li>Input 'Client ID' and 'Client Secret' displayed at a registration page. Input any value in 'Name'.</li>
</ol>
</div>

0 comments on commit 3b43f40

Please sign in to comment.