Skip to content

Commit

Permalink
List, TagBox, Splitter: fix localization key name (T1267579)
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-shakhova committed Dec 23, 2024
1 parent 0ca2dc8 commit cded9ca
Show file tree
Hide file tree
Showing 30 changed files with 30 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ class ResizeHandle extends Widget<ResizeHandleOptions> {
this.setAria({
role: 'application',
// eslint-disable-next-line spellcheck/spell-checker
roledescription: messageLocalization.format('dxSplitter-ariaRoleDescription'),
roledescription: messageLocalization.format('dxSplitter-separatorAriaRoleDescription'),
label: messageLocalization.format('dxSplitter-resizeHandleAriaLabel'),
});
}
Expand Down
2 changes: 1 addition & 1 deletion packages/devextreme/js/localization/messages/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,6 @@
"dxMultiView-itemAriaLabel": "{0} of {1}",

"dxSplitter-resizeHandleAriaLabel": "Split bar",
"dxSplitter-ariaRoleDescription": "Separator"
"dxSplitter-separatorAriaRoleDescription": "Separator"
}
}
2 changes: 1 addition & 1 deletion packages/devextreme/js/localization/messages/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,6 @@
"dxMultiView-itemAriaLabel": "{0} of {1}",

"dxSplitter-resizeHandleAriaLabel": "Split bar",
"dxSplitter-ariaRoleDescription": "Separator"
"dxSplitter-separatorAriaRoleDescription": "Separator"
}
}
2 changes: 1 addition & 1 deletion packages/devextreme/js/localization/messages/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,6 @@
"dxMultiView-itemAriaLabel": "{0} of {1}",

"dxSplitter-resizeHandleAriaLabel": "Split bar",
"dxSplitter-ariaRoleDescription": "Separator"
"dxSplitter-separatorAriaRoleDescription": "Separator"
}
}
2 changes: 1 addition & 1 deletion packages/devextreme/js/localization/messages/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,6 @@
"dxMultiView-itemAriaLabel": "{0} of {1}",

"dxSplitter-resizeHandleAriaLabel": "Split bar",
"dxSplitter-ariaRoleDescription": "Separator"
"dxSplitter-separatorAriaRoleDescription": "Separator"
}
}
2 changes: 1 addition & 1 deletion packages/devextreme/js/localization/messages/el.json
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,6 @@
"dxMultiView-itemAriaLabel": "{0} of {1}",

"dxSplitter-resizeHandleAriaLabel": "Split bar",
"dxSplitter-ariaRoleDescription": "Separator"
"dxSplitter-separatorAriaRoleDescription": "Separator"
}
}
2 changes: 1 addition & 1 deletion packages/devextreme/js/localization/messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,6 @@
"dxMultiView-itemAriaLabel": "{0} of {1}",

"dxSplitter-resizeHandleAriaLabel": "Split bar",
"dxSplitter-ariaRoleDescription": "Separator"
"dxSplitter-separatorAriaRoleDescription": "Separator"
}
}
2 changes: 1 addition & 1 deletion packages/devextreme/js/localization/messages/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,6 @@
"dxMultiView-itemAriaLabel": "{0} of {1}",

"dxSplitter-resizeHandleAriaLabel": "Split bar",
"dxSplitter-ariaRoleDescription": "Separator"
"dxSplitter-separatorAriaRoleDescription": "Separator"
}
}
2 changes: 1 addition & 1 deletion packages/devextreme/js/localization/messages/fa.json
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,6 @@
"dxMultiView-itemAriaLabel": "{0} of {1}",

"dxSplitter-resizeHandleAriaLabel": "Split bar",
"dxSplitter-ariaRoleDescription": "Separator"
"dxSplitter-separatorAriaRoleDescription": "Separator"
}
}
2 changes: 1 addition & 1 deletion packages/devextreme/js/localization/messages/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,6 @@
"dxMultiView-itemAriaLabel": "{0} of {1}",

