Browse Source

SONAR-9302 update tooltips for built-in profiles

tags/6.5-M1
Stas Vilchik 7 years ago
parent
commit
64d9dd6156

+ 6
- 1
server/sonar-web/src/main/js/apps/coding-rules/templates/rule/coding-rules-rule-profile.hbs View File

@@ -2,7 +2,12 @@
<a href="{{profilePath}}">
{{name}}
</a>
{{#if isBuiltIn}}<span class="built-in-badge spacer-left">{{t 'quality_profiles.built_in'}}</span>{{/if}}
{{#if isBuiltIn}}
<span class="built-in-badge spacer-left" data-toggle="tooltip" data-placement="bottom"
title="{{t 'quality_profiles.built_in.description.1'}} {{t 'quality_profiles.built_in.description.2'}}">
{{t 'quality_profiles.built_in'}}
</span>
{{/if}}
{{#if parent}}
<div class="coding-rules-detail-quality-profile-inheritance">
{{#eq inherit 'OVERRIDES'}}

+ 3
- 3
sonar-core/src/main/resources/org/sonar/l10n/core.properties View File

@@ -1504,9 +1504,9 @@ quality_profiles.exporters=Exporters
quality_profiles.updated_=Updated:
quality_profiles.used_=Used:
quality_profiles.built_in=Built-in
quality_profiles.built_in.description.1=The minimum set of rules recommended by this analyzer.
quality_profiles.built_in.description.2=This Quality Profile will be automatically updated when its built-in parent is changed by new versions of the analyzer.
quality_profiles.extends_built_in=This Quality Profile will be automatically updated when new rules are added to its built-in parent.
quality_profiles.built_in.description.1=This quality profile is provided by a plugin.
quality_profiles.built_in.description.2=It can be automatically updated when a new version of this plugin is deployed and changes its definition.
quality_profiles.extends_built_in=Because it inherits from a built-in quality profile, this quality profile can be automatically updated when a new version of the corresponding plugin is deployed.




Loading…
Cancel
Save