aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2010-10-29 20:26:04 +0800
committerkwm <kwm@FreeBSD.org>2010-10-29 20:26:04 +0800
commitd0434bfd5c57b1426670def9730117e28384cf33 (patch)
treea1f988b5238643731d49dece753c929e2d5e7f05 /math
parent05dce8553b87608dae96436dfa51214e5805ac39 (diff)
downloadfreebsd-ports-gnome-d0434bfd5c57b1426670def9730117e28384cf33.tar.gz
freebsd-ports-gnome-d0434bfd5c57b1426670def9730117e28384cf33.tar.zst
freebsd-ports-gnome-d0434bfd5c57b1426670def9730117e28384cf33.zip
The po/zh_CN.po contains a flaw about digits in Simplified Chinese
localization. Even in Chinese digits should be displayed as Arabic numerals but not in localized forms. PR: ports/151143 Submitted by: "Denise H. G." <darcsis@gmail.com> With Hat: gnome@
Diffstat (limited to 'math')
-rw-r--r--math/gcalctool/Makefile1
-rw-r--r--math/gcalctool/files/patch-po__zh_CN.po14
2 files changed, 15 insertions, 0 deletions
diff --git a/math/gcalctool/Makefile b/math/gcalctool/Makefile
index 1a2bf4b55639..5d2c13098eca 100644
--- a/math/gcalctool/Makefile
+++ b/math/gcalctool/Makefile
@@ -8,6 +8,7 @@
PORTNAME= gcalctool
PORTVERSION= 5.30.2
+PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= math gnome
MASTER_SITES= GNOME
diff --git a/math/gcalctool/files/patch-po__zh_CN.po b/math/gcalctool/files/patch-po__zh_CN.po
new file mode 100644
index 000000000000..5d874eb0cab9
--- /dev/null
+++ b/math/gcalctool/files/patch-po__zh_CN.po
@@ -0,0 +1,14 @@
+
+--- po/zh_CN.po.old 2010-10-02 02:25:46.507328082 +0800
++++ po/zh_CN.po 2010-10-02 02:27:12.744004376 +0800
+@@ -1028,7 +1028,7 @@
+ #. Translators: Digits localized for the given language
+ #: ../src/calctool.c:175
+ msgid "0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F"
+-msgstr "零,一,二,三,四,五,六,七,八,九,十,A,B,C,D,E,F"
++msgstr "0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F"
+
+ #: ../src/currency.h:18
+ msgid "Australian dollar"
+
+