From cd726f8f6ede02b430e9314d38cbdc9bdc8089f4 Mon Sep 17 00:00:00 2001 From: Cliff Meyers Date: Mon, 7 Nov 2016 10:21:53 -0500 Subject: [PATCH] Task/jenkins 35845 i18n key rename (#579) * [JENKINS-35845] rework i18n keys for home page * [JENKINS-35845] l10n for activity tab * [JENKINS-35845] l10n for branches tab * [JENKINS-35845] l10n for pull requests tab * [JENKINS-35845] l10n for run details -> pipeline * [JENKINS-35845] l10n for run details -> changes, tests, artifacts * [JENKINS-35845] l10n for run details header changes * [JENKINS-35845] pagination; fix typo causing error --- .../src/main/js/components/Activity.jsx | 31 ++-- .../src/main/js/components/Branches.jsx | 6 +- .../main/js/components/ChangeSetToAuthors.jsx | 6 +- .../main/js/components/CreatePipelineLink.js | 2 +- .../src/main/js/components/MultiBranch.jsx | 16 ++- .../src/main/js/components/PipelinePage.jsx | 6 +- .../main/js/components/PipelineRowItem.jsx | 4 +- .../src/main/js/components/Pipelines.jsx | 16 +-- .../src/main/js/components/PullRequest.jsx | 4 +- .../src/main/js/components/PullRequests.jsx | 12 +- .../src/main/js/components/RunDetails.jsx | 8 +- .../js/components/RunDetailsArtifacts.jsx | 6 +- .../main/js/components/RunDetailsChanges.jsx | 14 +- .../main/js/components/RunDetailsHeader.jsx | 12 +- .../main/js/components/RunDetailsPipeline.jsx | 2 +- .../main/js/components/RunDetailsTests.jsx | 10 +- .../src/main/js/components/Runs.jsx | 8 +- .../js/components/testing/TestResults.jsx | 38 ++--- .../blueocean/dashboard/Messages.properties | 132 ++++++++++------- .../dashboard/Messages_de.properties | 132 ++++++++++------- .../dashboard/Messages_es.properties | 135 ++++++++++-------- 21 files changed, 338 insertions(+), 262 deletions(-) diff --git a/blueocean-dashboard/src/main/js/components/Activity.jsx b/blueocean-dashboard/src/main/js/components/Activity.jsx index 2dc73a3a851..c9d993a5683 100644 --- a/blueocean-dashboard/src/main/js/components/Activity.jsx +++ b/blueocean-dashboard/src/main/js/components/Activity.jsx @@ -25,7 +25,7 @@ const EmptyState = ({ repoName, pipeline, showRunButton, onNavigation, t }) => } @@ -88,23 +88,24 @@ export class Activity extends Component { } const latestRun = runs[0]; + const head = 'pipelinedetail.activity.header'; const headers = isMultiBranchPipeline ? [ - t('Status'), - t('Build'), - t('Commit'), - { label: t('Branch'), className: 'branch' }, - { label: t('Message'), className: 'message' }, - { label: t('Duration'), className: 'duration' }, - { label: t('Completed'), className: 'completed' }, + t(`${head}.status`), + t(`${head}.build`), + t(`${head}.commit`), + { label: t(`${head}.branch`), className: 'branch' }, + { label: t(`${head}.message`), className: 'message' }, + { label: t(`${head}.duration`), className: 'duration' }, + { label: t(`${head}.completed`), className: 'completed' }, { label: '', className: 'actions' }, ] : [ - t('Status'), - t('Build'), - t('Commit'), - { label: t('Message'), className: 'message' }, - { label: t('Duration'), className: 'duration' }, - { label: t('Completed'), className: 'completed' }, + t(`${head}.status`), + t(`${head}.build`), + t(`${head}.commit`), + { label: t(`${head}.message`), className: 'message' }, + { label: t(`${head}.duration`), className: 'duration' }, + { label: t(`${head}.completed`), className: 'completed' }, { label: '', className: 'actions' }, ]; @@ -148,7 +149,7 @@ export class Activity extends Component { } {runs.$pager && runs.length > 0 && } diff --git a/blueocean-dashboard/src/main/js/components/Branches.jsx b/blueocean-dashboard/src/main/js/components/Branches.jsx index 018e43473fe..41b806c1309 100644 --- a/blueocean-dashboard/src/main/js/components/Branches.jsx +++ b/blueocean-dashboard/src/main/js/components/Branches.jsx @@ -64,8 +64,8 @@ export default class Branches extends Component { date={endTime} liveUpdate locale={locale} - shortFormat={t('Date.readable.short')} - longFormat={t('Date.readable.long')} + shortFormat={t('common.date.readable.short')} + longFormat={t('common.date.readable.long')} /> { /* suppress all click events from extension points */ } @@ -91,7 +91,7 @@ const { func, object, string } = PropTypes; Branches.propTypes = { data: object.isRequired, t: func, - locale: string + locale: string, }; Branches.contextTypes = { diff --git a/blueocean-dashboard/src/main/js/components/ChangeSetToAuthors.jsx b/blueocean-dashboard/src/main/js/components/ChangeSetToAuthors.jsx index a52595e65b3..0ee819e79b0 100644 --- a/blueocean-dashboard/src/main/js/components/ChangeSetToAuthors.jsx +++ b/blueocean-dashboard/src/main/js/components/ChangeSetToAuthors.jsx @@ -34,13 +34,13 @@ export default class ChangeSetToAuthors extends Component { render() { const { props: { changeSet, onAuthorsClick, t }, state: { condense } } = this; const authors = changeSet && changeSet.map ? [...(new Set(changeSet.map(change => change.author.fullName)):any)] : []; - let children = t('No.changes'); + let children = t('rundetail.header.changes.none'); if (authors && authors.length > 0) { let nested; if (condense) { - nested = t('Changes.condense', { 0: changeSet.length }); + nested = t('rundetail.header.changes.count', { 0: changeSet.length }); } else { - nested = t('Changes.by', { 0: authors.map(author => ` ${author}`) }); + nested = t('rundetail.header.changes.names', { 0: authors.map(author => ` ${author}`) }); } children = ( {nested} diff --git a/blueocean-dashboard/src/main/js/components/CreatePipelineLink.js b/blueocean-dashboard/src/main/js/components/CreatePipelineLink.js index 9ef17e1f9ed..ac80934b1f6 100644 --- a/blueocean-dashboard/src/main/js/components/CreatePipelineLink.js +++ b/blueocean-dashboard/src/main/js/components/CreatePipelineLink.js @@ -28,7 +28,7 @@ export default function CreatePipelineLink(props, context) { return ( - { translate('New Pipeline') } + { translate('home.header.button.createpipeline') } ); } diff --git a/blueocean-dashboard/src/main/js/components/MultiBranch.jsx b/blueocean-dashboard/src/main/js/components/MultiBranch.jsx index 5d977ec7ed1..2eb5289b353 100644 --- a/blueocean-dashboard/src/main/js/components/MultiBranch.jsx +++ b/blueocean-dashboard/src/main/js/components/MultiBranch.jsx @@ -74,13 +74,15 @@ export class MultiBranch extends Component { return (); } + const head = 'pipelinedetail.branches.header'; + const headers = [ - t('Health'), - t('Status'), - { label: t('Branch'), className: 'branch' }, - { label: t('Commit'), className: 'lastcommit' }, - { label: t('Latest.message'), className: 'message' }, - { label: t('Completed'), className: 'completed' }, + t(`${head}.health`), + t(`${head}.status`), + { label: t(`${head}.branch`), className: 'branch' }, + { label: t(`${head}.commit`), className: 'lastcommit' }, + { label: t(`${head}.message`), className: 'message' }, + { label: t(`${head}.completed`), className: 'completed' }, { label: '', className: 'run' }, ]; @@ -104,7 +106,7 @@ export class MultiBranch extends Component { {branches.$pager && } diff --git a/blueocean-dashboard/src/main/js/components/PipelinePage.jsx b/blueocean-dashboard/src/main/js/components/PipelinePage.jsx index 38fac947d51..7c26d699cd8 100644 --- a/blueocean-dashboard/src/main/js/components/PipelinePage.jsx +++ b/blueocean-dashboard/src/main/js/components/PipelinePage.jsx @@ -100,9 +100,9 @@ export class PipelinePage extends Component { } - { t('Activity') } - { t('Branches') } - { t('PR') } + { t('pipelinedetail.common.tab.activity') } + { t('pipelinedetail.common.tab.branches') } + { t('pipelinedetail.common.tab.pullrequests') } {isReady && React.cloneElement(this.props.children, { pipeline, setTitle, t, locale: I18n.language })} diff --git a/blueocean-dashboard/src/main/js/components/PipelineRowItem.jsx b/blueocean-dashboard/src/main/js/components/PipelineRowItem.jsx index 3f26c2c81ff..234c586b55d 100644 --- a/blueocean-dashboard/src/main/js/components/PipelineRowItem.jsx +++ b/blueocean-dashboard/src/main/js/components/PipelineRowItem.jsx @@ -10,9 +10,9 @@ export class PipelineRowItem extends Component { const { t } = this.props; let response = '-'; if (failing > 0) { - response = t('Failing', { 0: failing }); + response = t('home.pipelineslist.row.failing', { 0: failing }); } else if (passing > 0) { - response = t('Passing', { 0: passing }); + response = t('home.pipelineslist.row.passing', { 0: passing }); } return response; } diff --git a/blueocean-dashboard/src/main/js/components/Pipelines.jsx b/blueocean-dashboard/src/main/js/components/Pipelines.jsx index 639c2444253..5143393adc8 100644 --- a/blueocean-dashboard/src/main/js/components/Pipelines.jsx +++ b/blueocean-dashboard/src/main/js/components/Pipelines.jsx @@ -24,9 +24,9 @@ export class Pipelines extends Component { // this.i18n.on('i18nChanged', (date) => { // console.log('xxx - i18nChanged', date); // }); - // this.i18n.t && console.log('xxxx', this.i18n.t('Name')) + // this.i18n.t && console.log('xxxx', this.i18n.t('home.pipelineslist.header.name')) const { t } = new I18nWrapper('jenkins.plugins.blueocean.dashboard.Messages'); -console.log('ttt'). t('Name') + console.log('ttt', t('home.pipelineslist.header.name')); const orgLink = organization ? : ''; const headers = [ - { label: t('Name'), className: 'name-col' }, - t('Health'), - t('Branches'), - t('PR'), + { label: t('home.pipelineslist.header.name'), className: 'name-col' }, + t('home.pipelineslist.header.health'), + t('home.pipelineslist.header.branches'), + t('home.pipelineslist.header.pullrequests'), { label: '', className: 'actions-col' }, ]; @@ -56,7 +56,7 @@ console.log('ttt'). t('Name') query={query} className="inverse" > - { t('Dashboard') } + { t('home.header.dashboard') } { organization && ' / ' } { organization && orgLink } @@ -94,7 +94,7 @@ console.log('ttt'). t('Name') { pipelines && pipelines.$pager && } diff --git a/blueocean-dashboard/src/main/js/components/PullRequest.jsx b/blueocean-dashboard/src/main/js/components/PullRequest.jsx index f80e2d4eebc..c05981c4f5a 100644 --- a/blueocean-dashboard/src/main/js/components/PullRequest.jsx +++ b/blueocean-dashboard/src/main/js/components/PullRequest.jsx @@ -62,8 +62,8 @@ export default class PullRequest extends Component { date={endTime} liveUpdate locale={locale} - shortFormat={t('Date.readable.short')} - longFormat={t('Date.readable.long')} + shortFormat={t('common.date.readable.short')} + longFormat={t('common.date.readable.long')} /> diff --git a/blueocean-dashboard/src/main/js/components/PullRequests.jsx b/blueocean-dashboard/src/main/js/components/PullRequests.jsx index b74003a238a..4a3bc552f22 100644 --- a/blueocean-dashboard/src/main/js/components/PullRequests.jsx +++ b/blueocean-dashboard/src/main/js/components/PullRequests.jsx @@ -78,12 +78,14 @@ export class PullRequests extends Component { return (); } + const head = 'pipelinedetail.pullrequests.header'; + const headers = [ - t('Status'), - { label: t('Latest.build'), className: 'build' }, - { label: t('Summary'), className: 'summary' }, - t('Author'), - { label: t('Completed'), className: 'completed' }, + t(`${head}.status`), + { label: t(`${head}.build`), className: 'build' }, + { label: t(`${head}.summary`), className: 'summary' }, + t(`${head}.author`), + { label: t(`${head}.completed`), className: 'completed' }, { label: '', className: 'run' }, ]; diff --git a/blueocean-dashboard/src/main/js/components/RunDetails.jsx b/blueocean-dashboard/src/main/js/components/RunDetails.jsx index 7bd17ab2f3a..37387acdf38 100644 --- a/blueocean-dashboard/src/main/js/components/RunDetails.jsx +++ b/blueocean-dashboard/src/main/js/components/RunDetails.jsx @@ -174,10 +174,10 @@ class RunDetails extends Component { onAuthorsClick={() => this.navigateToChanges()} /> - {t('Pipeline')} - {t('Changes')} - {t('Tests')} - {t('Artifacts')} + {t('rundetail.header.tab.pipeline')} + {t('rundetail.header.tab.changes')} + {t('rundetail.header.tab.tests')} + {t('rundetail.header.tab.artifacts')}
diff --git a/blueocean-dashboard/src/main/js/components/RunDetailsArtifacts.jsx b/blueocean-dashboard/src/main/js/components/RunDetailsArtifacts.jsx index f613d5af1fc..03067a4f05f 100644 --- a/blueocean-dashboard/src/main/js/components/RunDetailsArtifacts.jsx +++ b/blueocean-dashboard/src/main/js/components/RunDetailsArtifacts.jsx @@ -26,8 +26,8 @@ export default class RunDetailsArtifacts extends Component { } const headers = [ - { label: t('Name'), className: 'name' }, - { label: t('Size'), className: 'size' }, + { label: t('rundetail.artifacts.header.name'), className: 'name' }, + { label: t('rundetail.artifacts.header.size'), className: 'size' }, { label: '', className: 'actions' }, ]; @@ -42,7 +42,7 @@ export default class RunDetailsArtifacts extends Component { - + diff --git a/blueocean-dashboard/src/main/js/components/RunDetailsChanges.jsx b/blueocean-dashboard/src/main/js/components/RunDetailsChanges.jsx index 7093f6d5234..fd97713a612 100644 --- a/blueocean-dashboard/src/main/js/components/RunDetailsChanges.jsx +++ b/blueocean-dashboard/src/main/js/components/RunDetailsChanges.jsx @@ -30,11 +30,13 @@ export default class RunDetailsChanges extends Component { ); } + const head = 'rundetail.changes.header'; + const headers = [ - t('Commit'), - { label: t('Author'), className: 'author' }, - { label: t('Message'), className: 'message' }, - { label: t('Date'), className: 'date' }, + t(`${head}.commit`), + { label: t(`${head}.author`), className: 'author' }, + { label: t(`${head}.message`), className: 'message' }, + { label: t(`${head}.date`), className: 'date' }, ]; return ( @@ -49,8 +51,8 @@ export default class RunDetailsChanges extends Component { date={commit.timestamp} liveUpdate locale={locale} - shortFormat={t('Date.readable.short')} - longFormat={t('Date.readable.long')} + shortFormat={t('common.date.readable.short')} + longFormat={t('common.date.readable.long')} /> diff --git a/blueocean-dashboard/src/main/js/components/RunDetailsHeader.jsx b/blueocean-dashboard/src/main/js/components/RunDetailsHeader.jsx index 82d853d232f..a39b45421ea 100644 --- a/blueocean-dashboard/src/main/js/components/RunDetailsHeader.jsx +++ b/blueocean-dashboard/src/main/js/components/RunDetailsHeader.jsx @@ -58,12 +58,12 @@ class RunDetailsHeader extends Component {
- + {displayName}
{ run.commitId ?
- + {run.commitId.substring(0, 7)} @@ -84,8 +84,8 @@ class RunDetailsHeader extends Component { liveUpdate={run.isRunning()} updatePeriod={1000} locale={locale} - liveFormat={t('Date.duration.format')} - hintFormat={t('Date.duration.hint.format')} + liveFormat={t('common.date.duration.format')} + hintFormat={t('common.date.duration.hint.format')} />
@@ -99,8 +99,8 @@ class RunDetailsHeader extends Component { date={run.endTime} liveUpdate locale={locale} - shortFormat={t('Date.readable.short')} - longFormat={t('Date.readable.long')} + shortFormat={t('common.date.readable.short')} + longFormat={t('common.date.readable.long')} />
diff --git a/blueocean-dashboard/src/main/js/components/RunDetailsPipeline.jsx b/blueocean-dashboard/src/main/js/components/RunDetailsPipeline.jsx index 9c2de7b4792..79030deb652 100644 --- a/blueocean-dashboard/src/main/js/components/RunDetailsPipeline.jsx +++ b/blueocean-dashboard/src/main/js/components/RunDetailsPipeline.jsx @@ -386,7 +386,7 @@ export class RunDetailsPipeline extends Component { } { isPipelineQueued && supportsNode && } { !isPipelineQueued && hasResultsForSteps && noSteps && !this.mergedConfig.forceLogView && -

{t('noSteps')}

+

{t('rundetail.pipeline.nosteps')}

} { ((!hasResultsForSteps && !isPipelineQueued) || !supportsNode || this.mergedConfig.forceLogView) && ; } - + if (testResults.$failed) { return ( @@ -41,10 +41,10 @@ export class RunDetailsTests extends Component { return (
-
{t('Passed', { 0: testResults.passCount })}
-
{t('Failed', { 0: testResults.failCount })}
-
{t('Skipped', { 0: testResults.skipCount })}
-
{t('Duration.param', { 0: testResults.duration })}
+
{t('rundetail.tests.passed', { 0: testResults.passCount })}
+
{t('rundetail.tests.failed', { 0: testResults.failCount })}
+
{t('rundetail.tests.skipped', { 0: testResults.skipCount })}
+
{t('rundetail.tests.duration', { 0: testResults.duration })}
@@ -95,8 +95,8 @@ export default class Runs extends Component { date={endTime} liveUpdate locale={locale} - shortFormat={t('Date.readable.short')} - longFormat={t('Date.readable.long')} + shortFormat={t('common.date.readable.short')} + longFormat={t('common.date.readable.long')} /> diff --git a/blueocean-dashboard/src/main/js/components/testing/TestResults.jsx b/blueocean-dashboard/src/main/js/components/testing/TestResults.jsx index 5bd9c00dd68..a6185d2bd4f 100644 --- a/blueocean-dashboard/src/main/js/components/testing/TestResults.jsx +++ b/blueocean-dashboard/src/main/js/components/testing/TestResults.jsx @@ -25,7 +25,7 @@ const TestCaseResultRow = (props) => { const duration = moment.duration(Number(t.duration), 'milliseconds').humanize(); let testDetails = null; - + if (t.errorStackTrace) { testDetails = (
@@ -34,14 +34,14 @@ const TestCaseResultRow = (props) => {
-

{translation('Error')}

+

{translation('rundetail.tests.results.error.message')}

-

{translation('Output')}

+

{translation('rundetail.tests.results.error.output')}

); } - + let statusIndicator = null; switch (t.status) { case 'REGRESSION': @@ -57,7 +57,7 @@ const TestCaseResultRow = (props) => { break; default: } - + return ( t.cases)); - + // one of 5 possible statuses: PASSED, FIXED, SKIPPED, FAILED, REGRESSION see: hudson.tasks.junit.CaseResult$Status :( const fixed = tests.filter(t => t.status === 'FIXED'); const skipped = tests.filter(t => t.status === 'SKIPPED'); @@ -94,13 +94,13 @@ export default class TestResult extends Component { let fixedBlock = null; let skippedBlock = null; let summaryBlock = null; - + if (testResults.failCount === 0) { passBlock = ( -

{translation('Tests.passing')}

-

{translation('Tests.passing.count', { 0: testResults.passCount })}

-

{translation('Serenity')}

+

{translation('rundetail.tests.results.passing.all')}

+

{translation('rundetail.tests.results.passing.count', { 0: testResults.passCount })}

+

{translation('rundetail.tests.results.passing.msg')}

); } else { @@ -108,44 +108,44 @@ export default class TestResult extends Component {
{fixed.length}
- +
{newFailures.length}
- +
{testResults.failCount}
- +
{testResults.passCount}
- +
{testResults.skipCount}
- +
); if (newFailures.length > 0) { newFailureBlock = (
-

{translation('New.error', { 0: newFailures.length })}

+

{translation('rundetail.tests.results.errors.new.count', { 0: newFailures.length })}

{newFailures.map((t, i) => )}
); } if (existingFailures.length > 0) { existingFailureBlock = (
-

{translation('Existing.error', { 0: existingFailures.length })}

+

{translation('rundetail.tests.results.errors.existing,count', { 0: existingFailures.length })}

{existingFailures.map((t, i) => )}
); } if (skipped.length > 0) { skippedBlock = (
-

{translation('Skipped', { 0: skipped.length })}

+

{translation('rundetail.tests.results.skipped.count', { 0: skipped.length })}

{skipped.map((t, i) => )}
); } @@ -154,7 +154,7 @@ export default class TestResult extends Component { // always show fixed, whether showing totals or the encouraging message if (fixed.length > 0) { fixedBlock = (
-

{translation('Fixed')}

+

{translation('rundetail.tests.results.fixed')}

{fixed.map((t, i) => )}
); } diff --git a/blueocean-dashboard/src/main/resources/jenkins/plugins/blueocean/dashboard/Messages.properties b/blueocean-dashboard/src/main/resources/jenkins/plugins/blueocean/dashboard/Messages.properties index 92daf3c60f1..02463061809 100644 --- a/blueocean-dashboard/src/main/resources/jenkins/plugins/blueocean/dashboard/Messages.properties +++ b/blueocean-dashboard/src/main/resources/jenkins/plugins/blueocean/dashboard/Messages.properties @@ -1,23 +1,81 @@ -Activity=Activity -Artifacts=Artifacts -Author=Author -Branch=Branch -Branches=Branches -Build=Build -Changes.by=Changes by {0} -Changes=Changes -Changes.condense={0} changes -Commit=Commit -Completed=Completed -Dashboard=Dashboard -Date=Date -Date.readable.short=MMM DD h:mma Z -Date.readable.long=MMM DD YYYY h:mma Z -Date.duration.format=m[ minutes] s[ seconds] -Date.duration.hint.format=M [month], d [days], h[h], m[m], s[s] -Download.artifact=Download the artifact -Duration=Duration -Duration.param=Duration {0} +# common +common.date.readable.short=MMM DD h:mma Z +common.date.readable.long=MMM DD YYYY h:mma Z +common.date.duration.format=m[ minutes] s[ seconds] +common.date.duration.hint.format=M [month], d [days], h[h], m[m], s[s] +common.pager.loading=Loading... +common.pager.more=Show more + +# home page / dashboard +home.header.dashboard=Dashboard +home.header.button.createpipeline=New Pipeline +home.pipelineslist.header.name=Name +home.pipelineslist.header.health=Health +home.pipelineslist.header.branches=Branches +home.pipelineslist.header.pullrequests=PR +home.pipelineslist.row.passing={0} passing +home.pipelineslist.row.failing={0} failing + +# pipeline details +pipelinedetail.common.tab.activity=Activity +pipelinedetail.common.tab.branches=Branches +pipelinedetail.common.tab.pullrequests=Pull Requests +pipelinedetail.activity.button.run=Run Now +pipelinedetail.activity.header.status=Status +pipelinedetail.activity.header.build=Build +pipelinedetail.activity.header.commit=Commit +pipelinedetail.activity.header.branch=Branch +pipelinedetail.activity.header.message=Message +pipelinedetail.activity.header.duration=Duration +pipelinedetail.activity.header.completed=Completed +pipelinedetail.branches.header.health=Health +pipelinedetail.branches.header.status=Status +pipelinedetail.branches.header.branch=Branch +pipelinedetail.branches.header.commit=Commit +pipelinedetail.branches.header.message=Latest message +pipelinedetail.branches.header.completed=Completed +pipelinedetail.pullrequests.header.status=Status +pipelinedetail.pullrequests.header.build=Latest Build +pipelinedetail.pullrequests.header.summary=Summary +pipelinedetail.pullrequests.header.author=Author +pipelinedetail.pullrequests.header.completed=Completed + +#run details +rundetail.header.tab.pipeline=Pipeline +rundetail.header.tab.changes=Changes +rundetail.header.tab.tests=Tests +rundetail.header.tab.artifacts=Artifacts +rundetail.header.branch=Branch +rundetail.header.commit=Commit +rundetail.header.changes.none=No changes +rundetail.header.changes.count={0} changes +rundetail.header.changes.names=Changes by {0} +rundetail.pipeline.nosteps=There are no steps. +rundetail.changes.header.commit=Commit +rundetail.changes.header.author=Author +rundetail.changes.header.message=Message +rundetail.changes.header.date=Date +rundetail.tests.passed=Passed {0} +rundetail.tests.failed=Failed {0} +rundetail.tests.skipped=Skipped - {0} +rundetail.tests.duration=Duration {0} +rundetail.tests.results.passing.all=All tests are passing +rundetail.tests.results.passing.count=Nice one! All {0} tests for this pipeline are passing. +rundetail.tests.results.passing.msg=How's the serenity? +rundetail.tests.results.fixed=Fixed +rundetail.tests.results.failures.new=New Failures +rundetail.tests.results.failures=Failures +rundetail.tests.results.passing=Passing +rundetail.tests.results.skipped=Skipped +rundetail.tests.results.errors.new.count=New failing - {0} +rundetail.tests.results.errors.existing.count=Existing failures - {0} +rundetail.tests.results.skipped.count=Skipped - {0} +rundetail.tests.results.error.message=Error +rundetail.tests.results.error.output=Stacktrace +rundetail.artifacts.header.name=Name +rundetail.artifacts.header.size=Size +rundetail.artifacts.button.download=Download the artifact + # the emptyState keys assume that you will parse them with a markdown parser EmptyState.activity=# Ready, get set...\nHmm, looks like there are no runs in this pipeline\u2019s history.\n\nCommit to the repository _{0}_ or run the pipeline manually. EmptyState.artifacts=There are no artifacts for this pipeline run.\n\n @@ -28,41 +86,7 @@ EmptyState.pr.notSupported=# Pull Requests are unsupported\nValidated pull reque EmptyState.pr=# Push me, pull you\nWhen a Pull Request is opened on the repository _{0}_, Jenkins will test it and report the status of your changes back to the pull request on Github. EmptyState.tests=There are no tests run for this build.\n\n Enable=Enable -Error=Error -Existing.error=Existing failures - {0} -Failed=Failed {0} -Failing={0} failing -Failures=Failures -Fixed=Fixed -Health=Health -Latest.build=Latest Build -Latest.message=Latest message -Loading=Loading... -Message=Message -More=Show more -Name=Name -New.error=New failing - {0} -New.failures=New Failures -New.Pipeline=New Pipeline -No.changes=No changes -noSteps=There are no steps. Not.found.heading=Page not found (404) Not.found.message=Jenkins could not find the page you were looking for. Check the URL for errors or press the back button. Open.dashboard=Open Dashboard -Output=Stacktrace -Passed=Passed {0} -Passing={0} passing -Passing.singular=Passing -Pipeline=Pipeline -PR=Pull Requests -Run.now=Run Now -Serenity=How's the serenity? Show.complete.logs=Show complete log -Size=Size -Skipped.singular=Skipped -Skipped=Skipped - {0} -Status=Status -Summary=Summary -Tests.passing=All tests are passing -Tests.passing.count=Nice one! All {0} tests for this pipeline are passing. -Tests=Tests diff --git a/blueocean-dashboard/src/main/resources/jenkins/plugins/blueocean/dashboard/Messages_de.properties b/blueocean-dashboard/src/main/resources/jenkins/plugins/blueocean/dashboard/Messages_de.properties index ea1103cd4bf..1b9cb722bce 100644 --- a/blueocean-dashboard/src/main/resources/jenkins/plugins/blueocean/dashboard/Messages_de.properties +++ b/blueocean-dashboard/src/main/resources/jenkins/plugins/blueocean/dashboard/Messages_de.properties @@ -1,23 +1,81 @@ -Activity=Aktivit\u00E4ten -Artifacts=Artefakte -Author=Autor -Branch=Ableger -Branches=Ableger -Build=Build -Changes.by=\u00C4nderungen von {0} -Changes=\u00C4nderungen -Changes.condense={0} \u00E4nderungen -Commit=Commit -Completed=Beendet -Dashboard=\u00dcbersicht -Date=Datum -Date.readable.short=DD MMM h:mma Z -Date.readable.long=DD MMM YYYY h:mma Z -Date.duration.format=m[ Minuten] s[ Sekunden] -Date.duration.hint.format=M [Monate], d [ Tage], h[ Stunden], m[ Minuten], s[ Sekunden] -Download.artifact=Artefakt herunterladen -Duration=Dauer -Duration.param=Dauer {0} +# common +common.date.readable.short=DD MMM h:mma Z +common.date.readable.long=DD MMM YYYY h:mma Z +common.date.duration.format=m[ Minuten] s[ Sekunden] +common.date.duration.hint.format=M [Monate], d [ Tage], h[ Stunden], m[ Minuten], s[ Sekunden] +common.pager.loading=Laden... +common.pager.more=Mehr anzeigen + +# home page / dashboard +home.header.dashboard=\u00dcbersicht +home.header.button.createpipeline=Neue Pipeline +home.pipelineslist.header.name=Name +home.pipelineslist.header.health=Gesundheit +home.pipelineslist.header.branches=Ableger +home.pipelineslist.header.pullrequests=Integrationsanfrage +home.pipelineslist.row.passing={0} erfolgreich +home.pipelineslist.row.failing={0} fehlgeschlagen + +# pipeline details +pipelinedetail.common.tab.activity=Aktivit\u00E4ten +pipelinedetail.common.tab.branches=Ableger +pipelinedetail.common.tab.pullrequests=Integrationsanfrage +pipelinedetail.activity.button.run=Jetzt starten +pipelinedetail.activity.header.status=Status +pipelinedetail.activity.header.build=Build +pipelinedetail.activity.header.commit=Commit +pipelinedetail.activity.header.branch=Ableger +pipelinedetail.activity.header.message=Nachricht +pipelinedetail.activity.header.duration=Dauer +pipelinedetail.activity.header.completed=Beendet +pipelinedetail.branches.header.health=Gesundheit +pipelinedetail.branches.header.status=Status +pipelinedetail.branches.header.branch=Ableger +pipelinedetail.branches.header.commit=Commit +pipelinedetail.branches.header.message=Letzte Nachricht +pipelinedetail.branches.header.completed=Beendet +pipelinedetail.pullrequests.header.status=Status +pipelinedetail.pullrequests.header.build=Letzte Ausf\u00fchrung +pipelinedetail.pullrequests.header.summary=Zusammenfassung +pipelinedetail.pullrequests.header.author=Autor +pipelinedetail.pullrequests.header.completed=Beendet + +#run details +rundetail.header.tab.pipeline=Pipeline +rundetail.header.tab.changes=\u00C4nderungen +rundetail.header.tab.tests=Tests +rundetail.header.tab.artifacts=Artefakte +rundetail.header.branch=Ableger +rundetail.header.commit=Commit +rundetail.header.changes.none=Keine \u00C4nderungen +rundetail.header.changes.count={0} \u00E4nderungen +rundetail.header.changes.names=\u00C4nderungen von {0} +rundetail.pipeline.nosteps=Diese Pipeline definiert keine Build-Schritte. +rundetail.changes.header.commit=Commit +rundetail.changes.header.author=Autor +rundetail.changes.header.message=Nachricht +rundetail.changes.header.date=Datum +rundetail.tests.passed=Erfolgreich {0} +rundetail.tests.failed=Fehlgeschlagen {0} +rundetail.tests.skipped=\u00DCbersprungen - {0} +rundetail.tests.duration=Dauer {0} +rundetail.tests.results.passing.all=Alle Tests erfolgreich +rundetail.tests.results.passing.count=Sehr gut! Alle {0} Tests waren erfolgreich. +rundetail.tests.results.passing.msg=Wie schaut es? +rundetail.tests.results.fixed=Korrigiert +rundetail.tests.results.failures.new=Neue Fehler +rundetail.tests.results.failures=Fehler +rundetail.tests.results.passing=Erfolgreich +rundetail.tests.results.skipped=\u00DCbersprungen +rundetail.tests.results.errors.new.count=Neue Fehler - {0} +rundetail.tests.results.errors.existing.count=Testfehler - {0} +rundetail.tests.results.skipped.count=\u00DCbersprungen - {0} +rundetail.tests.results.error.message=Fehler +rundetail.tests.results.error.output=Stacktrace +rundetail.artifacts.header.name=Name +rundetail.artifacts.header.size=Gr\u00F6sse +rundetail.artifacts.button.download=Artefakt herunterladen + # the emptyState keys assume that you will parse them with a markdown parser EmptyState.activity=# Auf die Pl\u00E4tze, fertig...\nHmm, es liegen keine Ausf\u00fchrungen f\u00FCr vor.\n\nF\u00FCgen sie ein Commit zum Repository _{0}_ oder starten Sie die Ausf\u00fchrung per Hand. EmptyState.artifacts=Es gibt keine Artefakte f\u00FCr diese Ausf\u00fchrung.\n\n @@ -28,41 +86,7 @@ EmptyState.pr.notSupported=# Integrationsanfrage f\u00FCr \u00C4nderungen (Pull EmptyState.pr=# Push me, pull you\nWenn eine Integrationsanfrage in Ihrem Repository _{0}_ erstellt wird, wird Jenkins diese testen und den Status der Integrationsanfrage GitHub melden. EmptyState.tests=Es gibt keine Tests f\u00FCr diese Ausf\u00fchrung.\n\n Enable=Aktivieren -Error=Fehler -Existing.error=Testfehler - {0} -Failed=Fehlgeschlagen {0} -Failing={0} fehlgeschlagen -Failures=Fehler -Fixed=Korrigiert -Health=Gesundheit -Latest.build=Letzte Ausf\u00fchrung -Latest.message=Letzte Nachricht -Loading=Laden... -Message=Nachricht -More=Mehr anzeigen -Name=Name -New.error=Neue Fehler - {0} -New.failures=Neue Fehler -New.Pipeline=Neue Pipeline -No.changes=Keine \u00C4nderungen -noSteps=Diese Pipeline definiert keine Build-Schritte. Not.found.heading=Seite nicht gefunden (404) Not.found.message=Jenkins konnte die gesuchte Seite nicht finden. Bitte kontrollieren Sie die URL oder dr\u00FCcken Sie den zur\u00FCck Knopf. Open.dashboard=\u00dcbersicht anzeigen -Output=Stacktrace -Passed=Erfolgreich {0} -Passing={0} erfolgreich -Passing.singular=Erfolgreich -Pipeline=Pipeline -PR=Integrationsanfrage -Run.now=Jetzt starten -Serenity=Wie schaut es? Show.complete.logs=Ganzes Protokoll -Size=Gr\u00F6sse -Skipped.singular=\u00DCbersprungen -Skipped=\u00DCbersprungen - {0} -Status=Status -Summary=Zusammenfassung -Tests.passing=Alle Tests erfolgreich -Tests.passing.count=Sehr gut! Alle {0} Tests waren erfolgreich. -Tests=Tests diff --git a/blueocean-dashboard/src/main/resources/jenkins/plugins/blueocean/dashboard/Messages_es.properties b/blueocean-dashboard/src/main/resources/jenkins/plugins/blueocean/dashboard/Messages_es.properties index f5fc0db40ac..020d8ce3951 100644 --- a/blueocean-dashboard/src/main/resources/jenkins/plugins/blueocean/dashboard/Messages_es.properties +++ b/blueocean-dashboard/src/main/resources/jenkins/plugins/blueocean/dashboard/Messages_es.properties @@ -1,23 +1,81 @@ -Activity=Actividad -Artifacts=Artefacto -Author=Autor -Branch=Rama -Branches=Ramas -Build=Build -Changes.by=Modificado por {0} -Changes=Modificac\u00EDon -Changes.condense={0} modificaciones -Commit=Commit -Completed=Finalizado -Dashboard=Cuadro de mando -Date=Fecha -Date.readable.short=MMM DD h:mma Z -Date.readable.long=MMM DD YYYY h:mma Z -Date.duration.format=m[ Minutos] s[ Segundos] -Date.duration.hint.format=M [Meses], d [D\u00EDas], h[h.], m[m], s[s] -Download.artifact=Descargar el artefacto -Duration=Duraci\u00F3n -Duration.param=Duraci\u00F3n {0} +# common +common.date.readable.short=MMM DD h:mma Z +common.date.readable.long=MMM DD YYYY h:mma Z +common.date.duration.format=m[ Minutos] s[ Segundos] +common.date.duration.hint.format=M [Meses], d [D\u00EDas], h[h.], m[m], s[s] +common.pager.loading=Cargando... +common.pager.more=Ver m\u00e1s + +# home page / dashboard +home.header.dashboard=Cuadro de mando +home.header.button.createpipeline=Nuevo Pipeline +home.pipelineslist.header.name=Nombre +home.pipelineslist.header.health=Salud +home.pipelineslist.header.branches=Ramas +home.pipelineslist.header.pullrequests=Petici\u00F3n de cambio +home.pipelineslist.row.passing={0} exitoso +home.pipelineslist.row.failing={0} err\u00f3neo + +# pipeline details +pipelinedetail.common.tab.activity=Actividad +pipelinedetail.common.tab.branches=Ramas +pipelinedetail.common.tab.pullrequests=Petici\u00F3n de cambio +pipelinedetail.activity.button.run=Ejecutar ahora +pipelinedetail.activity.header.status=Estado +pipelinedetail.activity.header.build=Build +pipelinedetail.activity.header.commit=Commit +pipelinedetail.activity.header.branch=Rama +pipelinedetail.activity.header.message=Mensaje +pipelinedetail.activity.header.duration=Duraci\u00F3n +pipelinedetail.activity.header.completed=Finalizado +pipelinedetail.branches.header.health=Salud +pipelinedetail.branches.header.status=Estado +pipelinedetail.branches.header.branch=Rama +pipelinedetail.branches.header.commit=Commit +pipelinedetail.branches.header.message=\u00daltimo mensaje +pipelinedetail.branches.header.completed=Finalizado +pipelinedetail.pullrequests.header.status=Estado +pipelinedetail.pullrequests.header.build=\u00daltima ejecuci\u00f3n +pipelinedetail.pullrequests.header.summary=Resumen +pipelinedetail.pullrequests.header.author=Autor +pipelinedetail.pullrequests.header.completed=Finalizado + +#run details +rundetail.header.tab.pipeline=Pipeline +rundetail.header.tab.changes=Modificac\u00EDon +rundetail.header.tab.tests=Pruebas +rundetail.header.tab.artifacts=Artefacto +rundetail.header.branch=Rama +rundetail.header.commit=Commit +rundetail.header.changes.none=No hay modificaciones +rundetail.header.changes.count={0} modificaciones +rundetail.header.changes.names=Modificado por {0} +rundetail.pipeline.nosteps=No hay pasos definidos. +rundetail.changes.header.commit=Commit +rundetail.changes.header.author=Autor +rundetail.changes.header.message=Mensaje +rundetail.changes.header.date=Fecha +rundetail.tests.passed=Exitosos {0} +rundetail.tests.failed=Errores {0} +rundetail.tests.skipped=Omitido - {0} +rundetail.tests.duration=Duraci\u00F3n {0} +rundetail.tests.results.passing.all=Muy bien! La prueba fue ejecutada correctamente. +rundetail.tests.results.passing.count=Muy bien! Todas las pruebas ({0}) fueron ejecutadas correctamente. +rundetail.tests.results.passing.msg=C\u00f3mo va todo? +rundetail.tests.results.fixed=Arreglado +rundetail.tests.results.failures.new=Nuevos errores +rundetail.tests.results.failures=Errores +rundetail.tests.results.passing=Exitoso +rundetail.tests.results.skipped=Omitido +rundetail.tests.results.errors.new.count=Nuevos errores - {0} +rundetail.tests.results.errors.existing.count=Errores existente - {0} +rundetail.tests.results.skipped.count=Omitidos - {0} +rundetail.tests.results.error.message=Error +rundetail.tests.results.error.output=Salida +rundetail.artifacts.header.name=Nombre +rundetail.artifacts.header.size=Tama\u00F1o +rundetail.artifacts.button.download=Descargar el artefacto + # the emptyState keys assume that you will parse them with a markdown parser EmptyState.activity=# Preparados, listos, ...\nHmm, parece que no hay ninguna ejecuci\u00f3n en el hist\u00f3rico.\n\nHaz un commit al repositorio _{0}_ o lanza una ejecuci\u00f3n manualmente. EmptyState.artifacts=No hay artefactos para esta ejecuci\u00f3n.\n\n @@ -28,44 +86,7 @@ EmptyState.pr.notSupported=# Peticiones de cambio (Pull Requests) no soportadas\ EmptyState.pr=# Push me, pull you\nSi se genera una petici\u00F3n de cambio en su repositorio _{0}_, Jenkins la probar\u00e1 y notificar\u00e1 el estado sus modificaciones a la petici\u00f3n de cambio en Github. EmptyState.tests=No hay pruebas para esta ejecuci\u00f3n.\n\n Enable=Activar -Error=Error -Existing.error=Errores existente - {0} -Failed=Errores {0} -Failing={0} err\u00f3neo -Failures=Errores -Fixed=Arreglado -Health=Salud -Latest.build=\u00daltima ejecuci\u00f3n -Latest.message=\u00daltimo mensaje -Loading=Cargando... -Message=Mensaje -More=Ver m\u00e1s -Name=Nombre -New.error=Nuevos errores - {0} -New.failures=Nuevos errores -New.Pipeline=Nuevo Pipeline -No.changes=No hay modificaciones -noSteps=No hay pasos definidos. Not.found.heading=P\u00e1gina no encontrada (404) Not.found.message=Jenkins no pudo encontrar la p\u00e1gina que est\u00e1s buscando. Por favor revisa la URL o pulsa el bot\u00F3n "Atras". Open.dashboard=Abrir el cuadro de mando -Output=Salida -Passed=Exitosos {0} -Passing={0} exitoso -Passing_plural={0} exitosos -Passing.singular=Exitoso -Pipeline=Pipeline -PR=Petici\u00F3n de cambio -Run.now=Ejecutar ahora -Serenity=C\u00f3mo va todo? Show.complete.logs=Mostrar todo los logs -Size=Tama\u00F1o -Skipped.singular=Omitido -Skipped=Omitido - {0} -Skipped_plural=Omitidos - {0} -Status=Estado -Summary=Resumen -Tests.passing=Todas las pruebas pasadas -Tests.passing.count=Muy bien! La prueba fue ejecutada correctamente. -Tests.passing.count_plural=Muy bien! Todas las pruebas ({0}) fueron ejecutadas correctamente. -Tests=Pruebas