Skip to content

Commit

Permalink
Merge pull request #604 from rkdud007/translation_3/kr
Browse files Browse the repository at this point in the history
translate v3 in korean
  • Loading branch information
GyulyVGC authored Sep 10, 2024
2 parents e6fe759 + b1d5409 commit 90a33b3
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ All Sniffnet releases with the relative changes are documented in this file.

## [UNRELEASED]
- Added Vietnamese translation 🇻🇳 ([#577](https://github.com/GyulyVGC/sniffnet/pull/577))
- Updated Chinese translation to v1.3 ([#575](https://github.com/GyulyVGC/sniffnet/pull/575))
- Updated some of the existing translations to v1.3:
- Chinese ([#575](https://github.com/GyulyVGC/sniffnet/pull/575))
- Korean ([#604](https://github.com/GyulyVGC/sniffnet/pull/604))
- Added support for Linux `loongarch64` (fixes [#592](https://github.com/GyulyVGC/sniffnet/issues/592))

## [1.3.1] - 2024-07-22
Expand Down
24 changes: 24 additions & 0 deletions resources/fonts/full/subset_characters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,7 @@ z
Expand All @@ -763,6 +764,7 @@ z
Expand All @@ -782,6 +784,7 @@ z
Expand All @@ -791,29 +794,37 @@ z
Expand All @@ -839,6 +850,9 @@ z
Expand All @@ -855,14 +869,17 @@ z
Expand All @@ -872,6 +889,7 @@ z
Expand All @@ -889,12 +907,14 @@ z
Expand All @@ -910,8 +930,10 @@ z
Expand All @@ -923,12 +945,14 @@ z
Binary file modified resources/fonts/subset/sarasa-mono-sc-bold.subset.ttf
Binary file not shown.
Binary file modified resources/fonts/subset/sarasa-mono-sc-regular.subset.ttf
Binary file not shown.
21 changes: 21 additions & 0 deletions src/translations/translations_3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ pub fn general_translation(language: Language) -> &'static str {
Language::SV => "Allmänt",
Language::VI => "Tổng quan",
Language::ZH => "通用",
Language::KO => "일반",
_ => "General",
}
}
Expand All @@ -41,6 +42,7 @@ pub fn zoom_translation(language: Language) -> &'static str {
Language::UZ => "Kattalashtirish",
Language::VI => "Phóng to",
Language::ZH => "缩放",
Language::KO => "확대",
_ => "Zoom",
}
}
Expand All @@ -61,6 +63,7 @@ pub fn mmdb_files_translation(language: Language) -> &'static str {
Language::SV => "Databasfiler",
Language::VI => "Tập tin cơ sở dữ liệu",
Language::ZH => "数据库文件",
Language::KO => "데이터베이스 파일",
_ => "Database files",
}
}
Expand All @@ -81,6 +84,7 @@ pub fn params_not_editable_translation(language: Language) -> &'static str {
Language::SV => "Följande parametrar kan inte ändras under analysen",
Language::VI => "Các tham số sau không thể bị thay đổi khi đang phân tích",
Language::ZH => "以下参数在分析过程中不能修改",
Language::KO => "분석 중 다음의 매개변수들은 수정할 수 없습니다",
_ => "The following parameters can't be modified during the analysis",
}
}
Expand All @@ -101,6 +105,7 @@ pub fn custom_style_translation(language: Language) -> &'static str {
Language::SV => "Anpassad stil",
Language::VI => "Tùy chỉnh chủ đề",
Language::ZH => "自定义样式",
Language::KO => "사용자 지정 스타일",
_ => "Custom style",
}
}
Expand All @@ -119,6 +124,7 @@ pub fn copy_translation(language: Language) -> &'static str {
Language::SV => "Kopia",
Language::VI => "Sao chép",
Language::ZH => "复制",
Language::KO => "복사",
_ => "Copy",
}
}
Expand All @@ -139,6 +145,7 @@ pub fn port_translation(language: Language) -> &'static str {
Language::JA => "ポート",
Language::VI => "Cổng",
Language::ZH => "端口",
Language::KO => "포트",
_ => "Port",
}
}
Expand All @@ -159,6 +166,7 @@ pub fn invalid_filters_translation(language: Language) -> &'static str {
Language::SV => "Ogiltiga filter",
Language::VI => "Bộ lọc không khả dụng",
Language::ZH => "无效的过滤器",
Language::KO => "잘못된 필터",
_ => "Invalid filters",
}
}
Expand All @@ -178,6 +186,7 @@ pub fn messages_translation(language: Language) -> &'static str {
Language::SV => "Meddelanden",
Language::VI => "Tin nhắn",
Language::ZH => "信息",
Language::KO => "메시지",
_ => "Messages",
}
}
Expand All @@ -198,6 +207,7 @@ pub fn link_type_translation(language: Language) -> &'static str {
Language::SV => "Länktyp",
Language::VI => "Loại liên kết",
Language::ZH => "链接类型",
Language::KO => "링크 유형",
_ => "Link type",
}
}
Expand All @@ -221,6 +231,7 @@ pub fn unsupported_link_type_translation(
Language::SV => "Länktypen associerad med denna adapter stöds inte av Sniffnet än...",
Language::VI => "Loại liên kết được gắn với adapter này chưa được Sniffnet hỗ trợ...",
Language::ZH => "Sniffnet 尚不支持与此适配器关联的链接类型...",
Language::KO => "이 어댑터와 연결된 링크 유형은 Sniffnet에서 아직 지원되지 않습니다...",
_ => "The link type associated with this adapter is not supported by Sniffnet yet...",
};

