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:
RoxanaAnamariaTurc
2023-06-29 13:43:14 +01:00
committed by GitHub
parent 8f975cfdb8
commit 0e2626b004
11 changed files with 202 additions and 16 deletions
@@ -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,