Skip to content

Commit

Permalink
Update AUTHORS, HISTORY and README, and create locale
Browse files Browse the repository at this point in the history
  • Loading branch information
gilsondev committed Nov 4, 2015
1 parent 56d6af2 commit 1ce1412
Show file tree
Hide file tree
Showing 7 changed files with 282 additions and 5 deletions.
2 changes: 1 addition & 1 deletion AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ Development Lead
Contributors
------------

None yet. Why not be the first?
Mattias Lindvall <[email protected]>
9 changes: 8 additions & 1 deletion HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,18 @@
History
-------

1.2 (2015-11-03)
++++++++++++++++

* Create serializer helpers to Canada (Thanks Mattias Lindvall <@thnee>).

1.1 (2015-10-28)
++++++++++++++++

* Generate a *.po files to Portuguese Language.
* Generate a `*.po` files to Portuguese Language.

1.0 (2015-10-27)
++++++++++++++++++

* First release on PyPI.
* Create serializer helpers to Brazil.
3 changes: 3 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ django-rest-localflavor
.. image:: https://travis-ci.org/gilsondev/django-rest-localflavor.png?branch=master
:target: https://travis-ci.org/gilsondev/django-rest-localflavor

.. image:: http://smallactsmanifesto.org/static/images/smallacts-badge-80x15-blue.png
:target: http://smallactsmanifesto.org

Country-specific serializers fields, to Django Rest Framework

Documentation (soon)
Expand Down
2 changes: 1 addition & 1 deletion rest_localflavor/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.0'
__version__ = '1.2'
129 changes: 129 additions & 0 deletions rest_localflavor/locale/ca/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-11-04 10:21-0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: br/serializers.py:35
msgid "You can not insert a blank state."
msgstr ""

#: br/serializers.py:36
msgid "You can not insert a invalid state."
msgstr ""

#: br/serializers.py:73
msgid "Invalid CPF number."
msgstr ""

#: br/serializers.py:74
msgid "This field requires at most 11 digits or 14 characters."
msgstr ""

#: br/serializers.py:75 br/serializers.py:139
msgid "This field requires only numbers."
msgstr ""

#: br/serializers.py:76
#, python-brace-format
msgid "Ensure this field has no more than {max_length} characters."
msgstr ""

#: br/serializers.py:77
#, python-brace-format
msgid "Ensure this field has at least {min_length} characters."
msgstr ""

#: br/serializers.py:138
msgid "Invalid CNPJ number."
msgstr ""

#: br/serializers.py:140
msgid "This field requires at least 14 digits"
msgstr ""

#: br/serializers.py:187
msgid "Enter a zip code in the format XXXXX-XXX, XX.XXX-XXX or XXXXXXXX."
msgstr ""

#: ca/ca_provinces.py:6
msgid "Alberta"
msgstr ""

#: ca/ca_provinces.py:7
msgid "British Columbia"
msgstr ""

#: ca/ca_provinces.py:8
msgid "Manitoba"
msgstr ""

#: ca/ca_provinces.py:9
msgid "New Brunswick"
msgstr ""

#: ca/ca_provinces.py:10
msgid "Newfoundland and Labrador"
msgstr ""

#: ca/ca_provinces.py:11
msgid "Northwest Territories"
msgstr ""

#: ca/ca_provinces.py:12
msgid "Nova Scotia"
msgstr ""

#: ca/ca_provinces.py:13
msgid "Nunavut"
msgstr ""

#: ca/ca_provinces.py:14
msgid "Ontario"
msgstr ""

#: ca/ca_provinces.py:15
msgid "Prince Edward Island"
msgstr ""

#: ca/ca_provinces.py:16
msgid "Quebec"
msgstr ""

#: ca/ca_provinces.py:17
msgid "Saskatchewan"
msgstr ""

#: ca/ca_provinces.py:18
msgid "Yukon"
msgstr ""

#: ca/serializers.py:34
msgid "Enter a postal code in the format XXX XXX."
msgstr ""

#: ca/serializers.py:60
msgid "Phone numbers must be in XXX-XXX-XXXX format."
msgstr ""

#: ca/serializers.py:88
msgid "Enter a Canadian province or territory."
msgstr ""

