feat(i18n): Update language handling and remove unused imports for improved performance
This commit is contained in:
parent
f8896b0f7b
commit
7b30992971
10 changed files with 13 additions and 49 deletions
|
|
@ -31,7 +31,7 @@ export const LOCALE_LABELS: Record<AppLocale, string> = {
|
|||
de: 'Deutsch',
|
||||
};
|
||||
|
||||
// Human-readable language name for prompt prefix
|
||||
// Human-readable language name for prompt
|
||||
export function getPromptLanguageName(loc: string): string {
|
||||
const l = (loc || '').toLowerCase();
|
||||
const match = (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue