-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Add translations for the developer tools statistic issues #18646
Conversation
src/panels/developer-tools/statistics/dialog-statistics-adjust-sum.ts
Outdated
Show resolved
Hide resolved
src/panels/developer-tools/statistics/dialog-statistics-adjust-sum.ts
Outdated
Show resolved
Hide resolved
src/panels/developer-tools/statistics/dialog-statistics-adjust-sum.ts
Outdated
Show resolved
Hide resolved
src/panels/developer-tools/statistics/dialog-statistics-adjust-sum.ts
Outdated
Show resolved
Hide resolved
"no_statistics_found": "No statistics found for this period.", | ||
"info_text_1": "Sometimes the statistics end up being incorrect for a specific point in time. This can mess up your beautiful graphs! Select a time below to find the bad moment and adjust the data.", | ||
"pick_a_time": "Pick a time", | ||
"statistic": "Statistic:", |
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.
Move the column out of the translation and in the template, or (prefer) make the statistic id a variable:
Statistic: {statistic}
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.
It's being placed in bold like this:
Statistic: statistic_id
Therefore I had to split it.
I can go ahead and take the bold out as well?
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.
I see we have this a lot in our translation files, so am gonna merge.
Proposed change
Include translations for the statistical issues in the developer tools. Occasionally, links are embedded within sentences. To simplify translations and avoid unnecessary complexity, the entire sentence is now treated as a link.
I have also activated the previously disabled lit rules in these files and updated the terminology to use 'delete' instead of 'remove.'
Type of change
Example configuration
Additional information
Checklist
If user exposed functionality or configuration variables are added/changed: