Skip to content

Commit

Permalink
Fix translations for Million on welcome page
Browse files Browse the repository at this point in the history
  • Loading branch information
kasmar00 committed Jan 18, 2025
1 parent debda63 commit 4c627cd
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion lang/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@
"welcome.hero.map.description": "Beobachte die Position deines Verkehrsmittels auf der Karte und teile deine Reisen mit anderen.",
"welcome.hero.mobile.title": "Mobile first",
"welcome.hero.mobile.description": "Träwelling ist für mobile Geräte optimiert und kann einfach unterwegs genutzt werden.",
"welcome.stats.million": "Millionen",
"welcome.stats.million": ":count Millionen",
"welcome.stats.distance": "kilometer gereist",
"welcome.stats.registered": "Registrierte user",
"welcome.stats.duration": "Jahre Reisezeit",
Expand Down
2 changes: 1 addition & 1 deletion lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@
"welcome.hero.map.description": "See your vehicle's location on the map and share your journey with others.",
"welcome.hero.mobile.title": "Mobile first",
"welcome.hero.mobile.description": "Träwelling is optimized for mobile devices and can be used on the go.",
"welcome.stats.million": "Million",
"welcome.stats.million": ":count Million",
"welcome.stats.distance": "kilometers travelled",
"welcome.stats.registered": "users registered",
"welcome.stats.duration": "years travel time",
Expand Down
2 changes: 1 addition & 1 deletion lang/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@
"welcome.hero.stats.title": "Recopilar estadísticas",
"welcome.hero.map.title": "Mapa interactivo y estados",
"welcome.hero.mobile.title": "Mobile first",
"welcome.stats.million": "Millones",
"welcome.stats.million": ":count Millones",
"welcome.stats.distance": "de kilómetros viajados",
"welcome.stats.registered": "usuarios registrados",
"welcome.stats.duration": "años de viaje",
Expand Down
2 changes: 1 addition & 1 deletion lang/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@
"welcome.hero.map.description": "Voyez l'emplacement de votre mode de transport sur la carte et partagez votre trajet avec d'autres personnes.",
"welcome.hero.mobile.title": "Priorité au mobile",
"welcome.hero.mobile.description": "Träwelling est optimisé pour les appareils mobiles et peut être utilisé en déplacement.",
"welcome.stats.million": "Million",
"welcome.stats.million": ":count Million",
"welcome.stats.distance": "kilomètres parcourus",
"welcome.hero.stats.description": "Vous pouvez recueillir des statistiques sur les opérateurs de transport les plus utilisés, les modes de transport et bien plus encore !",
"notifications.eventSuggestionProcessed.missing-information": "Nous ne pouvons pas approuver cet événement en raison d'informations manquantes. Veuillez nous fournir une source ou un site web spécifique sur cet événement.",
Expand Down
2 changes: 1 addition & 1 deletion lang/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@
"welcome.hero.map.description": "Bekijk de locatie van je voer- of vaartuig of de kaart en deel je reis met anderen.",
"welcome.hero.mobile.title": "Mobiele focus",
"welcome.hero.mobile.description": "Träwelling is gemaakt voor mobiele apparaten en kan daarom makkelijk onderweg gebruikt worden.",
"welcome.stats.million": "Miljoen",
"welcome.stats.million": ":count Miljoen",
"welcome.stats.distance": "kilometers gereisd",
"welcome.stats.registered": "geregistreerde gebruikers",
"welcome.stats.duration": "jaren aan reistijd",
Expand Down
3 changes: 2 additions & 1 deletion lang/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -667,5 +667,6 @@
"welcome.stats.duration": "lat w podróży",
"profile.youre-blocked-information-text": "Zostałeś zablokowany przez użytkownika @:username, nie możesz zobaczyć jego meldunków.",
"settings.colorscheme.auto": "Ustawienia systemowe",
"dashboard.empty.teaser": "Możesz obserwować innych użytkowników, żeby zobaczyć tutaj ich meldunki."
"dashboard.empty.teaser": "Możesz obserwować innych użytkowników, żeby zobaczyć tutaj ich meldunki.",
"welcome.stats.million": ":count Million | :count Miliony | :count Milionów"
}
3 changes: 1 addition & 2 deletions resources/views/welcome/welcome.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ class="inline-block w-8 h-8 stroke-current"
</svg>
</div>
<div class="stat-value text-primary">
{{ round($stats->distance/1000/1000/1000,1) }}
{{ __('welcome.stats.million') }}
{{ trans_choice('welcome.stats.million', round($stats->distance/1000/1000/1000,1)) }}
</div>
<div class="stat-desc">{{ __('welcome.stats.distance') }}</div>
</div>
Expand Down

0 comments on commit 4c627cd

Please sign in to comment.