Skip to content

Commit

Permalink
Add missing translation domains
Browse files Browse the repository at this point in the history
[MAILPOET-4908]
  • Loading branch information
samnajian committed Mar 14, 2023
1 parent 647a5ec commit 028d1cc
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ class NewsletterListReEngagementComponent extends Component {
let frequency = _x(
'month',
'month in the sentence "1 month after inactivity"',
'mailpoet',
);
if (
newsletter.options.afterTimeNumber > 1 &&
Expand All @@ -260,6 +261,7 @@ class NewsletterListReEngagementComponent extends Component {
frequency = _x(
'months',
'months in the sentence "5 months after inactivity"',
'mailpoet',
);
} else if (
newsletter.options.afterTimeNumber > 1 &&
Expand All @@ -268,12 +270,17 @@ class NewsletterListReEngagementComponent extends Component {
frequency = _x(
'weeks',
'weeks in the sentence "5 weeks after inactivity"',
'mailpoet',
);
} else if (
newsletter.options.afterTimeNumber === 1 &&
newsletter.options.afterTimeType === 'weeks'
) {
frequency = _x('week', 'week in the sentence "1 week after inactivity"');
frequency = _x(
'week',
'week in the sentence "1 week after inactivity"',
'mailpoet',
);
}

const sendingFrequency = _x(
Expand Down

0 comments on commit 028d1cc

Please sign in to comment.