es.js 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. define(function () {
  2. // Spanish
  3. return {
  4. errorLoading: function () {
  5. return 'No se pudieron cargar los resultados';
  6. },
  7. inputTooLong: function (args) {
  8. var remainingChars = args.input.length - args.maximum;
  9. var message = 'Por favor, elimine ' + remainingChars + ' car';
  10. if (remainingChars == 1) {
  11. message += 'ácter';
  12. } else {
  13. message += 'acteres';
  14. }
  15. return message;
  16. },
  17. inputTooShort: function (args) {
  18. var remainingChars = args.minimum - args.input.length;
  19. var message = 'Por favor, introduzca ' + remainingChars + ' car';
  20. if (remainingChars == 1) {
  21. message += 'ácter';
  22. } else {
  23. message += 'acteres';
  24. }
  25. return message;
  26. },
  27. loadingMore: function () {
  28. return 'Cargando más resultados…';
  29. },
  30. maximumSelected: function (args) {
  31. var message = 'Sólo puede seleccionar ' + args.maximum + ' elemento';
  32. if (args.maximum != 1) {
  33. message += 's';
  34. }
  35. return message;
  36. },
  37. noResults: function () {
  38. return 'No se encontraron resultados';
  39. },
  40. searching: function () {
  41. return 'Buscando…';
  42. },
  43. removeAllItems: function () {
  44. return 'Eliminar todos los elementos';
  45. }
  46. };
  47. });