Skip to content

Commit 4d19864

Browse files
committed
🌐 Pass maximum limit to error message as parameter
1 parent f745e7f commit 4d19864

12 files changed

Lines changed: 12 additions & 12 deletions

File tree

app/js/query.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ export default class Query {
304304
if (limit > MAX_LIMIT) {
305305
limit = MAX_LIMIT;
306306
document.getElementById('limit').value = MAX_LIMIT;
307-
new Toast(Localizer.message('description.autoLimit'), Toast.TYPE_WARNING).show();
307+
new Toast(Localizer.message('description.autoLimit', MAX_LIMIT), Toast.TYPE_WARNING).show();
308308
}
309309

310310
this.data.limit = limit;

app/locales/de.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"showList": "Als Liste zeigen",
8383
"showMap": "Auf Karte zeigen",
8484
"nothingFound": "Nichts gefunden!",
85-
"autoLimit": "Limit automatisch auf 250 gesetzt, da höhere Werte nicht erlaubt sind",
85+
"autoLimit": "Limit automatisch auf %s gesetzt, da höhere Werte nicht erlaubt sind",
8686
"deprecationWarning": "Dein momentaner Browser funktioniert leider nicht zusammen mit NotesReview. Bitte denke darüber nach deinen Browser zu wechseln, um NotesReview verwenden zu können.",
8787
"sort": {
8888
"created": {

app/locales/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
"showList": "Show in a list",
9494
"showMap": "Show on a map",
9595
"nothingFound": "Nothing found!",
96-
"autoLimit": "Automatically set limit to 250, because higher values are not allowed",
96+
"autoLimit": "Automatically set limit to %s, because higher values are not allowed",
9797
"deprecationWarning": "The browser you are currently using does not support NotesReview. Please consider to switch to another browser to be able to use NotesReview.",
9898
"sort": {
9999
"created": {

app/locales/es.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"showList": "Mostrar en una lista",
8383
"showMap": "Mostrar en un mapa",
8484
"nothingFound": "¡Nada encontrado!",
85-
"autoLimit": "Se ha establecido automáticamente el límite en 250, no se permiten valores mayores",
85+
"autoLimit": "Se ha establecido automáticamente el límite en %s, no se permiten valores mayores",
8686
"deprecationWarning": "El navegador que está utilizando actualmente no es compatible con NotesReview. Considere cambiar a otro navegador para poder usar NotesReview.",
8787
"sort": {
8888
"created": {

app/locales/fr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"showList": "Afficher la liste",
6363
"showMap": "Afficher la carte",
6464
"nothingFound": "Aucun résultat !",
65-
"autoLimit": "Limitation automatique à 250 remarques, les valeurs plus grandes ne sont pas autorisées",
65+
"autoLimit": "Limitation automatique à %s remarques, les valeurs plus grandes ne sont pas autorisées",
6666
"deprecationWarning": "Votre navigateur ne supporte pas NotesReview. Essayez d'en utiliser un autre pour utiliser NotesReview.",
6767
"sort": {
6868
"created": {

app/locales/it.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"showList": "Mostra in una lista",
8383
"showMap": "Mostra in una mappa",
8484
"nothingFound": "Non è stato trovato niente!",
85-
"autoLimit": "Impostato limite automatico a 250 perché valori più grandi non sono ammessi",
85+
"autoLimit": "Impostato limite automatico a %s perché valori più grandi non sono ammessi",
8686
"deprecationWarning": "Il browser che stai usando non è compatibile con NotesReview. Prova a cambiare browser per poter usare NotesReview.",
8787
"sort": {
8888
"created": {

app/locales/ja.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"showList": "リスト表示",
6363
"showMap": "マップ表示",
6464
"nothingFound": "検索結果がありません!",
65-
"autoLimit": "検索結果が多すぎるため、250件までを表示します",
65+
"autoLimit": "検索結果が多すぎるため、%s件までを表示します",
6666
"deprecationWarning": "お使いのブラウザがNotesReviewに対応していません。NoteReviewを利用する場合、他のブラウザを利用してみてください。",
6767
"sort": {
6868
"created": {

app/locales/nl.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"showList": "In een lijst weergeven",
6565
"showMap": "Op een kaart weergeven",
6666
"nothingFound": "Niets gevonden!",
67-
"autoLimit": "Limiet automatisch op 250 gezet, omdat hogere waarden niet toegestaan zijn",
67+
"autoLimit": "Limiet automatisch op %s gezet, omdat hogere waarden niet toegestaan zijn",
6868
"deprecationWarning": "De browser die u momenteel gebruikt ondersteund NotesReview niet. Overweeg om naar een andere browser over te schakelen om NotesReview te kunnen zien.",
6969
"sort": {
7070
"created": {

app/locales/pl.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"showList": "Pokaż na liście",
7777
"showMap": "Pokaż na mapie",
7878
"nothingFound": "Nic nie znaleziono!",
79-
"autoLimit": "Automatycznie ustawiono limit 250, bo większe wartości nie są dozwolone",
79+
"autoLimit": "Automatycznie ustawiono limit %s, bo większe wartości nie są dozwolone",
8080
"deprecationWarning": "Przeglądarka, którą obecnie używasz nie wspiera NotesReview. Proszę rozważ zmianę przeglądarki, aby móc używać NotesReview.",
8181
"sort": {
8282
"created": {

app/locales/pt-BR.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"showList": "Mostrar em uma lista",
8383
"showMap": "Mostrar em um mapa",
8484
"nothingFound": "Nada encontrado!",
85-
"autoLimit": "Definir limite automaticamente para 250, porque valores mais altos não são permitidos",
85+
"autoLimit": "Definir limite automaticamente para %s, porque valores mais altos não são permitidos",
8686
"deprecationWarning": "O navegador que você está usando atualmente não oferece suporte a NotesReview. Considere mudar para outro navegador para poder usar o NotesReview.",
8787
"sort": {
8888
"created": {

0 commit comments

Comments
 (0)