mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
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 #9773)
This commit is contained in:
parent
55737c2a31
commit
774e55702f
@ -134,6 +134,7 @@ MOCONVERTED = \
|
|||||||
ru.cp1251.mo \
|
ru.cp1251.mo \
|
||||||
sk.cp1250.mo \
|
sk.cp1250.mo \
|
||||||
uk.cp1251.mo \
|
uk.cp1251.mo \
|
||||||
|
zh_CN.mo \
|
||||||
zh_CN.cp936.mo \
|
zh_CN.cp936.mo \
|
||||||
|
|
||||||
|
|
||||||
|
@ -132,6 +132,12 @@ sk.cp1250.po: sk.po
|
|||||||
iconv -f iso-8859-2 -t cp1250 sk.po | \
|
iconv -f iso-8859-2 -t cp1250 sk.po | \
|
||||||
sed -e 's/charset=ISO-8859-2/charset=cp1250/' -e 's/# Original translations/# Generated from sk.po, DO NOT EDIT/' > sk.cp1250.po
|
sed -e 's/charset=ISO-8859-2/charset=cp1250/' -e 's/# Original translations/# Generated from sk.po, DO NOT EDIT/' > sk.cp1250.po
|
||||||
|
|
||||||
|
# Convert zh_CN.UTF-8.po to create zh_CN.po.
|
||||||
|
zh_CN.po: zh_CN.UTF-8.po
|
||||||
|
rm -f zh_CN.po
|
||||||
|
iconv -f UTF-8 -t gb2312 zh_CN.UTF-8.po | \
|
||||||
|
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
|
||||||
|
|
||||||
# Convert zh_CN.UTF-8.po to create zh_CN.cp936.po.
|
# Convert zh_CN.UTF-8.po to create zh_CN.cp936.po.
|
||||||
# Set 'charset' to gbk to avoid that msfmt generates a warning.
|
# Set 'charset' to gbk to avoid that msfmt generates a warning.
|
||||||
# This used to convert from zh_CN.po, but that results in a conversion error.
|
# This used to convert from zh_CN.po, but that results in a conversion error.
|
||||||
|
@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
4380,
|
||||||
/**/
|
/**/
|
||||||
4379,
|
4379,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user