Browse Source

SONAR-21999 Change lts wording to lta

tags/9.9.5.90363
stanislavh 1 month ago
parent
commit
03dac47b78

+ 1
- 1
server/sonar-webserver-core/src/main/java/org/sonar/server/platform/DatabaseServerCompatibility.java View 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) {

+ 2
- 2
server/sonar-webserver-core/src/test/java/org/sonar/server/platform/DatabaseServerCompatibilityTest.java View 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

+ 1
- 1
sonar-core/src/main/resources/org/sonar/l10n/core.properties View 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.

Loading…
Cancel
Save