diff options
author | Pascal Mugnier <pascal.mugnier@sonarsource.com> | 2018-08-08 09:18:10 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-08-09 20:20:50 +0200 |
commit | 8f2ecbafc86e3f561accfceb6d58ba1e0a1c0f61 (patch) | |
tree | 5f26567fc310f64c01641675ba59f82eb030ceaa /sonar-core | |
parent | e6e07b4bf0546e73b8d5f9ae1d0460c7bed5df9b (diff) | |
download | sonarqube-8f2ecbafc86e3f561accfceb6d58ba1e0a1c0f61.tar.gz sonarqube-8f2ecbafc86e3f561accfceb6d58ba1e0a1c0f61.zip |
SONAR-10576 Replace wording "Leak" with "New Code"
Diffstat (limited to 'sonar-core')
-rw-r--r-- | sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java | 2 | ||||
-rw-r--r-- | sonar-core/src/main/resources/org/sonar/l10n/core.properties | 25 |
2 files changed, 14 insertions, 13 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java b/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java index bb991263ae6..baa775d66ad 100644 --- a/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java +++ b/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java @@ -155,7 +155,7 @@ public class CorePropertyDefinitions { // SCANNER PropertyDefinition.builder(LEAK_PERIOD) - .name("Leak Period") + .name("New Code Period") .deprecatedKey("sonar.timemachine.period1") .description("Period used to compare measures and track new issues. Values are : " + "<ul class='bullet'><li>Number of days before analysis, for example 5.</li>" + 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 93fa8dbfa37..881127b4524 100644 --- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties +++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties @@ -655,8 +655,9 @@ issues.to_select_issues=to select issues issues.to_navigate=to navigate issues.to_navigate_issue_locations=to navigate issue locations issues.to_switch_flows=to switch flows -issues.leak_period=Leak Period -issues.max_leak_period=Max Leak Period +issues.new_code=New code +issues.new_code_period=New Code Period +issues.max_new_code_period=Max New Code Period issues.my_issues=My Issues issues.no_my_issues=There are no issues assigned to you. issues.no_issues=No Issues. Hooray! @@ -749,8 +750,8 @@ projects.no_favorite_projects.favorite_projects_from_orgs=Favorite projects from projects.no_favorite_projects.favorite_public_projects=Favorite public projects projects.explore_projects=Explore Projects projects.not_analyzed=Project is not analyzed yet. -projects.no_leak_period=Project has no leak data yet. -projects.leak_period_x=Leak Period started: {0} +projects.no_new_code_period=Project has no new code data yet. +projects.new_code_period_x=New code: last {0} projects.last_analysis_on_x=Last analysis: {0} projects.search=Search by project name or key projects.perspective=Perspective @@ -773,7 +774,7 @@ projects.sorting.new_coverage=Coverage projects.sorting.new_duplications=Duplications projects.sorting.new_lines=New Lines projects.view.overall=Overall Status -projects.view.leak=Leak +projects.view.new_code=New Code projects.worse_of_reliablity_and_security=Worse of Reliability and Security projects.visualization.risk=Risk projects.visualization.risk.description=Get quick insights into the operational risks in your projects. Any color but green indicates immediate risks: Bugs or Vulnerabilities that should be examined. A position at the top or right of the graph means that the longer-term health of the project may be at risk. Green bubbles at the bottom-left are best. @@ -846,7 +847,7 @@ settings.reset_confirm.description=Are you sure that you want to reset this sett property.category.general=General property.category.general.email=Email property.category.general.duplications=Duplications -property.category.general.differentialViews=Leak +property.category.general.differentialViews=New Code property.category.general.localization=Localization property.category.general.databaseCleaner=Database Cleaner property.category.general.looknfeel=Look & Feel @@ -855,7 +856,7 @@ property.category.organizations=Organizations property.category.security=Security property.category.security.encryption=Encryption property.category.java=Java -property.category.differentialViews=Leak +property.category.differentialViews=New Code property.category.codeCoverage=Code Coverage property.category.duplications=Duplications property.category.localization=Localization @@ -1223,7 +1224,7 @@ quality_gates.condition.leak.yes=Yes quality_gates.condition.leak.no=No quality_gates.condition.leak.unconditional=Always quality_gates.conditions.metric=Metric -quality_gates.conditions.leak=Over Leak Period +quality_gates.conditions.new_code=On New Code quality_gates.conditions.operator=Operator quality_gates.conditions.warning=Warning quality_gates.conditions.error=Error @@ -2347,9 +2348,9 @@ overview.quality_gate_x=Quality Gate: {0} overview.quality_gate_failed_with_x=with {0} errors overview.you_should_define_quality_gate=You should define a quality gate on this project. overview.quality_gate.ignored_conditions=Some Quality Gate conditions on New Code were ignored because of the small number of New Lines -overview.quality_gate.ignored_conditions.tooltip=At the start of a leak period, if very few lines have been added or modified, it might be difficult to reach the desired level of code coverage or duplications. To prevent Quality Gate failure when there's little that can be done about it, Quality Gate conditions about duplications in new code and coverage on new code are ignored until the number of new lines is at least 20. +overview.quality_gate.ignored_conditions.tooltip=At the start of a new code period, if very few lines have been added or modified, it might be difficult to reach the desired level of code coverage or duplications. To prevent Quality Gate failure when there's little that can be done about it, Quality Gate conditions about duplications in new code and coverage on new code are ignored until the number of new lines is at least 20. overview.quality_profiles=Quality Profiles -overview.leak_period_x=Leak Period: {0} +overview.new_code_period_x=New code: {0} overview.started_x=started {0} overview.last_analysis_x=last analysis {0} overview.started_on_x=Started on {0} @@ -2546,7 +2547,7 @@ about_page.clean_code=Write Clean Code about_page.clean_code.text=By fixing new issues as they appear in code, you create and maintain a clean code base. Even on legacy projects, focusing on keeping new code clean will eventually yield a code base you can be proud of. about_page.fix_the_leak=Fix The Leak -about_page.fix_the_leak.text=The water leak paradigm and the default Quality Gate are based on the leak period - the recent period against which you're tracking issues. For some previous_version makes the most sense, for others the last 30 days is a good option. +about_page.fix_the_leak_on_new_code.text=The water leak paradigm and the default Quality Gate are based on the new code period - the recent period against which you're tracking issues. For some previous_version makes the most sense, for others the last 30 days is a good option. about_page.quality_gates=Enforce Quality Gate about_page.quality_gates.text=Your project's Quality Gate is the set of conditions the project must meet before it can be released into production. The Quality Gate is designed to ensure that the next version's quality will be better than the last. @@ -2763,7 +2764,7 @@ 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_new_code_period=Set New Code Period branches.last_analysis_date=Last Analysis Date branches.search_for_branches=Search for branches... branches.pull_requests=Pull Requests |