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
6fb37207
Commit
6fb37207
authored
Jan 02, 2015
by
Craig Blaszczyk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add missing period; update generated translations
parent
9f169acb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
59 additions
and
39 deletions
+59
-39
rest_framework/exceptions.py
+1
-1
rest_framework/locale/en_US/LC_MESSAGES/django.po
+58
-38
No files found.
rest_framework/exceptions.py
View file @
6fb37207
...
...
@@ -91,7 +91,7 @@ class PermissionDenied(APIException):
class
NotFound
(
APIException
):
status_code
=
status
.
HTTP_404_NOT_FOUND
default_detail
=
_
(
'Not found'
)
default_detail
=
_
(
'Not found
.
'
)
class
MethodNotAllowed
(
APIException
):
...
...
rest_framework/locale/en_US/LC_MESSAGES/django.po
View file @
6fb37207
...
...
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 201
4-12-31 13:02
+0000\n"
"POT-Creation-Date: 201
5-01-02 11:10
+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
...
...
@@ -50,24 +50,28 @@ msgid "You do not have permission to perform this action."
msgstr ""
#: rest_framework/exceptions.py:94
msgid "Not found."
msgstr ""
#: rest_framework/exceptions.py:99
#, python-format
msgid "Method '%s' not allowed."
msgstr ""
#: rest_framework/exceptions.py:1
05
#: rest_framework/exceptions.py:1
10
msgid "Could not satisfy the request Accept header."
msgstr ""
#: rest_framework/exceptions.py:1
17
#: rest_framework/exceptions.py:1
22
#, python-format
msgid "Unsupported media type '%s' in request."
msgstr ""
#: rest_framework/exceptions.py:1
28
#: rest_framework/exceptions.py:1
33
msgid "Request was throttled."
msgstr ""
#: rest_framework/exceptions.py:13
0
#: rest_framework/exceptions.py:13
5
#, python-format
msgid "Expected available in %(wait)d second."
msgid_plural "Expected available in %(wait)d seconds."
...
...
@@ -84,127 +88,127 @@ msgstr ""
msgid "This field may not be null."
msgstr ""
#: rest_framework/fields.py:48
4 rest_framework/fields.py:512
#: rest_framework/fields.py:48
0 rest_framework/fields.py:508
msgid "`{input}` is not a valid boolean."
msgstr ""
#: rest_framework/fields.py:54
7
#: rest_framework/fields.py:54
3
msgid "This field may not be blank."
msgstr ""
#: rest_framework/fields.py:54
8 rest_framework/fields.py:1249
#: rest_framework/fields.py:54
4 rest_framework/fields.py:1252
msgid "Ensure this field has no more than {max_length} characters."
msgstr ""
#: rest_framework/fields.py:54
9
#: rest_framework/fields.py:54
5
msgid "Ensure this field has at least {min_length} characters."
msgstr ""
#: rest_framework/fields.py:58
4
#: rest_framework/fields.py:58
7
msgid "Enter a valid email address."
msgstr ""
#: rest_framework/fields.py:60
1
#: rest_framework/fields.py:60
4
msgid "This value does not match the required pattern."
msgstr ""
#: rest_framework/fields.py:61
2
#: rest_framework/fields.py:61
5
msgid ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgstr ""
#: rest_framework/fields.py:62
4
#: rest_framework/fields.py:62
7
msgid "Enter a valid URL."
msgstr ""
#: rest_framework/fields.py:6
37
#: rest_framework/fields.py:6
40
msgid "A valid integer is required."
msgstr ""
#: rest_framework/fields.py:6
38 rest_framework/fields.py:672
#: rest_framework/fields.py:70
5
#: rest_framework/fields.py:6
41 rest_framework/fields.py:675
#: rest_framework/fields.py:70
8
msgid "Ensure this value is less than or equal to {max_value}."
msgstr ""
#: rest_framework/fields.py:6
39 rest_framework/fields.py:673
#: rest_framework/fields.py:70
6
#: rest_framework/fields.py:6
42 rest_framework/fields.py:676
#: rest_framework/fields.py:70
9
msgid "Ensure this value is greater than or equal to {min_value}."
msgstr ""
#: rest_framework/fields.py:64
0 rest_framework/fields.py:674
#: rest_framework/fields.py:71
0
#: rest_framework/fields.py:64
3 rest_framework/fields.py:677
#: rest_framework/fields.py:71
3
msgid "String value too large."
msgstr ""
#: rest_framework/fields.py:67
1 rest_framework/fields.py:704
#: rest_framework/fields.py:67
4 rest_framework/fields.py:707
msgid "A valid number is required."
msgstr ""
#: rest_framework/fields.py:7
07
#: rest_framework/fields.py:7
10
msgid "Ensure that there are no more than {max_digits} digits in total."
msgstr ""
#: rest_framework/fields.py:7
08
#: rest_framework/fields.py:7
11
msgid "Ensure that there are no more than {max_decimal_places} decimal places."
msgstr ""
#: rest_framework/fields.py:7
09
#: rest_framework/fields.py:7
12
msgid ""
"Ensure that there are no more than {max_whole_digits} digits before the "
"decimal point."
msgstr ""
#: rest_framework/fields.py:79
3
#: rest_framework/fields.py:79
6
msgid "Datetime has wrong format. Use one of these formats instead: {format}."
msgstr ""
#: rest_framework/fields.py:79
4
#: rest_framework/fields.py:79
7
msgid "Expected a datetime but got a date."
msgstr ""
#: rest_framework/fields.py:8
58
#: rest_framework/fields.py:8
61
msgid "Date has wrong format. Use one of these formats instead: {format}."
msgstr ""
#: rest_framework/fields.py:8
59
#: rest_framework/fields.py:8
62
msgid "Expected a date but got a datetime."
msgstr ""
#: rest_framework/fields.py:91
6
#: rest_framework/fields.py:91
9
msgid "Time has wrong format. Use one of these formats instead: {format}."
msgstr ""
#: rest_framework/fields.py:97
2 rest_framework/fields.py:1016
#: rest_framework/fields.py:97
5 rest_framework/fields.py:1019
msgid "`{input}` is not a valid choice."
msgstr ""
#: rest_framework/fields.py:10
17 rest_framework/fields.py:1118
#: rest_framework/serializers.py:47
4
#: rest_framework/fields.py:10
20 rest_framework/fields.py:1121
#: rest_framework/serializers.py:47
6
msgid "Expected a list of items but got type `{input_type}`."
msgstr ""
#: rest_framework/fields.py:10
47
#: rest_framework/fields.py:10
50
msgid "No file was submitted."
msgstr ""
#: rest_framework/fields.py:10
48
#: rest_framework/fields.py:10
51
msgid "The submitted data was not a file. Check the encoding type on the form."
msgstr ""
#: rest_framework/fields.py:10
49
#: rest_framework/fields.py:10
52
msgid "No filename could be determined."
msgstr ""
#: rest_framework/fields.py:105
0
#: rest_framework/fields.py:105
3
msgid "The submitted file is empty."
msgstr ""
#: rest_framework/fields.py:105
1
#: rest_framework/fields.py:105
4
msgid ""
"Ensure this filename has at most {max_length} characters (it has {length})."
msgstr ""
#: rest_framework/fields.py:109
3
#: rest_framework/fields.py:109
6
msgid ""
"Upload a valid image. The file you uploaded was either not an image or a "
"corrupted image."
...
...
@@ -276,3 +280,19 @@ msgstr ""
#: rest_framework/validators.py:247
msgid "This field must be unique for the \"{date_field}\" year."
msgstr ""
#: rest_framework/versioning.py:39
msgid "Invalid version in 'Accept' header."
msgstr ""
#: rest_framework/versioning.py:70 rest_framework/versioning.py:112
msgid "Invalid version in URL path."
msgstr ""
#: rest_framework/versioning.py:138
msgid "Invalid version in hostname."
msgstr ""
#: rest_framework/versioning.py:160
msgid "Invalid version in query parameter."
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