Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dddevid/Musly
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: dddevid/Musly
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fix-crowdin-config-3219051396645453271
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 3 files changed
  • 2 contributors

Commits on Feb 7, 2026

  1. fix: resolve invalid Crowdin configuration

    The previous configuration was using an invalid `languages_mapping` format and codes.
    Switching to `%two_letters_code%` placeholder simplifies the configuration
    and correctly maps Crowdin languages to the 2-letter codes used in the project's
    localizations files (e.g., `app_es.arb`, `app_zh.arb`).
    
    - Removed redundant and invalid `languages_mapping`
    - Updated translation path to use `%two_letters_code%`
    - Cleaned up `crowdin.yml` structure
    
    Co-authored-by: dddevid <[email protected]>
    google-labs-jules[bot] and dddevid committed Feb 7, 2026
    Configuration menu
    Copy the full SHA
    0e2cfdb View commit details
    Browse the repository at this point in the history
  2. fix: resolve Crowdin config error and automate l10n generation

    This commit fixes the "Configuration file is invalid" error in the Crowdin
    GitHub Action and enhances the synchronization workflow to handle Flutter
    localization code generation.
    
    Changes:
    - Updated `crowdin.yml` to use `%two_letters_code%` placeholder and removed
      invalid `languages_mapping` section.
    - Updated `.github/workflows/crowdin-sync.yml` to:
        - Setup Flutter environment.
        - Run `flutter gen-l10n` after downloading translations.
        - Use `peter-evans/create-pull-request` to include both `.arb` and
          generated `.dart` files in the resulting PR.
    - Updated `lib/main.dart` to use the generated `AppLocalizations` delegates
      and supported locales, ensuring the app actually uses the translations.
    - Cleaned up unused `flutter_localizations` import in `lib/main.dart`.
    
    Co-authored-by: dddevid <[email protected]>
    google-labs-jules[bot] and dddevid committed Feb 7, 2026
    Configuration menu
    Copy the full SHA
    9f8957e View commit details
    Browse the repository at this point in the history
Loading