Skip to content

Commit 43d7801

Browse files
fix russian messages
1 parent 6d4c193 commit 43d7801

File tree

3 files changed

+21
-15
lines changed

3 files changed

+21
-15
lines changed

checker/localizations/localizations.go

Lines changed: 6 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

checker/localizations_src/ru/messages.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ in: в
33
request-body-added-required: добавлено обязательное тело запроса
44
request-body-added-optional: добавлено необязательное тело запроса
55
request-parameter-removed: удалён %s параметр запроса %s
6-
total-errors: "%s критические изменения: %s %s, %s %s\\n"
7-
total-changes: "%s изменений: %s %s, %s %s, %s %s\\n"
6+
total-errors: "%d критические изменения: %d %s, %d %s\\n"
7+
total-changes: "%d изменений: %d %s, %d %s, %d %s\\n"
88
request-parameter-pattern-added: добавлен pattern %s у %s параметра запроса %s
99
request-parameter-pattern-removed: удалён pattern %s у %s параметра запроса %s
1010
request-parameter-pattern-changed: изменён pattern у %s параметра запроса %s со значения %s на значение %s
@@ -20,6 +20,9 @@ api-invalid-stability-level: "не удалось разобрать урове
2020
api-deprecated-sunset-missing: "API устарел без даты прекращения действия"
2121
api-sunset-date-too-small: дата API sunset date %s слишком ранняя, должно быть как минимум %s дней от текущего дня
2222
api-path-added: API path добавлено
23+
endpoint-added: эндпоинт добавлен
24+
endpoint-deprecated: эндпоинт устарел
25+
endpoint-reactivated: эндпоинт реактивирован
2326
api-path-deprecated: API path deprecated
2427
api-path-reactivated: API path реактивирован
2528
api-path-removed-without-deprecation: API path удалён без процедуры deprecation