#: ca/serializers.py:128
msgid "Enter a valid Canadian Social Insurance number in XXX-XXX-XXX format."
msgstr ""
70 changes: 69 additions & 1 deletion rest_localflavor/locale/en/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-10-28 17:00-0200\n"
"POT-Creation-Date: 2015-11-04 10:21-0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -58,3 +58,71 @@ msgstr ""
#: br/serializers.py:187
msgid "Enter a zip code in the format XXXXX-XXX, XX.XXX-XXX or XXXXXXXX."
msgstr ""

#: ca/ca_provinces.py:6
msgid "Alberta"
msgstr ""

#: ca/ca_provinces.py:7
msgid "British Columbia"
msgstr ""

#: ca/ca_provinces.py:8
msgid "Manitoba"
msgstr ""

#: ca/ca_provinces.py:9
msgid "New Brunswick"
msgstr ""

#: ca/ca_provinces.py:10
msgid "Newfoundland and Labrador"
msgstr ""

#: ca/ca_provinces.py:11
msgid "Northwest Territories"
msgstr ""

#: ca/ca_provinces.py:12
msgid "Nova Scotia"
msgstr ""

#: ca/ca_provinces.py:13
msgid "Nunavut"
msgstr ""

#: ca/ca_provinces.py:14
msgid "Ontario"
msgstr ""

#: ca/ca_provinces.py:15
msgid "Prince Edward Island"
msgstr ""

#: ca/ca_provinces.py:16
msgid "Quebec"
msgstr ""

#: ca/ca_provinces.py:17
msgid "Saskatchewan"
msgstr ""

#: ca/ca_provinces.py:18
msgid "Yukon"
msgstr ""

#: ca/serializers.py:34
msgid "Enter a postal code in the format XXX XXX."
msgstr ""

#: ca/serializers.py:60
msgid "Phone numbers must be in XXX-XXX-XXXX format."
msgstr ""

#: ca/serializers.py:88
msgid "Enter a Canadian province or territory."
msgstr ""

#: ca/serializers.py:128
msgid "Enter a valid Canadian Social Insurance number in XXX-XXX-XXX format."
msgstr ""
72 changes: 71 additions & 1 deletion rest_localflavor/locale/pt_BR/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-10-28 17:00-0200\n"
"POT-Creation-Date: 2015-11-04 10:21-0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Gilson Filho <[email protected]>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -59,3 +59,73 @@ msgstr "Esse campo precisa de no mínimo 14 dígitos"
#: br/serializers.py:187
msgid "Enter a zip code in the format XXXXX-XXX, XX.XXX-XXX or XXXXXXXX."
msgstr "Entre com o CEP no formato XXXXX-XXX, XX.XXX-XXX ou XXXXXXXX."

#: ca/ca_provinces.py:6
msgid "Alberta"
msgstr ""

#: ca/ca_provinces.py:7
msgid "British Columbia"
msgstr ""

#: ca/ca_provinces.py:8
msgid "Manitoba"
msgstr ""

#: ca/ca_provinces.py:9
msgid "New Brunswick"
msgstr ""

#: ca/ca_provinces.py:10
msgid "Newfoundland and Labrador"
msgstr ""

#: ca/ca_provinces.py:11
msgid "Northwest Territories"
msgstr ""

#: ca/ca_provinces.py:12
msgid "Nova Scotia"
msgstr ""

#: ca/ca_provinces.py:13
msgid "Nunavut"
msgstr ""

#: ca/ca_provinces.py:14
msgid "Ontario"
msgstr ""

#: ca/ca_provinces.py:15
msgid "Prince Edward Island"
msgstr ""

#: ca/ca_provinces.py:16
msgid "Quebec"
msgstr ""

#: ca/ca_provinces.py:17
msgid "Saskatchewan"
msgstr ""

#: ca/ca_provinces.py:18
msgid "Yukon"
msgstr ""

#: ca/serializers.py:34
#, fuzzy
#| msgid "Enter a zip code in the format XXXXX-XXX, XX.XXX-XXX or XXXXXXXX."
msgid "Enter a postal code in the format XXX XXX."
msgstr "Entre com o CEP no formato XXXXX-XXX, XX.XXX-XXX ou XXXXXXXX."

#: ca/serializers.py:60
msgid "Phone numbers must be in XXX-XXX-XXXX format."
msgstr ""

#: ca/serializers.py:88
msgid "Enter a Canadian province or territory."
msgstr ""

#: ca/serializers.py:128
msgid "Enter a valid Canadian Social Insurance number in XXX-XXX-XXX format."
msgstr ""

0 comments on commit 1ce1412

Please sign in to comment.