diff --git a/core/models/src/defaults/__tests__/Languages.test.ts b/core/models/src/defaults/__tests__/Languages.test.ts index 2a8b2dbbf..4fb753a07 100644 --- a/core/models/src/defaults/__tests__/Languages.test.ts +++ b/core/models/src/defaults/__tests__/Languages.test.ts @@ -12,7 +12,7 @@ import { /** The identity generator's supported subset, used to exercise restricted matching. */ const IDENTITY_CODES = ['da', 'de', 'en', 'es', 'fr', 'it', 'nl', 'ro', 'sv', 'ur', 'fa']; /** The Diceware passphrase wordlist subset (owned by the Rust core). */ -const DICEWARE_CODES = ['en', 'nl', 'de', 'fr', 'es', 'it']; +const DICEWARE_CODES = ['en', 'nl', 'de', 'fr', 'es', 'it', 'ro']; describe('Languages', () => { describe('normalizeLanguageCode', () => { diff --git a/core/rust/src/password_generator/wordlists/ATTRIBUTION.md b/core/rust/src/password_generator/wordlists/ATTRIBUTION.md index f90f59fda..3136fd612 100644 --- a/core/rust/src/password_generator/wordlists/ATTRIBUTION.md +++ b/core/rust/src/password_generator/wordlists/ATTRIBUTION.md @@ -16,6 +16,9 @@ were collected by that project from the following upstream sources: | `fr.diceware` | French | https://github.com/ArthurPons/diceware-fr-alt | | `es.diceware` | Spanish | https://github.com/mir123/dadoware-bonito-es | | `it.diceware` | Italian | https://www.taringamberini.com/ | +| `ro.diceware` | Romanian | Community contribution | Refer to each upstream source for its specific license terms. If you redistribute these lists, preserve this attribution. + +Files marked as "Community contribution" were contributed by members of the community. If you are the original author or know the original upstream source, please let us know so we can provide proper attribution. diff --git a/core/rust/src/password_generator/wordlists/mod.rs b/core/rust/src/password_generator/wordlists/mod.rs index 4db04f5d1..48447a95a 100644 --- a/core/rust/src/password_generator/wordlists/mod.rs +++ b/core/rust/src/password_generator/wordlists/mod.rs @@ -18,6 +18,7 @@ static WORDLISTS: &[(&str, &str)] = &[ ("fr", include_str!("fr.diceware")), ("es", include_str!("es.diceware")), ("it", include_str!("it.diceware")), + ("ro", include_str!("ro.diceware")), ]; /// Resolve a language code (case-insensitive) to its raw wordlist text, falling back to