Skip to content

Commit

Permalink
Support Bahasa Indonesia
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnsAnns committed Jun 19, 2024
1 parent 001a0a0 commit 43f0677
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ members = [
resolver = "2"

[workspace.package]
version = "9.0.0"
version = "9.1.0"
authors = ["AnnsAnn"]
2 changes: 2 additions & 0 deletions sphene/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ pub enum Languages {
English,
German,
Dutch,
BahasaIndonesia,
}

// Allow enum to string conversion for Languages
Expand All @@ -37,6 +38,7 @@ impl ToLanguageString for Languages {
Languages::English => "en".to_string(),
Languages::German => "de-DE".to_string(),
Languages::Dutch => "nl-NL".to_string(),
Languages::BahasaIndonesia => "id-ID".to_string(),
}
}
}
Expand Down

0 comments on commit 43f0677

Please sign in to comment.