Skip to content

Commit 147c3cb

Browse files
committed
chore: create translated file
1 parent fbf3d28 commit 147c3cb

26 files changed

+645
-219
lines changed

scripts/data/translated-api.json

Lines changed: 209 additions & 72 deletions
Large diffs are not rendered by default.

scripts/data/translated-cache.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1442,6 +1442,21 @@
14421442
"Text that is placed under the toggle label and displayed when an error is detected.": "Text that is placed under the toggle label and displayed when an error is detected.",
14431443
"The container for the default slot, wrapping content provided without a named slot.": "The container for the default slot, wrapping content provided without a named slot.",
14441444
"The container that wraps all toolbar content, including the default slot and named slot content.": "The container that wraps all toolbar content, including the default slot and named slot content.",
1445-
"The background of the toolbar, covering the entire area behind the toolbar content.": "The background of the toolbar, covering the entire area behind the toolbar content."
1445+
"The background of the toolbar, covering the entire area behind the toolbar content.": "The background of the toolbar, covering the entire area behind the toolbar content.",
1446+
"Dismiss the action sheet overlay after it has been presented. This is a no-op if the overlay has not been presented yet. If you want to remove an overlay from the DOM that was never presented, use the [remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method.": "Dismiss the action sheet overlay after it has been presented. This is a no-op if the overlay has not been presented yet. If you want to remove an overlay from the DOM that was never presented, use the [remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method.",
1447+
"Dismiss the alert overlay after it has been presented. This is a no-op if the overlay has not been presented yet. If you want to remove an overlay from the DOM that was never presented, use the [remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method.": "Dismiss the alert overlay after it has been presented. This is a no-op if the overlay has not been presented yet. If you want to remove an overlay from the DOM that was never presented, use the [remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method.",
1448+
"Dismiss the loading overlay after it has been presented. This is a no-op if the overlay has not been presented yet. If you want to remove an overlay from the DOM that was never presented, use the [remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method.": "Dismiss the loading overlay after it has been presented. This is a no-op if the overlay has not been presented yet. If you want to remove an overlay from the DOM that was never presented, use the [remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method.",
1449+
"Returns `true` if the menu is active. A menu is active when it can be opened or closed, meaning it's enabled and it's not part of a `ion-split-pane`.": "Returns `true` if the menu is active. A menu is active when it can be opened or closed, meaning it's enabled and it's not part of a `ion-split-pane`.",
1450+
"Opens or closes the menu. If the operation can't be completed successfully, it returns `false`.": "Opens or closes the menu. If the operation can't be completed successfully, it returns `false`.",
1451+
"Dismiss the modal overlay after it has been presented. This is a no-op if the overlay has not been presented yet. If you want to remove an overlay from the DOM that was never presented, use the [remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method.": "Dismiss the modal overlay after it has been presented. This is a no-op if the overlay has not been presented yet. If you want to remove an overlay from the DOM that was never presented, use the [remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method.",
1452+
"Move a sheet style modal to a specific breakpoint.": "Move a sheet style modal to a specific breakpoint.",
1453+
"Dismiss the popover overlay after it has been presented. This is a no-op if the overlay has not been presented yet. If you want to remove an overlay from the DOM that was never presented, use the [remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method.": "Dismiss the popover overlay after it has been presented. This is a no-op if the overlay has not been presented yet. If you want to remove an overlay from the DOM that was never presented, use the [remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method.",
1454+
"Event that needs to be listened to in order to complete the reorder action.": "Event that needs to be listened to in order to complete the reorder action.",
1455+
"Completes the reorder operation. Must be called by the `ionReorderEnd` event. If a list of items is passed, the list will be reordered and returned in the proper order. If no parameters are passed or if `true` is passed in, the reorder will complete and the item will remain in the position it was dragged to. If `false` is passed, the reorder will complete and the item will bounce back to its original position.": "Completes the reorder operation. Must be called by the `ionReorderEnd` event. If a list of items is passed, the list will be reordered and returned in the proper order. If no parameters are passed or if `true` is passed in, the reorder will complete and the item will remain in the position it was dragged to. If `false` is passed, the reorder will complete and the item will bounce back to its original position.",
1456+
"Event that is emitted when the reorder gesture ends. The from and to properties are always available, regardless of if the reorder gesture moved the item. If the item did not change from its start position, the from and to properties will be the same. Once the event has been emitted, the `complete()` method then needs to be called in order to finalize the reorder action.": "Event that is emitted when the reorder gesture ends. The from and to properties are always available, regardless of if the reorder gesture moved the item. If the item did not change from its start position, the from and to properties will be the same. Once the event has been emitted, the `complete()` method then needs to be called in order to finalize the reorder action.",
1457+
"Event that is emitted as the reorder gesture moves.": "Event that is emitted as the reorder gesture moves.",
1458+
"Event that is emitted when the reorder gesture starts.": "Event that is emitted when the reorder gesture starts.",
1459+
"Sets focus on the native `input` in `ion-searchbar`. Use this method instead of the global `input.focus()`. Developers who wish to focus an input when a page enters should call `setFocus()` in the `ionViewDidEnter()` lifecycle method. Developers who wish to focus an input when an overlay is presented should call `setFocus` after `didPresent` has resolved. See [managing focus](/docs/developing/managing-focus) for more information.": "Sets focus on the native `input` in `ion-searchbar`. Use this method instead of the global `input.focus()`. Developers who wish to focus an input when a page enters should call `setFocus()` in the `ionViewDidEnter()` lifecycle method. Developers who wish to focus an input when an overlay is presented should call `setFocus` after `didPresent` has resolved. See [managing focus](/docs/developing/managing-focus) for more information.",
1460+
"Dismiss the toast overlay after it has been presented. This is a no-op if the overlay has not been presented yet. If you want to remove an overlay from the DOM that was never presented, use the [remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method.": "Dismiss the toast overlay after it has been presented. This is a no-op if the overlay has not been presented yet. If you want to remove an overlay from the DOM that was never presented, use the [remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method."
14461461
}
14471462
}

