| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Yancy::I18N::en; |
|
2
|
|
|
|
|
|
|
our $VERSION = '1.087'; |
|
3
|
|
|
|
|
|
|
# ABSTRACT: English lexicon for Yancy strings |
|
4
|
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
#pod =head1 DESCRIPTION |
|
6
|
|
|
|
|
|
|
#pod |
|
7
|
|
|
|
|
|
|
#pod This is the (default) English lexicon for Yancy. Since English is the default, this is |
|
8
|
|
|
|
|
|
|
#pod largely intended to be a starting point for your own translation, listing all the |
|
9
|
|
|
|
|
|
|
#pod necessary lexicon entries and describing them. |
|
10
|
|
|
|
|
|
|
#pod |
|
11
|
|
|
|
|
|
|
#pod =head1 SEE ALSO |
|
12
|
|
|
|
|
|
|
#pod |
|
13
|
|
|
|
|
|
|
#pod L, L, L |
|
14
|
|
|
|
|
|
|
#pod |
|
15
|
|
|
|
|
|
|
#pod =cut |
|
16
|
|
|
|
|
|
|
|
|
17
|
15
|
|
|
15
|
|
10431
|
use Mojo::Base '-strict'; |
|
|
15
|
|
|
|
|
41
|
|
|
|
15
|
|
|
|
|
130
|
|
|
18
|
15
|
|
|
15
|
|
2251
|
use base 'Yancy::I18N'; |
|
|
15
|
|
|
|
|
37
|
|
|
|
15
|
|
|
|
|
4307
|
|
|
19
|
|
|
|
|
|
|
our %Lexicon = ( |
|
20
|
|
|
|
|
|
|
_AUTO => 1, |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
# Label for returning to the site from the Yancy editor |
|
23
|
|
|
|
|
|
|
'Back to Application' => 'Back to Application', |
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
# Short label for returning to the site from the Yancy editor (on |
|
26
|
|
|
|
|
|
|
# small screens) |
|
27
|
|
|
|
|
|
|
'Back' => 'Back', |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
# Display label for button to show/hide navigation panel on small |
|
30
|
|
|
|
|
|
|
# screens |
|
31
|
|
|
|
|
|
|
'Menu' => 'Menu', |
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
# ARIA Label for button to show/hide navigation panel on small screens |
|
34
|
|
|
|
|
|
|
'Toggle navigation' => 'Toggle navigation', |
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
# Label for the list of schemas/tables configured on the site |
|
37
|
|
|
|
|
|
|
'Schema' => 'Schema', |
|
38
|
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
# Label for button to reload the current page of items from the |
|
40
|
|
|
|
|
|
|
# server |
|
41
|
|
|
|
|
|
|
'Refresh' => 'Refresh', |
|
42
|
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
# Label for button to visit the x-view-url for a schema |
|
44
|
|
|
|
|
|
|
'View' => 'View', |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
# Label for button to visit the x-view-url for an item |
|
47
|
|
|
|
|
|
|
'View Item' => 'View', |
|
48
|
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
# Label for button to add a new search filter |
|
50
|
|
|
|
|
|
|
'Add Filter' => 'Add Filter', |
|
51
|
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
# Label for button to save and activate a new search filter |
|
53
|
|
|
|
|
|
|
'Add' => 'Add', |
|
54
|
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
# Label for button to remove a search filter |
|
56
|
|
|
|
|
|
|
'Remove' => 'Remove', |
|
57
|
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
# Label for button to add a new item/row to a schema |
|
59
|
|
|
|
|
|
|
'Add Item' => 'Add Item', |
|
60
|
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
# Label for an error message from server |
|
62
|
|
|
|
|
|
|
'Error from server:' => 'Error from server:', |
|
63
|
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
# Label for button to show more detailed information |
|
65
|
|
|
|
|
|
|
'Show Details' => 'Show Details', |
|
66
|
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
# Error title used when Yancy could not find any schemas to manage |
|
68
|
|
|
|
|
|
|
'No Schema Configured' => 'No Schema Configured', |
|
69
|
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
# Error description used when Yancy could not find any schemas to |
|
71
|
|
|
|
|
|
|
# manage (HTML allowed) |
|
72
|
|
|
|
|
|
|
'No Schema Configured description' => 'Please configure your data schema, or have Yancy scan your database by setting read_schema => 1.', |
|
73
|
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
# Error title used when Yancy could not fetch the API specification |
|
75
|
|
|
|
|
|
|
'Error Fetching API Spec' => 'Error Fetching API Spec', |
|
76
|
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
# Error description used when Yancy could not fetch the API |
|
78
|
|
|
|
|
|
|
# specification |
|
79
|
|
|
|
|
|
|
'Error Fetching API Spec description' => 'Please check the logs, fix the error, and reload the page.', |
|
80
|
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
# Error title used when Yancy fails to get requested data |
|
82
|
|
|
|
|
|
|
'Error Fetching Data' => 'Error Fetching Data', |
|
83
|
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
# Error title used when Yancy fails to add an item |
|
85
|
|
|
|
|
|
|
'Error Adding Item' => 'Error Adding Item', |
|
86
|
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
# Error title used when the user tries to submit invalid data |
|
88
|
|
|
|
|
|
|
'Data validation failed' => 'Data validation failed', |
|
89
|
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
# Error title used when the server encounters an unknown error |
|
91
|
|
|
|
|
|
|
'Internal server error' => 'Internal server error', |
|
92
|
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
# OpenAPI description of the '$match' parameter for list actions |
|
94
|
|
|
|
|
|
|
'OpenAPI $match description' => 'How to combine the filtering of multiple columns. Use "any" to see items that match at least one of the filters. Use "all" to see items that match all filters.', |
|
95
|
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
# OpenAPI description of the '$order_by' parameter for list actions |
|
97
|
|
|
|
|
|
|
'OpenAPI $order_by description' => 'How to sort the list. A string containing one of "asc" (to sort in ascending order) or "desc" (to sort in descending order), followed by a ":", followed by the field name to sort by.', |
|
98
|
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
# OpenAPI description of the '$offset' parameter for list actions |
|
100
|
|
|
|
|
|
|
'OpenAPI $offset description' => 'The index (0-based) to start returning items.', |
|
101
|
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
# OpenAPI description of the '$limit' parameter for list actions |
|
103
|
|
|
|
|
|
|
'OpenAPI $limit description' => 'The number of items to return.', |
|
104
|
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
# OpenAPI description for a filter query parameter |
|
106
|
|
|
|
|
|
|
# Gets one parameter: The name of the field. |
|
107
|
|
|
|
|
|
|
'OpenAPI filter description' => 'Filter the list by the [_1] field.', |
|
108
|
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
# Additional text in the OpenAPI description for a filter query parameter (number/integer) |
|
110
|
|
|
|
|
|
|
'OpenAPI filter number description' => 'Looks for records where the number is equal to the value.', |
|
111
|
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
# Additional text in the OpenAPI description for a filter query parameter (boolean) |
|
113
|
|
|
|
|
|
|
'OpenAPI filter boolean description' => 'Looks for records where the boolean is true/false.', |
|
114
|
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
# Additional text in the OpenAPI description for a filter query parameter (string) |
|
116
|
|
|
|
|
|
|
'OpenAPI filter string description' => 'By default, looks for records containing the value anywhere in the column. Use "*" anywhere in the value to anchor the match.', |
|
117
|
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
# Additional text in the OpenAPI description for a filter query parameter (array) |
|
119
|
|
|
|
|
|
|
'OpenAPI filter array description' => 'Looks for records where the array contains the value.', |
|
120
|
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
# Description of the total field returned by the "list" action |
|
122
|
|
|
|
|
|
|
'OpenAPI list total description' => 'The total number of items available.', |
|
123
|
|
|
|
|
|
|
# Description of the items array returned by the "list" action |
|
124
|
|
|
|
|
|
|
'OpenAPI list items description' => 'This page of items', |
|
125
|
|
|
|
|
|
|
# Description of the offset field returned by the "list" action |
|
126
|
|
|
|
|
|
|
'OpenAPI list offset description' => 'The starting offset for this page of items.', |
|
127
|
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
# Description of the error object for OpenAPI responses |
|
129
|
|
|
|
|
|
|
'Unexpected error' => 'Unexpected error', |
|
130
|
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
# Description of the 'get' action in the OpenAPI schema |
|
132
|
|
|
|
|
|
|
'OpenAPI get description' => 'Fetch a single item', |
|
133
|
|
|
|
|
|
|
# Description of the 'list' action in the OpenAPI schema |
|
134
|
|
|
|
|
|
|
'OpenAPI list description' => 'Fetch a single item', |
|
135
|
|
|
|
|
|
|
# Description of the 'update' action in the OpenAPI schema |
|
136
|
|
|
|
|
|
|
'OpenAPI update description' => 'Update a single item', |
|
137
|
|
|
|
|
|
|
# Description of the 'create' action in the OpenAPI schema |
|
138
|
|
|
|
|
|
|
'OpenAPI create description' => 'Fetch a single item', |
|
139
|
|
|
|
|
|
|
# Description of the 'delete' action in the OpenAPI schema |
|
140
|
|
|
|
|
|
|
'OpenAPI delete description' => 'Delete a single item', |
|
141
|
|
|
|
|
|
|
# Description of a successful 'get' response in the OpenAPI schema |
|
142
|
|
|
|
|
|
|
'OpenAPI get response' => 'Item details', |
|
143
|
|
|
|
|
|
|
# Description of a successful 'list' response in the OpenAPI schema |
|
144
|
|
|
|
|
|
|
'OpenAPI list response' => 'Query results', |
|
145
|
|
|
|
|
|
|
# Description of a successful 'update' response in the OpenAPI schema |
|
146
|
|
|
|
|
|
|
'OpenAPI update response' => 'Item was updated', |
|
147
|
|
|
|
|
|
|
# Description of a successful 'create' response in the OpenAPI schema |
|
148
|
|
|
|
|
|
|
'OpenAPI create response' => 'Item was created', |
|
149
|
|
|
|
|
|
|
# Description of a successful 'delete' response in the OpenAPI schema |
|
150
|
|
|
|
|
|
|
'OpenAPI delete response' => 'Item was deleted', |
|
151
|
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
# Title of OpenAPI error object |
|
153
|
|
|
|
|
|
|
'OpenAPI error object' => 'OpenAPI Error Object', |
|
154
|
|
|
|
|
|
|
# Description of message field in OpenAPI error object |
|
155
|
|
|
|
|
|
|
'OpenAPI error message' => 'Human readable description of the error', |
|
156
|
|
|
|
|
|
|
# Description of path field in OpenAPI error object |
|
157
|
|
|
|
|
|
|
'OpenAPI error path' => 'JSON pointer to the input data where the error occur', |
|
158
|
|
|
|
|
|
|
); |
|
159
|
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
1; |
|
161
|
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
__END__ |