I18n:Mark up phrases for translation on Permissions drawer (#70842)
* I18n:Mark up Permissions * Mark up strings in Permissions file * I18n:Mark up phrases for on Permissions drawer * I18n:Mark up phrases for translation on Permissions page * I18n:Mark up phrases for translation on Permissions page * Made the changes based on suggestions received * restore translations * Run extract again
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { t } from 'i18next';
|
||||
import React, { ComponentProps, useCallback, useEffect, useRef, useState } from 'react';
|
||||
import { default as ReactSelect } from 'react-select';
|
||||
import { default as ReactAsyncSelect } from 'react-select/async';
|
||||
@@ -124,7 +125,7 @@ export function SelectBase<T>({
|
||||
menuPlacement = 'auto',
|
||||
menuPosition,
|
||||
menuShouldPortal = true,
|
||||
noOptionsMessage = 'No options found',
|
||||
noOptionsMessage = t('grafana-ui.select.no-options-label', 'No options found'),
|
||||
onBlur,
|
||||
onChange,
|
||||
onCloseMenu,
|
||||
@@ -137,7 +138,7 @@ export function SelectBase<T>({
|
||||
onFocus,
|
||||
openMenuOnFocus = false,
|
||||
options = [],
|
||||
placeholder = 'Choose',
|
||||
placeholder = t('grafana-ui.select.placeholder', 'Choose'),
|
||||
prefix,
|
||||
renderControl,
|
||||
showAllSelectedWhenOpen = true,
|
||||
|
||||
Reference in New Issue
Block a user