build/client/public/javascripts/vendor-d0a31592.js
function choosePluralForm(text, locale, count){
    var ret, texts, chosenText;
    if (count != null && text) {
      texts = text.split(delimeter);
      chosenText = texts[pluralTypeIndex(locale, count)] || texts[0];
      ret = trim(chosenText);
    } else {
      ret = text;
    }
    return ret;
  }
function choosePluralForm(text, locale, count){
    var ret, texts, chosenText;
    if (count != null && text) {
      texts = text.split(delimeter);
      chosenText = texts[pluralTypeIndex(locale, count)] || texts[0];
      ret = trim(chosenText);
    } else {
      ret = text;
    }
    return ret;
  }
function choosePluralForm ( text , locale , count ) { var ret , texts , chosenText ; if ( count != null && text ) { texts = text . split ( delimeter ) ; chosenText = texts [ pluralTypeIndex ( locale , count ) ] || texts [ 0 ] ; ret = trim ( chosenText ) ; } else { ret = text ; } return ret ; }
Based on a phrase text that contains `n` plural forms separated by `delimeter`, a `locale`, and a `count`, choose the correct plural form, or none if `count` is `null`.
Based on a phrase text that contains n plural forms separated by delimeter a locale and a count choose the correct plural form or none if count is null .