src/translate/.detection/api/action-sheet.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@
431431
{
432432
"name": "role",
433433
"type": "string | undefined",
434-
"docs": "The role of the element that is dismissing the action sheet.\nThis can be useful in a button handler for determining which button was\nclicked to dismiss the action sheet.\nSome examples include: ``\"cancel\"`, `\"destructive\"`, \"selected\"`, and `\"backdrop\"`.\n\nThis is a no-op if the overlay has not been presented yet. If you want\nto remove an overlay from the DOM that was never presented, use the\n[remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method."
434+
"docs": "The role of the element that is dismissing the action sheet.\nThis can be useful in a button handler for determining which button was\nclicked to dismiss the action sheet. Some examples include:\n`\"cancel\"`, `\"destructive\"`, `\"selected\"`, and `\"backdrop\"`."
435435
}
436436
],
437437
"references": {
@@ -452,18 +452,18 @@
452452
{
453453
"name": "role",
454454
"type": "string | undefined",
455-
"docs": "The role of the element that is dismissing the action sheet.\nThis can be useful in a button handler for determining which button was\nclicked to dismiss the action sheet.\nSome examples include: ``\"cancel\"`, `\"destructive\"`, \"selected\"`, and `\"backdrop\"`.\n\nThis is a no-op if the overlay has not been presented yet. If you want\nto remove an overlay from the DOM that was never presented, use the\n[remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method."
455+
"docs": "The role of the element that is dismissing the action sheet.\nThis can be useful in a button handler for determining which button was\nclicked to dismiss the action sheet. Some examples include:\n`\"cancel\"`, `\"destructive\"`, `\"selected\"`, and `\"backdrop\"`."
456456
}
457457
],
458-
"docs": "Dismiss the action sheet overlay after it has been presented.",
458+
"docs": "Dismiss the action sheet overlay after it has been presented.\nThis is a no-op if the overlay has not been presented yet. If you want\nto remove an overlay from the DOM that was never presented, use the\n[remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method.",
459459
"docsTags": [
460460
{
461461
"name": "param",
462462
"text": "data Any data to emit in the dismiss events."
463463
},
464464
{
465465
"name": "param",
466-
"text": "role The role of the element that is dismissing the action sheet.\nThis can be useful in a button handler for determining which button was\nclicked to dismiss the action sheet.\nSome examples include: ``\"cancel\"`, `\"destructive\"`, \"selected\"`, and `\"backdrop\"`.\n\nThis is a no-op if the overlay has not been presented yet. If you want\nto remove an overlay from the DOM that was never presented, use the\n[remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method."
466+
"text": "role The role of the element that is dismissing the action sheet.\nThis can be useful in a button handler for determining which button was\nclicked to dismiss the action sheet. Some examples include:\n`\"cancel\"`, `\"destructive\"`, `\"selected\"`, and `\"backdrop\"`."
467467
}
468468
]
469469
},

