|
@@ -1,45 +1,33 @@
|
|
define(function () {
|
|
define(function () {
|
|
// Galician
|
|
// Galician
|
|
return {
|
|
return {
|
|
|
|
+ errorLoading: function () {
|
|
|
|
+ return 'Non foi posíbel cargar os resultados.';
|
|
|
|
+ },
|
|
inputTooLong: function (args) {
|
|
inputTooLong: function (args) {
|
|
var overChars = args.input.length - args.maximum;
|
|
var overChars = args.input.length - args.maximum;
|
|
|
|
|
|
- var message = 'Elimine ';
|
|
|
|
-
|
|
|
|
if (overChars === 1) {
|
|
if (overChars === 1) {
|
|
- message += 'un carácter';
|
|
|
|
- } else {
|
|
|
|
- message += overChars + ' caracteres';
|
|
|
|
|
|
+ return 'Elimine un carácter';
|
|
}
|
|
}
|
|
-
|
|
|
|
- return message;
|
|
|
|
|
|
+ return 'Elimine ' + overChars + ' caracteres';
|
|
},
|
|
},
|
|
inputTooShort: function (args) {
|
|
inputTooShort: function (args) {
|
|
var remainingChars = args.minimum - args.input.length;
|
|
var remainingChars = args.minimum - args.input.length;
|
|
|
|
|
|
- var message = 'Engada ';
|
|
|
|
-
|
|
|
|
if (remainingChars === 1) {
|
|
if (remainingChars === 1) {
|
|
- message += 'un carácter';
|
|
|
|
- } else {
|
|
|
|
- message += remainingChars + ' caracteres';
|
|
|
|
|
|
+ return 'Engada un carácter';
|
|
}
|
|
}
|
|
-
|
|
|
|
- return message;
|
|
|
|
|
|
+ return 'Engada ' + remainingChars + ' caracteres';
|
|
},
|
|
},
|
|
loadingMore: function () {
|
|
loadingMore: function () {
|
|
return 'Cargando máis resultados…';
|
|
return 'Cargando máis resultados…';
|
|
},
|
|
},
|
|
maximumSelected: function (args) {
|
|
maximumSelected: function (args) {
|
|
- var message = 'Só pode ';
|
|
|
|
-
|
|
|
|
if (args.maximum === 1) {
|
|
if (args.maximum === 1) {
|
|
- message += 'un elemento';
|
|
|
|
- } else {
|
|
|
|
- message += args.maximum + ' elementos';
|
|
|
|
|
|
+ return 'Só pode seleccionar un elemento';
|
|
}
|
|
}
|
|
-
|
|
|
|
- return message;
|
|
|
|
|
|
+ return 'Só pode seleccionar ' + args.maximum + ' elementos';
|
|
},
|
|
},
|
|
noResults: function () {
|
|
noResults: function () {
|
|
return 'Non se atoparon resultados';
|
|
return 'Non se atoparon resultados';
|
|
@@ -48,4 +36,4 @@ define(function () {
|
|
return 'Buscando…';
|
|
return 'Buscando…';
|
|
}
|
|
}
|
|
};
|
|
};
|
|
-});
|
|
|
|
|
|
+});
|