Expand All @@ -246,6 +257,7 @@ pub fn style_from_file_translation(language: Language) -> &'static str {
Language::SV => "Välj stil från en fil",
Language::VI => "Chọn chủ đề từ file của bạn",
Language::ZH => "从文件中选择样式",
Language::KO => "파일에서 스타일을 선택하세요",
_ => "Select style from a file",
}
}
Expand All @@ -266,6 +278,7 @@ pub fn database_from_file_translation(language: Language) -> &'static str {
Language::SV => "Välj databasfil",
Language::VI => "Chọn tập tin cơ sở dữ liệu",
Language::ZH => "选择数据库文件",
Language::KO => "데이터베이스 파일 선택",
_ => "Select database file",
}
}
Expand All @@ -286,6 +299,7 @@ pub fn filter_by_host_translation(language: Language) -> &'static str {
Language::SV => "Filtrera efter nätverksvärd",
Language::VI => "Lọc bởi máy chủ mạng",
Language::ZH => "按网络主机筛选",
Language::KO => "네트워크 호스트로 필터링",
_ => "Filter by network host",
}
}
Expand All @@ -303,6 +317,7 @@ pub fn service_translation(language: Language) -> &'static str {
Language::UZ => "Xizmat",
Language::VI => "Dịch vụ",
Language::ZH => "服务",
Language::KO => "서비스",
_ => "Service",
}
}
Expand All @@ -322,6 +337,7 @@ pub fn export_capture_translation(language: Language) -> &'static str {
Language::SV => "Exportera inspelningsfil",
Language::VI => "Xuất tập tin đã bắt",
Language::ZH => "导出捕获文件",
Language::KO => "캡처 파일 내보내기",
_ => "Export capture file",
}
}
Expand All @@ -340,6 +356,7 @@ pub fn directory_translation(language: Language) -> &'static str {
Language::JA => "ディレクトリー",
Language::VI => "Thư mục",
Language::ZH => "目录",
Language::KO => "디렉토리",
_ => "Directory",
}
}
Expand All @@ -359,6 +376,7 @@ pub fn select_directory_translation(language: Language) -> &'static str {
Language::SV => "Välj målkatalog",
Language::VI => "Chọn thư mục đích đến",
Language::ZH => "选择目标目录",
Language::KO => "대상 디렉토리 선택",
_ => "Select destination directory",
}
}
Expand All @@ -378,6 +396,7 @@ pub fn file_name_translation(language: Language) -> &'static str {
Language::SV => "Filnamn",
Language::VI => "Tên file",
Language::ZH => "文件名",
Language::KO => "파일 이름",
_ => "File name",
}
}
Expand All @@ -397,6 +416,7 @@ pub fn thumbnail_mode_translation(language: Language) -> &'static str {
Language::SV => "Miniatyrläge",
Language::VI => "Chế độ thu nhỏ",
Language::ZH => "缩略图模式",
Language::KO => "썸네일 모드",
_ => "Thumbnail mode",
}
}
Expand All @@ -416,6 +436,7 @@ pub fn learn_more_translation(language: Language) -> &'static str {
Language::SV => "Vill du veta mer?",
Language::VI => "Bạn có muốn tìm hiểu thêm?",
Language::ZH => "想知道更多吗?",
Language::KO => "더 자세히 알고 싶으십니까?",
_ => "Do you want to learn more?",
}
}
1 change: 1 addition & 0 deletions src/translations/types/language.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ impl Language {
| Language::SV
| Language::VI
| Language::ZH
| Language::KO
)
}
}
Expand Down

0 comments on commit 90a33b3

Please sign in to comment.