Skip to content

Commit

Permalink
[APM] fix pluralization of library stack frames toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
ogupte committed Feb 20, 2019
1 parent 29d7c36 commit f37e06b
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@ export class LibraryStackFrames extends React.Component<Props, State> {
{i18n.translate(
'xpack.apm.stacktraceTab.libraryFramesToogleButtonLabel',
{
defaultMessage: '{stackframesLength} library frames',
values: { stackframesLength: stackframes.length }
defaultMessage:
'{count, plural, one {# library frame} other {# library frames}}',
values: { count: stackframes.length }
}
)}
</EuiLink>
Expand Down

0 comments on commit f37e06b

Please sign in to comment.