aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2017-10-09 13:02:31 +0200
committerStas Vilchik <stas.vilchik@sonarsource.com>2017-10-09 13:02:31 +0200
commit105142f1bb12bfa651edffce48bf9fcd3279e981 (patch)
tree444fa07e455c3ecfc59ab73ecf4eea0334ddc5e9
parent8fe57cce04ea0af3e2c80a30d313a0343e6a384c (diff)
downloadsonarqube-105142f1bb12bfa651edffce48bf9fcd3279e981.tar.gz
sonarqube-105142f1bb12bfa651edffce48bf9fcd3279e981.zip
update wording on branches page
-rw-r--r--server/sonar-web/src/main/js/apps/projectBranches/components/App.tsx4
-rw-r--r--server/sonar-web/src/main/js/apps/projectBranches/components/__tests__/__snapshots__/App-test.tsx.snap2
-rw-r--r--sonar-core/src/main/resources/org/sonar/l10n/core.properties3
3 files changed, 4 insertions, 5 deletions
diff --git a/server/sonar-web/src/main/js/apps/projectBranches/components/App.tsx b/server/sonar-web/src/main/js/apps/projectBranches/components/App.tsx
index 6336d24397f..5ff696ef9d7 100644
--- a/server/sonar-web/src/main/js/apps/projectBranches/components/App.tsx
+++ b/server/sonar-web/src/main/js/apps/projectBranches/components/App.tsx
@@ -124,9 +124,7 @@ export default class App extends React.PureComponent<Props, State> {
<tr>
<th>{translate('branch')}</th>
<th className="thin nowrap text-right">{translate('status')}</th>
- <th className="thin nowrap text-right">
- {translate('project_history.last_snapshot')}
- </th>
+ <th className="thin nowrap text-right">{translate('branches.last_analysis_date')}</th>
<th className="thin nowrap text-right">{translate('actions')}</th>
</tr>
</thead>
diff --git a/server/sonar-web/src/main/js/apps/projectBranches/components/__tests__/__snapshots__/App-test.tsx.snap b/server/sonar-web/src/main/js/apps/projectBranches/components/__tests__/__snapshots__/App-test.tsx.snap
index 349913a66e3..a3281058f51 100644
--- a/server/sonar-web/src/main/js/apps/projectBranches/components/__tests__/__snapshots__/App-test.tsx.snap
+++ b/server/sonar-web/src/main/js/apps/projectBranches/components/__tests__/__snapshots__/App-test.tsx.snap
@@ -57,7 +57,7 @@ exports[`renders sorted list of branches 1`] = `
<th
className="thin nowrap text-right"
>
- project_history.last_snapshot
+ branches.last_analysis_date
</th>
<th
className="thin nowrap text-right"
diff --git a/sonar-core/src/main/resources/org/sonar/l10n/core.properties b/sonar-core/src/main/resources/org/sonar/l10n/core.properties
index 69937115678..13443aa12e9 100644
--- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties
+++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties
@@ -2569,7 +2569,8 @@ branches.branch_settings=Branch Settings
branches.long_living_branches_pattern=Long living branches pattern
branches.detection_of_long_living_branches=Detection of long living branches
branches.detection_of_long_living_branches.description=Regular expression used to detect whether a branch is a long living branch (as opposed to short living branch), based on its name. This applies only during first analysis, the type of a branch cannot be changed later.
-branches.set_leak_period=Set leak period
+branches.set_leak_period=Set Leak Period
+branches.last_analysis_date=Last Analysis Date
#------------------------------------------------------------------------------