mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 20:57:13 -05:00
modify i18n resources struct for launcher use
This commit is contained in:
parent
2c731f5610
commit
c31985982f
1 changed files with 3 additions and 3 deletions
|
|
@ -467,10 +467,10 @@ fn format_number_values(val: &FluentValue, alt_separator: Option<&'static str>)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Serialize)]
|
#[derive(Debug, Serialize)]
|
||||||
pub struct ResourcesForJavascript {
|
pub struct ResourcesForJavascript {
|
||||||
langs: Vec<String>,
|
pub langs: Vec<String>,
|
||||||
resources: Vec<String>,
|
pub resources: Vec<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn without_unicode_isolation(s: &str) -> String {
|
pub fn without_unicode_isolation(s: &str) -> String {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue