Closed Kreijstal closed 1 week ago
This is not opencc or gettext issue but an issue of symlink in msys2. You can learn more about the behavior of symlink here https://www.msys2.org/docs/symlinks/
First, clone the git repository with MSYS=winsymlinks:native git clone --depth 1 https://github.com/flxzt/rnote.git
command. That will create the symlinks correctly. Here are the list of those files.
$ find crates/rnote-ui/po/ -type l -exec file {} \;
crates/rnote-ui/po/zh_CN.po: symbolic link to zh_Hans.po
crates/rnote-ui/po/zh_HK.po: symbolic link to zh_Hant.po
crates/rnote-ui/po/zh_SG.po: symbolic link to zh_Hans.po
crates/rnote-ui/po/zh_TW.po: symbolic link to zh_Hant.po
Now, msgfmt will work correctly.
$ msgfmt -o crates/rnote-ui/po/rnote.mo crates/rnote-ui/po/zh_SG.po && echo $?
0
Ahh how could I have missed that, thank you.
Description / Steps to reproduce the issue
From https://github.com/flxzt/rnote/issues/1299
Expected behavior
Actual behavior
Verification
Windows Version
MINGW64_NT-10.0-22631
MINGW environments affected
Are you willing to submit a PR?
Beyond me.