.po 파일 번역 작업 중 "Installation of 어쩌구" 형식의 문장이 여러 개 나오는 것 발견. 한 두 개면 그냥 하겠는데, 여러 개 있으니 일괄 작업 하는 게 더 빠를 것 같다. 아래 스크립트 참고하면 된다.
sed -i -E '/msgid "Installation of (.*)"/{N;s/msgid "Installation of (.*)"\nmsgstr ""/msgid "Installation of \1"\nmsgstr "\1 설치"/}' lfs-ko.po
댓글 없음:
댓글 쓰기