]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-21999 Change lts wording to lta
authorstanislavh <stanislav.honcharov@sonarsource.com>
Tue, 9 Apr 2024 12:34:20 +0000 (14:34 +0200)
committersonartech <sonartech@sonarsource.com>
Wed, 10 Apr 2024 20:02:53 +0000 (20:02 +0000)
server/sonar-webserver-core/src/main/java/org/sonar/server/platform/DatabaseServerCompatibility.java
server/sonar-webserver-core/src/test/java/org/sonar/server/platform/DatabaseServerCompatibilityTest.java
sonar-core/src/main/resources/org/sonar/l10n/core.properties

index c7d15567768299b089cf3cfbd45a975d097f12cf..25596c1abd8ff093782738b1a7fcb2e22df38e58 100644 (file)
@@ -52,7 +52,7 @@ public class DatabaseServerCompatibility implements Startable {
     if (status == DatabaseVersion.Status.REQUIRES_UPGRADE) {
       Optional<Long> currentVersion = this.version.getVersion();
       if (currentVersion.isPresent() && currentVersion.get() < DatabaseVersion.MIN_UPGRADE_VERSION) {
-        throw MessageException.of("Current version is too old. Please upgrade to Long Term Support version firstly.");
+        throw MessageException.of("The version of SonarQube is too old. Please upgrade to the Long-Term Active version first.");
       }
       boolean blueGreen = configuration.getBoolean(ProcessProperties.Property.BLUE_GREEN_ENABLED.getKey()).orElse(false);
       if (!blueGreen) {
index dd4a986497fa6cb9f06fcc7fba9211eff7e309f5..334ab3bb43c8946ed15480663e0a5c6521a2fb81 100644 (file)
@@ -52,7 +52,7 @@ public class DatabaseServerCompatibilityTest {
   }
 
   @Test
-  public void fail_if_requires_firstly_to_upgrade_to_lts() {
+  public void fail_if_requires_firstly_to_upgrade_to_lta() {
     DatabaseVersion version = mock(DatabaseVersion.class);
     when(version.getStatus()).thenReturn(DatabaseVersion.Status.REQUIRES_UPGRADE);
     when(version.getVersion()).thenReturn(Optional.of(12L));
@@ -60,7 +60,7 @@ public class DatabaseServerCompatibilityTest {
     var compatibility = new DatabaseServerCompatibility(version, config);
     assertThatThrownBy(compatibility::start)
       .isInstanceOf(MessageException.class)
-      .hasMessage("Current version is too old. Please upgrade to Long Term Support version firstly.");
+      .hasMessage("The version of SonarQube is too old. Please upgrade to the Long-Term Active version first.");
   }
 
   @Test
index 30ceba145ea127526b0ed62ed32c2376ea1e64fa..0349083ec7026c06a26894c010aa05b8f59a96d9 100644 (file)
@@ -3231,7 +3231,7 @@ system.hide_intermediate_versions=Hide intermediate versions
 system.how_to_upgrade=How to upgrade?
 system.latest_version=Latest Version
 system.latest_patch=Patch Release
-system.lts_version=Latest LTS Version
+system.lts_version=Latest LTA Version
 system.log_level.warning=This level has performance impacts, please make sure to get back to INFO level once your investigation is done. Please note that when the server is restarted, logging will revert to the level configured in sonar.properties.
 system.log_level.warning.short=Current logs level has performance impacts, get back to INFO level.
 system.log_level.info=Your selection does not affect the Search Engine.