Replace all of the uses of translation helper with plain text
We're removing translations from Travis, the substitution was done using this script: https://gist.github.com/drogus/8436273
This commit is contained in:
parent
486e9bee07
commit
8801fe7e6c
|
@ -2,21 +2,21 @@
|
|||
<table id="builds" class="list">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{t builds.name}}</th>
|
||||
<th>{{t builds.message}}</th>
|
||||
<th>Build</th>
|
||||
<th>Message</th>
|
||||
<th>
|
||||
{{t builds.commit}}
|
||||
Commit
|
||||
</th>
|
||||
<th class="committer">
|
||||
{{t builds.committer}}
|
||||
Committer
|
||||
</th>
|
||||
{{#if view.isPullRequestsList}}
|
||||
<th>
|
||||
{{t builds.pr}}
|
||||
PR
|
||||
</th>
|
||||
{{/if}}
|
||||
<th>{{t builds.duration}}</th>
|
||||
<th>{{t builds.finished_at}}</th>
|
||||
<th>Duration</th>
|
||||
<th>Finished</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
{{else}}
|
||||
<dl id="summary">
|
||||
<div class="left">
|
||||
<dt>{{t builds.name}}</dt>
|
||||
<dt>Build</dt>
|
||||
<dd class="number">
|
||||
<span class="status"></span>
|
||||
{{#if build.id}}
|
||||
|
@ -12,40 +12,40 @@
|
|||
{{/if}}
|
||||
{{/if}}
|
||||
</dd>
|
||||
<dt>{{t builds.state}}</dt>
|
||||
<dt>state</dt>
|
||||
<dd class="state">{{capitalize build.state}}</dd>
|
||||
<dt class="finished_at_label">{{t builds.finished_at}}</dt>
|
||||
<dt class="finished_at_label">Finished</dt>
|
||||
<dd class="finished_at timeago" {{bind-attr title="build.formattedFinishedAt"}}>{{formatTime build.finishedAt}}</dd>
|
||||
<dt>{{t builds.duration}}</dt>
|
||||
<dt>Duration</dt>
|
||||
<dd class="duration" {{bind-attr title="startedAt"}}>{{formatDuration build.duration}}</dd>
|
||||
</div>
|
||||
|
||||
{{#with build}}
|
||||
<div class="right">
|
||||
<dt>{{t builds.commit}}</dt>
|
||||
<dt>Commit</dt>
|
||||
<dd class="commit"><a {{bind-attr href="controller.urlGithubCommit"}}>{{formatCommit commit}}</a></dd>
|
||||
{{#if pullRequest}}
|
||||
<dt>{{t builds.pull_request}}</dt>
|
||||
<dt></dt>
|
||||
<dd class="pull_request"><a {{bind-attr href="commit.compareUrl"}}>#{{pullRequestNumber}} {{pullRequestTitle}}</a></dd>
|
||||
{{else}}
|
||||
{{#if commit.compareUrl}}
|
||||
<dt>{{t builds.compare}}</dt>
|
||||
<dt>Compare</dt>
|
||||
<dd class="compare"><a {{bind-attr href="commit.compareUrl"}}>{{pathFrom commit.compareUrl}}</a></dd>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{#if commit.authorName}}
|
||||
<dt>{{t builds.author}}</dt>
|
||||
<dt>Author</dt>
|
||||
<dd class="author">{{commit.authorName}}</dd>
|
||||
{{/if}}
|
||||
{{#if commit.committerName}}
|
||||
<dt>{{t builds.committer}}</dt>
|
||||
<dt>Committer</dt>
|
||||
<dd class="committer">{{commit.committerName}}</dd>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/with}}
|
||||
|
||||
|
||||
<dt>{{t builds.message}}</dt>
|
||||
<dt>Message</dt>
|
||||
<dd class="message">{{formatMessage build.commit.message repoBinding=build.repo}}</dd>
|
||||
</dl>
|
||||
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
{{#if view.required}}
|
||||
<table id="jobs" class="list">
|
||||
<caption>
|
||||
{{t jobs.build_matrix}}
|
||||
Build Matrix
|
||||
</caption>
|
||||
{{else}}
|
||||
<table id="allowed_failure_jobs" class="list">
|
||||
<caption>
|
||||
{{t jobs.allowed_failures}}
|
||||
Allowed Failures
|
||||
<a title="What's this?" class="help open-popup" name="help-allowed_failures" {{action "popup" target="view"}}></a>
|
||||
</caption>
|
||||
{{/if}}
|
||||
|
@ -46,7 +46,7 @@
|
|||
{{#unless view.required}}
|
||||
<div id="help-allowed_failures" class="popup">
|
||||
<a href="#" class="close" {{action "popupClose" target="view"}}></a>
|
||||
<h4>{{t "jobs.allowed_failures"}}</h4>
|
||||
<h4></h4>
|
||||
<p>
|
||||
Allowed Failures are items in your build matrix that are allowed to
|
||||
fail without causing the entire build to be shown as failed.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
{{#if view.job.sponsor.name}}
|
||||
<p class="sponsor">
|
||||
{{t builds.messages.sponsored_by}}
|
||||
This test series was run on a worker box sponsored by
|
||||
<a {{bind-attr href="sponsor.url"}}>{{sponsor.name}}</a>
|
||||
</p>
|
||||
{{/if}}
|
||||
|
|
|
@ -11,38 +11,38 @@
|
|||
{{/if}}
|
||||
{{/if}}
|
||||
</dd>
|
||||
<dt>{{t jobs.state}}</dt>
|
||||
<dt>state</dt>
|
||||
<dd class="state">{{capitalize job.state}}</dd>
|
||||
<dt class="finished_at_label">{{t jobs.finished_at}}</dt>
|
||||
<dt class="finished_at_label">Finished</dt>
|
||||
<dd class="finished_at timeago" {{bind-attr title="job.formattedFinishedAt"}}>{{formatTime job.finishedAt}}</dd>
|
||||
<dt>{{t jobs.duration}}</dt>
|
||||
<dt>Duration</dt>
|
||||
<dd class="duration" {{bind-attr title="startedAt"}}>{{formatDuration job.duration}}</dd>
|
||||
</div>
|
||||
|
||||
{{#with job}}
|
||||
<div class="right">
|
||||
<dt>{{t jobs.commit}}</dt>
|
||||
<dt>Commit</dt>
|
||||
<dd class="commit"><a {{bind-attr href="controller.urlGithubCommit"}}>{{formatCommit commit}}</a></dd>
|
||||
{{#if build.pullRequest}}
|
||||
<dt>{{t builds.pull_request}}</dt>
|
||||
<dt></dt>
|
||||
<dd class="pull_request"><a {{bind-attr href="commit.compareUrl"}}>#{{build.pullRequestNumber}} {{build.pullRequestTitle}}</a></dd>
|
||||
{{else}}
|
||||
{{#if commit.compareUrl}}
|
||||
<dt>{{t jobs.compare}}</dt>
|
||||
<dt>Compare</dt>
|
||||
<dd class="compare"><a {{bind-attr href="commit.compareUrl"}}>{{pathFrom commit.compareUrl}}</a></dd>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{#if commit.authorName}}
|
||||
<dt>{{t jobs.author}}</dt>
|
||||
<dt>Author</dt>
|
||||
<dd class="author">{{commit.authorName}}</dd>
|
||||
{{/if}}
|
||||
{{#if commit.committerName}}
|
||||
<dt>{{t jobs.committer}}</dt>
|
||||
<dt>Committer</dt>
|
||||
<dd class="committer">{{commit.committerName}}</dd>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/with}}
|
||||
<dt>{{t jobs.message}}</dt>
|
||||
<dt>Message</dt>
|
||||
<dd class="message">{{formatMessage job.commit.message repoBinding=job.repo}}</dd>
|
||||
</dl>
|
||||
|
||||
|
|
|
@ -4,24 +4,24 @@
|
|||
|
||||
<ul id="navigation">
|
||||
<li class="home">
|
||||
{{#link-to "index.current"}}{{t layouts.top.home}}{{/link-to}}
|
||||
{{#link-to "index.current"}}Home{{/link-to}}
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://about.travis-ci.org/blog">{{t layouts.top.blog}}</a>
|
||||
<a href="http://about.travis-ci.org/blog">Blog</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://status.travis-ci.com">{{t layouts.top.status}}</a>
|
||||
<a href="http://status.travis-ci.com">Status</a>
|
||||
</li>
|
||||
<li class="menu community">
|
||||
<p class="handle">
|
||||
<a href="#">Help</a>
|
||||
</p>
|
||||
<ul>
|
||||
<li><a href="http://about.travis-ci.org/docs">{{t layouts.top.docs}}</a></li>
|
||||
<li><a href="http://about.travis-ci.org/docs">Docs</a></li>
|
||||
<li><a href="http://about.travis-ci.org/newsletter">Newsletter</a></li>
|
||||
<li><a href="https://github.com/travis-ci/travis-ci/issues/new">File an Issue</a></li>
|
||||
<li><a href="https://twitter.com/travisci">{{t layouts.about.twitter}}</a></li>
|
||||
<li><a href="https://groups.google.com/group/travis-ci">{{t layouts.about.mailing_list}}</a></li>
|
||||
<li><a href="https://twitter.com/travisci">Twitter</a></li>
|
||||
<li><a href="https://groups.google.com/group/travis-ci">Mailing List</a></li>
|
||||
<li><a href="irc://irc.freenode.net#travis">IRC</a></li>
|
||||
<li><a href="mailto:support@travis-ci.com">E-Mail us</a></li>
|
||||
</ul>
|
||||
|
@ -32,21 +32,21 @@
|
|||
<li {{bind-attr class="view.classProfile"}}>
|
||||
<p class="handle">
|
||||
{{#if signedOut}}
|
||||
<a class="signed-out" href="#" {{action "signIn" target="Travis"}}>{{t layouts.top.github_login}}</a>
|
||||
<a class="signed-out" href="#" {{action "signIn" target="Travis"}}>Sign in with Github</a>
|
||||
{{/if}}
|
||||
{{#if signedIn}}
|
||||
{{#link-to "profile" class="signed-in"}}<img {{bind-attr src="gravatarUrl"}}/>{{userName}}{{/link-to}}
|
||||
{{/if}}
|
||||
{{#if signingIn}}
|
||||
<span class="signing-in">{{t layouts.top.signing_in}}</span>
|
||||
<span class="signing-in">Signing In</span>
|
||||
{{/if}}
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
{{#link-to "profile.index" class="signed-in"}}{{t layouts.top.accounts}}{{/link-to}}
|
||||
{{#link-to "profile.index" class="signed-in"}}Accounts{{/link-to}}
|
||||
</li>
|
||||
<li>
|
||||
<a href="/" {{action "signOut" target="Travis"}}>{{t layouts.top.sign_out}}</a>
|
||||
<a href="/" {{action "signOut" target="Travis"}}>Sign Out</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<p class="tip">
|
||||
{{{t profiles.show.message.your_repos}}}
|
||||
{ Flick the switches below to turn on the Travis service hook for your projects, then push to GitHub.<br />
|
||||
To test against multiple rubies, see}
|
||||
</p>
|
||||
|
||||
{{#if allHooks.isLoaded}}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<dl class="profile">
|
||||
<div>
|
||||
<dt>
|
||||
{{t profiles.show.github}}
|
||||
Github
|
||||
</dt>
|
||||
<dd>
|
||||
<a {{bind-attr href="urlGithub"}}>{{user.login}}</a>
|
||||
|
@ -11,7 +11,7 @@
|
|||
</div>
|
||||
<div>
|
||||
<dt>
|
||||
{{t profiles.show.email}}
|
||||
Email
|
||||
</dt>
|
||||
<dd>
|
||||
{{user.email}}
|
||||
|
@ -19,7 +19,7 @@
|
|||
</div>
|
||||
<div>
|
||||
<dt>
|
||||
{{t profiles.show.token}}
|
||||
Token
|
||||
</dt>
|
||||
<dd>
|
||||
{{user.token}}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<ul id="queues">
|
||||
{{#each queue in controller}}
|
||||
<li class="queue">
|
||||
<h4>{{t queue}}: {{queue.name}}</h4>
|
||||
<h4>Queue: {{queue.name}}</h4>
|
||||
<ul {{bind-attr id="queue.id"}}>
|
||||
{{#each job in queue}}
|
||||
{{#view Travis.QueueItemView jobBinding="job"}}
|
||||
|
@ -15,7 +15,7 @@
|
|||
{{/if}}
|
||||
{{/view}}
|
||||
{{else}}
|
||||
{{t no_job}}
|
||||
There are no jobs
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
||||
|
|
|
@ -21,11 +21,11 @@
|
|||
{{/with}}
|
||||
|
||||
<p class="summary">
|
||||
<span class="duration_label">{{t repositories.duration}}:</span>
|
||||
<span class="duration_label">Duration:</span>
|
||||
<abbr class="duration" {{bind-attr title="lastBuildStartedAt"}}>{{formatDuration lastBuildDuration}}</abbr>
|
||||
</p>
|
||||
<p class="summary">
|
||||
<span class="finished-icon"></span><span class="finished_at_label">{{t repositories.finished_at}}:</span>
|
||||
<span class="finished-icon"></span><span class="finished_at_label">Finished:</span>
|
||||
<abbr class="finished_at timeago" {{bind-attr title="lastBuildFinishedAt"}}>{{formatTime lastBuildFinishedAt}}</abbr>
|
||||
</p>
|
||||
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<ul class="tabs">
|
||||
<li id="tab_owned" {{bind-attr class="view.classOwned"}}>
|
||||
<h5><a {{action "activate" "owned" target="view"}}>{{t layouts.application.my_repositories}}</a></h5>
|
||||
<h5><a {{action "activate" "owned" target="view"}}>My Repositories</a></h5>
|
||||
</li>
|
||||
|
||||
<li id="tab_recent" {{bind-attr class="view.classRecent"}}>
|
||||
<h5><a {{action "activate" "recent" target="view"}}>{{t layouts.application.recent}}</a></h5>
|
||||
<h5><a {{action "activate" "recent" target="view"}}>Recent</a></h5>
|
||||
</li>
|
||||
|
||||
<li id="tab_search" {{bind-attr class="view.classSearch"}}>
|
||||
<h5><a {{action "activate" "search" target="view"}}>{{t layouts.application.search}}</a></h5>
|
||||
<h5><a {{action "activate" "search" target="view"}}>Search</a></h5>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<h5>
|
||||
{{#if repo.slug}}
|
||||
{{#link-to "repo" repo currentWhen="repo.index"}}
|
||||
{{t repositories.tabs.current}}
|
||||
Current
|
||||
{{/link-to}}
|
||||
{{/if}}
|
||||
</h5>
|
||||
|
@ -12,7 +12,7 @@
|
|||
<h5>
|
||||
{{#if repo.slug}}
|
||||
{{#link-to "builds" repo}}
|
||||
{{t repositories.tabs.build_history}}
|
||||
Build History
|
||||
{{/link-to}}
|
||||
{{/if}}
|
||||
</h5>
|
||||
|
@ -21,7 +21,7 @@
|
|||
<h5>
|
||||
{{#if repo.slug}}
|
||||
{{#link-to "pullRequests" repo}}
|
||||
{{t repositories.tabs.pull_requests}}
|
||||
Pull Requests
|
||||
{{/link-to}}
|
||||
{{/if}}
|
||||
</h5>
|
||||
|
@ -30,7 +30,7 @@
|
|||
<h5>
|
||||
{{#if repo.slug}}
|
||||
{{#link-to "branches" repo}}
|
||||
{{t repositories.tabs.branches}}
|
||||
Branch Summary
|
||||
{{/link-to}}
|
||||
{{/if}}
|
||||
</h5>
|
||||
|
@ -40,7 +40,7 @@
|
|||
{{#if build.id}}
|
||||
{{#if repo.slug}}
|
||||
{{#link-to "build" repo build}}
|
||||
{{t repositories.tabs.build}} #{{build.number}}
|
||||
Build #{{build.number}}
|
||||
{{/link-to}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
@ -51,7 +51,7 @@
|
|||
{{#if job.id}}
|
||||
{{#if repo.slug}}
|
||||
{{#link-to "job" repo job}}
|
||||
{{t repositories.tabs.job}} #{{job.number}}
|
||||
Job #{{job.number}}
|
||||
{{/link-to}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<a href="#" class="close" {{action "close" target="view"}}></a>
|
||||
<p>
|
||||
<label>{{t repositories.branch}}:</label>
|
||||
<label>Branch:</label>
|
||||
{{#if view.branches.isLoaded}}
|
||||
{{view Ember.Select contentBinding="view.branches" selectionBinding="view.statusImageBranch" optionLabelPath="content.commit.branch" optionValuePath="content.commit.branch"}}
|
||||
{{else}}
|
||||
|
@ -8,26 +8,26 @@
|
|||
{{/if}}
|
||||
</p>
|
||||
<p>
|
||||
<label>{{t repositories.image_url}}:</label>
|
||||
<label>Image URL:</label>
|
||||
<input type="text" class="url" {{bind-attr value="view.statusImageUrl"}}></input>
|
||||
</p>
|
||||
<p>
|
||||
<label>{{t repositories.markdown}}:</label>
|
||||
<label>Markdown:</label>
|
||||
<input type="text" class="markdown" {{bind-attr value="view.markdownStatusImage"}}></input>
|
||||
</p>
|
||||
<p>
|
||||
<label>{{t repositories.textile}}:</label>
|
||||
<label>Textile:</label>
|
||||
<input type="text" class="textile" {{bind-attr value="view.textileStatusImage"}}></input>
|
||||
</p>
|
||||
<p>
|
||||
<label>{{t repositories.rdoc}}:</label>
|
||||
<label>RDOC:</label>
|
||||
<input type="text" class="rdoc" {{bind-attr value="view.rdocStatusImage"}}></input>
|
||||
</p>
|
||||
<p>
|
||||
<label>{{t repositories.asciidoc}}:</label>
|
||||
<label>AsciiDoc:</label>
|
||||
<input type="text" class="asciidoc" {{bind-attr value="view.asciidocStatusImage"}}></input>
|
||||
</p>
|
||||
<p>
|
||||
<label>{{t repositories.rst}}:</label>
|
||||
<label>:</label>
|
||||
<input type="text" class="rst" {{bind-attr value="view.rstStatusImage"}}></input>
|
||||
</p>
|
||||
|
|
Loading…
Reference in New Issue
Block a user