Skip to content

Commit

Permalink
Fix gettext
Browse files Browse the repository at this point in the history
  • Loading branch information
thecalcc committed Feb 12, 2024
1 parent 22be35f commit 24dce25
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default class PlanningTemplatesModal extends React.Component<IProps, ISta
const activeCalendarName = this.props.calendars
.find((cal) => cal.qcode === this.state.activeCalendarFilter)?.name;
const dropdownLabel = this.state.activeCalendarFilter
? `${gettext('Calendar')}: ${activeCalendarName}`
? gettext('Calendar: {{activeCalendarName}}', {activeCalendarName})
: allCalendarsLabel;

if (this.state.activeCalendarFilter) {
Expand Down

0 comments on commit 24dce25

Please sign in to comment.