diff --git a/src/translations/translations_3.rs b/src/translations/translations_3.rs index cf083552..d0052719 100644 --- a/src/translations/translations_3.rs +++ b/src/translations/translations_3.rs @@ -11,13 +11,14 @@ pub fn general_translation(language: Language) -> &'static str { Language::EN => "General", Language::ES => "Generales", Language::IT => "Generali", + Language::FR => "Général", _ => "General", } } pub fn zoom_translation(language: Language) -> &'static str { match language { - Language::EN | Language::IT | Language::ES => "Zoom", + Language::EN | Language::IT | Language::ES | Language::FR => "Zoom", _ => "Zoom", } } @@ -27,6 +28,7 @@ pub fn mmdb_files_translation(language: Language) -> &'static str { Language::EN => "Database files", Language::ES => "Archivos de la base de datos", Language::IT => "File di database", + Language::FR => "Fichiers de la base de données", _ => "Database files", } } @@ -36,6 +38,7 @@ pub fn params_not_editable_translation(language: Language) -> &'static str { Language::EN => "The following parameters can't be modified during the analysis", Language::ES => "Los siguientes parámetros no pueden modificarse durante el análisis", Language::IT => "I seguenti parametri non sono modificabili durante l'analisi", + Language::FR => "Les paramètres suivants ne peuvent pas être modifiés durant l'analyse", _ => "The following parameters can't be modified during the analysis", } } @@ -44,6 +47,7 @@ pub fn params_not_editable_translation(language: Language) -> &'static str { // match language { // Language::EN => "File path", // Language::IT => "Percorso del file", +// Language::FR => "Chemin du fichier", // _ => "File path", // } // } @@ -53,6 +57,7 @@ pub fn custom_style_translation(language: Language) -> &'static str { Language::EN => "Custom style", Language::ES => "Estilo personalizado", Language::IT => "Stile personalizzato", + Language::FR => "Style personnalisé", _ => "Custom style", } } @@ -61,13 +66,14 @@ pub fn copy_translation(language: Language) -> &'static str { match language { Language::EN => "Copy", Language::IT | Language::ES => "Copia", + Language::FR => "Copie", _ => "Copy", } } pub fn port_translation(language: Language) -> &'static str { match language { - Language::EN => "Port", + Language::EN | Language::FR => "Port", Language::ES => "Puerto", Language::IT => "Porta", _ => "Port", @@ -79,13 +85,14 @@ pub fn invalid_filters_translation(language: Language) -> &'static str { Language::EN => "Invalid filters", Language::ES => "Filtros inválidos", Language::IT => "Filtri non validi", + Language::FR => "Filtres invalides", _ => "Invalid filters", } } pub fn messages_translation(language: Language) -> &'static str { match language { - Language::EN => "Messages", + Language::EN | Language::FR => "Messages", Language::ES => "Mensajes", Language::IT => "Messaggi", _ => "Messages", @@ -97,6 +104,7 @@ pub fn link_type_translation(language: Language) -> &'static str { Language::EN => "Link type", Language::ES => "Tipo de conexión", Language::IT => "Tipo di collegamento", + Language::FR => "Type de connexion", _ => "Link type", } } @@ -109,6 +117,7 @@ pub fn unsupported_link_type_translation( Language::EN => "The link type associated with this adapter is not supported by Sniffnet yet...", Language::ES => "La conexión asociada con este adaptador aún no esta implementada en Sniffnet...", Language::IT => "Il tipo di collegamento associato a questo adattatore di rete non è ancora supportato da Sniffnet...", + Language::FR => "Le type de connexion associé à cet adaptateur n'est pas encore supporté par Sniffnet...", _ => "The link type associated with this adapter is not supported by Sniffnet yet...", }.to_string(); @@ -122,6 +131,7 @@ pub fn style_from_file_translation(language: Language) -> &'static str { Language::EN => "Select style from a file", Language::ES => "Selecciona el estilo desde un archivo", Language::IT => "Seleziona lo stile da un file", + Language::FR => "Sélectionner un style à partir d'un fichier", _ => "Select style from a file", } } @@ -131,6 +141,7 @@ pub fn database_from_file_translation(language: Language) -> &'static str { Language::EN => "Select database file", Language::ES => "Selecciona un archivo de base de datos", Language::IT => "Seleziona file di database", + Language::FR => "Sélection d'un fichier de base de données", _ => "Select database file", } } @@ -140,13 +151,14 @@ pub fn filter_by_host_translation(language: Language) -> &'static str { Language::EN => "Filter by network host", Language::ES => "Filtra por host de red", Language::IT => "Filtra per host di rete", + Language::FR => "Filtrer par réseau hôte", _ => "Filter by network host", } } pub fn service_translation(language: Language) -> &'static str { match language { - Language::EN => "Service", + Language::EN | Language::FR => "Service", Language::ES => "Servicio", Language::IT => "Servizio", _ => "Service", @@ -157,6 +169,7 @@ pub fn export_capture_translation(language: Language) -> &'static str { match language { Language::EN => "Export capture file", Language::IT => "Esporta file di cattura", + Language::FR => "Exporter le fichier de capture", _ => "Export capture file", } } @@ -166,6 +179,7 @@ pub fn directory_translation(language: Language) -> &'static str { match language { Language::EN => "Directory", Language::IT => "Cartella", + Language::FR => "Répertoire", _ => "Directory", } } @@ -174,6 +188,7 @@ pub fn select_directory_translation(language: Language) -> &'static str { match language { Language::EN => "Select destination directory", Language::IT => "Seleziona cartella di destinazione", + Language::FR => "Sélectionner le répertoire de destination", _ => "Select destination directory", } } @@ -182,6 +197,7 @@ pub fn file_name_translation(language: Language) -> &'static str { match language { Language::EN => "File name", Language::IT => "Nome del file", + Language::FR => "Nom du fichier", _ => "File name", } } @@ -190,6 +206,7 @@ pub fn thumbnail_mode_translation(language: Language) -> &'static str { match language { Language::EN => "Thumbnail mode", Language::IT => "Modalità miniatura", + Language::FR => "Mode miniature", _ => "Thumbnail mode", } } @@ -198,6 +215,7 @@ pub fn learn_more_translation(language: Language) -> &'static str { match language { Language::EN => "Do you want to learn more?", Language::IT => "Vuoi saperne di più?", + Language::FR => "Voulez-vous en savoir davantage?", _ => "Do you want to learn more?", } }