Skip to content

Commit

Permalink
Removed jp.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
themisir committed Oct 7, 2022
1 parent 871ab3f commit c91f9c6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 36 deletions.
9 changes: 5 additions & 4 deletions lib/src/i18n/all.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,13 @@ import 'he.dart';
import 'id.dart';
import 'it.dart';
import 'ja.dart';
import 'jp.dart';
import 'pl.dart';
import 'pt_br.dart';
import 'ro.dart';
import 'ru.dart';
import 'th.dart';
import 'tr.dart';
import 'zh_cn.dart';
import 'th.dart';
import 'ro.dart';

const localeMap = <String, FormValidatorLocale>{
'az': LocaleAz(),
Expand All @@ -34,11 +33,13 @@ const localeMap = <String, FormValidatorLocale>{
'en': LocaleEn(),
'he': LocaleHe(),
'ja': LocaleJa(),
'jp': LocaleJp(),
'jp': LocaleJa(), // todo: remove this with the next major version [1]
'th': LocaleTh(),
'ro': LocaleRo(),
};

// [1] - https://github.com/themisir/form-validator/pull/35

final supportedLocales = localeMap.keys.toList();

FormValidatorLocale createLocale(String locale) {
Expand Down
32 changes: 0 additions & 32 deletions lib/src/i18n/jp.dart

This file was deleted.

0 comments on commit c91f9c6

Please sign in to comment.