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

Added Korean translation for additional text #205

Merged
merged 3 commits into from
May 31, 2023
Merged
Changes from 1 commit
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
25 changes: 25 additions & 0 deletions src/translations/translations_2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ pub fn new_version_available_translation(language: Language) -> &'static str {
Language::RU => "Новая версия доступна на GitHub",
Language::EL => "Μια νεότερη έκδοση είναι διαθέσιμη στο GitHub",
Language::FA => "یک نسخه جدیدتر روی GitHub موجود است",
Language::KO => "GitHub에 새로운 버전이 출시되었습니다.",
_ => "A newer version is available on GitHub",
}
}
Expand All @@ -22,6 +23,7 @@ pub fn inspect_translation(language: Language) -> &'static str {
Language::PL => "Sprawdź",
Language::DE => "Überprüfen",
Language::RU => "Инспектировать",
Language::KO => "검사",
_ => "Inspect",
}
}
Expand All @@ -30,6 +32,7 @@ pub fn connection_details_translation(language: Language) -> &'static str {
match language {
Language::EN => "Connection details",
Language::IT => "Dettagli della connessione",
Language::KO => "연결 상세",
_ => "Connection details",
}
}
Expand All @@ -38,6 +41,7 @@ pub fn dropped_packets_translation(language: Language) -> &'static str {
match language {
Language::EN => "Dropped packets",
Language::IT => "Pacchetti mancati",
Language::KO => "손실 패킷",
_ => "Dropped packets",
}
}
Expand All @@ -46,6 +50,7 @@ pub fn data_representation_translation(language: Language) -> &'static str {
match language {
Language::EN => "Data representation",
Language::IT => "Rappresentazione dei dati",
Language::KO => "데이터 단위",
_ => "Data representation",
}
}
Expand All @@ -54,6 +59,7 @@ pub fn host_translation(language: Language) -> &'static str {
match language {
Language::EN => "Network host",
Language::IT => "Host di rete",
Language::KO => "네트워크 호스트",
_ => "Network host",
}
}
Expand All @@ -62,6 +68,7 @@ pub fn only_top_30_hosts_translation(language: Language) -> &'static str {
match language {
Language::EN => "Only the top 30 hosts are displayed here",
Language::IT => "Solo i maggiori 30 host sono mostrati qui",
Language::KO => "상위 30개의 호스트만 노출됩니다",
_ => "Only the top 30 hosts are displayed here",
}
}
Expand All @@ -70,6 +77,7 @@ pub fn sort_by_translation(language: Language) -> &'static str {
match language {
Language::EN => "Sort by",
Language::IT => "Ordina per",
Language::KO => "정렬",
_ => "Sort by",
}
}
Expand All @@ -78,6 +86,7 @@ pub fn local_translation(language: Language) -> String {
match language {
Language::EN => "Local network",
Language::IT => "Rete locale",
Language::KO => "로컬 네트워크",
_ => "Local network",
}
.to_string()
Expand All @@ -87,6 +96,7 @@ pub fn unknown_translation(language: Language) -> String {
match language {
Language::EN => "Unknown location",
Language::IT => "Localizzazione sconosciuta",
Language::KO => "알 수 없는 위치",
_ => "Unknown location",
}
.to_string()
Expand All @@ -96,6 +106,7 @@ pub fn your_network_adapter_translation(language: Language) -> String {
match language {
Language::EN => "Your network adapter",
Language::IT => "La tua scheda di rete",
Language::KO => "네트워크 어댑터",
_ => "Your network adapter",
}
.to_string()
Expand All @@ -105,6 +116,7 @@ pub fn socket_address_translation(language: Language) -> &'static str {
match language {
Language::EN => "Socket address",
Language::IT => "Indirizzo del socket",
Language::KO => "소켓 어드레스",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

소켓 주소

_ => "Socket address",
}
}
Expand All @@ -113,6 +125,7 @@ pub fn mac_address_translation(language: Language) -> &'static str {
match language {
Language::EN => "MAC address",
Language::IT => "Indirizzo MAC",
Language::KO => "맥 어드레스",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MAC 주소

_ => "MAC address",
}
}
Expand All @@ -121,6 +134,7 @@ pub fn source_translation(language: Language) -> &'static str {
match language {
Language::EN => "Source",
Language::IT => "Sorgente",
Language::KO => "소스",
_ => "Source",
}
}
Expand All @@ -129,6 +143,7 @@ pub fn destination_translation(language: Language) -> &'static str {
match language {
Language::EN => "Destination",
Language::IT => "Destinazione",
Language::KO => "목적지",
_ => "Destination",
}
}
Expand All @@ -137,6 +152,7 @@ pub fn fqdn_translation(language: Language) -> &'static str {
match language {
Language::EN => "Fully qualified domain name",
Language::IT => "Nome di dominio completo",
Language::KO => "절대 도메인 네임",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

전체 주소 도메인 네임
"절대 도메인 네임" 또한 쓰이는 표현이나, 보편적인 표현을 추천합니다.
개인적으로는 그냥 FQDN이 이해하기 더 편하네요.

_ => "Fully qualified domain name",
}
}
Expand All @@ -145,6 +161,7 @@ pub fn administrative_entity_translation(language: Language) -> &'static str {
match language {
Language::EN => "Administrative entity",
Language::IT => "Entità amministrativa",
Language::KO => "관리 엔티티",
_ => "Administrative entity",
}
}
Expand All @@ -153,6 +170,7 @@ pub fn transmitted_data_translation(language: Language) -> &'static str {
match language {
Language::EN => "Transmitted data",
Language::IT => "Dati trasmessi",
Language::KO => "수신된 데이터",
_ => "Transmitted data",
}
}
Expand All @@ -161,6 +179,7 @@ pub fn country_translation(language: Language) -> &'static str {
match language {
Language::EN => "Country",
Language::IT => "Paese",
Language::KO => "국가",
_ => "Country",
}
}
Expand All @@ -169,6 +188,7 @@ pub fn domain_name_translation(language: Language) -> &'static str {
match language {
Language::EN => "Domain name",
Language::IT => "Nome di dominio",
Language::KO => "도메인 네임",
_ => "Domain name",
}
}
Expand All @@ -177,6 +197,7 @@ pub fn only_show_favorites_translation(language: Language) -> &'static str {
match language {
Language::EN => "Only show favorites",
Language::IT => "Mostra solo i preferiti",
Language::KO => "즐겨찾기만 보기",
_ => "Only show favorites",
}
}
Expand All @@ -185,6 +206,7 @@ pub fn search_filters_translation(language: Language) -> &'static str {
match language {
Language::EN => "Search filters",
Language::IT => "Filtri di ricerca",
Language::KO => "검색 필터",
_ => "Search filters",
}
}
Expand All @@ -193,6 +215,7 @@ pub fn no_search_results_translation(language: Language) -> &'static str {
match language {
Language::EN => "No result available according to the specified search filters",
Language::IT => "Nessun risultato disponibile secondo i filtri di ricerca specificati",
Language::KO => "해당 검색 필터로 검색된 결과가 없습니다.",
_ => "No result available according to the specified search filters",
}
}
Expand All @@ -206,6 +229,7 @@ pub fn showing_results_translation(
match language {
Language::EN => format!("Showing {start}-{end} of {total} total results"),
Language::IT => format!("Sono mostrati {start}-{end} di {total} risultati totali"),
Language::KO => format!("총 {total}개의 결과 중 {start}-{end}을(를) 보여줍니다")
_ => format!("Showing {start}-{end} of {total} total results"),
}
}
Expand All @@ -215,6 +239,7 @@ pub fn color_gradients_translation(language: Language) -> &'static str {
match language {
Language::EN => "Apply color gradients",
Language::IT => "Applica sfumature di colore",
Language::KO => "그라디언트 색상 적용",
_ => "Apply color gradients",
}
}