From 58dbbe52ceefca3039f1a61a0ad85d7832e7fd7a Mon Sep 17 00:00:00 2001 From: Yoshi Date: Fri, 31 May 2024 10:40:10 +0300 Subject: [PATCH] Add locale ko_KR --- lib/main.dart | 1 + lib/translation/translation.dart | 2 ++ pubspec.lock | 22 +++++++++++----------- pubspec.yaml | 2 +- 4 files changed, 15 insertions(+), 12 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index cf59341..6929383 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -57,6 +57,7 @@ final List appLanguages = [ {'name': 'हिन्दी', 'locale': const Locale('hi', 'IN')}, {'name': 'Magyar', 'locale': const Locale('hu', 'HU')}, {'name': 'Italiano', 'locale': const Locale('it', 'IT')}, + {'name': '한국어', 'locale': const Locale('ko', 'KR')}, {'name': 'فارسی', 'locale': const Locale('fa', 'IR')}, {'name': 'ქართული', 'locale': const Locale('ka', 'GE')}, {'name': 'Nederlands', 'locale': const Locale('nl', 'NL')}, diff --git a/lib/translation/translation.dart b/lib/translation/translation.dart index 047ba9a..d0e8420 100644 --- a/lib/translation/translation.dart +++ b/lib/translation/translation.dart @@ -12,6 +12,7 @@ import 'package:rain/translation/hi_in.dart'; import 'package:rain/translation/hu_hu.dart'; import 'package:rain/translation/it_it.dart'; import 'package:rain/translation/ka_ge.dart'; +import 'package:rain/translation/ko_kr.dart'; import 'package:rain/translation/nl_nl.dart'; import 'package:rain/translation/pl_pl.dart'; import 'package:rain/translation/pt_br.dart'; @@ -49,5 +50,6 @@ class Translation extends Translations { 'ga_IE': GaIe().messages, 'hu_HU': HuHu().messages, 'da_DK': DaDk().messages, + 'ko_KR': KoKr().messages, }; } diff --git a/pubspec.lock b/pubspec.lock index 9025acf..eabac70 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -578,10 +578,10 @@ packages: dependency: "direct main" description: name: internet_connection_checker_plus - sha256: b321797053ede24e686c4cd5fd5acc6c2a357b8b64b742e25d302c0d7569a484 + sha256: a35278f4a8433ce254fdf115d6d25e878f58af374ad4b9713e24491d4402151d url: "https://pub.dev" source: hosted - version: "2.4.0" + version: "2.4.1" intl: dependency: "direct main" description: @@ -778,10 +778,10 @@ packages: dependency: transitive description: name: path_provider_android - sha256: a248d8146ee5983446bf03ed5ea8f6533129a12b11f12057ad1b4a67a2b3b41d + sha256: "9c96da072b421e98183f9ea7464898428e764bc0ce5567f27ec8693442e72514" url: "https://pub.dev" source: hosted - version: "2.2.4" + version: "2.2.5" path_provider_foundation: dependency: transitive description: @@ -858,10 +858,10 @@ packages: dependency: transitive description: name: pubspec_parse - sha256: c63b2876e58e194e4b0828fcb080ad0e06d051cb607a6be51a9e084f47cb9367 + sha256: c799b721d79eb6ee6fa56f00c04b472dcd44a30d258fac2174a6ec57302678f8 url: "https://pub.dev" source: hosted - version: "1.2.3" + version: "1.3.0" scrollable_positioned_list: dependency: "direct main" description: @@ -1039,10 +1039,10 @@ packages: dependency: transitive description: name: url_launcher_android - sha256: "17cd5e205ea615e2c6ea7a77323a11712dffa0720a8a90540db57a01347f9ad9" + sha256: ceb2625f0c24ade6ef6778d1de0b2e44f2db71fded235eb52295247feba8c5cf url: "https://pub.dev" source: hosted - version: "6.3.2" + version: "6.3.3" url_launcher_ios: dependency: transitive description: @@ -1135,10 +1135,10 @@ packages: dependency: transitive description: name: web_socket - sha256: "217f49b5213796cb508d6a942a5dc604ce1cb6a0a6b3d8cb3f0c314f0ecea712" + sha256: "24301d8c293ce6fe327ffe6f59d8fd8834735f0ec36e4fd383ec7ff8a64aa078" url: "https://pub.dev" source: hosted - version: "0.1.4" + version: "0.1.5" web_socket_channel: dependency: transitive description: @@ -1197,4 +1197,4 @@ packages: version: "3.1.2" sdks: dart: ">=3.4.1 <4.0.0" - flutter: ">=3.20.0-1.2.pre" + flutter: ">=3.22.0" diff --git a/pubspec.yaml b/pubspec.yaml index 9386117..01c8444 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -47,7 +47,7 @@ dependencies: flutter_hsvcolor_picker: ^1.5.0 scrollable_positioned_list: ^0.3.8 flutter_local_notifications: ^17.1.2 - internet_connection_checker_plus: ^2.4.0 + internet_connection_checker_plus: ^2.4.1 # Uncomment this for publishing FLOSS variant # dependency_overrides: