Add Spanish (es) UI translation
Add a Spanish catalog for the menus (618 entries), the computed titles and the macOS Services label, and list Español in the Language preference. Match System now maps es, es-ES, es_MX and es-419 to it. Add llopjulen to contributors/people.toml. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HcDWLRR3UfieXAyFa9cq4p
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
4aaadd0ed3
commit
096cca08b0
@@ -524,6 +524,11 @@ fn interface_language_is_validated_persisted_and_backward_compatible() {
|
||||
let mut zh_hant = Session { config: Some(store.clone()), ..Default::default() };
|
||||
zh_hant.load_settings();
|
||||
assert_eq!(zh_hant.prefs.general.language, "zh-hant");
|
||||
// es is registered the same way.
|
||||
s.execute("prefs.set", json!({"key": "general.language", "value": "es"})).unwrap();
|
||||
let mut es = Session { config: Some(store.clone()), ..Default::default() };
|
||||
es.load_settings();
|
||||
assert_eq!(es.prefs.general.language, "es");
|
||||
s.execute("prefs.set", json!({"key": "general.language", "value": "ja"})).unwrap();
|
||||
let mut reloaded = Session { config: Some(store), ..Default::default() };
|
||||
reloaded.load_settings();
|
||||
|
||||
Reference in New Issue
Block a user