Skip to content

Commit

Permalink
Merge pull request #1498 from Tanddant/master
Browse files Browse the repository at this point in the history
Fixed DateTimePicker strings in Danish Locale
  • Loading branch information
joaojmendes committed Mar 31, 2023
2 parents c0251c8 + c5bd9c8 commit eff9895
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions src/controls/listItemAttachments/ListItemAttachments.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,8 @@ export class ListItemAttachments extends React.Component<IListItemAttachmentsPro
directionalHint={DirectionalHint.rightCenter}>

<DocumentCard
onClickHref={!openAttachmentsInNewWindow && `${file.ServerRelativeUrl}?web=1`}
onClick={openAttachmentsInNewWindow && (() => window.open(`${file.ServerRelativeUrl}?web=1`, "_blank"))} // JJ - 20200613 - needed to support Microsoft Teams
onClickHref={!openAttachmentsInNewWindow && `${encodeURIComponent(file.ServerRelativeUrl)}?web=1`}
onClick={openAttachmentsInNewWindow && (() => window.open(`${encodeURIComponent(file.ServerRelativeUrl)}?web=1`, "_blank"))} // JJ - 20200613 - needed to support Microsoft Teams
className={styles.documentCard}>
<DocumentCardPreview previewImages={[previewImage]} />
<Label className={styles.fileLabel}>{fileName}</Label>
Expand Down
26 changes: 13 additions & 13 deletions src/loc/da-dk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,33 +163,33 @@ define([], () => {
"DatePickerMonthLongJanuary": "Januar",
"DatePickerMonthShortJanuary": "Jan",
"DatePickerMonthLongFebruary": "Februar",
"DatePickerMonthShortFebruary": "Februar",
"DatePickerMonthShortFebruary": "Feb",
"DatePickerMonthLongMarch": "Marts",
"DatePickerMonthShortMarch": "Mar",
"DatePickerMonthLongApril": "April",
"DatePickerMonthShortApril": "Apr",
"DatePickerMonthLongMay": "Kan",
"DatePickerMonthShortMay": "Kan",
"DatePickerMonthLongMay": "Maj",
"DatePickerMonthShortMay": "Maj",
"DatePickerMonthLongJune": "Juni",
"DatePickerMonthShortJune": "Juni",
"DatePickerMonthShortJune": "Jun",
"DatePickerMonthLongJuly": "Juli",
"DatePickerMonthShortJuly": "Jul",
"DatePickerMonthLongAugust": "August",
"DatePickerMonthShortAugust": "August",
"DatePickerMonthShortAugust": "Aug",
"DatePickerMonthLongSeptember": "September",
"DatePickerMonthShortSeptember": "Syv",
"DatePickerMonthShortSeptember": "Sep",
"DatePickerMonthLongOctober": "Oktober",
"DatePickerMonthShortOctober": "Oktober",
"DatePickerMonthShortOctober": "Okt",
"DatePickerMonthLongNovember": "November",
"DatePickerMonthShortNovember": "November",
"DatePickerMonthShortNovember": "Nov",
"DatePickerMonthLongDecember": "December",
"DatePickerMonthShortDecember": "December",
"DatePickerMonthShortDecember": "Dec",
"DatePickerDayLongSunday": "Søndag",
"DatePickerDayShortSunday": "Sun",
"DatePickerDayShortSunday": "Søn",
"DatePickerDayLongMonday": "Mandag",
"DatePickerDayShortMonday": "Min",
"DatePickerDayShortMonday": "Man",
"DatePickerDayLongTuesday": "Tirsdag",
"DatePickerDayShortTuesday": "Tue",
"DatePickerDayShortTuesday": "Tir",
"DatePickerDayLongWednesday": "Onsdag",
"DatePickerDayShortWednesday": "Ons",
"DatePickerDayLongThursday": "Torsdag",
Expand All @@ -198,7 +198,7 @@ define([], () => {
"DatePickerDayShortFriday": "Fre",
"DatePickerDayLongSaturday": "Lørdag",
"DatePickerDayShortSaturday": "Lør",
"DatePickerGoToToday": "Dag",
"DatePickerGoToToday": "Gå til i dag",
"DatePickerIsRequiredErrorMessage": "",
"DatePickerInvalidInputErrorMessage": "",
"DatePickerIsOutOfBoundsErrorMessage": "",
Expand Down

0 comments on commit eff9895

Please sign in to comment.