@@ -12,6 +12,7 @@ pub fn reserved_address_translation(language: Language, info: &str) -> String {
1212 Language :: PT => format ! ( "Endereço reservado ({info})" ) ,
1313 Language :: UK => format ! ( "Зарезервована адреса ({info})" ) ,
1414 Language :: ZH_TW => format ! ( "保留的網路位址 ({info})" ) ,
15+ Language :: DE => format ! ( "Reservierte Adresse ({info})" ) ,
1516 _ => format ! ( "Reserved address ({info})" ) ,
1617 }
1718}
@@ -21,6 +22,7 @@ pub fn share_feedback_translation(language: Language) -> &'static str {
2122 Language :: EN => "Share your feedback" ,
2223 Language :: IT => "Condividi il tuo feedback" ,
2324 Language :: ZH_TW => "分享您的意見回饋" ,
25+ Language :: DE => "Feedback geben" ,
2426 _ => "Share your feedback" ,
2527 }
2628}
@@ -31,6 +33,7 @@ pub fn excluded_translation(language: Language) -> &'static str {
3133 Language :: EN => "Excluded" ,
3234 Language :: IT => "Esclusi" ,
3335 Language :: ZH_TW => "已排除" ,
36+ Language :: DE => "Herausgefiltert" ,
3437 _ => "Excluded" ,
3538 }
3639}
@@ -39,6 +42,7 @@ pub fn import_capture_translation(language: Language) -> &'static str {
3942 match language {
4043 Language :: EN => "Import capture file" ,
4144 Language :: IT => "Importa file di cattura" ,
45+ Language :: DE => "Aufzeichnungsdatei importieren" ,
4246 _ => "Import capture file" ,
4347 }
4448}
@@ -47,6 +51,7 @@ pub fn select_capture_translation(language: Language) -> &'static str {
4751 match language {
4852 Language :: EN => "Select capture file" ,
4953 Language :: IT => "Seleziona file di cattura" ,
54+ Language :: DE => "Aufzeichnungsdatei auswählen" ,
5055 _ => "Select capture file" ,
5156 }
5257}
@@ -64,6 +69,11 @@ pub fn reading_from_pcap_translation<'a>(language: Language, file: &str) -> Text
6469 {file_name_translation}: {file}\n \n \
6570 Sei sicuro che il file che hai selezionato non sia vuoto?"
6671 ) ,
72+ Language :: DE => format ! (
73+ "Pakete aus Datei laden... \n \n \
74+ {file_name_translation}: {file}\n \n \
75+ Bist du sicher, dass die gewählte Datei nicht leer ist?"
76+ ) ,
6777 _ => format ! (
6878 "Reading packets from file...\n \n \
6979 {file_name_translation}: {file}\n \n \
@@ -76,6 +86,7 @@ pub fn data_exceeded_translation(language: Language) -> &'static str {
7686 match language {
7787 Language :: EN => "Data threshold exceeded" ,
7888 Language :: IT => "Soglia di dati superata" ,
89+ Language :: DE => "Datenschwelle überschritten" ,
7990 _ => "Data threshold exceeded" ,
8091 }
8192}
@@ -85,22 +96,23 @@ pub fn bits_exceeded_translation(language: Language) -> &'static str {
8596 match language {
8697 Language :: EN => "Bits threshold exceeded" ,
8798 Language :: IT => "Soglia di bit superata" ,
99+ Language :: DE => "Bitschwelle überschritten" ,
88100 _ => "Bits threshold exceeded" ,
89101 }
90102}
91103
92104#[ allow( dead_code) ]
93105pub fn bits_translation ( language : Language ) -> & ' static str {
94106 match language {
95- Language :: EN | Language :: IT => "Bits" ,
107+ Language :: EN | Language :: IT | Language :: DE => "Bits" ,
96108 _ => "Bits" ,
97109 }
98110}
99111
100112#[ allow( dead_code) ]
101113pub fn pause_translation ( language : Language ) -> & ' static str {
102114 match language {
103- Language :: EN => "Pause" ,
115+ Language :: EN | Language :: DE => "Pause" ,
104116 Language :: IT => "Pausa" ,
105117 _ => "Pause" ,
106118 }
@@ -111,6 +123,7 @@ pub fn resume_translation(language: Language) -> &'static str {
111123 match language {
112124 Language :: EN => "Resume" ,
113125 Language :: IT => "Riprendi" ,
126+ Language :: DE => "Fortsetzen" ,
114127 _ => "Resume" ,
115128 }
116129}
0 commit comments