⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 compile_po.bat

📁 Last change: 2008-02-03 This is the source code of KCeasy。
💻 BAT
字号:
@echo off
@echo *** Compiling isolang.po ***
msgfmt --check -o isolang.mo isolang.po
@echo *** Compiling all default.po ***
FOR /D %%L IN (??) DO echo %%L && msgfmt --directory=%%L\LC_MESSAGES\ -o %%L\LC_MESSAGES\default.mo default.po
FOR /D %%L IN (??_??) DO echo %%L && msgfmt --directory=%%L\LC_MESSAGES\ -o %%L\LC_MESSAGES\default.mo default.po
@echo *** Copying mo's to /dist and /debug ***
rmdir /S /Q ..\dist\locale
rmdir /S /Q ..\debug\locale
echo /dist
FOR /D %%L IN (??) DO echo %%L && mkdir ..\dist\locale\%%L\LC_MESSAGES && copy %%L\LC_MESSAGES\default.mo ..\dist\locale\%%L\LC_MESSAGES\default.mo
copy isolang.mo ..\dist\locale\isolang.mo
FOR /D %%L IN (??_??) DO echo %%L && mkdir ..\dist\locale\%%L\LC_MESSAGES && copy %%L\LC_MESSAGES\default.mo ..\dist\locale\%%L\LC_MESSAGES\default.mo
copy isolang.mo ..\dist\locale\isolang.mo
echo /debug
FOR /D %%L IN (??) DO echo %%L && mkdir ..\debug\locale\%%L\LC_MESSAGES && copy %%L\LC_MESSAGES\default.mo ..\debug\locale\%%L\LC_MESSAGES\default.mo
copy isolang.mo ..\debug\locale\isolang.mo
FOR /D %%L IN (??_??) DO echo %%L && mkdir ..\debug\locale\%%L\LC_MESSAGES && copy %%L\LC_MESSAGES\default.mo ..\debug\locale\%%L\LC_MESSAGES\default.mo
copy isolang.mo ..\debug\locale\isolang.mo
@pause

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -