Sha256: 6b747bd45a6df9bc28635c1fd70cf848d4afc14ffca46e9f4b0dfafb8b2a7b35

Contents?: true

Size: 1.27 KB

Versions: 46

Compression:

Stored size: 1.27 KB

Contents

define(function () {
  // Bosnian
  function ending (count, one, some, many) {
    if (count % 10 == 1 && count % 100 != 11) {
      return one;
    }

    if (count % 10 >= 2 && count % 10 <= 4 &&
      (count % 100 < 12 || count % 100 > 14)) {
        return some;
    }

    return many;
  }

  return {
    errorLoading: function () {
      return 'Preuzimanje nije uspijelo.';
    },
    inputTooLong: function (args) {
      var overChars = args.input.length - args.maximum;

      var message = 'Obrišite ' + overChars + ' simbol';

      message += ending(overChars, '', 'a', 'a');

      return message;
    },
    inputTooShort: function (args) {
      var remainingChars = args.minimum - args.input.length;

      var message = 'Ukucajte bar još ' + remainingChars + ' simbol';

      message += ending(remainingChars, '', 'a', 'a');

      return message;
    },
    loadingMore: function () {
      return 'Preuzimanje još rezultata…';
    },
    maximumSelected: function (args) {
      var message = 'Možete izabrati samo ' + args.maximum + ' stavk';

      message += ending(args.maximum, 'u', 'e', 'i');

      return message;
    },
    noResults: function () {
      return 'Ništa nije pronađeno';
    },
    searching: function () {
      return 'Pretraga…';
    }
  };
});

Version data entries

46 entries across 46 versions & 3 rubygems

Version Path
card-mod-bootstrap-0.14.2 vendor/select2/src/js/select2/i18n/bs.js
card-mod-bootstrap-0.14.1 vendor/select2/src/js/select2/i18n/bs.js
card-mod-bootstrap-0.14.0 vendor/select2/src/js/select2/i18n/bs.js
card-mod-bootstrap-0.13.4 vendor/select2/src/js/select2/i18n/bs.js
card-mod-bootstrap-0.13.3 vendor/select2/src/js/select2/i18n/bs.js
card-mod-bootstrap-0.13.2 vendor/select2/src/js/select2/i18n/bs.js
card-mod-bootstrap-0.13.1 vendor/select2/src/js/select2/i18n/bs.js
card-mod-bootstrap-0.13.0 vendor/select2/src/js/select2/i18n/bs.js
card-mod-bootstrap-0.11.7 vendor/select2/src/js/select2/i18n/bs.js
card-mod-bootstrap-0.12.0 vendor/select2/src/js/select2/i18n/bs.js
card-mod-bootstrap-0.11.6 vendor/select2/src/js/select2/i18n/bs.js
card-mod-bootstrap-0.11.5 vendor/select2/src/js/select2/i18n/bs.js
card-mod-bootstrap-0.11.4 vendor/select2/src/js/select2/i18n/bs.js
card-mod-bootstrap-0.11.3 vendor/select2/src/js/select2/i18n/bs.js
card-mod-bootstrap-0.11.2 vendor/select2/src/js/select2/i18n/bs.js
card-mod-bootstrap-0.11.1 vendor/select2/src/js/select2/i18n/bs.js
card-mod-bootstrap-0.11.0 vendor/select2/src/js/select2/i18n/bs.js
card-1.100.0 mod/bootstrap/vendor/select2/src/js/select2/i18n/bs.js
card-1.99.6 mod/bootstrap/vendor/select2/src/js/select2/i18n/bs.js
card-1.99.5 mod/bootstrap/vendor/select2/src/js/select2/i18n/bs.js