src/translate/.detection/api/alert.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@
501501
{
502502
"name": "role",
503503
"type": "string | undefined",
504-
"docs": "The role of the element that is dismissing the alert.\nThis can be useful in a button handler for determining which button was\nclicked to dismiss the alert.\nSome examples include: ``\"cancel\"`, `\"destructive\"`, \"selected\"`, and `\"backdrop\"`.\n\nThis is a no-op if the overlay has not been presented yet. If you want\nto remove an overlay from the DOM that was never presented, use the\n[remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method."
504+
"docs": "The role of the element that is dismissing the alert.\nThis can be useful in a button handler for determining which button was\nclicked to dismiss the alert. Some examples include:\n`\"cancel\"`, `\"destructive\"`, `\"selected\"`, and `\"backdrop\"`."
505505
}
506506
],
507507
"references": {
@@ -522,18 +522,18 @@
522522
{
523523
"name": "role",
524524
"type": "string | undefined",
525-
"docs": "The role of the element that is dismissing the alert.\nThis can be useful in a button handler for determining which button was\nclicked to dismiss the alert.\nSome examples include: ``\"cancel\"`, `\"destructive\"`, \"selected\"`, and `\"backdrop\"`.\n\nThis is a no-op if the overlay has not been presented yet. If you want\nto remove an overlay from the DOM that was never presented, use the\n[remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method."
525+
"docs": "The role of the element that is dismissing the alert.\nThis can be useful in a button handler for determining which button was\nclicked to dismiss the alert. Some examples include:\n`\"cancel\"`, `\"destructive\"`, `\"selected\"`, and `\"backdrop\"`."
526526
}
527527
],
528-
"docs": "Dismiss the alert overlay after it has been presented.",
528+
"docs": "Dismiss the alert overlay after it has been presented.\nThis is a no-op if the overlay has not been presented yet. If you want\nto remove an overlay from the DOM that was never presented, use the\n[remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method.",
529529
"docsTags": [
530530
{
531531
"name": "param",
532532
"text": "data Any data to emit in the dismiss events."
533533
},
534534
{
535535
"name": "param",
536-
"text": "role The role of the element that is dismissing the alert.\nThis can be useful in a button handler for determining which button was\nclicked to dismiss the alert.\nSome examples include: ``\"cancel\"`, `\"destructive\"`, \"selected\"`, and `\"backdrop\"`.\n\nThis is a no-op if the overlay has not been presented yet. If you want\nto remove an overlay from the DOM that was never presented, use the\n[remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method."
536+
"text": "role The role of the element that is dismissing the alert.\nThis can be useful in a button handler for determining which button was\nclicked to dismiss the alert. Some examples include:\n`\"cancel\"`, `\"destructive\"`, `\"selected\"`, and `\"backdrop\"`."
537537
}
538538
]
539539
},

