diff options
Diffstat (limited to 'locale')
-rw-r--r-- | locale/tools/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/tools/src/main.rs b/locale/tools/src/main.rs index 68805b99..9b63a73e 100644 --- a/locale/tools/src/main.rs +++ b/locale/tools/src/main.rs @@ -294,7 +294,7 @@ fn load_ini(path: &Path) -> Result<BTreeMap<String, String>> { .skip(1) .map(|l| { let (k, v) = l.split_once("=").ok_or(anyhow!("'=' missing"))?; - Ok::<_, anyhow::Error>((k.to_owned(), v.replace("\\n", "\n"))) + Ok::<_, anyhow::Error>((k.to_owned(), v.replace("%n", "\n"))) }) .try_collect()?) } |