diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-05-13 11:57:38 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2016-05-13 11:57:38 +0200 |
commit | 2715a0716e230a7cf92d6d4414af99ad98d7830c (patch) | |
tree | 180cf3b407146f27c96ff80bb8227e062d206908 /server/sonar-web/src/main/js/apps/quality-profiles | |
parent | 9a74d1aeb8d8bdbcf5c5b2a98fb2b2eefd1414a7 (diff) | |
download | sonarqube-2715a0716e230a7cf92d6d4414af99ad98d7830c.tar.gz sonarqube-2715a0716e230a7cf92d6d4414af99ad98d7830c.zip |
SONAR-7634 Metric names should be localized (#967)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/quality-profiles')
2 files changed, 3 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/templates/quality-profile-comparison.hbs b/server/sonar-web/src/main/js/apps/quality-profiles/templates/quality-profile-comparison.hbs index e34ee3e4d00..e26259b6bad 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/templates/quality-profile-comparison.hbs +++ b/server/sonar-web/src/main/js/apps/quality-profiles/templates/quality-profile-comparison.hbs @@ -6,7 +6,7 @@ {{#notEmpty profiles}} <form class="spacer-bottom" id="quality-profile-comparison-form"> - <label class="text-middle" for="quality-profile-comparison-with-key">With</label> + <label class="text-middle" for="quality-profile-comparison-with-key">{{t 'with'}}</label> <select id="quality-profile-comparison-with-key"> {{#each profiles}} <option value="{{key}}" {{#eq key ../comparedWith}}selected{{/eq}}>{{name}}</option> diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/templates/quality-profiles-intro.hbs b/server/sonar-web/src/main/js/apps/quality-profiles/templates/quality-profiles-intro.hbs index 469fd1078a4..add14e79374 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/templates/quality-profiles-intro.hbs +++ b/server/sonar-web/src/main/js/apps/quality-profiles/templates/quality-profiles-intro.hbs @@ -1,5 +1,4 @@ <div class="search-navigator-intro markdown"> - <p>Quality Profiles are collections of rules to apply during an analysis.</p> - <p>For each language there is a default profile. All projects not explicitly assigned to some other profile will be - analyzed with the default.</p> + <p>{{t 'quality_profiles.intro1'}}</p> + <p>{{t 'quality_profiles.intro2'}}</p> </div> |