Skip to content

Commit 40f122c

Browse files
committed
Added contrib.postgres translation catalog
Forward port of 8c8a1a0 from stable/1.8.x.
1 parent 0f16909 commit 40f122c

File tree

4 files changed

+104
-81
lines changed

4 files changed

+104
-81
lines changed

.tx/config

+5
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ file_filter = django/contrib/messages/locale/<lang>/LC_MESSAGES/django.po
5252
source_file = django/contrib/messages/locale/en/LC_MESSAGES/django.po
5353
source_lang = en
5454

55+
[django.contrib-postgres]
56+
file_filter = django/contrib/postgres/locale/<lang>/LC_MESSAGES/django.po
57+
source_file = django/contrib/postgres/locale/en/LC_MESSAGES/django.po
58+
source_lang = en
59+
5560
[django.contrib-redirects]
5661
file_filter = django/contrib/redirects/locale/<lang>/LC_MESSAGES/django.po
5762
source_file = django/contrib/redirects/locale/en/LC_MESSAGES/django.po

django/conf/locale/en/LC_MESSAGES/django.po

+1-81
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ msgid ""
44
msgstr ""
55
"Project-Id-Version: Django\n"
66
"Report-Msgid-Bugs-To: \n"
7-
"POT-Creation-Date: 2015-01-17 11:07+0100\n"
7+
"POT-Creation-Date: 2015-01-18 20:56+0100\n"
88
"PO-Revision-Date: 2010-05-13 15:35+0200\n"
99
"Last-Translator: Django team\n"
1010
"Language-Team: English <[email protected]>\n"
@@ -349,86 +349,6 @@ msgstr ""
349349
msgid "Traditional Chinese"
350350
msgstr ""
351351

