Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ All Sniffnet releases with the relative changes are documented in this file.
- 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))
- Turkish ([#608](https://github.com/GyulyVGC/sniffnet/pull/608))
- Added support for Linux `loongarch64` (fixes [#592](https://github.com/GyulyVGC/sniffnet/issues/592))

## [1.3.1] - 2024-07-22
Expand Down
23 changes: 22 additions & 1 deletion src/translations/translations_3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ pub fn general_translation(language: Language) -> &'static str {
Language::VI => "Tổng quan",
Language::ZH => "通用",
Language::KO => "일반",
Language::TR => "Genel",
_ => "General",
}
}
Expand All @@ -43,6 +44,7 @@ pub fn zoom_translation(language: Language) -> &'static str {
Language::VI => "Phóng to",
Language::ZH => "缩放",
Language::KO => "확대",
Language::TR => "Yakınlaştırma",
_ => "Zoom",
}
}
Expand All @@ -64,6 +66,7 @@ pub fn mmdb_files_translation(language: Language) -> &'static str {
Language::VI => "Tập tin cơ sở dữ liệu",
Language::ZH => "数据库文件",
Language::KO => "데이터베이스 파일",
Language::TR => "Veri tabanı dosyaları",
_ => "Database files",
}
}
Expand All @@ -85,6 +88,7 @@ pub fn params_not_editable_translation(language: Language) -> &'static str {
Language::VI => "Các tham số sau không thể bị thay đổi khi đang phân tích",
Language::ZH => "以下参数在分析过程中不能修改",
Language::KO => "분석 중 다음의 매개변수들은 수정할 수 없습니다",
Language::TR => "Analiz sırasında bu parametrelere müdahale edilemez",
_ => "The following parameters can't be modified during the analysis",
}
}
Expand All @@ -106,6 +110,7 @@ pub fn custom_style_translation(language: Language) -> &'static str {
Language::VI => "Tùy chỉnh chủ đề",
Language::ZH => "自定义样式",
Language::KO => "사용자 지정 스타일",
Language::TR => "Kişisel görünüm",
_ => "Custom style",
}
}
Expand All @@ -125,6 +130,7 @@ pub fn copy_translation(language: Language) -> &'static str {
Language::VI => "Sao chép",
Language::ZH => "复制",
Language::KO => "복사",
Language::TR => "Kopyala",
_ => "Copy",
}
}
Expand All @@ -137,7 +143,8 @@ pub fn port_translation(language: Language) -> &'static str {
| Language::PL
| Language::RO
| Language::UZ
| Language::SV => "Port",
| Language::SV
| Language::TR => "Port",
// Language::FA => "درگاه",
Language::ES => "Puerto",
Language::IT => "Porta",
Expand Down Expand Up @@ -167,6 +174,7 @@ pub fn invalid_filters_translation(language: Language) -> &'static str {
Language::VI => "Bộ lọc không khả dụng",
Language::ZH => "无效的过滤器",
Language::KO => "잘못된 필터",
Language::TR => "Geçersiz filtreler",
_ => "Invalid filters",
}
}
Expand All @@ -187,6 +195,7 @@ pub fn messages_translation(language: Language) -> &'static str {
Language::VI => "Tin nhắn",
Language::ZH => "信息",
Language::KO => "메시지",
Language::TR => "Mesajlar",
_ => "Messages",
}
}
Expand All @@ -208,6 +217,7 @@ pub fn link_type_translation(language: Language) -> &'static str {
Language::VI => "Loại liên kết",
Language::ZH => "链接类型",
Language::KO => "링크 유형",
Language::TR => "Link türü",
_ => "Link type",
}
}
Expand All @@ -232,6 +242,7 @@ pub fn unsupported_link_type_translation(
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에서 아직 지원되지 않습니다...",
Language::TR => "Bu adaptör ile ilişkilendirilmiş link türü henüz Sniffnet tarafından desteklenmiyor...",
_ => "The link type associated with this adapter is not supported by Sniffnet yet...",
};

Expand All @@ -258,6 +269,7 @@ pub fn style_from_file_translation(language: Language) -> &'static str {
Language::VI => "Chọn chủ đề từ file của bạn",
Language::ZH => "从文件中选择样式",
Language::KO => "파일에서 스타일을 선택하세요",
Language::TR => "Dosyadan bir görünüm seç",
_ => "Select style from a file",
}
}
Expand All @@ -279,6 +291,7 @@ pub fn database_from_file_translation(language: Language) -> &'static str {
Language::VI => "Chọn tập tin cơ sở dữ liệu",
Language::ZH => "选择数据库文件",
Language::KO => "데이터베이스 파일 선택",
Language::TR => "Veri tabanı dosyası seç",
_ => "Select database file",
}
}
Expand All @@ -300,6 +313,7 @@ pub fn filter_by_host_translation(language: Language) -> &'static str {
Language::VI => "Lọc bởi máy chủ mạng",
Language::ZH => "按网络主机筛选",
Language::KO => "네트워크 호스트로 필터링",
Language::TR => "Ağ sunucusuna göre filtrele",
_ => "Filter by network host",
}
}
Expand All @@ -318,6 +332,7 @@ pub fn service_translation(language: Language) -> &'static str {
Language::VI => "Dịch vụ",
Language::ZH => "服务",
Language::KO => "서비스",
Language::TR => "Servis",
_ => "Service",
}
}
Expand All @@ -338,6 +353,7 @@ pub fn export_capture_translation(language: Language) -> &'static str {
Language::VI => "Xuất tập tin đã bắt",
Language::ZH => "导出捕获文件",
Language::KO => "캡처 파일 내보내기",
Language::TR => "Yakalanan dosyayı dışa aktar",
_ => "Export capture file",
}
}
Expand All @@ -357,6 +373,7 @@ pub fn directory_translation(language: Language) -> &'static str {
Language::VI => "Thư mục",
Language::ZH => "目录",
Language::KO => "디렉토리",
Language::TR => "Klasör",
_ => "Directory",
}
}
Expand All @@ -377,6 +394,7 @@ pub fn select_directory_translation(language: Language) -> &'static str {
Language::VI => "Chọn thư mục đích đến",
Language::ZH => "选择目标目录",
Language::KO => "대상 디렉토리 선택",
Language::TR => "Hedef klasörü seç",
_ => "Select destination directory",
}
}
Expand All @@ -397,6 +415,7 @@ pub fn file_name_translation(language: Language) -> &'static str {
Language::VI => "Tên file",
Language::ZH => "文件名",
Language::KO => "파일 이름",
Language::TR => "Dosya adı",
_ => "File name",
}
}
Expand All @@ -417,6 +436,7 @@ pub fn thumbnail_mode_translation(language: Language) -> &'static str {
Language::VI => "Chế độ thu nhỏ",
Language::ZH => "缩略图模式",
Language::KO => "썸네일 모드",
Language::TR => "Küçük resim modu",
_ => "Thumbnail mode",
}
}
Expand All @@ -437,6 +457,7 @@ pub fn learn_more_translation(language: Language) -> &'static str {
Language::VI => "Bạn có muốn tìm hiểu thêm?",
Language::ZH => "想知道更多吗?",
Language::KO => "더 자세히 알고 싶으십니까?",
Language::TR => "Daha fazlasını öğrenmek ister misin?",
_ => "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 @@ -125,6 +125,7 @@ impl Language {
| Language::VI
| Language::ZH
| Language::KO
| Language::TR
)
}
}
Expand Down