merge_po.bat
来自「Last change: 2008-02-03 This is the sou」· Batch 代码 · 共 10 行
BAT
10 行
@echo off
@echo *** Merging new default.po with previous translations ***
FOR /D %%L IN (??) DO echo %%L && msgmerge --no-fuzzy-matching --update %%L\LC_MESSAGES\default.po default.po
FOR /D %%L IN (??_??) DO echo %%L && msgmerge --no-fuzzy-matching --update %%L\LC_MESSAGES\default.po default.po
@echo *** Removing fuzzy and obsolete items ***
FOR /D %%L IN (??) DO echo %%L && copy /Y %%L\LC_MESSAGES\default.po %%L\LC_MESSAGES\default.tmp && msgattrib --no-fuzzy --no-obsolete -o %%L\LC_MESSAGES\default.po %%L\LC_MESSAGES\default.tmp && del %%L\LC_MESSAGES\default.tmp
FOR /D %%L IN (??_??) DO echo %%L && copy /Y %%L\LC_MESSAGES\default.po %%L\LC_MESSAGES\default.tmp && msgattrib --no-fuzzy --no-obsolete -o %%L\LC_MESSAGES\default.po %%L\LC_MESSAGES\default.tmp && del %%L\LC_MESSAGES\default.tmp
@pause
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?