"dxSplitter-resizeHandleAriaLabel": "Split bar",
"dxSplitter-ariaRoleDescription": "Separator"
"dxSplitter-separatorAriaRoleDescription": "Separator"
}
}
2 changes: 1 addition & 1 deletion packages/devextreme/js/localization/messages/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,6 @@
"dxMultiView-itemAriaLabel": "{0} of {1}",

"dxSplitter-resizeHandleAriaLabel": "Split bar",
"dxSplitter-ariaRoleDescription": "Separator"
"dxSplitter-separatorAriaRoleDescription": "Separator"
}
}
2 changes: 1 addition & 1 deletion packages/devextreme/js/localization/messages/hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,6 @@
"dxMultiView-itemAriaLabel": "{0} of {1}",

"dxSplitter-resizeHandleAriaLabel": "Split bar",
"dxSplitter-ariaRoleDescription": "Separator"
"dxSplitter-separatorAriaRoleDescription": "Separator"
}
}
2 changes: 1 addition & 1 deletion packages/devextreme/js/localization/messages/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,6 @@
"dxMultiView-itemAriaLabel": "{0} of {1}",

"dxSplitter-resizeHandleAriaLabel": "Split bar",
"dxSplitter-ariaRoleDescription": "Separator"
"dxSplitter-separatorAriaRoleDescription": "Separator"
}
}
2 changes: 1 addition & 1 deletion packages/devextreme/js/localization/messages/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,6 @@
"dxMultiView-itemAriaLabel": "{0} of {1}",

"dxSplitter-resizeHandleAriaLabel": "Split bar",
"dxSplitter-ariaRoleDescription": "Separator"
"dxSplitter-separatorAriaRoleDescription": "Separator"
}
}
2 changes: 1 addition & 1 deletion packages/devextreme/js/localization/messages/lt.json
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,6 @@
"dxMultiView-itemAriaLabel": "{0} of {1}",

"dxSplitter-resizeHandleAriaLabel": "Split bar",
"dxSplitter-ariaRoleDescription": "Separator"
"dxSplitter-separatorAriaRoleDescription": "Separator"
}
}
2 changes: 1 addition & 1 deletion packages/devextreme/js/localization/messages/lv.json
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,6 @@
"dxMultiView-itemAriaLabel": "{0} of {1}",

"dxSplitter-resizeHandleAriaLabel": "Split bar",
"dxSplitter-ariaRoleDescription": "Separator"
"dxSplitter-separatorAriaRoleDescription": "Separator"
}
}
2 changes: 1 addition & 1 deletion packages/devextreme/js/localization/messages/nb.json
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,6 @@
"dxMultiView-itemAriaLabel": "{0} of {1}",

"dxSplitter-resizeHandleAriaLabel": "Split bar",
"dxSplitter-ariaRoleDescription": "Separator"
"dxSplitter-separatorAriaRoleDescription": "Separator"
}
}
2 changes: 1 addition & 1 deletion packages/devextreme/js/localization/messages/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,6 @@
"dxMultiView-itemAriaLabel": "{0} of {1}",

"dxSplitter-resizeHandleAriaLabel": "Split bar",
"dxSplitter-ariaRoleDescription": "Separator"
"dxSplitter-separatorAriaRoleDescription": "Separator"
}
}
2 changes: 1 addition & 1 deletion packages/devextreme/js/localization/messages/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,6 @@
"dxMultiView-itemAriaLabel": "{0} of {1}",

"dxSplitter-resizeHandleAriaLabel": "Split bar",
"dxSplitter-ariaRoleDescription": "Separator"
"dxSplitter-separatorAriaRoleDescription": "Separator"
}
}
2 changes: 1 addition & 1 deletion packages/devextreme/js/localization/messages/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,6 @@
"dxMultiView-itemAriaLabel": "{0} de {1}",

"dxSplitter-resizeHandleAriaLabel": "Barra de divisão",
"dxSplitter-ariaRoleDescription": "Separator"
"dxSplitter-separatorAriaRoleDescription": "Separator"
}
}
2 changes: 1 addition & 1 deletion packages/devextreme/js/localization/messages/ro.json
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,6 @@
"dxMultiView-itemAriaLabel": "{0} of {1}",

