mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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:
@@ -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'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}
|
||||
|
||||
Reference in New Issue
Block a user