impPreviewCounts method

  1. @override
String impPreviewCounts(
  1. int topics,
  2. int chunks
)
override

No description provided for @impPreviewCounts.

In en, this message translates to: '{topics, plural, =1{1 topic} other{{topics} topics}} · {chunks, plural, =1{1 passage} other{{chunks} passages}}'

Implementation

@override
String impPreviewCounts(int topics, int chunks) {
  String _temp0 = intl.Intl.pluralLogic(
    topics,
    locale: localeName,
    other: '$topics topics',
    one: '1 topic',
  );
  String _temp1 = intl.Intl.pluralLogic(
    chunks,
    locale: localeName,
    other: '$chunks passages',
    one: '1 passage',
  );
  return '$_temp0 · $_temp1';
}