mistercrunch opened a new pull request, #34437: URL: https://github.com/apache/superset/pull/34437
This commit introduces a new ESLint rule 'i18n-strings/no-title-case' that enforces sentence case instead of title case in translation strings, aligning with the recent UI modernization effort to use sentence case throughout the application. Key changes: - Add 'no-title-case' rule to detect title case patterns in t() and tn() functions - Rule intelligently skips: single words, acronyms, placeholders, and multi-sentence strings - Enhanced error messages to show the actual violating string for easier identification - Enable the rule as an error in .eslintrc.js - Add comprehensive test coverage for the new rule Fix title case violations across the codebase: - Convert "Yes"/"No" to "yes"/"no" in list filters - Fix "Virtual"/"Physical" to lowercase in DatasetList - Update various UI labels: "Create Chart", "Dataset Name", "Chart Source", etc. - Fix security page labels: "Row Level Security", "Filter Type", "Group Key" - Update time-related labels: "Time Range", "Time Column", "Time Grain" - Fix SqlLab keyboard shortcuts: "Previous Line" to "Previous line" - Fix additional violations: "Untitled Dataset", "Include Template Parameters", "Affected Dashboards/Charts", "Delete Dataset?", "0 Selected", "List Users", "Open Datasource tab" This change helps maintain consistency with the new sentence case standard and prevents future title case violations from being introduced. 🤖 Generated with [Claude Code](https://claude.ai/code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
