117
117
<resheader name =" writer" >
118
118
<value >System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value >
119
119
</resheader >
120
- <data name =" ArgumentMustBeGreaterThanOrEqualTo" xml : space =" preserve" >
121
- <value >Value must be greater than or equal to {0}.</value >
122
- </data >
123
120
<data name =" RangeConstraint_MinShouldBeLessThanOrEqualToMax" xml : space =" preserve" >
124
121
<value >The value for argument '{0}' should be less than or equal to the value for the argument '{1}'.</value >
125
122
</data >
126
- <data name =" PropertyOfTypeCannotBeNull" xml : space =" preserve" >
127
- <value >The '{0}' property of '{1}' must not be null.</value >
128
- </data >
129
- <data name =" NamedRoutes_AmbiguousRoutesFound" xml : space =" preserve" >
130
- <value >The supplied route name '{0}' is ambiguous and matched more than one route.</value >
131
- </data >
132
- <data name =" DefaultHandler_MustBeSet" xml : space =" preserve" >
133
- <value >A default handler must be set on the {0}.</value >
134
- </data >
135
123
<data name =" DefaultInlineConstraintResolver_AmbiguousCtors" xml : space =" preserve" >
136
124
<value >The constructor to use for activating the constraint type '{0}' is ambiguous. Multiple constructors were found with the following number of parameters: {1}.</value >
137
125
</data >
141
129
<data name =" DefaultInlineConstraintResolver_TypeNotConstraint" xml : space =" preserve" >
142
130
<value >The constraint type '{0}' which is mapped to constraint key '{1}' must implement the '{2}' interface.</value >
143
131
</data >
132
+ <data name =" RouteConstraintBuilder_ValidationMustBeStringOrCustomConstraint" xml : space =" preserve" >
133
+ <value >The constraint entry '{0}' - '{1}' on the route '{2}' must have a string value or be of a type which implements '{3}'.</value >
134
+ </data >
135
+ <data name =" RouteConstraintBuilder_CouldNotResolveConstraint" xml : space =" preserve" >
136
+ <value >The constraint entry '{0}' - '{1}' on the route '{2}' could not be resolved by the constraint resolver of type '{3}'.</value >
137
+ </data >
138
+ <data name =" RoutePatternBuilder_CollectionCannotBeEmpty" xml : space =" preserve" >
139
+ <value >The collection cannot be empty.</value >
140
+ </data >
141
+ <data name =" ConstraintMustBeStringOrConstraint" xml : space =" preserve" >
142
+ <value >The constraint entry '{0}' - '{1}' must have a string value or be of a type which implements '{2}'.</value >
143
+ </data >
144
+ <data name =" RoutePattern_InvalidConstraintReference" xml : space =" preserve" >
145
+ <value >Invalid constraint '{0}'. A constraint must be of type 'string' or '{1}'.</value >
146
+ </data >
147
+ <data name =" RoutePattern_InvalidParameterConstraintReference" xml : space =" preserve" >
148
+ <value >Invalid constraint '{0}' for parameter '{1}'. A constraint must be of type 'string', '{2}', or '{3}'.</value >
149
+ </data >
150
+ <data name =" RoutePattern_ConstraintReferenceNotFound" xml : space =" preserve" >
151
+ <value >The constraint reference '{0}' could not be resolved to a type. Register the constraint type with '{1}.{2}'.</value >
152
+ </data >
153
+ <data name =" RoutePattern_InvalidStringConstraintReference" xml : space =" preserve" >
154
+ <value >Invalid constraint type '{0}' registered as '{1}'. A constraint type must either implement '{2}', or inherit from '{3}'.</value >
155
+ </data >
156
+ <data name =" RegexRouteContraint_NotConfigured" xml : space =" preserve" >
157
+ <value >A route parameter uses the regex constraint, which isn't registered. If this application was configured using CreateSlimBuilder(...) or AddRoutingCore(...) then this constraint is not registered by default. To use the regex constraint, configure route options at app startup: services.Configure< RouteOptions> (options => options.SetParameterPolicy< RegexInlineRouteConstraint> ("regex"));</value >
158
+ </data >
159
+ <data name =" ArgumentMustBeGreaterThanOrEqualTo" xml : space =" preserve" >
160
+ <value >Value must be greater than or equal to {0}.</value >
161
+ </data >
162
+ <data name =" Argument_NullOrEmpty" xml : space =" preserve" >
163
+ <value >Value cannot be null or empty.</value >
164
+ </data >
144
165
<data name =" TemplateRoute_CannotHaveCatchAllInMultiSegment" xml : space =" preserve" >
145
166
<value >A path segment that contains more than one section, such as a literal section or a parameter, cannot contain a catch-all parameter.</value >
146
167
</data >
147
- <data name =" TemplateRoute_CannotHaveDefaultValueSpecifiedInlineAndExplicitly" xml : space =" preserve" >
148
- <value >The route parameter '{0}' has both an inline default value and an explicit default value specified. A route parameter cannot contain an inline default value when a default value is specified explicitly. Consider removing one of them.</value >
149
- </data >
150
168
<data name =" TemplateRoute_CannotHaveConsecutiveParameters" xml : space =" preserve" >
151
169
<value >A path segment cannot contain two consecutive parameters. They must be separated by a '/' or by a literal string.</value >
152
170
</data >
153
171
<data name =" TemplateRoute_CannotHaveConsecutiveSeparators" xml : space =" preserve" >
154
172
<value >The route template separator character '/' cannot appear consecutively. It must be separated by either a parameter or a literal value.</value >
155
173
</data >
174
+ <data name =" TemplateRoute_CannotHaveDefaultValueSpecifiedInlineAndExplicitly" xml : space =" preserve" >
175
+ <value >The route parameter '{0}' has both an inline default value and an explicit default value specified. A route parameter cannot contain an inline default value when a default value is specified explicitly. Consider removing one of them.</value >
176
+ </data >
156
177
<data name =" TemplateRoute_CatchAllCannotBeOptional" xml : space =" preserve" >
157
178
<value >A catch-all parameter cannot be marked optional.</value >
158
179
</data >
159
- <data name =" TemplateRoute_OptionalCannotHaveDefaultValue" xml : space =" preserve" >
160
- <value >An optional parameter cannot have default value.</value >
161
- </data >
162
180
<data name =" TemplateRoute_CatchAllMustBeLast" xml : space =" preserve" >
163
181
<value >A catch-all parameter can only appear as the last segment of the route template.</value >
164
182
</data >
183
+ <data name =" TemplateRoute_Exception" xml : space =" preserve" >
184
+ <value >An error occurred while creating the route with name '{0}' and template '{1}'.</value >
185
+ </data >
165
186
<data name =" TemplateRoute_InvalidLiteral" xml : space =" preserve" >
166
187
<value >The literal section '{0}' is invalid. Literal sections cannot contain the '?' character.</value >
167
188
</data >
174
195
<data name =" TemplateRoute_MismatchedParameter" xml : space =" preserve" >
175
196
<value >There is an incomplete parameter in the route template. Check that each '{' character has a matching '}' character.</value >
176
197
</data >
177
- <data name =" TemplateRoute_RepeatedParameter" xml : space =" preserve" >
178
- <value >The route parameter name '{0}' appears more than one time in the route template.</value >
179
- </data >
180
- <data name =" RouteConstraintBuilder_ValidationMustBeStringOrCustomConstraint" xml : space =" preserve" >
181
- <value >The constraint entry '{0}' - '{1}' on the route '{2}' must have a string value or be of a type which implements '{3}'.</value >
182
- </data >
183
- <data name =" RouteConstraintBuilder_CouldNotResolveConstraint" xml : space =" preserve" >
184
- <value >The constraint entry '{0}' - '{1}' on the route '{2}' could not be resolved by the constraint resolver of type '{3}'.</value >
185
- </data >
186
- <data name =" TemplateRoute_UnescapedBrace" xml : space =" preserve" >
187
- <value >In a route parameter, '{' and '}' must be escaped with '{{' and '}}'.</value >
198
+ <data name =" TemplateRoute_OptionalCannotHaveDefaultValue" xml : space =" preserve" >
199
+ <value >An optional parameter cannot have default value.</value >
188
200
</data >
189
201
<data name =" TemplateRoute_OptionalParameterCanbBePrecededByPeriod" xml : space =" preserve" >
190
202
<value >In the segment '{0}', the optional parameter '{1}' is preceded by an invalid segment '{2}'. Only a period (.) can precede an optional parameter.</value >
191
203
</data >
192
204
<data name =" TemplateRoute_OptionalParameterHasTobeTheLast" xml : space =" preserve" >
193
205
<value >An optional parameter must be at the end of the segment. In the segment '{0}', optional parameter '{1}' is followed by '{2}'.</value >
194
206
</data >
195
- <data name =" AttributeRoute_DifferentLinkGenerationEntries_SameName" xml : space =" preserve" >
196
- <value >Two or more routes named '{0}' have different templates.</value >
197
- </data >
198
- <data name =" UnableToFindServices" xml : space =" preserve" >
199
- <value >Unable to find the required services. Please add all the required services by calling '{0}.{1}' inside the call to '{2}' in the application startup code.</value >
200
- </data >
201
- <data name =" TemplateRoute_Exception" xml : space =" preserve" >
202
- <value >An error occurred while creating the route with name '{0}' and template '{1}'.</value >
203
- </data >
204
- <data name =" AmbiguousEndpoints" xml : space =" preserve" >
205
- <value >The request matched multiple endpoints. Matches: {0}{0}{1}</value >
206
- </data >
207
- <data name =" Argument_NullOrEmpty" xml : space =" preserve" >
208
- <value >Value cannot be null or empty.</value >
209
- </data >
210
- <data name =" RoutePatternBuilder_CollectionCannotBeEmpty" xml : space =" preserve" >
211
- <value >The collection cannot be empty.</value >
212
- </data >
213
- <data name =" ConstraintMustBeStringOrConstraint" xml : space =" preserve" >
214
- <value >The constraint entry '{0}' - '{1}' must have a string value or be of a type which implements '{2}'.</value >
215
- </data >
216
- <data name =" RoutePattern_InvalidConstraintReference" xml : space =" preserve" >
217
- <value >Invalid constraint '{0}'. A constraint must be of type 'string' or '{1}'.</value >
218
- </data >
219
- <data name =" RoutePattern_InvalidParameterConstraintReference" xml : space =" preserve" >
220
- <value >Invalid constraint '{0}' for parameter '{1}'. A constraint must be of type 'string', '{2}', or '{3}'.</value >
221
- </data >
222
- <data name =" RoutePattern_ConstraintReferenceNotFound" xml : space =" preserve" >
223
- <value >The constraint reference '{0}' could not be resolved to a type. Register the constraint type with '{1}.{2}'.</value >
224
- </data >
225
- <data name =" RoutePattern_InvalidStringConstraintReference" xml : space =" preserve" >
226
- <value >Invalid constraint type '{0}' registered as '{1}'. A constraint type must either implement '{2}', or inherit from '{3}'.</value >
227
- </data >
228
- <data name =" DuplicateEndpointNameEntry" xml : space =" preserve" >
229
- <value >Endpoints with endpoint name '{0}':</value >
230
- </data >
231
- <data name =" DuplicateEndpointNameHeader" xml : space =" preserve" >
232
- <value >The following endpoints with a duplicate endpoint name were found.</value >
233
- </data >
234
- <data name =" FormatterMapping_MediaTypeInvalid" xml : space =" preserve" >
235
- <value >No media type found for format '{0}'.</value >
236
- </data >
237
- <data name =" MapGroup_ChangingRoutePatternUnsupported" xml : space =" preserve" >
238
- <value >MapGroup does not support mutating RouteEndpointBuilder.RoutePattern from '{0}' to '{1}' via conventions.</value >
239
- </data >
240
- <data name =" MapGroup_CustomEndpointUnsupported" xml : space =" preserve" >
241
- <value >MapGroup does not support custom Endpoint type '{0}'. Only RouteEndpoints can be grouped.</value >
242
- </data >
243
- <data name =" MapGroup_RepeatedDictionaryEntry" xml : space =" preserve" >
244
- <value >MapGroup cannot build a pattern for '{0}' because the 'RoutePattern.{1}' dictionary key '{2}' has multiple values.</value >
245
- </data >
246
- <data name =" RouteEndpointDataSource_ConventionsCannotBeModifiedAfterBuild" xml : space =" preserve" >
247
- <value >Conventions cannot be added after building the endpoint.</value >
248
- </data >
249
- <data name =" RouteEndpointDataSource_RequestDelegateCannotBeCalledBeforeBuild" xml : space =" preserve" >
250
- <value >This RequestDelegate cannot be called before the final endpoint is built.</value >
207
+ <data name =" TemplateRoute_RepeatedParameter" xml : space =" preserve" >
208
+ <value >The route parameter name '{0}' appears more than one time in the route template.</value >
251
209
</data >
252
- <data name =" RegexRouteContraint_NotConfigured " xml : space =" preserve" >
253
- <value >A route parameter uses the regex constraint, which isn't registered. If this application was configured using CreateSlimBuilder(...) or AddRoutingCore(...) then this constraint is not registered by default. To use the regex constraint, configure route options at app startup: services.Configure < RouteOptions > (options = > options.SetParameterPolicy < RegexInlineRouteConstraint > ("regex")); </value >
210
+ <data name =" TemplateRoute_UnescapedBrace " xml : space =" preserve" >
211
+ <value >In a route parameter, '{' and '}' must be escaped with '{{' and '}}'. </value >
254
212
</data >
255
213
</root >
0 commit comments