Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/localization/src/fields/slug/SlugComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const SlugComponent: React.FC<SlugComponentProps> = ({
return (
<div className="field-type slug-field-component">
<div className="label-wrapper">
<FieldLabel htmlFor={`field-${path}`} label={label} />
<FieldLabel label={label} path={path || field.name} />

<Button className="lock-button" buttonStyle="ghost" onClick={handleLock}>
{checkboxValue ? 'Unlock' : 'Lock'}
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/clientKeys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ export const clientTranslationKeys = createClientTranslationKeys([
'fields:toggleBlock',
'fields:uploadNewLabel',

'hierarchy:folderLocation',
'hierarchy:goTo',
'hierarchy:itemsMovedTo',
'hierarchy:itemsMovedToRoot',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/ar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,7 @@ export const arTranslations: DefaultTranslationsObject = {
yes: 'نعم',
},
hierarchy: {
folderLocation: 'موقع المجلد',
goTo: 'اذهب إلى "{{name}}"',
itemsMovedTo: '{{title}} تم نقله إلى {{destination}}',
itemsMovedToRoot: '{{title}} تم نقله إلى الجذر',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/az.ts
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,7 @@ export const azTranslations: DefaultTranslationsObject = {
yes: 'Bəli',
},
hierarchy: {
folderLocation: 'Qovluğun yeri',
goTo: '"{{name}}" -a keçin',
itemsMovedTo: '{{title}} {{destination}}-ə köçürüldü',
itemsMovedToRoot: '{{title}} kökə köçürüldü',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/bg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,7 @@ export const bgTranslations: DefaultTranslationsObject = {
yes: 'Да',
},
hierarchy: {
folderLocation: 'Местоположение на папката',
goTo: 'Отидете на "{{name}}"',
itemsMovedTo: '{{title}} беше преместен в {{destination}}',
itemsMovedToRoot: '{{title}} преместен към корена',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/bnBd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,7 @@ export const bnBdTranslations: DefaultTranslationsObject = {
yes: 'হ্যাঁ',
},
hierarchy: {
folderLocation: 'ফোল্ডারের অবস্থান',
goTo: '"{{name}}" এ যান',
itemsMovedTo: '{{title}} এখন {{destination}} এ স্থানান্তরিত হয়েছে',
itemsMovedToRoot: '{{title}} মূলে সরানো হয়েছে',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/bnIn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,7 @@ export const bnInTranslations: DefaultTranslationsObject = {
yes: 'হ্যাঁ',
},
hierarchy: {
folderLocation: 'ফোল্ডারের অবস্থান',
goTo: '"{{name}}" তে যান',
itemsMovedTo: '{{title}} টি {{destination}} এ সরিয়ে নেওয়া হলো।',
itemsMovedToRoot: '{{title}} মূলে সরিয়ে নেওয়া হয়েছে',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/ca.ts
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,7 @@ export const caTranslations: DefaultTranslationsObject = {
yes: 'Sí',
},
hierarchy: {
folderLocation: 'Ubicació de la carpeta',
goTo: 'Vés a "{{name}}"',
itemsMovedTo: "{{title}} s'ha traslladat a {{destination}}",
itemsMovedToRoot: "{{title}} s'ha traslladat a l'arrel",
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/cs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,7 @@ export const csTranslations: DefaultTranslationsObject = {
yes: 'Ano',
},
hierarchy: {
folderLocation: 'Umístění složky',
goTo: 'Přejděte na "{{name}}"',
itemsMovedTo: '{{title}} byl přesunut do {{destination}}',
itemsMovedToRoot: '{{title}} přesunuto do kořenové složky',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/da.ts
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,7 @@ export const daTranslations: DefaultTranslationsObject = {
yes: 'Ja',
},
hierarchy: {
folderLocation: 'Mappeplacering',
goTo: 'Gå til "{{name}}"',
itemsMovedTo: '{{title}} flyttet til {{destination}}',
itemsMovedToRoot: '{{title}} flyttet til rod',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,7 @@ export const deTranslations: DefaultTranslationsObject = {
yes: 'Ja',
},
hierarchy: {
folderLocation: 'Ordnerpfad',
goTo: 'Gehen Sie zu "{{name}}"',
itemsMovedTo: '{{title}} wurde nach {{destination}} verschoben.',
itemsMovedToRoot: '{{title}} wurde zur Wurzel verschoben',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,7 @@ export const enTranslations = {
yes: 'Yes',
},
hierarchy: {
folderLocation: 'Folder location',
goTo: 'Go to "{{name}}"',
itemsMovedTo: '{{title}} moved to {{destination}}',
itemsMovedToRoot: '{{title}} moved to root',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,7 @@ export const esTranslations: DefaultTranslationsObject = {
yes: 'Sí',
},
hierarchy: {
folderLocation: 'Ubicación de la carpeta',
goTo: 'Ir a "{{name}}"',
itemsMovedTo: '{{title}} se trasladó a {{destination}}',
itemsMovedToRoot: '{{title}} se movió a la raíz',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/et.ts
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,7 @@ export const etTranslations: DefaultTranslationsObject = {
yes: 'Jah',
},
hierarchy: {
folderLocation: 'Kausta asukoht',
goTo: 'Mine "{{name}}" juurde',
itemsMovedTo: '{{title}} viidi üle {{destination}}',
itemsMovedToRoot: '{{title}} liigutatud juurikasse',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/fa.ts
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,7 @@ export const faTranslations: DefaultTranslationsObject = {
yes: 'بله',
},
hierarchy: {
folderLocation: 'محل پوشه',
goTo: 'به "{{name}}" بروید.',
itemsMovedTo: '{{title}} به {{destination}} منتقل شد.',
itemsMovedToRoot: '{{title}} به ریشه منتقل شد',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,7 @@ export const frTranslations: DefaultTranslationsObject = {
yes: 'Oui',
},
hierarchy: {
folderLocation: 'Emplacement du dossier',
goTo: 'Aller à « {{name}} »',
itemsMovedTo: '{{title}} déplacé vers {{destination}}',
itemsMovedToRoot: '{{title}} déplacé à la racine',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/he.ts
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,7 @@ export const heTranslations: DefaultTranslationsObject = {
yes: 'כן',
},
hierarchy: {
folderLocation: 'מיקום התיקייה',
goTo: 'עבור אל "{{name}}"',
itemsMovedTo: '{{title}} הועבר ל-{{destination}}',
itemsMovedToRoot: '{{title}} הועבר לשורש',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/hr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,7 @@ export const hrTranslations: DefaultTranslationsObject = {
yes: 'Da',
},
hierarchy: {
folderLocation: 'Lokacija mape',
goTo: 'Idite na "{{name}}"',
itemsMovedTo: '{{title}} premješten na {{destination}}',
itemsMovedToRoot: '{{title}} premješten u korijen',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/hu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,7 @@ export const huTranslations: DefaultTranslationsObject = {
yes: 'Igen',
},
hierarchy: {
folderLocation: 'Mappa helye',
goTo: 'Ugrás ide: "{{name}}"',
itemsMovedTo: '{{title}} átkerült ide: {{destination}}',
itemsMovedToRoot: '{{title}} áthelyezve a gyökérbe',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/hy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,7 @@ export const hyTranslations: DefaultTranslationsObject = {
yes: 'Այո',
},
hierarchy: {
folderLocation: 'Պանակի տեղադրություն',
goTo: 'Անցեք "{{name}}"',
itemsMovedTo: '{{title}} տեղափոխվեց {{destination}}։',
itemsMovedToRoot: '"{{title}}" տեղափոխվել է արմատը',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/id.ts
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,7 @@ export const idTranslations: DefaultTranslationsObject = {
yes: 'Ya',
},
hierarchy: {
folderLocation: 'Lokasi folder',
goTo: 'Buka "{{name}}"',
itemsMovedTo: '{{title}} dipindahkan ke {{destination}}',
itemsMovedToRoot: '{{title}} dipindahkan ke akar',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/is.ts
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,7 @@ export const isTranslations: DefaultTranslationsObject = {
yes: 'Já',
},
hierarchy: {
folderLocation: 'Staðsetning möppu',
goTo: 'Farðu á "{{name}}"',
itemsMovedTo: '{{title}} flutt til {{destination}}',
itemsMovedToRoot: '{{title}} flutt til rót',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/it.ts
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,7 @@ export const itTranslations: DefaultTranslationsObject = {
yes: 'Sì',
},
hierarchy: {
folderLocation: 'Posizione della cartella',
goTo: 'Vai a "{{name}}"',
itemsMovedTo: '{{title}} è stato spostato a {{destination}}',
itemsMovedToRoot: '{{title}} spostato alla radice',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/ja.ts
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,7 @@ export const jaTranslations: DefaultTranslationsObject = {
yes: 'はい',
},
hierarchy: {
folderLocation: 'フォルダーの場所',
goTo: '「{{name}}」へ移動してください。',
itemsMovedTo: '{{title}}は{{destination}}に移動しました',
itemsMovedToRoot: '{{title}}がルートに移動されました',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/ko.ts
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,7 @@ export const koTranslations: DefaultTranslationsObject = {
yes: '네',
},
hierarchy: {
folderLocation: '폴더 위치',
goTo: '"{{name}}"로 이동하십시오.',
itemsMovedTo: '{{title}}은 {{destination}}으로 이동되었습니다.',
itemsMovedToRoot: '{{title}}가 루트로 이동되었습니다.',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/lt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,7 @@ export const ltTranslations: DefaultTranslationsObject = {
yes: 'Taip',
},
hierarchy: {
folderLocation: 'Aplanko vieta',
goTo: 'Eikite į "{{name}}"',
itemsMovedTo: '{{title}} perkeltas į {{destination}}',
itemsMovedToRoot: '{{title}} perkeltas į šaknį',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/lv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,7 @@ export const lvTranslations: DefaultTranslationsObject = {
yes: 'Jā',
},
hierarchy: {
folderLocation: 'Mapes atrašanās vieta',
goTo: 'Dodieties uz "{{name}}"',
itemsMovedTo: '{{title}} tika pārvietots uz {{destination}}',
itemsMovedToRoot: '{{title}} pārvietots uz sakni',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/my.ts
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,7 @@ export const myTranslations: DefaultTranslationsObject = {
yes: 'ဟုတ်ကဲ့',
},
hierarchy: {
folderLocation: 'ဖိုင်တွဲတည်နေရာ',
goTo: '"{{name}}" သို့သွားပါ',
itemsMovedTo: '{{title}} ကို {{destination}} သို့ ရွှေ့လိုက်ပါပြီ',
itemsMovedToRoot: '"{{title}}" ကို အမြစ်သို့ ရွှေ့လိုက်ပါပြီ။',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/nb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,7 @@ export const nbTranslations: DefaultTranslationsObject = {
yes: 'Ja',
},
hierarchy: {
folderLocation: 'Mappeplassering',
goTo: 'Gå til "{{name}}"',
itemsMovedTo: '{{title}} flyttet til {{destination}}',
itemsMovedToRoot: '{{title}} flyttet til roten',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/nl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,7 @@ export const nlTranslations: DefaultTranslationsObject = {
yes: 'Ja',
},
hierarchy: {
folderLocation: 'Maplocatie',
goTo: 'Ga naar "{{name}}"',
itemsMovedTo: '{{title}} verplaatst naar {{destination}}',
itemsMovedToRoot: '{{title}} verplaatst naar root',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/pl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,7 @@ export const plTranslations: DefaultTranslationsObject = {
yes: 'Tak',
},
hierarchy: {
folderLocation: 'Lokalizacja folderu',
goTo: 'Przejdź do "{{name}}"',
itemsMovedTo: '{{title}} został przeniesiony do {{destination}}',
itemsMovedToRoot: '{{title}} przeniesiony do głównego katalogu',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/pt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,7 @@ export const ptTranslations: DefaultTranslationsObject = {
yes: 'Sim',
},
hierarchy: {
folderLocation: 'Localização da pasta',
goTo: 'Ir para "{{name}}"',
itemsMovedTo: '{{title}} foi movido para {{destination}}',
itemsMovedToRoot: '{{title}} movido para a raiz',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/ro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,7 @@ export const roTranslations: DefaultTranslationsObject = {
yes: 'Da',
},
hierarchy: {
folderLocation: 'Locația folderului',
goTo: 'Mergi la "{{name}}"',
itemsMovedTo: '{{title}} s-a mutat la {{destination}}',
itemsMovedToRoot: '{{title}} a fost mutat la rădăcină',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/rs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,7 @@ export const rsTranslations: DefaultTranslationsObject = {
yes: 'Да',
},
hierarchy: {
folderLocation: 'Локација фасцикле',
goTo: 'Idite na "{{name}}"',
itemsMovedTo: '{{title}} je premešten u {{destination}}',
itemsMovedToRoot: '{{title}} premestio se u koren',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/rsLatin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,7 @@ export const rsLatinTranslations: DefaultTranslationsObject = {
yes: 'Da',
},
hierarchy: {
folderLocation: 'Lokacija fascikle',
goTo: 'Idite na "{{name}}"',
itemsMovedTo: '{{title}} premešten u {{destination}}',
itemsMovedToRoot: '{{title}} premešteno u koren',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/ru.ts
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,7 @@ export const ruTranslations: DefaultTranslationsObject = {
yes: 'Да',
},
hierarchy: {
folderLocation: 'Расположение папки',
goTo: 'Перейти к "{{name}}"',
itemsMovedTo: '{{title}} перемещен в {{destination}}',
itemsMovedToRoot: '{{title}} перемещен в корень',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/sk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,7 @@ export const skTranslations: DefaultTranslationsObject = {
yes: 'Áno',
},
hierarchy: {
folderLocation: 'Umiestnenie priečinka',
goTo: 'Prejdite na "{{name}}"',
itemsMovedTo: '{{title}} presunuté do {{destination}}',
itemsMovedToRoot: '{{title}} presunutý do koreňa',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/sl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,7 @@ export const slTranslations: DefaultTranslationsObject = {
yes: 'Da',
},
hierarchy: {
folderLocation: 'Lokacija mape',
goTo: 'Pojdite na "{{name}}"',
itemsMovedTo: '{{title}} preseljeno v {{destination}}',
itemsMovedToRoot: '{{title}} premaknjeno v koren',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/sv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,7 @@ export const svTranslations: DefaultTranslationsObject = {
yes: 'Ja',
},
hierarchy: {
folderLocation: 'Mappens plats',
goTo: 'Gå till "{{name}}"',
itemsMovedTo: '{{title}} flyttades till {{destination}}',
itemsMovedToRoot: '{{title}} flyttad till rot',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/ta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,7 @@ export const taTranslations: DefaultTranslationsObject = {
yes: 'ஆம்',
},
hierarchy: {
folderLocation: 'கோப்புறையின் இருப்பிடம்',
goTo: '"{{name}}"க்கு செல்லுங்கள்',
itemsMovedTo: '{{title}} ஐ {{destination}} க்கு நகர்த்தினோம்',
itemsMovedToRoot: '{{title}} மூலத்திற்கு நகர்த்தப்பட்டது',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/th.ts
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,7 @@ export const thTranslations: DefaultTranslationsObject = {
yes: 'ใช่',
},
hierarchy: {
folderLocation: 'ตำแหน่งโฟลเดอร์',
goTo: 'ไปที่ "{{name}}"',
itemsMovedTo: '{{title}} ย้ายไปที่ {{destination}}',
itemsMovedToRoot: '{{title}} ถูกย้ายไปยังราก',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/tr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,7 @@ export const trTranslations: DefaultTranslationsObject = {
yes: 'Evet',
},
hierarchy: {
folderLocation: 'Klasör konumu',
goTo: '"{{name}}" öğesine gidin',
itemsMovedTo: "{{title}} {{destination}}'ye taşındı",
itemsMovedToRoot: '{{title}} kök bölüme taşındı.',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/uk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,7 @@ export const ukTranslations: DefaultTranslationsObject = {
yes: 'Так',
},
hierarchy: {
folderLocation: 'Розташування папки',
goTo: 'Перейти до "{{name}}"',
itemsMovedTo: '{{title}} перейшов до {{destination}}',
itemsMovedToRoot: '{{title}} переміщено в корінь',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/vi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,7 @@ export const viTranslations: DefaultTranslationsObject = {
yes: 'Có',
},
hierarchy: {
folderLocation: 'Vị trí thư mục',
goTo: 'Đi đến "{{name}}"',
itemsMovedTo: '{{title}} đã di chuyển đến {{destination}}',
itemsMovedToRoot: '{{title}} đã được chuyển đến gốc',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,7 @@ export const zhTranslations: DefaultTranslationsObject = {
yes: '是的',
},
hierarchy: {
folderLocation: '文件夹位置',
goTo: '前往“{{name}}”',
itemsMovedTo: '{{title}} 已移至 {{destination}}',
itemsMovedToRoot: '{{title}}移至根目录',
Expand Down
1 change: 1 addition & 0 deletions packages/translations/src/languages/zhTw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,7 @@ export const zhTwTranslations: DefaultTranslationsObject = {
yes: '是',
},
hierarchy: {
folderLocation: '資料夾位置',
goTo: '前往「{{name}}」',
itemsMovedTo: '{{title}} 移至 {{destination}}',
itemsMovedToRoot: '{{title}} 已移至根目錄',
Expand Down
3 changes: 2 additions & 1 deletion packages/ui/src/elements/Button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export const Button: React.FC<Props> = (props) => {
onClick,
onKeyDown,
onMouseDown,
popupAriaLabel,
popupIconSize,
ref,
round,
Expand Down Expand Up @@ -222,7 +223,7 @@ export const Button: React.FC<Props> = (props) => {
{buttonElement}
<Popup
button={<ChevronIcon size={popupIconSize} />}
buttonAriaLabel={t('general:moreOptions')}
buttonAriaLabel={popupAriaLabel || t('general:moreOptions')}
buttonSize={size}
className={disabled && !enableSubMenu ? `${baseClass}--popup-disabled` : ''}
disabled={disabled && !enableSubMenu}
Expand Down
1 change: 1 addition & 0 deletions packages/ui/src/elements/Button/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export type Props = {
onClick?: (event: MouseEvent) => void
onKeyDown?: KeyboardEventHandler
onMouseDown?: (event: MouseEvent) => void
popupAriaLabel?: string
/**
* Size of the chevron icon in the split-button popup trigger.
* @default 24
Expand Down
Loading
Loading