docs/BREAKING-CHANGES-EXAMPLES.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# Examples of Breaking and Non-Breaking Changes
22
These examples are automatically generated from unit tests.
33
## Examples of breaking changes
4-
[Deleting a value from an x-extensible-enum parameter is breaking](../checker/check_request_parameter_x_extensible_enum_value_removed_test.go?plain=1#L11)
5-
[Deleting a value from an x-extensible-enum property is breaking](../checker/check_request_property_x_extensible_enum_value_removed_test.go?plain=1#L11)
64
[adding 'allOf' subschema to the request body or request body property is breaking](../checker/check_breaking_test.go?plain=1#L703)
75
[adding 'oneOf' schema to the response body or response body property is breaking](../checker/check_response_property_one_of_updated_test.go?plain=1#L12)
86
[adding a new required property in request body is breaking](../checker/check_breaking_property_test.go?plain=1#L353)
@@ -60,6 +58,8 @@ These examples are automatically generated from unit tests.
6058
[deleting a required property in request is breaking with warn](../checker/check_breaking_property_test.go?plain=1#L369)
6159
[deleting a required property in response body is breaking](../checker/check_breaking_property_test.go?plain=1#L421)
6260
[deleting a required property under AllOf in response body is breaking](../checker/check_breaking_property_test.go?plain=1#L451)
61+
[Deleting a value from an x-extensible-enum parameter is breaking](../checker/check_request_parameter_x_extensible_enum_value_removed_test.go?plain=1#L11)
62+
[Deleting a value from an x-extensible-enum property is breaking](../checker/check_request_property_x_extensible_enum_value_removed_test.go?plain=1#L11)
6363
[deleting an embedded optional property in request is breaking with warn](../checker/check_breaking_property_test.go?plain=1#L386)
6464
[deleting an enum value is breaking](../checker/check_breaking_test.go?plain=1#L77)
6565
[deleting an operation before sunset date is breaking](../checker/check_api_removed_test.go?plain=1#L51)
@@ -174,8 +174,8 @@ These examples are automatically generated from unit tests.
174174
[increasing min items in response is not breaking](../checker/check_breaking_min_max_test.go?plain=1#L250)
175175
[increasing stability level is not breaking](../checker/checker_test.go?plain=1#L33)
176176
[modifying a media type name in response to make it more specific is not breaking](../checker/check_response_mediatype_name_updated_test.go?plain=1#L26)
177-
[modifying a pattern to ".*" in a schema is not breaking](../checker/check_breaking_test.go?plain=1#L532)
178177
[modifying a pattern to .* in a schema is not breaking](../checker/check_breaking_test.go?plain=1#L501)
178+
[modifying a pattern to ".*" in a schema is not breaking](../checker/check_breaking_test.go?plain=1#L532)
179179
[modifying the default value of a required request parameter is not breaking](../checker/check_breaking_test.go?plain=1#L600)
180180
[new optional header param is not breaking](../checker/check_not_breaking_test.go?plain=1#L118)
181181
[new optional property in request header is not breaking](../checker/check_breaking_property_test.go?plain=1#L39)
@@ -300,15 +300,15 @@ These examples are automatically generated from unit tests.
300300
[decreasing max length of request body](../checker/check_request_property_max_length_updated_test.go?plain=1#L40)
301301
[decreasing max length of request property](../checker/check_request_property_max_length_updated_test.go?plain=1#L68)
302302
[decreasing max length of request read-only property](../checker/check_request_property_max_length_updated_test.go?plain=1#L96)
303+
[decreasing maximum value of request parameter](../checker/check_request_parameters_max_updated_test.go?plain=1#L34)
303304
[decreasing maxItems of request parameters](../checker/check_request_parameters_max_items_updated_test.go?plain=1#L35)
304305
[decreasing maxLength of request parameters](../checker/check_request_parameters_max_length_updated_test.go?plain=1#L33)
305-
[decreasing maximum value of request parameter](../checker/check_request_parameters_max_updated_test.go?plain=1#L34)
306+
[decreasing minimum value of request parameter](../checker/check_request_parameters_min_updated_test.go?plain=1#L34)
307+
[decreasing minimum value of request property](../checker/check_request_property_min_updated_test.go?plain=1#L60)
306308
[decreasing minItems value of request parameter](../checker/check_request_parameters_min_items_updated_test.go?plain=1#L34)
307309
[decreasing minLength of request body](../checker/check_request_property_min_length_updated_test.go?plain=1#L84)
308310
[decreasing minLength of request property](../checker/check_request_property_min_length_updated_test.go?plain=1#L12)
309311
[decreasing minLength value of request parameter](../checker/check_request_parameters_min_length_updated_test.go?plain=1#L35)
310-
[decreasing minimum value of request parameter](../checker/check_request_parameters_min_updated_test.go?plain=1#L34)
311-
[decreasing minimum value of request property](../checker/check_request_property_min_updated_test.go?plain=1#L60)
312312
[decreasing request body maximum value](../checker/check_request_property_max_updated_test.go?plain=1#L119)
313313
[decreasing request property maximum value](../checker/check_request_property_max_updated_test.go?plain=1#L12)
314314
[decreasing request read-only property maximum value](../checker/check_request_property_max_updated_test.go?plain=1#L38)
@@ -319,16 +319,16 @@ These examples are automatically generated from unit tests.
319319
[generalizing request's query param property type from integer to number](../checker/check_request_parameters_type_changed_test.go?plain=1#L242)
320320
[increasing max length of request body](../checker/check_request_property_max_length_updated_test.go?plain=1#L12)
321321
[increasing max length of request property](../checker/check_request_property_max_length_updated_test.go?plain=1#L126)
322+
[increasing maximum value of request parameter](../checker/check_request_parameters_max_updated_test.go?plain=1#L12)
322323
[increasing maxItems of request parameters](../checker/check_request_parameters_max_items_updated_test.go?plain=1#L13)
323324
[increasing maxLength of request parameters](../checker/check_request_parameters_max_length_updated_test.go?plain=1#L12)
324-
[increasing maximum value of request parameter](../checker/check_request_parameters_max_updated_test.go?plain=1#L12)
325+
[increasing minimum value of request parameter](../checker/check_request_parameters_min_updated_test.go?plain=1#L12)
326+
[increasing minimum value of request property](../checker/check_request_property_min_updated_test.go?plain=1#L12)
327+
[increasing minimum value of request read-only property](../checker/check_request_property_min_updated_test.go?plain=1#L35)
325328
[increasing minItems value of request parameter](../checker/check_request_parameters_min_items_updated_test.go?plain=1#L12)
326329
[increasing minLength of request body](../checker/check_request_property_min_length_updated_test.go?plain=1#L60)
327330
[increasing minLength of request property](../checker/check_request_property_min_length_updated_test.go?plain=1#L36)
328331
[increasing minLength value of request parameter](../checker/check_request_parameters_min_length_updated_test.go?plain=1#L12)
329-
[increasing minimum value of request parameter](../checker/check_request_parameters_min_updated_test.go?plain=1#L12)
330-
[increasing minimum value of request property](../checker/check_request_property_min_updated_test.go?plain=1#L12)
331-
[increasing minimum value of request read-only property](../checker/check_request_property_min_updated_test.go?plain=1#L35)
332332
[increasing request body maximum value](../checker/check_request_property_max_updated_test.go?plain=1#L91)
333333
[increasing request property maximum value](../checker/check_request_property_max_updated_test.go?plain=1#L65)
334334
[making request property required, while also giving it a default value](../checker/check_request_property_required_updated_test.go?plain=1#L58)

0 commit comments

Comments
 (0)