diff options
author | demon <demon@FreeBSD.org> | 2015-06-08 20:15:45 +0800 |
---|---|---|
committer | demon <demon@FreeBSD.org> | 2015-06-08 20:15:45 +0800 |
commit | 0dd3ac9dcb8aa6af14557801b1069a49b53ec416 (patch) | |
tree | 6d84f1602028b4528ba0a27ce3aa7b7f5edbe6e6 | |
parent | 42875c301d07ade6427ecac530b0f2a81fca72fe (diff) | |
download | freebsd-ports-gnome-0dd3ac9dcb8aa6af14557801b1069a49b53ec416.tar.gz freebsd-ports-gnome-0dd3ac9dcb8aa6af14557801b1069a49b53ec416.tar.zst freebsd-ports-gnome-0dd3ac9dcb8aa6af14557801b1069a49b53ec416.zip |
Fix some turkish translations;
Submitted to upstream.
-rw-r--r-- | devel/py-country/Makefile | 9 | ||||
-rw-r--r-- | devel/py-country/files/patch-src-pycountry-locales-tr-LC_MESSAGES-iso639.po | 20 |
2 files changed, 28 insertions, 1 deletions
diff --git a/devel/py-country/Makefile b/devel/py-country/Makefile index 060d07a2a37c..54fc4cfecc26 100644 --- a/devel/py-country/Makefile +++ b/devel/py-country/Makefile @@ -3,6 +3,7 @@ PORTNAME= country PORTVERSION= 1.10 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,7 +12,13 @@ DISTNAME= pycountry-${PORTVERSION} MAINTAINER= demon@FreeBSD.org COMMENT= Python API for ISO country, subdivision, language and currency -USES= python zip +USES= gettext-tools:build python zip USE_PYTHON= distutils autoplist +post-patch: + ${RM} ${WRKSRC}/src/pycountry/locales/tr/LC_MESSAGES/iso639.po.orig + +pre-build: + ${LOCALBASE}/bin/msgfmt ${WRKSRC}/src/pycountry/locales/tr/LC_MESSAGES/iso639.po -o ${WRKSRC}/src/pycountry/locales/tr/LC_MESSAGES/iso639.mo + .include <bsd.port.mk> diff --git a/devel/py-country/files/patch-src-pycountry-locales-tr-LC_MESSAGES-iso639.po b/devel/py-country/files/patch-src-pycountry-locales-tr-LC_MESSAGES-iso639.po new file mode 100644 index 000000000000..9550a50687bb --- /dev/null +++ b/devel/py-country/files/patch-src-pycountry-locales-tr-LC_MESSAGES-iso639.po @@ -0,0 +1,20 @@ +--- src/pycountry/locales/tr/LC_MESSAGES/iso639.po.bak 2015-06-08 10:50:43.014479000 +0300 ++++ src/pycountry/locales/tr/LC_MESSAGES/iso639.po 2015-06-08 10:51:52.485665000 +0300 +@@ -908,7 +908,7 @@ + + #. name for kaz, kk + msgid "Kazakh" +-msgstr "Kazak Dili" ++msgstr "Kazakça" + + #. name for kbd + msgid "Kabardian" +@@ -940,7 +940,7 @@ + + #. name for kir, ky + msgid "Kirghiz; Kyrgyz" +-msgstr "Kirghiz; Kyrgyz" ++msgstr "Kırgızca" + + #. name for kmb + msgid "Kimbundu" |