trypost/lang/fr/common.php
Paulo Castellano 1af705f3fd
Localize calendar date pickers to the active UI locale (#234)
* Localize calendar date pickers to the active UI locale.

Pass the Inertia locale into Reka calendars, translate a11y labels, and use dayjs LL/LLL for DatePicker display text.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Localize remaining dayjs date displays across the UI.

Route list/calendar/preview timestamps through localized LL/LLL helpers so formats follow the active UI locale instead of English or Portuguese-locked patterns.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Use scheduled-or-now timestamps in platform previews.

Drive preview labels from the post schedule when set, localize Discord without dayjs calendar(), and expose a single formatPreviewPostedAt helper.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix preview schedule wiring and Discord/Facebook timestamp labels.

Restore hasPickedTime from any saved scheduled_at, keep time on non-today Discord labels, and use a localized just-now fallback for unschedled Facebook previews.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix API key expiry day shift and tighten calendar range titles.

Format date-only expiry in UTC calendar days, and use compact dayjs titles for calendar day/week headers.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Replace frontend date source greps with Inertia API key assertions.

Drop the Vue/TS file scanner and assert expiry calendar days through ApiKeyController props instead.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Localize calendar week titles with day-first dayjs formats.

Avoid English month-day order in week headers and chart axis labels so locales like pt-BR keep natural day-first dates.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Split preview timestamp formatting into named platform helpers.

Replace the style-switch formatPreviewPostedAt with clear per-platform helpers so call sites read as formatDiscordPreview / formatXPreview / etc.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 21:02:34 -03:00

70 lines
2.1 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
declare(strict_types=1);
return [
'back' => 'Retour',
'beta' => 'Bêta',
'confirm_modal' => [
'cannot_be_undone' => 'Cette action est irréversible.',
'type' => 'Saisissez',
'to_confirm' => 'pour confirmer.',
'copy_to_clipboard' => 'Copier dans le presse-papiers',
'delete_keyword' => 'supprimer',
],
'photo_upload' => [
'upload' => 'Importer',
'uploading' => 'Import en cours...',
'remove' => 'Supprimer la photo',
'hint' => 'Recommandé : image carrée, 2 Mo maximum.',
'crop_title' => 'Recadrer l\'image',
'crop_description' => 'Sélectionnez la zone à conserver.',
'crop_hint' => 'Faites glisser pour déplacer, ou un coin pour redimensionner.',
'crop_save' => 'Enregistrer',
'crop_cancel' => 'Annuler',
'crop_error' => 'Impossible de charger cette image. Essayez un autre fichier.',
],
'timezone' => [
'select' => 'Sélectionner un fuseau horaire',
'search' => 'Rechercher un fuseau horaire...',
'empty' => 'Aucun fuseau horaire trouvé',
],
'just_now' => 'À linstant',
'date_picker' => [
'label' => 'Sélecteur de date',
'select' => 'Sélectionner une date',
],
'date_range_picker' => [
'placeholder' => 'Choisir une plage de dates',
'today' => 'Aujourd\'hui',
'yesterday' => 'Hier',
'last_7_days' => '7 derniers jours',
'last_30_days' => '30 derniers jours',
'last_3_months' => '3 derniers mois',
'last_6_months' => '6 derniers mois',
'last_12_months' => '12 derniers mois',
'this_month' => 'Ce mois-ci',
'last_month' => 'Le mois dernier',
'year_to_date' => 'Depuis le début de l\'année',
'last_year' => 'L\'année dernière',
],
'cancel' => 'Annuler',
'clear' => 'Effacer',
'close' => 'Fermer',
'loading_more' => 'Chargement...',
'actions' => [
'copy' => 'Copier',
'copied' => 'Copié',
'copy_failed' => 'Échec de la copie dans le presse-papiers',
],
];