Mercurial > vim
comparison src/po/Makefile @ 27708:bb1a3e598a86 v8.2.4380
patch 8.2.4380: small differences between Chinese translation files
Commit: https://github.com/vim/vim/commit/774e55702f236b0f16ef4a255a290dc87cfca67b
Author: Ada <me@yuhaowen.com>
Date: Mon Feb 14 15:04:55 2022 +0000
patch 8.2.4380: small differences between Chinese translation files
Problem: Small differences between Chinese translation files.
Solution: Add rule for converting UTF-8 to gb2312. (closes https://github.com/vim/vim/issues/9773)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 14 Feb 2022 16:15:03 +0100 |
parents | aa91480771fe |
children | 34c1f4cd0c18 |
comparison
equal
deleted
inserted
replaced
27707:220d58c1748b | 27708:bb1a3e598a86 |
---|---|
129 # Convert sk.po to create sk.cp1250.po. | 129 # Convert sk.po to create sk.cp1250.po. |
130 sk.cp1250.po: sk.po | 130 sk.cp1250.po: sk.po |
131 rm -f sk.cp1250.po | 131 rm -f sk.cp1250.po |
132 iconv -f iso-8859-2 -t cp1250 sk.po | \ | 132 iconv -f iso-8859-2 -t cp1250 sk.po | \ |
133 sed -e 's/charset=ISO-8859-2/charset=cp1250/' -e 's/# Original translations/# Generated from sk.po, DO NOT EDIT/' > sk.cp1250.po | 133 sed -e 's/charset=ISO-8859-2/charset=cp1250/' -e 's/# Original translations/# Generated from sk.po, DO NOT EDIT/' > sk.cp1250.po |
134 | |
135 # Convert zh_CN.UTF-8.po to create zh_CN.po. | |
136 zh_CN.po: zh_CN.UTF-8.po | |
137 rm -f zh_CN.po | |
138 iconv -f UTF-8 -t gb2312 zh_CN.UTF-8.po | \ | |
139 sed -e 's/charset=[uU][tT][fF]-8/charset=gb2312/' -e 's/# Original translations/# Generated from zh_CN.UTF-8.po, DO NOT EDIT/' > zh_CN.po | |
134 | 140 |
135 # Convert zh_CN.UTF-8.po to create zh_CN.cp936.po. | 141 # Convert zh_CN.UTF-8.po to create zh_CN.cp936.po. |
136 # Set 'charset' to gbk to avoid that msfmt generates a warning. | 142 # Set 'charset' to gbk to avoid that msfmt generates a warning. |
137 # This used to convert from zh_CN.po, but that results in a conversion error. | 143 # This used to convert from zh_CN.po, but that results in a conversion error. |
138 zh_CN.cp936.po: zh_CN.UTF-8.po | 144 zh_CN.cp936.po: zh_CN.UTF-8.po |