"dxSplitter-resizeHandleAriaLabel": "Split bar",
"dxSplitter-ariaRoleDescription": "Separator"
"dxSplitter-separatorAriaRoleDescription": "Separator"
}
}
2 changes: 1 addition & 1 deletion packages/devextreme/js/localization/messages/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,6 @@
"dxMultiView-itemAriaLabel": "{0} of {1}",

"dxSplitter-resizeHandleAriaLabel": "Split bar",
"dxSplitter-ariaRoleDescription": "Separator"
"dxSplitter-separatorAriaRoleDescription": "Separator"
}
}
2 changes: 1 addition & 1 deletion packages/devextreme/js/localization/messages/sl.json
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,6 @@
"dxMultiView-itemAriaLabel": "{0} of {1}",

"dxSplitter-resizeHandleAriaLabel": "Split bar",
"dxSplitter-ariaRoleDescription": "Separator"
"dxSplitter-separatorAriaRoleDescription": "Separator"
}
}
2 changes: 1 addition & 1 deletion packages/devextreme/js/localization/messages/sv.json
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,6 @@
"dxMultiView-itemAriaLabel": "{0} of {1}",

"dxSplitter-resizeHandleAriaLabel": "Split bar",
"dxSplitter-ariaRoleDescription": "Separator"
"dxSplitter-separatorAriaRoleDescription": "Separator"
}
}
2 changes: 1 addition & 1 deletion packages/devextreme/js/localization/messages/tr.json
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,6 @@
"dxMultiView-itemAriaLabel": "{0} of {1}",

"dxSplitter-resizeHandleAriaLabel": "Split bar",
"dxSplitter-ariaRoleDescription": "Separator"
"dxSplitter-separatorAriaRoleDescription": "Separator"
}
}
2 changes: 1 addition & 1 deletion packages/devextreme/js/localization/messages/vi.json
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,6 @@
"dxMultiView-itemAriaLabel": "{0} of {1}",

"dxSplitter-resizeHandleAriaLabel": "Split bar",
"dxSplitter-ariaRoleDescription": "Separator"
"dxSplitter-separatorAriaRoleDescription": "Separator"
}
}
2 changes: 1 addition & 1 deletion packages/devextreme/js/localization/messages/zh-tw.json
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,6 @@
"dxMultiView-itemAriaLabel": "{0} of {1}",

"dxSplitter-resizeHandleAriaLabel": "Split bar",
"dxSplitter-ariaRoleDescription": "Separator"
"dxSplitter-separatorAriaRoleDescription": "Separator"
}
}
2 changes: 1 addition & 1 deletion packages/devextreme/js/localization/messages/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,6 @@
"dxMultiView-itemAriaLabel": "{0} of {1}",

"dxSplitter-resizeHandleAriaLabel": "Split bar",
"dxSplitter-ariaRoleDescription": "Separator"
"dxSplitter-separatorAriaRoleDescription": "Separator"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ if(devices.real().deviceType === 'desktop') {
items: [{ text: 'Item_1' }, { text: 'Item_2' }, { text: 'Item_3' }],
}, options))
});
const localizedRoleDescription = 'list';
const localizedRoleDescription = 'My Custom List';
localization.loadMessages({ 'en': { 'dxList-ariaRoleDescription': localizedRoleDescription } });

this.clock = sinon.useFakeTimers();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ QUnit.module('Aria attributes', moduleConfig, () => {
QUnit.test('aria-roledescription attribute should be set correctly', function(assert) {
this.reinit({ });

const localizedRoleDescriptionAttribute = messageLocalization.format('dxSplitter-ariaRoleDescription');
const localizedRoleDescriptionAttribute = messageLocalization.format('dxSplitter-separatorAriaRoleDescription');

assert.strictEqual(this.$element.attr('aria-roledescription'), localizedRoleDescriptionAttribute);
});
Expand Down

0 comments on commit cded9ca

Please sign in to comment.