Skip to content

Commit

Permalink
kawaii-gcc-git: default ja_JP
Browse files Browse the repository at this point in the history
  • Loading branch information
RiverOnVenus committed Apr 4, 2024
1 parent a40430f commit 89ac473
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions kawaii-gcc-git/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,10 @@ pkgver() {

build() {
cd "$_pkgname"
make merge-zh
msgfmt gcc-zh.po -o gcc.mo
msgfmt gcc.po -o gcc.mo
}

package() {
cd "$_pkgname"
install -Dm644 gcc.mo -t "$pkgdir/usr/share/locale/zh_CN_kawaii/LC_MESSAGES"
install -Dm644 gcc.mo -t "$pkgdir/usr/share/locale/ja_JP_kawaii/LC_MESSAGES"
}
4 changes: 2 additions & 2 deletions kawaii-gcc-git/kawaii-gcc-git.install
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

post_install() {
echo ":: This package doesn't replace the existing gcc.mo"
echo " It creates a new folder named \"zh_CN_kawaii\" in the \"/usr/share/locale/\" directory"
echo " It creates a new folder named \"ja_JP_kawaii\" in the \"/usr/share/locale/\" directory"
echo " gcc.mo in the \"LC_MESSAGES/\" directory"
echo " Need to set the environment variable LANGUAGE makes GCC kawaii"
echo " "
echo " 这个包没有替换原有的 gcc.mo"
echo " 而是在 \"/usr/share/locale/\" 目录下新建了一个 \"zh_CN_kawaii\" 文件夹"
echo " 而是在 \"/usr/share/locale/\" 目录下新建了一个 \"ja_JP_kawaii\" 文件夹"
echo " gcc.mo 在 \"LC_MESSAGES/\" 目录中"
echo " 需要设置环境变量 LANGUAGE 让 GCC 变可爱"

Expand Down

0 comments on commit 89ac473

Please sign in to comment.