Skip to content

Commit 99e57cb

Browse files
Update odometer error message to include 'to continue' suffix
The invalidReadings error message was missing the 'to continue' suffix that the expected behavior requires. Updated the English string from 'Please enter both start and end readings' to 'Please enter both start & end readings to continue', and added equivalent suffixes to all 9 other language translations. Co-authored-by: thelullabyy <thelullabyy@users.noreply.github.com>
1 parent 7e86ce4 commit 99e57cb

10 files changed

Lines changed: 10 additions & 10 deletions

File tree

src/languages/de.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1421,7 +1421,7 @@ const translations: TranslationDeepObject<typeof en> = {
14211421
invalidTagLength: 'Der Tagname überschreitet 255 Zeichen. Bitte kürzen Sie ihn oder wählen Sie einen anderen Tag.',
14221422
invalidAmount: 'Bitte gib vor dem Fortfahren einen gültigen Betrag ein',
14231423
invalidDistance: 'Bitte gib eine gültige Entfernung ein, bevor du fortfährst',
1424-
invalidReadings: 'Bitte geben Sie sowohl Start- als auch Endstand ein',
1424+
invalidReadings: 'Bitte geben Sie sowohl Start- als auch Endstand ein, bevor Sie fortfahren',
14251425
negativeDistanceNotAllowed: 'Endstand muss größer als Anfangsstand sein',
14261426
distanceAmountTooLarge: 'Der Gesamtbetrag ist zu hoch. Verringere die Entfernung oder reduziere den Satz.',
14271427
distanceAmountTooLargeReduceDistance: 'Der Gesamtbetrag ist zu hoch. Verringere die Entfernung.',

src/languages/en.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1474,7 +1474,7 @@ const translations = {
14741474
invalidTagLength: 'The tag name exceeds 255 characters. Please shorten it or choose a different tag.',
14751475
invalidAmount: 'Please enter a valid amount before continuing',
14761476
invalidDistance: 'Please enter a valid distance before continuing',
1477-
invalidReadings: 'Please enter both start and end readings',
1477+
invalidReadings: 'Please enter both start & end readings to continue',
14781478
negativeDistanceNotAllowed: 'End reading must be greater than start reading',
14791479
distanceAmountTooLarge: 'The total amount is too large. Reduce the distance or lower the rate.',
14801480
distanceAmountTooLargeReduceDistance: 'The total amount is too large. Reduce the distance.',

src/languages/es.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1372,7 +1372,7 @@ const translations: TranslationDeepObject<typeof en> = {
13721372
invalidTagLength: 'La longitud de la etiqueta escogida excede el máximo permitido (255). Por favor, escoge otra etiqueta o acorta la etiqueta primero.',
13731373
invalidAmount: 'Por favor, ingresa un importe válido antes de continuar',
13741374
invalidDistance: 'Por favor, ingresa una distancia válida antes de continuar',
1375-
invalidReadings: 'Por favor ingrese ambas lecturas de inicio y fin',
1375+
invalidReadings: 'Por favor ingrese ambas lecturas de inicio y fin para continuar',
13761376
negativeDistanceNotAllowed: 'La lectura final debe ser mayor que la lectura inicial',
13771377
distanceAmountTooLarge: 'El importe total es demasiado alto. Reduce la distancia o disminuye la tarifa.',
13781378
distanceAmountTooLargeReduceDistance: 'El importe total es demasiado alto. Reduce la distancia.',

src/languages/fr.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1424,7 +1424,7 @@ const translations: TranslationDeepObject<typeof en> = {
14241424
invalidTagLength: 'Le nom du tag dépasse 255 caractères. Veuillez le raccourcir ou choisir un autre tag.',
14251425
invalidAmount: 'Veuillez saisir un montant valide avant de continuer',
14261426
invalidDistance: 'Veuillez saisir une distance valide avant de continuer',
1427-
invalidReadings: 'Veuillez saisir les relevés de début et de fin',
1427+
invalidReadings: 'Veuillez saisir les relevés de début et de fin pour continuer',
14281428
negativeDistanceNotAllowed: 'Le relevé de fin doit être supérieur au relevé de début',
14291429
distanceAmountTooLarge: 'Le montant total est trop élevé. Réduisez la distance ou diminuez le taux.',
14301430
distanceAmountTooLargeReduceDistance: 'Le montant total est trop élevé. Réduisez la distance.',

src/languages/it.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1418,7 +1418,7 @@ const translations: TranslationDeepObject<typeof en> = {
14181418
invalidTagLength: 'Il nome del tag supera i 255 caratteri. Per favore accorcialo o scegli un tag diverso.',
14191419
invalidAmount: 'Inserisci un importo valido prima di continuare',
14201420
invalidDistance: 'Inserisci una distanza valida prima di continuare',
1421-
invalidReadings: 'Inserisci sia la lettura iniziale che quella finale',
1421+
invalidReadings: 'Inserisci sia la lettura iniziale che quella finale per continuare',
14221422
negativeDistanceNotAllowed: 'La lettura finale deve essere maggiore della lettura iniziale',
14231423
distanceAmountTooLarge: "L'importo totale è troppo alto. Riduci la distanza o abbassa la tariffa.",
14241424
distanceAmountTooLargeReduceDistance: "L'importo totale è troppo alto. Riduci la distanza.",

src/languages/ja.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1400,7 +1400,7 @@ const translations: TranslationDeepObject<typeof en> = {
14001400
invalidTagLength: 'タグ名が255文字を超えています。短くするか、別のタグを選択してください。',
14011401
invalidAmount: '続行する前に有効な金額を入力してください',
14021402
invalidDistance: '続行する前に有効な距離を入力してください',
1403-
invalidReadings: '開始値と終了値の両方を入力してください',
1403+
invalidReadings: '続行する前に開始値と終了値の両方を入力してください',
14041404
negativeDistanceNotAllowed: '終了値は開始値より大きくなければなりません',
14051405
distanceAmountTooLarge: '合計金額が大きすぎます。距離を減らすか、レートを下げてください。',
14061406
distanceAmountTooLargeReduceDistance: '合計金額が大きすぎます。距離を減らしてください。',

src/languages/nl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1417,7 +1417,7 @@ const translations: TranslationDeepObject<typeof en> = {
14171417
invalidTagLength: 'De tagnaam is langer dan 255 tekens. Maak deze korter of kies een andere tag.',
14181418
invalidAmount: 'Voer een geldig bedrag in voordat je doorgaat',
14191419
invalidDistance: 'Voer een geldige afstand in voordat je verdergaat',
1420-
invalidReadings: 'Voer zowel de begin- als eindstanden in',
1420+
invalidReadings: 'Voer zowel de begin- als eindstanden in voordat je doorgaat',
14211421
negativeDistanceNotAllowed: 'Eindstand moet hoger zijn dan beginstand',
14221422
distanceAmountTooLarge: 'Het totale bedrag is te hoog. Verlaag de afstand of verlaag het tarief.',
14231423
distanceAmountTooLargeReduceDistance: 'Het totale bedrag is te hoog. Verlaag de afstand.',

src/languages/pl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1415,7 +1415,7 @@ const translations: TranslationDeepObject<typeof en> = {
14151415
invalidTagLength: 'Nazwa taga przekracza 255 znaków. Skróć ją lub wybierz inny tag.',
14161416
invalidAmount: 'Wprowadź poprawną kwotę przed kontynuowaniem',
14171417
invalidDistance: 'Wprowadź prawidłowy dystans przed kontynuowaniem',
1418-
invalidReadings: 'Wprowadź zarówno odczyt początkowy, jak i końcowy',
1418+
invalidReadings: 'Wprowadź zarówno odczyt początkowy, jak i końcowy przed kontynuowaniem',
14191419
negativeDistanceNotAllowed: 'Końcowy odczyt musi być większy niż początkowy odczyt',
14201420
distanceAmountTooLarge: 'Łączna kwota jest zbyt wysoka. Zmniejsz dystans lub obniż stawkę.',
14211421
distanceAmountTooLargeReduceDistance: 'Łączna kwota jest zbyt wysoka. Zmniejsz dystans.',

src/languages/pt-BR.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1414,7 +1414,7 @@ const translations: TranslationDeepObject<typeof en> = {
14141414
invalidTagLength: 'O nome da tag excede 255 caracteres. Reduza-o ou escolha uma tag diferente.',
14151415
invalidAmount: 'Insira um valor válido antes de continuar',
14161416
invalidDistance: 'Insira uma distância válida antes de continuar',
1417-
invalidReadings: 'Insira as leituras de início e fim',
1417+
invalidReadings: 'Insira as leituras de início e fim antes de continuar',
14181418
negativeDistanceNotAllowed: 'A leitura final deve ser maior que a leitura inicial',
14191419
distanceAmountTooLarge: 'O valor total é muito alto. Diminua a distância ou reduza a tarifa.',
14201420
distanceAmountTooLargeReduceDistance: 'O valor total é muito alto. Diminua a distância.',

src/languages/zh-hans.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1374,7 +1374,7 @@ const translations: TranslationDeepObject<typeof en> = {
13741374
invalidTagLength: '标签名称超过了 255 个字符。请缩短它或选择其他标签。',
13751375
invalidAmount: '请在继续之前输入有效金额',
13761376
invalidDistance: '请在继续之前输入有效的距离',
1377-
invalidReadings: '请输入起始读数和结束读数',
1377+
invalidReadings: '请在继续之前输入起始读数和结束读数',
13781378
negativeDistanceNotAllowed: '结束读数必须大于开始读数',
13791379
distanceAmountTooLarge: '总金额过大。请减少距离或降低费率。',
13801380
distanceAmountTooLargeReduceDistance: '总金额过大。请减少距离。',

0 commit comments

Comments
 (0)