Skip to content

Commit

Permalink
Merge pull request #494 from Charpy/patch-3
Browse files Browse the repository at this point in the history
Update translations_3.rs
  • Loading branch information
GyulyVGC authored Apr 14, 2024
2 parents 2137712 + 4ae5844 commit fab1193
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions src/translations/translations_3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}
}
Expand All @@ -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",
}
}
Expand All @@ -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",
}
}
Expand All @@ -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",
// }
// }
Expand All @@ -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",
}
}
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
}
}
Expand All @@ -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();

Expand All @@ -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",
}
}
Expand All @@ -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",
}
}
Expand All @@ -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",
Expand All @@ -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",
}
}
Expand All @@ -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",
}
}
Expand All @@ -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",
}
}
Expand All @@ -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",
}
}
Expand All @@ -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",
}
}
Expand All @@ -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?",
}
}

0 comments on commit fab1193

Please # to comment.