Skip to content

Commit

Permalink
added portuguese to fully translated languages
Browse files Browse the repository at this point in the history
  • Loading branch information
GyulyVGC committed Nov 5, 2023
1 parent 28688ad commit 5c456f6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/gui/pages/settings_language_page.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pub fn settings_language_page(sniffer: &Sniffer) -> Container<Message, Renderer<
.push(vertical_space(Fixed(25.0)))
.push(col_language_radio_all);

if [Language::EL, Language::PT].contains(&sniffer.language) {
if sniffer.language.eq(&Language::EL) {
content = content.push(vertical_space(Fixed(20.0))).push(
Container::new(
Text::new("The selected language is not fully updated to version 1.2").font(font),
Expand Down
1 change: 0 additions & 1 deletion src/translations/translations_2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ pub fn new_version_available_translation(language: Language) -> &'static str {
Language::JA => "新しいバージョンが利用可能になりました!",
Language::UZ => "Yangi versiya mavjud!",
Language::PT => "Uma nova versão está disponível!",
_ => "A newer version is available!",
}
}

Expand Down

0 comments on commit 5c456f6

Please sign in to comment.