Skip to content

[gen_l10n] Generated files should respect the platform's line separator #109761

@AlexV525

Description

@AlexV525

When projects are running on the Windows platform, files should be generated with CRLF rather than LF.

image

[√] Flutter (Channel stable, 3.0.5, on Microsoft Windows [版本 10.0.22000.856], locale zh-CN)
    • Flutter version 3.0.5 at X:\SDK\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1875d570e (5 weeks ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[√] IntelliJ IDEA Ultimate Edition (version 2022.2)
    • IntelliJ at X:\IDEs\apps\IDEA-U\ch-0\222.3345.118
    • Flutter plugin version 69.0.5
    • Dart plugin version 222.3345.108

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work lista: internationalizationSupporting other languages or locales. (aka i18n)frameworkflutter/packages/flutter repository. See also f: labels.platform-windowsBuilding on or for Windows specificallyteam-frameworkOwned by Framework teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-frameworkTriaged by Framework team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions