Skip to content

Replace Publicité by Annonce in the french translations#28

Merged
zjs81 merged 2 commits into
zjs81:mainfrom
spfmoby:better-french-translations
Jan 16, 2026
Merged

Replace Publicité by Annonce in the french translations#28
zjs81 merged 2 commits into
zjs81:mainfrom
spfmoby:better-french-translations

Conversation

@spfmoby

@spfmoby spfmoby commented Jan 12, 2026

Copy link
Copy Markdown
Contributor

Hi

I updated a few words in the french translations files to make them more understandable.

That's my first PR ever, so I haven't spent a lot of time on all the translations, I just want to see how it works.

Thanks again for your work.

@zjs81

zjs81 commented Jan 12, 2026

Copy link
Copy Markdown
Owner

Thank you I will review this later today.

@zjs81 zjs81 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for improving the French translations! Replacing "publicité" with "annonce" is the correct semantic fix for mesh networking terminology.

Issues to fix before merging:

  1. Typo in app_localizations_fr.dart line 231:

    // Current (wrong):
    String get settings_sendAdvertisement => 'Envoyer l\'annnonce';
    
    // Should be:
    String get settings_sendAdvertisement => 'Envoyer l\'annonce';
  2. Mismatch between .arb and .dart files:

    The .arb file has:

    "settings_sendAdvertisement": "S'annoncer"

    But the .dart file has:

    String get settings_sendAdvertisement => 'Envoyer l\'annnonce';

    These should match. Either:

    • Update the .arb to "settings_sendAdvertisement": "Envoyer l'annonce", OR
    • Update the .dart to 'S\'annoncer'

    Then run flutter gen-l10n to regenerate and ensure they stay in sync.

@spfmoby

spfmoby commented Jan 13, 2026

Copy link
Copy Markdown
Contributor Author

Understood. That's my first confrontation with flutter, so I was surprised to have to change the translation twice (arb/dart files).
I installed flutter, edited the translations with PoEdit then regenerated the dart files with flutter gen-l10n

It should be better now.
I took the time to translate more chains ("flood" in the sens of routing is not really "inondation" but more something in line with "all the network").

@zjs81 zjs81 merged commit fde8b68 into zjs81:main Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants