Skip to content

Commit

Permalink
[PR feedback] i18n pluralization
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen committed Jan 13, 2021
1 parent 390ace7 commit 1829250
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const CustomPolicy: React.FC<Props> = ({ type }) => (
export const DefaultPolicy: React.FC<Props> = ({ type, minAgeDays }) => (
<FormattedMessage
id="xpack.enterpriseSearch.appSearch.logRetention.defaultPolicy"
defaultMessage="Your {logsType} logs are being stored for at least {minAgeDays} days."
defaultMessage="Your {logsType} logs are being stored for at least {minAgeDays, plural, one {# day} other {# days}}."
values={{ logsType: CAPITALIZATION_MAP[type].lowercase, minAgeDays }}
/>
);

0 comments on commit 1829250

Please sign in to comment.