From dbd1bdaeed596f14af89d662e73030bb02571cfd Mon Sep 17 00:00:00 2001 From: Ruben Davila Date: Wed, 3 May 2017 21:05:38 -0500 Subject: More updates for translations plus some refactoring. --- .../javascripts/cycle_analytics/components/stage_code_component.js | 4 ++-- .../javascripts/cycle_analytics/components/stage_issue_component.js | 2 +- .../javascripts/cycle_analytics/components/stage_plan_component.js | 4 ++-- .../cycle_analytics/components/stage_production_component.js | 4 ++-- .../javascripts/cycle_analytics/components/stage_review_component.js | 4 ++-- .../javascripts/cycle_analytics/components/stage_staging_component.js | 2 +- app/assets/javascripts/cycle_analytics/cycle_analytics_service.js | 2 +- app/assets/javascripts/cycle_analytics/cycle_analytics_store.js | 2 +- 8 files changed, 12 insertions(+), 12 deletions(-) (limited to 'app/assets/javascripts/cycle_analytics') diff --git a/app/assets/javascripts/cycle_analytics/components/stage_code_component.js b/app/assets/javascripts/cycle_analytics/components/stage_code_component.js index f22299898a5..0d9ad197abf 100644 --- a/app/assets/javascripts/cycle_analytics/components/stage_code_component.js +++ b/app/assets/javascripts/cycle_analytics/components/stage_code_component.js @@ -28,11 +28,11 @@ global.cycleAnalytics.StageCodeComponent = Vue.extend({ !{{ mergeRequest.iid }} · - {{ __('Opened') }} + {{ __('OpenedNDaysAgo|Opened') }} {{ mergeRequest.createdAt }} - {{ __('Author|by') }} + {{ __('ByAuthor|by') }} {{ mergeRequest.author.name }} diff --git a/app/assets/javascripts/cycle_analytics/components/stage_issue_component.js b/app/assets/javascripts/cycle_analytics/components/stage_issue_component.js index f400fd2fb14..c4018c8fc36 100644 --- a/app/assets/javascripts/cycle_analytics/components/stage_issue_component.js +++ b/app/assets/javascripts/cycle_analytics/components/stage_issue_component.js @@ -32,7 +32,7 @@ global.cycleAnalytics.StageIssueComponent = Vue.extend({ {{ issue.createdAt }} - {{ __('Author|by') }} + {{ __('ByAuthor|by') }} {{ issue.author.name }} diff --git a/app/assets/javascripts/cycle_analytics/components/stage_plan_component.js b/app/assets/javascripts/cycle_analytics/components/stage_plan_component.js index b85b8902fc7..222084deee9 100644 --- a/app/assets/javascripts/cycle_analytics/components/stage_plan_component.js +++ b/app/assets/javascripts/cycle_analytics/components/stage_plan_component.js @@ -31,10 +31,10 @@ global.cycleAnalytics.StagePlanComponent = Vue.extend({ - {{ __('OfFirstTime|First') }} + {{ __('FirstPushedBy|First') }} ${iconCommit} {{ commit.shortSha }} - {{ __('pushed by') }} + {{ __('FirstPushedBy|pushed by') }} {{ commit.author.name }} diff --git a/app/assets/javascripts/cycle_analytics/components/stage_production_component.js b/app/assets/javascripts/cycle_analytics/components/stage_production_component.js index 18c30f490fd..a14ebc3ece9 100644 --- a/app/assets/javascripts/cycle_analytics/components/stage_production_component.js +++ b/app/assets/javascripts/cycle_analytics/components/stage_production_component.js @@ -28,11 +28,11 @@ global.cycleAnalytics.StageProductionComponent = Vue.extend({ #{{ issue.iid }} · - {{ __('Opened') }} + {{ __('OpenedNDaysAgo|Opened') }} {{ issue.createdAt }} - {{ __('Author|by') }} + {{ __('ByAuthor|by') }} {{ issue.author.name }} diff --git a/app/assets/javascripts/cycle_analytics/components/stage_review_component.js b/app/assets/javascripts/cycle_analytics/components/stage_review_component.js index 98806760128..1a5bf9bc0b5 100644 --- a/app/assets/javascripts/cycle_analytics/components/stage_review_component.js +++ b/app/assets/javascripts/cycle_analytics/components/stage_review_component.js @@ -28,11 +28,11 @@ global.cycleAnalytics.StageReviewComponent = Vue.extend({ !{{ mergeRequest.iid }} · - {{ __('Opened') }} + {{ __('OpenedNDaysAgo|Opened') }} {{ mergeRequest.createdAt }} - {{ __('Author|by') }} + {{ __('ByAuthor|by') }} {{ mergeRequest.author.name }}