-
Notifications
You must be signed in to change notification settings - Fork 711
fix: added missing lang keywords #9515
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
fb6a707 to
317e6af
Compare
|
Failed to generate code suggestions for PR |
Greptile OverviewGreptile SummaryThis PR completes the internationalization (i18n) effort by adding approximately 570 missing translation keys across the web application. The changes systematically replace hardcoded English strings in Vue components with proper i18n function calls ( Key Changes:
Quality Assessment: Confidence Score: 5/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant User
participant VueComponent
participant i18nPlugin
participant LanguageFiles
User->>VueComponent: Interacts with UI
VueComponent->>i18nPlugin: t('common.jsonFilesOnly')
i18nPlugin->>LanguageFiles: Lookup key in active locale
alt Key exists
LanguageFiles-->>i18nPlugin: Return translated string
i18nPlugin-->>VueComponent: ".json files only" (en) or<br/>"nur.json-Dateien" (de)
else Key missing (before this PR)
LanguageFiles-->>i18nPlugin: Key not found
i18nPlugin-->>VueComponent: Fallback to key or empty
end
VueComponent->>User: Display localized text
Note over VueComponent,LanguageFiles: This PR adds 570+ missing keys<br/>to prevent fallback scenarios
User->>VueComponent: Uses dynamic content (e.g., error)
VueComponent->>i18nPlugin: t('common.errorParsingJsonFile',<br/>{fileName: 'data.json'})
i18nPlugin->>LanguageFiles: Lookup key with params
LanguageFiles-->>i18nPlugin: "Error parsing JSON from file {fileName}"
i18nPlugin->>i18nPlugin: Interpolate {fileName} = 'data.json'
i18nPlugin-->>VueComponent: "Error parsing JSON from file data.json"
VueComponent->>User: Display error message
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
58 files reviewed, no comments
92ad6a6 to
19f24a6
Compare
|
Failed to generate code suggestions for PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
68 files reviewed, no comments
ea0615b to
74e114d
Compare
Auto-generated translation updates from English source file. 🤖 Generated with automated translation workflow
Auto-generated translation updates from English source file. 🤖 Generated with automated translation workflow
Auto-generated translation updates from English source file. 🤖 Generated with automated translation workflow
Auto-generated translation updates from English source file. 🤖 Generated with automated translation workflow
Auto-generated translation updates from English source file. 🤖 Generated with automated translation workflow
Auto-generated translation updates from English source file. 🤖 Generated with automated translation workflow
74e114d to
84ab150
Compare
No description provided.