modify i18n resources struct for launcher use

This commit is contained in:
llama 2025-10-14 09:24:59 +08:00
parent 2c731f5610
commit c31985982f
No known key found for this signature in database
GPG key ID: 0B7543854B9413C3

View file

@ -467,10 +467,10 @@ fn format_number_values(val: &FluentValue, alt_separator: Option<&'static str>)
}
}
#[derive(Serialize)]
#[derive(Debug, Serialize)]
pub struct ResourcesForJavascript {
langs: Vec<String>,
resources: Vec<String>,
pub langs: Vec<String>,
pub resources: Vec<String>,
}
pub fn without_unicode_isolation(s: &str) -> String {