Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/backend/src
diff options
context:
space:
mode:
authorLeitwolf112026-10-12 06:16:43 +0300
committerLeitwolf112026-10-12 06:16:43 +0300
commit1bb833c4b98f5cd7343ae7b227c0fc39ee44deca (patch)
tree8c65807b93471447db7d448ca67718bdcbb177c4 /backend/src
parent323eafd81177368657df2e219fbe239b97f9ccfd (diff)
downloadwebsite-fix/tala-names-in-docs-and-api.tar.gz
Call the language Tala in the API, the documents and the templatesfix/tala-names-in-docs-and-api
The pages were renamed; the rest of the repository still said Visual X#: - the site API answered with the name Visual X#, and its test expected it; - the documents, the issue and pull request templates, the support address and the name of the code scanning configuration. The documents also said that a left-to-right mark follows the name of the language in Hebrew text. That was for the `#` of the old name; the sentence now speaks of names that end in a symbol, such as C#. Not changed: host names, paths and unit names on the server, the name of the backend artifact, the Kotlin package of the backend, and the keys of the browser storage.
Diffstat (limited to 'backend/src')
-rw-r--r--backend/src/main/kotlin/com/progmasoft/visual/xsharp/website/SiteController.kt2
-rw-r--r--backend/src/main/kotlin/com/progmasoft/visual/xsharp/website/WebsiteApplication.kt2
-rw-r--r--backend/src/test/kotlin/com/progmasoft/visual/xsharp/website/SiteControllerTest.kt4
3 files changed, 4 insertions, 4 deletions
diff --git a/backend/src/main/kotlin/com/progmasoft/visual/xsharp/website/SiteController.kt b/backend/src/main/kotlin/com/progmasoft/visual/xsharp/website/SiteController.kt
index f37279c..19a0f49 100644
--- a/backend/src/main/kotlin/com/progmasoft/visual/xsharp/website/SiteController.kt
+++ b/backend/src/main/kotlin/com/progmasoft/visual/xsharp/website/SiteController.kt
@@ -39,7 +39,7 @@ class SiteController {
@GetMapping("/api/v1/site")
fun information(): SiteInformation =
SiteInformation(
- name = "Visual X#",
+ name = "Tala",
phase = "development",
defaultLocale = "en-US",
supportedLocales = listOf("en-US", "de-DE", "ru-RU", "he-IL"),
diff --git a/backend/src/main/kotlin/com/progmasoft/visual/xsharp/website/WebsiteApplication.kt b/backend/src/main/kotlin/com/progmasoft/visual/xsharp/website/WebsiteApplication.kt
index b0b0589..6d8f145 100644
--- a/backend/src/main/kotlin/com/progmasoft/visual/xsharp/website/WebsiteApplication.kt
+++ b/backend/src/main/kotlin/com/progmasoft/visual/xsharp/website/WebsiteApplication.kt
@@ -6,7 +6,7 @@ package com.progmasoft.visual.xsharp.website
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
-/** Spring Boot application of the Visual X# language website backend. */
+/** Spring Boot application of the Tala language website backend. */
@SpringBootApplication
class WebsiteApplication
diff --git a/backend/src/test/kotlin/com/progmasoft/visual/xsharp/website/SiteControllerTest.kt b/backend/src/test/kotlin/com/progmasoft/visual/xsharp/website/SiteControllerTest.kt
index eb3817e..93c5ff0 100644
--- a/backend/src/test/kotlin/com/progmasoft/visual/xsharp/website/SiteControllerTest.kt
+++ b/backend/src/test/kotlin/com/progmasoft/visual/xsharp/website/SiteControllerTest.kt
@@ -20,12 +20,12 @@ class SiteControllerTest(
@Autowired private val client: MockMvc,
) {
@Test
- fun `site information is about Visual XSharp rather than the package registry`() {
+ fun `site information is about Tala rather than the package registry`() {
val response = client.perform(get("/api/v1/site")).andReturn().response
assertEquals(200, response.status)
assertEquals("application/json", response.contentType)
val body = response.contentAsString
- assertTrue(body.contains("\"name\":\"Visual X#\""))
+ assertTrue(body.contains("\"name\":\"Tala\""))
assertTrue(body.contains("\"defaultLocale\":\"en-US\""))
assertTrue(body.contains("\"supportedLocales\":[\"en-US\",\"de-DE\",\"ru-RU\",\"he-IL\"]"))
assertTrue(body.contains("\"forumOpen\":false"))