src/translate/.detection/api/app.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
{
2020
"name": "elements",
2121
"type": "HTMLElement[]",
22-
"docs": ""
22+
"docs": "An array of HTML elements to set focus on."
2323
}
2424
],
2525
"references": {
@@ -39,11 +39,16 @@
3939
{
4040
"name": "elements",
4141
"type": "HTMLElement[]",
42-
"docs": ""
42+
"docs": "An array of HTML elements to set focus on."
4343
}
4444
],
4545
"docs": "Used to set focus on an element that uses `ion-focusable`.\nDo not use this if focusing the element as a result of a keyboard\nevent as the focus utility should handle this for us. This method\nshould be used when we want to programmatically focus an element as\na result of another user action. (Ex: We focus the first element\ninside of a popover when the user presents it, but the popover is not always\npresented as a result of keyboard action.)",
46-
"docsTags": []
46+
"docsTags": [
47+
{
48+
"name": "param",
49+
"text": "elements An array of HTML elements to set focus on."
50+
}
51+
]
4752
}
4853
],
4954
"events": [],

src/translate/.detection/api/datetime.json

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1128,7 +1128,7 @@
11281128
{
11291129
"name": "closeOverlay",
11301130
"type": "boolean",
1131-
"docs": ""
1131+
"docs": "If `true`, closes the parent overlay. Defaults to `false`."
11321132
}
11331133
],
11341134
"references": {
@@ -1144,11 +1144,16 @@
11441144
{
11451145
"name": "closeOverlay",
11461146
"type": "boolean",
1147-
"docs": ""
1147+
"docs": "If `true`, closes the parent overlay. Defaults to `false`."
11481148
}
11491149
],
11501150
"docs": "Emits the ionCancel event and\noptionally closes the popover\nor modal that the datetime was\npresented in.",
1151-
"docsTags": []
1151+
"docsTags": [
1152+
{
1153+
"name": "param",
1154+
"text": "closeOverlay If `true`, closes the parent overlay. Defaults to `false`."
1155+
}
1156+
]
11521157
},
11531158
{
11541159
"name": "confirm",
@@ -1162,7 +1167,7 @@
11621167
{
11631168
"name": "closeOverlay",
11641169
"type": "boolean",
1165-
"docs": ""
1170+
"docs": "If `true`, closes the parent overlay. Defaults to `false`."
11661171
}
11671172
],
11681173
"references": {
@@ -1178,11 +1183,16 @@
11781183
{
11791184
"name": "closeOverlay",
11801185
"type": "boolean",
1181-
"docs": ""
1186+
"docs": "If `true`, closes the parent overlay. Defaults to `false`."
11821187
}
11831188
],
11841189
"docs": "Confirms the selected datetime value, updates the\n`value` property, and optionally closes the popover\nor modal that the datetime was presented in.",
1185-
"docsTags": []
1190+
"docsTags": [
1191+
{
1192+
"name": "param",
1193+
"text": "closeOverlay If `true`, closes the parent overlay. Defaults to `false`."
1194+
}
1195+
]
11861196
},
11871197
{
11881198
"name": "reset",
@@ -1196,7 +1206,7 @@
11961206
{
11971207
"name": "startDate",
11981208
"type": "string | undefined",
1199-
"docs": ""
1209+
"docs": "A valid [ISO-8601 string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date#date_time_string_format) to reset the datetime state to."
12001210
}
12011211
],
12021212
"references": {
@@ -1212,11 +1222,16 @@
12121222
{
12131223
"name": "startDate",
12141224
"type": "string | undefined",
1215-
"docs": ""
1225+
"docs": "A valid [ISO-8601 string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date#date_time_string_format) to reset the datetime state to."
12161226
}
12171227
],
12181228
"docs": "Resets the internal state of the datetime but does not update the value.\nPassing a valid ISO-8601 string will reset the state of the component to the provided date.\nIf no value is provided, the internal state will be reset to the clamped value of the min, max and today.",
1219-
"docsTags": []
1229+
"docsTags": [
1230+
{
1231+
"name": "param",
1232+
"text": "startDate A valid [ISO-8601 string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date#date_time_string_format) to reset the datetime state to."
1233+
}
1234+
]
12201235
}
12211236
],
12221237
"events": [

0 commit comments

Comments
 (0)