diff options
author | Fabrice Bellingard <bellingard@gmail.com> | 2012-03-30 15:47:42 +0200 |
---|---|---|
committer | Fabrice Bellingard <bellingard@gmail.com> | 2012-03-30 15:54:28 +0200 |
commit | 200e64a11755433724aadcb8a8bd9aad38163b0b (patch) | |
tree | f357386b9704ee93a471b652fc889f89f36e5f3d /plugins | |
parent | bdde621718cf8162909bd39dfc9a328657848be6 (diff) | |
download | sonarqube-200e64a11755433724aadcb8a8bd9aad38163b0b.tar.gz sonarqube-200e64a11755433724aadcb8a8bd9aad38163b0b.zip |
SONAR-3287 Add "modifiable_history" property on ResourceType
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/DefaultResourceTypes.java | 5 | ||||
-rw-r--r-- | plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/DefaultResourceTypes.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/DefaultResourceTypes.java index c03e994f470..bf2632f271f 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/DefaultResourceTypes.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/DefaultResourceTypes.java @@ -34,7 +34,10 @@ public final class DefaultResourceTypes extends ExtensionProvider implements Bat public ResourceTypeTree provide() { return ResourceTypeTree.builder() - .addType(ResourceType.builder(Qualifiers.PROJECT).setProperty("deletable", "true").build()) + .addType(ResourceType.builder(Qualifiers.PROJECT) + .setProperty("deletable", "true") + .setProperty("modifiable_history", "true") + .build()) .addType(ResourceType.builder(Qualifiers.MODULE).build()) .addType(ResourceType.builder(Qualifiers.DIRECTORY).build()) .addType(ResourceType.builder(Qualifiers.PACKAGE).build()) diff --git a/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties b/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties index 28ea72edd23..47692382715 100644 --- a/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties +++ b/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties @@ -884,7 +884,7 @@ manual_rules.should_provide_real_description=Rule created on the fly. A descript # #------------------------------------------------------------------------------ -project_history.page_title=Handle events and delete quality snapshots from project history +project_history.top_title=Handle events and delete quality snapshots from history project_history.col.year=Year project_history.col.month=Month project_history.col.day=Day |