Skip to content

Commit

Permalink
i18n: Re-enable Portuguese for testing
Browse files Browse the repository at this point in the history
See #46
  • Loading branch information
bragefuglseth committed Aug 21, 2024
1 parent 8d42aeb commit 3226efb
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/text_generation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,8 @@ pub enum Language {
Occitan,
#[strum(message = "Polski", to_string = "pl")]
Polish,
// Blocked on <https://github.com/bragefuglseth/keypunch/issues/46>
// #[strum(message = "Português", to_string = "pt")]
// Portuguese,
#[strum(message = "Português", to_string = "pt")]
Portuguese,
#[strum(message = "Русский", to_string = "ru")]
Russian,
#[strum(message = "Español", to_string = "es")]
Expand Down Expand Up @@ -139,7 +138,7 @@ pub fn simple(language: Language) -> String {
| Language::NorwegianNynorsk
| Language::Occitan
| Language::Polish
// | Language::Portuguese
| Language::Portuguese
| Language::Russian
| Language::Spanish
| Language::Swahili
Expand All @@ -165,7 +164,7 @@ pub fn advanced(language: Language) -> String {
| Language::NorwegianNynorsk
| Language::Occitan
| Language::Polish
// | Language::Portuguese
| Language::Portuguese
| Language::Russian
| Language::Swahili
| Language::Swedish
Expand Down

0 comments on commit 3226efb

Please sign in to comment.