I18n: Markup ExploreToolbar component (#74292)

* chore: markup explore-split-toolbar and data-source-dropdown

* chore: markup explore-refesh-picker

* fix:  apostrophe in empty-recent-list paragraph

* chore: added markup for add to dashboard

* fix: corrected prefix

* fix: typos

* chore: updated markup prefixes in all other languages

* chore: added i18n markup for aria-labels

* i18n files generated

* i18n aria-label added for Add to Dashboard

* fix: fixed prefixes according to the grafana guidelines

* chore: generated i18n json files

* fix: fixed prefixes

* fix: apos; entity rendering

* chore: updated markup files

* chore: updated markup Locale file

* fix: updated prefix names

* chore: updated markup files

* fix: updated markup prefix for data-source-picker

* fix: trimmed extra spaces

* chore: updated markup files

* fix: added back translation phrases

* fix: Updated prefix name in DataSourceDropdown.tsx

* fix: created addToDashboard variable with translation markup
This commit is contained in:
Aditi Patel
2023-09-25 03:38:17 -05:00
committed by GitHub
parent 5a91d00f52
commit 56c75cc542
10 changed files with 159 additions and 26 deletions

View File

@@ -216,16 +216,17 @@ const FullScreenForm = (props: FormProps) => {
const EmptyRecentList = memo(() => {
const theme = useTheme2();
const styles = getEmptyListStyles(theme);
const emptyRecentListText = t(
'time-picker.content.empty-recent-list-info',
"It looks like you haven't used this time picker before. As soon as you enter some time intervals, recently used intervals will appear here."
);
return (
<div className={styles.container}>
<Trans i18nKey="time-picker.content.empty-recent-list">
<div>
<span>
It looks like you haven&apos;t used this time picker before. As soon as you enter some time intervals,
recently used intervals will appear here.
</span>
</div>
<div>
<span>{emptyRecentListText}</span>
</div>
<Trans i18nKey="time-picker.content.empty-recent-list-docs">
<div>
<a
className={styles.link}