Skip to content

Commit

Permalink
Use Word Joiner (U+2060) to prevent wrapping timeout format.
Browse files Browse the repository at this point in the history
  • Loading branch information
azasypkin committed Oct 15, 2021
1 parent b8a3baa commit 4380ce4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions x-pack/plugins/security/server/config_deprecations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,9 @@ export const securityConfigDeprecationProvider: ConfigDeprecationProvider = ({
manualSteps: [
i18n.translate('xpack.security.deprecations.idleTimeout.manualStepOneMessage', {
defaultMessage:
'To configure a custom timeout, set "xpack.security.session.idleTimeout". Use the format <count>[ms|s|m|h|d|w|M|Y], for example, 20m, 24h, 7d, 1w. A value of 0 disables the timeout.',
'To configure a custom timeout, set "xpack.security.session.idleTimeout". Use the format <count>⁠[ms|s|m|h|d|w|M|Y], for example, 20m, 24h, 7d, 1w. A value of 0 disables the timeout.',
description:
'Please preserve a Word Joiner (U+2060) symbol after <count> in translation.',
}),
],
},
Expand All @@ -202,7 +204,9 @@ export const securityConfigDeprecationProvider: ConfigDeprecationProvider = ({
manualSteps: [
i18n.translate('xpack.security.deprecations.lifespan.manualStepOneMessage', {
defaultMessage:
'To configure a custom timeout, set "xpack.security.session.lifespan". Use the format <count>[ms|s|m|h|d|w|M|Y], for example, 20m, 24h, 7d, 1w. A value of 0 disables the timeout.',
'To configure a custom timeout, set "xpack.security.session.lifespan". Use the format <count>⁠[ms|s|m|h|d|w|M|Y], for example, 20m, 24h, 7d, 1w. A value of 0 disables the timeout.',
description:
'Please preserve a Word Joiner (U+2060) symbol after <count> in translation.',
}),
],
},
Expand Down

0 comments on commit 4380ce4

Please sign in to comment.