Skip to content
Closed
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
13 changes: 13 additions & 0 deletions src/translations/translations_4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ pub fn reserved_address_translation(language: Language, info: &str) -> String {
Language::PT => format!("Endereço reservado ({info})"),
Language::UK => format!("Зарезервована адреса ({info})"),
Language::ZH_TW => format!("保留的網路位址 ({info})"),
Language::FR => format!("Adresse réservée ({info})"),
_ => format!("Reserved address ({info})"),
}
}
Expand All @@ -21,6 +22,7 @@ pub fn share_feedback_translation(language: Language) -> &'static str {
Language::EN => "Share your feedback",
Language::IT => "Condividi il tuo feedback",
Language::ZH_TW => "分享您的意見回饋",
Language::FR => "Partagez vos commentaires",
_ => "Share your feedback",
}
}
Expand All @@ -31,6 +33,7 @@ pub fn excluded_translation(language: Language) -> &'static str {
Language::EN => "Excluded",
Language::IT => "Esclusi",
Language::ZH_TW => "已排除",
Language::FR => "Exclus",
_ => "Excluded",
}
}
Expand All @@ -39,6 +42,7 @@ pub fn import_capture_translation(language: Language) -> &'static str {
match language {
Language::EN => "Import capture file",
Language::IT => "Importa file di cattura",
Language::FR => "Importer fichier de capture",
_ => "Import capture file",
}
}
Expand All @@ -47,6 +51,7 @@ pub fn select_capture_translation(language: Language) -> &'static str {
match language {
Language::EN => "Select capture file",
Language::IT => "Seleziona file di cattura",
Language::FR => "Sélectionner fichier de capture",
_ => "Select capture file",
}
}
Expand All @@ -64,6 +69,11 @@ pub fn reading_from_pcap_translation<'a>(language: Language, file: &str) -> Text
{file_name_translation}: {file}\n\n\
Sei sicuro che il file che hai selezionato non sia vuoto?"
),
Language::FR => format!(
"Lecture des paquets depuis le fichier...\n\n\
{file_name_translation}: {file}\n\n\
Êtes-vous sûr que le fichier seclectionné n'est pas vide?"
),
_ => format!(
"Reading packets from file...\n\n\
{file_name_translation}: {file}\n\n\
Expand All @@ -76,6 +86,7 @@ pub fn data_exceeded_translation(language: Language) -> &'static str {
match language {
Language::EN => "Data threshold exceeded",
Language::IT => "Soglia di dati superata",
Language::FR => "Plafond de données dépassé",
_ => "Data threshold exceeded",
}
}
Expand All @@ -85,6 +96,7 @@ pub fn bits_exceeded_translation(language: Language) -> &'static str {
match language {
Language::EN => "Bits threshold exceeded",
Language::IT => "Soglia di bit superata",
Language::FR => "Plafond de bits dépassé",
_ => "Bits threshold exceeded",
}
}
Expand All @@ -111,6 +123,7 @@ pub fn resume_translation(language: Language) -> &'static str {
match language {
Language::EN => "Resume",
Language::IT => "Riprendi",
Language::FR => "Reprendre",
_ => "Resume",
}
}