352-
#: contrib/postgres/apps.py:12
353-
msgid "PostgreSQL extensions"
354-
msgstr ""
355-
356-
#: contrib/postgres/fields/array.py:23 contrib/postgres/forms/array.py:13
357-
#: contrib/postgres/forms/array.py:143
358-
#, python-format
359-
msgid "Item %(nth)s in the array did not validate: "
360-
msgstr ""
361-
362-
#: contrib/postgres/fields/array.py:24
363-
msgid "Nested arrays must have the same length."
364-
msgstr ""
365-
366-
#: contrib/postgres/fields/hstore.py:16
367-
msgid "Map of strings to strings"
368-
msgstr ""
369-
370-
#: contrib/postgres/fields/hstore.py:18
371-
#, python-format
372-
msgid "The value of \"%(key)s\" is not a string."
373-
msgstr ""
374-
375-
#: contrib/postgres/forms/hstore.py:16
376-
msgid "Could not load JSON data."
377-
msgstr ""
378-
379-
#: contrib/postgres/forms/ranges.py:13
380-
msgid "Enter two valid values."
381-
msgstr ""
382-
383-
#: contrib/postgres/forms/ranges.py:14
384-
msgid "The start of the range must not exceed the end of the range."
385-
msgstr ""
386-
387-
#: contrib/postgres/validators.py:14
388-
#, python-format
389-
msgid ""
390-
"List contains %(show_value)d item, it should contain no more than "
391-
"%(limit_value)d."
392-
msgid_plural ""
393-
"List contains %(show_value)d items, it should contain no more than "
394-
"%(limit_value)d."
395-
msgstr[0] ""
396-
msgstr[1] ""
397-
398-
#: contrib/postgres/validators.py:21
399-
#, python-format
400-
msgid ""
401-
"List contains %(show_value)d item, it should contain no fewer than "
402-
"%(limit_value)d."
403-
msgid_plural ""
404-
"List contains %(show_value)d items, it should contain no fewer than "
405-
"%(limit_value)d."
406-
msgstr[0] ""
407-
msgstr[1] ""
408-
409-
#: contrib/postgres/validators.py:31
410-
#, python-format
411-
msgid "Some keys were missing: %(keys)s"
412-
msgstr ""
413-
414-
#: contrib/postgres/validators.py:32
415-
#, python-format
416-
msgid "Some unknown keys were provided: %(keys)s"
417-
msgstr ""
418-
419-
#: contrib/postgres/validators.py:73
420-
#, python-format
421-
msgid ""
422-
"Ensure that this range is completely less than or equal to %(limit_value)s."
423-
msgstr ""
424-
425-
#: contrib/postgres/validators.py:78
426-
#, python-format
427-
msgid ""
428-
"Ensure that this range is completely greater than or equal to "
429-
"%(limit_value)s."
430-
msgstr ""
431-
432352
#: contrib/sitemaps/apps.py:8
433353
msgid "Site Maps"
434354
msgstr ""
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3+
# This file is distributed under the same license as the PACKAGE package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5+
#
6+
#, fuzzy
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: PACKAGE VERSION\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2015-01-18 20:56+0100\n"
12+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14+
"Language-Team: LANGUAGE <[email protected]>\n"
15+
"Language: \n"
16+
"MIME-Version: 1.0\n"
17+
"Content-Type: text/plain; charset=UTF-8\n"
18+
"Content-Transfer-Encoding: 8bit\n"
19+
20+
#: contrib/postgres/apps.py:12
21+
msgid "PostgreSQL extensions"
22+
msgstr ""
23+
24+
#: contrib/postgres/fields/array.py:23 contrib/postgres/forms/array.py:13
25+
#: contrib/postgres/forms/array.py:143
26+
#, python-format
27+
msgid "Item %(nth)s in the array did not validate: "
28+
msgstr ""
29+
30+
#: contrib/postgres/fields/array.py:24
31+
msgid "Nested arrays must have the same length."
32+
msgstr ""
33+
34+
#: contrib/postgres/fields/hstore.py:16
35+
msgid "Map of strings to strings"
36+
msgstr ""
37+
38+
#: contrib/postgres/fields/hstore.py:18
39+
#, python-format
40+
msgid "The value of \"%(key)s\" is not a string."
41+
msgstr ""
42+
43+
#: contrib/postgres/forms/hstore.py:16
44+
msgid "Could not load JSON data."
45+
msgstr ""
46+
47+
#: contrib/postgres/forms/ranges.py:13
48+
msgid "Enter two valid values."
49+
msgstr ""
50+
51+
#: contrib/postgres/forms/ranges.py:14
52+
msgid "The start of the range must not exceed the end of the range."
53+
msgstr ""
54+
55+
#: contrib/postgres/validators.py:14
56+
#, python-format
57+
msgid ""
58+
"List contains %(show_value)d item, it should contain no more than "
59+
"%(limit_value)d."
60+
msgid_plural ""
61+
"List contains %(show_value)d items, it should contain no more than "
62+
"%(limit_value)d."
63+
msgstr[0] ""
64+
msgstr[1] ""
65+
66+
#: contrib/postgres/validators.py:21
67+
#, python-format
68+
msgid ""
69+
"List contains %(show_value)d item, it should contain no fewer than "
70+
"%(limit_value)d."
71+
msgid_plural ""
72+
"List contains %(show_value)d items, it should contain no fewer than "
73+
"%(limit_value)d."
74+
msgstr[0] ""
75+
msgstr[1] ""
76+
77+
#: contrib/postgres/validators.py:31
78+
#, python-format
79+
msgid "Some keys were missing: %(keys)s"
80+
msgstr ""
81+
82+
#: contrib/postgres/validators.py:32
83+
#, python-format
84+
msgid "Some unknown keys were provided: %(keys)s"
85+
msgstr ""
86+
87+
#: contrib/postgres/validators.py:73
88+
#, python-format
89+
msgid ""
90+
"Ensure that this range is completely less than or equal to %(limit_value)s."
91+
msgstr ""
92+
93+
#: contrib/postgres/validators.py:78
94+
#, python-format
95+
msgid ""
96+
"Ensure that this range is completely greater than or equal to "
97+
"%(limit_value)s."
98+
msgstr ""

0 commit comments

Comments
 (0)