Skip to content

feat: make all user-facing strings translatable#3155

Open
fproldan wants to merge 1 commit intofrappe:developfrom
fproldan:translations
Open

feat: make all user-facing strings translatable#3155
fproldan wants to merge 1 commit intofrappe:developfrom
fproldan:translations

Conversation

@fproldan
Copy link
Copy Markdown

  • Python: wrap all frappe.throw() messages with _(), fix f-string anti-patterns
  • Vue/TS: wrap all toast, label, placeholder, dialog strings with __()
  • Fix template literal anti-patterns: convert __(template) to __('string', [var])
  • Add missing import { __ } from '@/translation' across 30+ files
  • Wrap operator labels, column headers, dropdown labels, validation messages
  • Files updated: auth.py, assignment_rule.py, hd_ticket_comment.py, hd_ticket_status.py, hd_desk_account_request.py (Python) 40 Vue/TS components including conditions-filter, frappe-ui, Settings, telephony, ticket, knowledge-base pages

- Python: wrap all frappe.throw() messages with _(), fix f-string anti-patterns
- Vue/TS: wrap all toast, label, placeholder, dialog strings with __()
- Fix template literal anti-patterns: convert __(template) to __('string', [var])
- Add missing import { __ } from '@/translation' across 30+ files
- Wrap operator labels, column headers, dropdown labels, validation messages
- Files updated: auth.py, assignment_rule.py, hd_ticket_comment.py,
  hd_ticket_status.py, hd_desk_account_request.py (Python)
  40 Vue/TS components including conditions-filter, frappe-ui, Settings,
  telephony, ticket, knowledge-base pages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant