Skip to content

Encapsulate translation constants and functions inside it's own I18n module#5637

Merged
Fijxu merged 1 commit intoiv-org:masterfrom
Fijxu:translation-module-encapsulation
Apr 25, 2026
Merged

Encapsulate translation constants and functions inside it's own I18n module#5637
Fijxu merged 1 commit intoiv-org:masterfrom
Fijxu:translation-module-encapsulation

Conversation

@Fijxu
Copy link
Copy Markdown
Member

@Fijxu Fijxu commented Feb 19, 2026

As the title says, it encapsulates all related code from translation into it's own module.

Required for the migration to the crystal stdlib logger: #5426

@Fijxu Fijxu added the type:i18n/l10n Make Invidious usable in other languages, regions and cultures label Feb 19, 2026
@Fijxu Fijxu requested a review from unixfox February 19, 2026 19:18
@Fijxu
Copy link
Copy Markdown
Member Author

Fijxu commented Feb 19, 2026

Also, I wonder, should be adhere to the naming the modules have across most of the codebase? Which is appending Invidious::<module_name> or we just leave it like <module_name>?

@Fijxu Fijxu force-pushed the translation-module-encapsulation branch from c148cef to 0d20db2 Compare April 25, 2026 20:50
@Fijxu Fijxu merged commit bc64cd9 into iv-org:master Apr 25, 2026
7 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:i18n/l10n Make Invidious usable in other languages, regions and cultures

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants