Skip to content

Commit

Permalink
chore(date-picker): add messages for select menu label (#9724)
Browse files Browse the repository at this point in the history
**Related Issue:** #

## Summary

Adds messages for select menu label used in date-picker header.
  • Loading branch information
anveshmekala authored Jul 3, 2024
1 parent 2b40440 commit a736bf9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ describe("calcite-date-picker-month-header", () => {
dateMonthHeader.messages = {
nextMonth: "Next month",
prevMonth: "Previous month",
monthMenu: "Month menu",
yearMenu: "Year menu",
year: "Year",
};

Expand Down Expand Up @@ -85,6 +87,8 @@ describe("calcite-date-picker-month-header", () => {
dateMonthHeader.messages = {
nextMonth: "Next month",
prevMonth: "Previous month",
monthMenu: "Month menu",
yearMenu: "Year menu",
year: "Year",
};

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"nextMonth": "Next month",
"prevMonth": "Previous month",
"monthMenu": "Month menu",
"yearMenu": "Year menu",
"year": "Year"
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"nextMonth": "Next month",
"prevMonth": "Previous month",
"monthMenu": "Month menu",
"yearMenu": "Year menu",
"year": "Year"
}
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,8 @@ describe("calcite-date-picker", () => {
expect(await date.getProperty("messages")).toEqual({
nextMonth: "Next month",
prevMonth: "Previous month",
monthMenu: "Month menu",
yearMenu: "Year menu",
year: "Year",
});
});
Expand Down

0 comments on commit a736bf9

Please sign in to comment.