summaryrefslogtreecommitdiffstats
path: root/devtools/client/webconsole/new-console-output/test/fixtures/PluralForm.js
blob: 9ab3ad3ec22622c76f05955d395c546737026590 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* Any copyright is dedicated to the Public Domain.
   http://creativecommons.org/publicdomain/zero/1.0/ */

"use strict";

module.exports = {
  PluralForm: {
    get: function (occurence, str) {
      // @TODO Remove when loading the actual strings from webconsole.properties
      // is done in the L10n fixture.
      if (str === "messageRepeats.tooltip2") {
        return `${occurence} repeats`;
      }

      return str;
    }
  }
};