Implemented project-wide localization plumbing and converted the visible UI/app messages to translation-ready strings.

This commit is contained in:
2026-05-18 00:16:37 +03:30
parent b49b59a056
commit c6606d9602
60 changed files with 1376 additions and 345 deletions

View File

@@ -34,10 +34,10 @@ class SupportConversation extends Model
public static function categoryLabels(): array
{
return [
self::CATEGORY_BUG => 'Bug report',
self::CATEGORY_SUGGESTION => 'Suggestion',
self::CATEGORY_CHANNEL_REQUEST => 'Channel request',
self::CATEGORY_OTHER => 'Other',
self::CATEGORY_BUG => (string) __('Bug report'),
self::CATEGORY_SUGGESTION => (string) __('Suggestion'),
self::CATEGORY_CHANNEL_REQUEST => (string) __('Channel request'),
self::CATEGORY_OTHER => (string) __('Other'),
];
}