Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mosuem committed Aug 29, 2024
1 parent 3cd946d commit 9e57fe0
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions pkgs/intl4x/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.10.2-wip

- Add case mapping functionality.

## 0.10.1

- Upgrade to new artifacts.
Expand Down
2 changes: 1 addition & 1 deletion pkgs/intl4x/lib/case_mapping.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

import 'intl4x.dart';

export 'intl4x.dart';
export 'src/case_mapping/case_mapping.dart';
export 'src/locale/locale.dart';

extension CaseMappingWithIntl4X on String {
String toLocaleLowerCase(Locale locale) =>
Expand Down
2 changes: 1 addition & 1 deletion pkgs/intl4x/lib/intl4x.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'case_mapping.dart';
import 'collation.dart';
import 'display_names.dart';
import 'number_format.dart';
import 'src/case_mapping/case_mapping.dart';
import 'src/case_mapping/case_mapping_impl.dart';
import 'src/collation/collation_impl.dart';
import 'src/data.dart';
Expand Down
2 changes: 1 addition & 1 deletion pkgs/intl4x/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: intl4x
description: >-
A lightweight modular library for internationalization (i18n) functionality.
version: 0.10.1
version: 0.10.2-wip
repository: https://github.com/dart-lang/i18n/tree/main/pkgs/intl4x
platforms:
web:
Expand Down
2 changes: 1 addition & 1 deletion pkgs/intl4x/test/ecma/case_mapping_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import '../utils.dart';

void main() {
testWithFormatting('test name', () {
const enUS = const Locale(language: 'en', region: 'US');
const enUS = Locale(language: 'en', region: 'US');
expect('İstanbul'.toLocaleLowerCase(enUS), 'i̇stanbul');
expect('ALPHABET'.toLocaleLowerCase(enUS), 'alphabet');

Expand Down

0 comments on commit 9e57fe0

Please sign in to comment.