feat: add Catalan strings (#1049)

## Summary

* **What is the goal of this PR?** (e.g., Implements the new feature for
file uploading.)

Add support for Catalan language user interface.
* **What changes are included?**

A new i18n file catalan.yml.

## Additional Context

* Add any other information that might be helpful for the reviewer
(e.g., performance implications, potential risks,
  specific areas to focus on).

---

### AI Usage

While CrossPoint doesn't have restrictions on AI tools in contributing,
please be transparent about their usage as it
helps set the right context for reviewers.

Did you use AI tools to help write this code?  NO
This commit is contained in:
Àngel
2026-02-21 10:26:50 +01:00
committed by GitHub
parent 693dba4c94
commit f02c9784ec
4 changed files with 328 additions and 1 deletions

View File

@@ -14,6 +14,7 @@ extern const char* const STRINGS_PO[];
extern const char* const STRINGS_RU[];
extern const char* const STRINGS_SV[];
extern const char* const STRINGS_RO[];
extern const char* const STRINGS_CA[];
} // namespace i18n_strings
// Language enum
@@ -27,6 +28,7 @@ enum class Language : uint8_t {
RUSSIAN = 6,
SWEDISH = 7,
ROMANIAN = 8,
CATALAN = 9,
_COUNT
};
@@ -378,6 +380,8 @@ inline const char* const* getStringArray(Language lang) {
return i18n_strings::STRINGS_SV;
case Language::ROMANIAN:
return i18n_strings::STRINGS_RO;
case Language::CATALAN:
return i18n_strings::STRINGS_CA;
default:
return i18n_strings::STRINGS_EN;
}