Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

Hixie
Copy link
Contributor

@Hixie Hixie commented Dec 1, 2017

...by making it know about ALL the deprecated language and region codes.

@Hixie
Copy link
Contributor Author

Hixie commented Dec 1, 2017

cc @HansMuller

/// Registry](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry).
/// Typically this means the primary language subtag should be lowercase and
/// the region subtag should be uppercase.
const Locale(this._languageCode, [ this._countryCode ]) : assert(_languageCode != null);

Choose a reason for hiding this comment

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

NICE. No more `const Locale('foo', '')

@@ -0,0 +1,58 @@
import 'dart:async';

Choose a reason for hiding this comment

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

A comment that explains what this app is for (even though we may not run it very often) would be good.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@HansMuller
Copy link

LGTM

...by making it know about ALL the deprecated language and region codes.
@Hixie Hixie merged commit 7e4df30 into flutter:master Dec 6, 2017
@Hixie Hixie deleted the locale branch December 6, 2017 20:17
bsalomon pushed a commit to bsalomon/engine that referenced this pull request Dec 8, 2017
…4411)

...by making it know about ALL the deprecated language and region codes.
Hixie added a commit to Hixie/flutter that referenced this pull request Dec 11, 2017
Hixie added a commit to flutter/flutter that referenced this pull request Dec 11, 2017
DaveShuckerow pushed a commit to DaveShuckerow/flutter that referenced this pull request May 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants