Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Korean localization #494

Merged
merged 4 commits into from
Sep 27, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 96 additions & 0 deletions lib/src/delegates/asset_picker_text_delegate.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const List<AssetPickerTextDelegate> assetPickerTextDelegates =
FrenchAssetPickerTextDelegate(),
VietnameseAssetPickerTextDelegate(),
TurkishAssetPickerTextDelegate(),
KoreanAssetPickerTextDelegate()
LeGoffMael marked this conversation as resolved.
Show resolved Hide resolved
];

/// Obtain the text delegate from the given locale.
Expand Down Expand Up @@ -1032,3 +1033,98 @@ class TurkishAssetPickerTextDelegate extends AssetPickerTextDelegate {
@override
String get sUnitAssetCountLabel => 'Sayı';
}

/// [AssetPickerTextDelegate] implements with Korean.
/// 한국어 현지화
class KoreanAssetPickerTextDelegate extends AssetPickerTextDelegate {
const KoreanAssetPickerTextDelegate();

@override
String get languageCode => 'ko';

@override
String get confirm => '확인';

@override
String get cancel => '취소';

@override
String get edit => '편집';

@override
String get gifIndicator => 'GIF';

@override
String get loadFailed => '불러오기 실패';

@override
String get original => '원본';

@override
String get preview => '미리보기';

@override
String get select => '선택';

@override
String get emptyList => '빈 목록';

@override
String get unSupportedAssetType => '지원하지 않는 HEIC 미디어 유형.';

@override
String get unableToAccessAll => '기기의 모든 미디어에 접근할 수 없습니다.';

@override
String get viewingLimitedAssetsTip => '접근 가능한 미디어과 앨범만 볼 수 있습니다.';

@override
String get changeAccessibleLimitedAssets => '접근 가능한 미디어을 업데이트하려면 클릭하세요.';

@override
String get accessAllTip => '앱이 기기의 일부 미디어에만 접근할 수 있습니다. '
'시스템 설정으로 이동하여 앱이 기기의 모든 미디어에 접근하도록 허용해 주세요.';

@override
String get goToSystemSettings => '시스템 설정 이동';

@override
String get accessLimitedAssets => '제한된 접근으로 계속';

@override
String get accessiblePathName => '접근 가능한 미디어';

@override
String get sTypeAudioLabel => '오디오';

@override
String get sTypeImageLabel => '이미지';

@override
String get sTypeVideoLabel => '비디오';

@override
String get sTypeOtherLabel => '다른 미디어';

@override
String get sActionPlayHint => '재생';

@override
String get sActionPreviewHint => '미리보기';

@override
String get sActionSelectHint => '선택';

@override
String get sActionSwitchPathLabel => '경로 변경';

@override
String get sActionUseCameraHint => '카메라 사용';

@override
String get sNameDurationLabel => '기간';

@override
String get sUnitAssetCountLabel => '개';
}

1 change: 1 addition & 0 deletions test/test_utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Widget defaultPickerTestApp({
Locale('ar'),
Locale('fr'),
Locale('vi'),
Locale('ko'),
],
locale: locale,
);
Expand Down