Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-rest-framework
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
django-rest-framework
Commits
0d96cf2c
Commit
0d96cf2c
authored
Jan 30, 2015
by
Tom Christie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Latest translation source messages.
parent
4ee4b4f2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
71 additions
and
57 deletions
+71
-57
docs/topics/3.1-announcement.md
+12
-4
rest_framework/locale/en_US/LC_MESSAGES/django.po
+59
-53
No files found.
docs/topics/3.1-announcement.md
View file @
0d96cf2c
#
Versioning
#
Django REST framework 3.1
# Pagination
#
#
Pagination
#
Internationalization
#
### Pagination controls in the browsable API.
# ModelSerializer API
#### New pagination schemes.
#### Support for header-based pagination.
## Versioning
## Internationalization
## ModelSerializer API
rest_framework/locale/en_US/LC_MESSAGES/django.po
View file @
0d96cf2c
...
@@ -8,7 +8,7 @@ msgid ""
...
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-01-
07 18:21
+0000\n"
"POT-Creation-Date: 2015-01-
30 16:23
+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
...
@@ -49,18 +49,6 @@ msgstr ""
...
@@ -49,18 +49,6 @@ msgstr ""
msgid "User inactive or deleted."
msgid "User inactive or deleted."
msgstr ""
msgstr ""
#: authtoken/serializers.py:20
msgid "User account is disabled."
msgstr ""
#: authtoken/serializers.py:23
msgid "Unable to log in with provided credentials."
msgstr ""
#: authtoken/serializers.py:26
msgid "Must include \"username\" and \"password\"."
msgstr ""
#: exceptions.py:38
#: exceptions.py:38
msgid "A server error occurred."
msgid "A server error occurred."
msgstr ""
msgstr ""
...
@@ -101,28 +89,28 @@ msgstr ""
...
@@ -101,28 +89,28 @@ msgstr ""
msgid "Request was throttled."
msgid "Request was throttled."
msgstr ""
msgstr ""
#: fields.py:15
2 relations.py:131 relations.py:155
validators.py:77
#: fields.py:15
3 relations.py:132 relations.py:156
validators.py:77
#: validators.py:155
#: validators.py:155
msgid "This field is required."
msgid "This field is required."
msgstr ""
msgstr ""
#: fields.py:15
3
#: fields.py:15
4
msgid "This field may not be null."
msgid "This field may not be null."
msgstr ""
msgstr ""
#: fields.py:48
0 fields.py:508
#: fields.py:48
7 fields.py:515
msgid "\"{input}\" is not a valid boolean."
msgid "\"{input}\" is not a valid boolean."
msgstr ""
msgstr ""
#: fields.py:5
43
#: fields.py:5
50
msgid "This field may not be blank."
msgid "This field may not be blank."
msgstr ""
msgstr ""
#: fields.py:5
44 fields.py:1252
#: fields.py:5
51 fields.py:1324
msgid "Ensure this field has no more than {max_length} characters."
msgid "Ensure this field has no more than {max_length} characters."
msgstr ""
msgstr ""
#: fields.py:5
45
#: fields.py:5
52
msgid "Ensure this field has at least {min_length} characters."
msgid "Ensure this field has at least {min_length} characters."
msgstr ""
msgstr ""
...
@@ -144,134 +132,140 @@ msgstr ""
...
@@ -144,134 +132,140 @@ msgstr ""
msgid "Enter a valid URL."
msgid "Enter a valid URL."
msgstr ""
msgstr ""
#: fields.py:640
#: fields.py:638
msgid "\"{value}\" is not a valid UUID."
msgstr ""
#: fields.py:657
msgid "A valid integer is required."
msgid "A valid integer is required."
msgstr ""
msgstr ""
#: fields.py:6
41 fields.py:675 fields.py:708
#: fields.py:6
58 fields.py:692 fields.py:725
msgid "Ensure this value is less than or equal to {max_value}."
msgid "Ensure this value is less than or equal to {max_value}."
msgstr ""
msgstr ""
#: fields.py:6
42 fields.py:676 fields.py:709
#: fields.py:6
59 fields.py:693 fields.py:726
msgid "Ensure this value is greater than or equal to {min_value}."
msgid "Ensure this value is greater than or equal to {min_value}."
msgstr ""
msgstr ""
#: fields.py:6
43 fields.py:677 fields.py:713
#: fields.py:6
60 fields.py:694 fields.py:730
msgid "String value too large."
msgid "String value too large."
msgstr ""
msgstr ""
#: fields.py:6
74 fields.py:707
#: fields.py:6
91 fields.py:724
msgid "A valid number is required."
msgid "A valid number is required."
msgstr ""
msgstr ""
#: fields.py:7
10
#: fields.py:7
27
msgid "Ensure that there are no more than {max_digits} digits in total."
msgid "Ensure that there are no more than {max_digits} digits in total."
msgstr ""
msgstr ""
#: fields.py:7
11
#: fields.py:7
28
msgid "Ensure that there are no more than {max_decimal_places} decimal places."
msgid "Ensure that there are no more than {max_decimal_places} decimal places."
msgstr ""
msgstr ""
#: fields.py:7
12
#: fields.py:7
29
msgid ""
msgid ""
"Ensure that there are no more than {max_whole_digits} digits before the "
"Ensure that there are no more than {max_whole_digits} digits before the "
"decimal point."
"decimal point."
msgstr ""
msgstr ""
#: fields.py:
796
#: fields.py:
813
msgid "Datetime has wrong format. Use one of these formats instead: {format}."
msgid "Datetime has wrong format. Use one of these formats instead: {format}."
msgstr ""
msgstr ""
#: fields.py:
797
#: fields.py:
814
msgid "Expected a datetime but got a date."
msgid "Expected a datetime but got a date."
msgstr ""
msgstr ""
#: fields.py:8
61
#: fields.py:8
78
msgid "Date has wrong format. Use one of these formats instead: {format}."
msgid "Date has wrong format. Use one of these formats instead: {format}."
msgstr ""
msgstr ""
#: fields.py:8
62
#: fields.py:8
79
msgid "Expected a date but got a datetime."
msgid "Expected a date but got a datetime."
msgstr ""
msgstr ""
#: fields.py:9
19
#: fields.py:9
36
msgid "Time has wrong format. Use one of these formats instead: {format}."
msgid "Time has wrong format. Use one of these formats instead: {format}."
msgstr ""
msgstr ""
#: fields.py:9
75 fields.py:1019
#: fields.py:9
92 fields.py:1036
msgid "\"{input}\" is not a valid choice."
msgid "\"{input}\" is not a valid choice."
msgstr ""
msgstr ""
#: fields.py:10
20 fields.py:1121 serializers.py:476
#: fields.py:10
37 fields.py:1151 serializers.py:482
msgid "Expected a list of items but got type \"{input_type}\"."
msgid "Expected a list of items but got type \"{input_type}\"."
msgstr ""
msgstr ""
#: fields.py:10
50
#: fields.py:10
67
msgid "No file was submitted."
msgid "No file was submitted."
msgstr ""
msgstr ""
#: fields.py:10
51
#: fields.py:10
68
msgid "The submitted data was not a file. Check the encoding type on the form."
msgid "The submitted data was not a file. Check the encoding type on the form."
msgstr ""
msgstr ""
#: fields.py:10
52
#: fields.py:10
69
msgid "No filename could be determined."
msgid "No filename could be determined."
msgstr ""
msgstr ""
#: fields.py:10
53
#: fields.py:10
70
msgid "The submitted file is empty."
msgid "The submitted file is empty."
msgstr ""
msgstr ""
#: fields.py:10
54
#: fields.py:10
71
msgid ""
msgid ""
"Ensure this filename has at most {max_length} characters (it has {length})."
"Ensure this filename has at most {max_length} characters (it has {length})."
msgstr ""
msgstr ""
#: fields.py:1
096
#: fields.py:1
113
msgid ""
msgid ""
"Upload a valid image. The file you uploaded was either not an image or a "
"Upload a valid image. The file you uploaded was either not an image or a "
"corrupted image."
"corrupted image."
msgstr ""
msgstr ""
#: generics.py:123
#: fields.py:1188
msgid ""
msgid "Expected a dictionary of items but got type \"{input_type}\"."
"Choose a valid page number. Page numbers must be a whole number, or must be "
"the string \"last\"."
msgstr ""
msgstr ""
#:
generics.py:128
#:
pagination.py:221
msgid "Invalid page \"{page_number}\": {message}."
msgid "Invalid page \"{page_number}\": {message}."
msgstr ""
msgstr ""
#:
relations.py:13
2
#:
pagination.py:44
2
msgid "Invalid
pk \"{pk_value}\" - object does not exist.
"
msgid "Invalid
cursor
"
msgstr ""
msgstr ""
#: relations.py:133
#: relations.py:133
msgid "Invalid pk \"{pk_value}\" - object does not exist."
msgstr ""
#: relations.py:134
msgid "Incorrect type. Expected pk value, received {data_type}."
msgid "Incorrect type. Expected pk value, received {data_type}."
msgstr ""
msgstr ""
#: relations.py:15
6
#: relations.py:15
7
msgid "Invalid hyperlink - No URL match."
msgid "Invalid hyperlink - No URL match."
msgstr ""
msgstr ""
#: relations.py:15
7
#: relations.py:15
8
msgid "Invalid hyperlink - Incorrect URL match."
msgid "Invalid hyperlink - Incorrect URL match."
msgstr ""
msgstr ""
#: relations.py:15
8
#: relations.py:15
9
msgid "Invalid hyperlink - Object does not exist."
msgid "Invalid hyperlink - Object does not exist."
msgstr ""
msgstr ""
#: relations.py:1
59
#: relations.py:1
60
msgid "Incorrect type. Expected URL string, received {data_type}."
msgid "Incorrect type. Expected URL string, received {data_type}."
msgstr ""
msgstr ""
#: relations.py:29
4
#: relations.py:29
5
msgid "Object with {slug_name}={value} does not exist."
msgid "Object with {slug_name}={value} does not exist."
msgstr ""
msgstr ""
#: relations.py:29
5
#: relations.py:29
6
msgid "Invalid value."
msgid "Invalid value."
msgstr ""
msgstr ""
...
@@ -314,3 +308,15 @@ msgstr ""
...
@@ -314,3 +308,15 @@ msgstr ""
#: versioning.py:160
#: versioning.py:160
msgid "Invalid version in query parameter."
msgid "Invalid version in query parameter."
msgstr ""
msgstr ""
#: authtoken/serializers.py:20
msgid "User account is disabled."
msgstr ""
#: authtoken/serializers.py:23
msgid "Unable to log in with provided credentials."
msgstr ""
#: authtoken/serializers.py:26
msgid "Must include \"username\" and \"password\"."
msgstr ""
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment