2022-10-24 08:56:48 -06:00
|
|
|
// SPDX-License-Identifier: MIT OR Apache-2.0
|
|
|
|
|
|
2022-10-18 12:07:22 -06:00
|
|
|
use unicode_script::Script;
|
|
|
|
|
|
|
|
|
|
// Fallbacks to use after any script specific fallbacks
|
|
|
|
|
pub fn common_fallback() -> &'static [&'static str] {
|
|
|
|
|
&[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Fallbacks to never use
|
|
|
|
|
pub fn forbidden_fallback() -> &'static [&'static str] {
|
|
|
|
|
&[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Fallbacks to use per script
|
|
|
|
|
pub fn script_fallback(script: &Script, locale: &str) -> &'static [&'static str] {
|
|
|
|
|
&[]
|
|
|
|
|
}
|