Skip to content

Commit 6857ca5

Browse files
committed
feat(translate): update translate
1 parent bc7a829 commit 6857ca5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+583
-412
lines changed

scripts/data/translated-api.json

Lines changed: 173 additions & 83 deletions
Large diffs are not rendered by default.

scripts/data/translated-cli.json

Lines changed: 19 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
{
3838
"name": "configuration",
3939
"type": "string",
40-
"summary": "Specify the configuration to use.",
40+
"summary": "Specify the configuration to use",
4141
"groups": [
4242
"advanced",
4343
"cordova"
@@ -130,7 +130,7 @@
130130
"capacitor"
131131
],
132132
"summary": "Build an Ionic project for a given platform",
133-
"description": "`ionic capacitor build` will do the following:\n- Perform `ionic build`\n- Copy web assets into the specified native platform\n- Open the IDE for your native project (Xcode for iOS, Android Studio for Android)\n\nOnce the web assets and configuration are copied into your native project, you can build your app using the native IDE. Unfortunately, programmatically building the native project is not yet supported.\n\nTo configure your native project, see the common configuration [docs](https://capacitor.ionicframework.com/docs/basics/configuring-your-app) as well as low-level configuration for [iOS](https://capacitor.ionicframework.com/docs/ios/configuration) and [Android](https://capacitor.ionicframework.com/docs/android/configuration).",
133+
"description": "`ionic capacitor build` will do the following:\n- Perform `ionic build`\n- Copy web assets into the specified native platform\n- Open the IDE for your native project (Xcode for iOS, Android Studio for Android)\n\nOnce the web assets and configuration are copied into your native project, you can build your app using the native IDE. Unfortunately, programmatically building the native project is not yet supported.\n\nTo configure your native project, see the common configuration [docs](https://capacitorjs.com/docs/basics/configuring-your-app) as well as low-level configuration for [iOS](https://capacitorjs.com/docs/ios/configuration) and [Android](https://capacitorjs.com/docs/android/configuration).",
134134
"footnotes": [],
135135
"groups": [
136136
"beta"
@@ -186,7 +186,7 @@
186186
{
187187
"name": "configuration",
188188
"type": "string",
189-
"summary": "Specify the configuration to use.",
189+
"summary": "Specify the configuration to use",
190190
"groups": [
191191
"advanced",
192192
"cordova"
@@ -272,7 +272,7 @@
272272
{
273273
"name": "configuration",
274274
"type": "string",
275-
"summary": "Specify the configuration to use.",
275+
"summary": "Specify the configuration to use",
276276
"groups": [
277277
"advanced",
278278
"cordova"
@@ -494,7 +494,7 @@
494494
{
495495
"name": "configuration",
496496
"type": "string",
497-
"summary": "Specify the configuration to use.",
497+
"summary": "Specify the configuration to use",
498498
"groups": [
499499
"advanced",
500500
"cordova"
@@ -580,7 +580,7 @@
580580
{
581581
"name": "configuration",
582582
"type": "string",
583-
"summary": "Specify the configuration to use.",
583+
"summary": "Specify the configuration to use",
584584
"groups": [
585585
"advanced",
586586
"cordova"
@@ -988,7 +988,7 @@
988988
{
989989
"name": "configuration",
990990
"type": "string",
991-
"summary": "Specify the configuration to use.",
991+
"summary": "Specify the configuration to use",
992992
"groups": [
993993
"advanced",
994994
"cordova"
@@ -1298,7 +1298,7 @@
12981298
{
12991299
"name": "configuration",
13001300
"type": "string",
1301-
"summary": "Specify the configuration to use.",
1301+
"summary": "Specify the configuration to use",
13021302
"groups": [
13031303
"advanced",
13041304
"cordova"
@@ -1605,7 +1605,7 @@
16051605
{
16061606
"name": "configuration",
16071607
"type": "string",
1608-
"summary": "Specify the configuration to use.",
1608+
"summary": "Specify the configuration to use",
16091609
"groups": [
16101610
"advanced",
16111611
"cordova"
@@ -1907,7 +1907,7 @@
19071907
{
19081908
"name": "configuration",
19091909
"type": "string",
1910-
"summary": "Specify the configuration to use.",
1910+
"summary": "Specify the configuration to use",
19111911
"groups": [
19121912
"advanced",
19131913
"cordova"
@@ -2349,7 +2349,9 @@
23492349
"summary": "Check the health of your Ionic project",
23502350
"description": "This command detects and prints common issues and suggested steps to fix them.\n\nSome issues can be fixed automatically. See `ionic doctor treat --help`.\n\nOptionally supply the `id` argument to check a single issue. Use `ionic doctor list` to list all known issues.",
23512351
"footnotes": [],
2352-
"groups": [],
2352+
"groups": [
2353+
"deprecated"
2354+
],
23532355
"exampleCommands": [
23542356
"ionic doctor check ",
23552357
"ionic doctor check git-not-used"
@@ -2377,7 +2379,9 @@
23772379
"summary": "List all issues and their identifiers",
23782380
"description": "Issues can have various tags:\n- **treatable**: `ionic doctor treat` can attempt to fix the issue\n- **ignored**: configured not to be detected in `ionic doctor check` or `ionic doctor treat`\n- **explicit-detection**: issue is only detected explicitly with `ionic doctor check <issue-id>`\n\nYou can flip whether an issue is ignored or not by using `ionic config set -g doctor.issues.<issue-id>.ignored true/false`, where `<issue-id>` matches an ID listed with this command.",
23792381
"footnotes": [],
2380-
"groups": [],
2382+
"groups": [
2383+
"deprecated"
2384+
],
23812385
"exampleCommands": [],
23822386
"aliases": [
23832387
"ionic doctor ls"
@@ -2395,7 +2399,9 @@
23952399
"summary": "Attempt to fix issues in your Ionic project",
23962400
"description": "This command detects and attempts to fix common issues. Before a fix is attempted, the steps are printed and a confirmation prompt is displayed.\n\nOptionally supply the `id` argument to attempt to fix a single issue. Use `ionic doctor list` to list all known issues.",
23972401
"footnotes": [],
2398-
"groups": [],
2402+
"groups": [
2403+
"deprecated"
2404+
],
23992405
"exampleCommands": [
24002406
"ionic doctor treat ",
24012407
"ionic doctor treat git-not-used"
@@ -3048,7 +3054,6 @@
30483054
"exampleCommands": [
30493055
"ionic serve ",
30503056
"ionic serve --external",
3051-
"ionic serve --lab",
30523057
"ionic serve -- --proxy-config proxy.conf.json"
30533058
],
30543059
"aliases": [
@@ -3196,32 +3201,6 @@
31963201
"value": "true/false"
31973202
}
31983203
},
3199-
{
3200-
"name": "lab-host",
3201-
"type": "string",
3202-
"summary": "Use specific host for Ionic Lab server",
3203-
"default": "localhost",
3204-
"groups": [
3205-
"advanced"
3206-
],
3207-
"aliases": [],
3208-
"spec": {
3209-
"value": "host"
3210-
}
3211-
},
3212-
{
3213-
"name": "lab-port",
3214-
"type": "string",
3215-
"summary": "Use specific port for Ionic Lab server",
3216-
"default": "8200",
3217-
"groups": [
3218-
"advanced"
3219-
],
3220-
"aliases": [],
3221-
"spec": {
3222-
"value": "port"
3223-
}
3224-
},
32253204
{
32263205
"name": "open",
32273206
"type": "boolean",
@@ -3260,18 +3239,6 @@
32603239
"spec": {
32613240
"value": "path"
32623241
}
3263-
},
3264-
{
3265-
"name": "lab",
3266-
"type": "boolean",
3267-
"summary": "Test your apps on multiple platform types in the browser",
3268-
"groups": [],
3269-
"aliases": [
3270-
"l"
3271-
],
3272-
"spec": {
3273-
"value": "true/false"
3274-
}
32753242
}
32763243
],
32773244
"type": "project"

scripts/data/translated-native.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2089,7 +2089,7 @@
20892089
{
20902090
"packageName": "@awesome-cordova-plugins/iamport-cordova",
20912091
"displayName": "Iamport Cordova",
2092-
"description": "\nThis plugin does something\n",
2092+
"description": "\nCordova plugin that integrates with and handles multiple payment gateways.\n",
20932093
"usage": "\n```typescript\nimport { IamportCordova } from '@awesome-cordova-plugins/iamport-cordova/ngx';\n\n\nconstructor(private iamportCordova: IamportCordova) { }\n\n...\n\n\nthis.iamportCordova.functionName('Hello', 123)\n .then((res: any) => console.log(res))\n .catch((error: any) => console.error(error));\n\n```\n",
20942094
"platforms": [
20952095
"ios",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@
241241
"type": "Promise<boolean>",
242242
"docs": ""
243243
},
244-
"signature": "dismiss(data?: any, role?: string | undefined) => Promise<boolean>",
244+
"signature": "dismiss(data?: any, role?: string) => Promise<boolean>",
245245
"parameters": [],
246246
"docs": "Dismiss the action sheet overlay after it has been presented.",
247247
"docsTags": [

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@
279279
"type": "Promise<boolean>",
280280
"docs": ""
281281
},
282-
"signature": "dismiss(data?: any, role?: string | undefined) => Promise<boolean>",
282+
"signature": "dismiss(data?: any, role?: string) => Promise<boolean>",
283283
"parameters": [],
284284
"docs": "Dismiss the alert overlay after it has been presented.",
285285
"docsTags": [

src/translate/.detection/api/breadcrumbs.json

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -160,18 +160,7 @@
160160
"passive": false
161161
}
162162
],
163-
"styles": [
164-
{
165-
"name": "--background",
166-
"annotation": "prop",
167-
"docs": "Background of the breadcrumbs"
168-
},
169-
{
170-
"name": "--color",
171-
"annotation": "prop",
172-
"docs": "Text color of the breadcrumbs"
173-
}
174-
],
163+
"styles": [],
175164
"slots": [],
176165
"parts": [],
177166
"dependents": [],

src/translate/.detection/api/button.json

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
"mutable": false,
146146
"attr": "expand",
147147
"reflectToAttr": true,
148-
"docs": "Set to `\"block\"` for a full-width button or to `\"full\"` for a full-width button\nwithout left and right borders.",
148+
"docs": "Set to `\"block\"` for a full-width button or to `\"full\"` for a full-width button\nwith square corners and no left or right borders.",
149149
"docsTags": [],
150150
"values": [
151151
{
@@ -169,7 +169,7 @@
169169
"mutable": true,
170170
"attr": "fill",
171171
"reflectToAttr": true,
172-
"docs": "Set to `\"clear\"` for a transparent button, to `\"outline\"` for a transparent\nbutton with a border, or to `\"solid\"`. The default style is `\"solid\"` except inside of\na toolbar, where the default is `\"clear\"`.",
172+
"docs": "Set to `\"clear\"` for a transparent button that resembles a flat button, to `\"outline\"`\nfor a transparent button with a border, or to `\"solid\"` for a button with a filled background.\nThe default fill is `\"solid\"` except inside of a toolbar, where the default is `\"clear\"`.",
173173
"docsTags": [],
174174
"values": [
175175
{
@@ -195,6 +195,28 @@
195195
"optional": true,
196196
"required": false
197197
},
198+
{
199+
"name": "form",
200+
"type": "HTMLFormElement | string | undefined",
201+
"mutable": false,
202+
"attr": "form",
203+
"reflectToAttr": false,
204+
"docs": "The HTML form element or form element id. Used to submit a form when the button is not a child of the form.",
205+
"docsTags": [],
206+
"values": [
207+
{
208+
"type": "HTMLFormElement"
209+
},
210+
{
211+
"type": "string"
212+
},
213+
{
214+
"type": "undefined"
215+
}
216+
],
217+
"optional": true,
218+
"required": false
219+
},
198220
{
199221
"name": "href",
200222
"type": "string | undefined",
@@ -304,7 +326,7 @@
304326
"mutable": false,
305327
"attr": "shape",
306328
"reflectToAttr": true,
307-
"docs": "The button shape.",
329+
"docs": "Set to `\"round\"` for a button with more rounded corners.",
308330
"docsTags": [],
309331
"values": [
310332
{
@@ -324,7 +346,7 @@
324346
"mutable": false,
325347
"attr": "size",
326348
"reflectToAttr": true,
327-
"docs": "The button size.",
349+
"docs": "Set to `\"small\"` for a button with less height and padding, to `\"default\"`\nfor a button with the default height and padding, or to `\"large\"` for a button\nwith more height and padding. By default the size is unset, unless the button\nis inside of an item, where the size is `\"small\"` by default. Set the size to\n`\"default\"` inside of an item to make it a standard size button.",
328350
"docsTags": [],
329351
"values": [
330352
{

src/translate/.detection/api/content.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,12 @@
294294
"target": "window",
295295
"capture": false,
296296
"passive": false
297+
},
298+
{
299+
"event": "resize",
300+
"target": "window",
301+
"capture": false,
302+
"passive": true
297303
}
298304
],
299305
"styles": [

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

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,30 @@
189189
"optional": false,
190190
"required": false
191191
},
192+
{
193+
"name": "highlightedDates",
194+
"type": "((dateIsoString: string) => DatetimeHighlightStyle | undefined) | DatetimeHighlight[] | undefined",
195+
"mutable": false,
196+
"reflectToAttr": false,
197+
"docs": "Used to apply custom text and background colors to specific dates.\n\nCan be either an array of objects containing ISO strings and colors,\nor a callback that receives an ISO string and returns the colors.\n\nOnly applies to the `date`, `date-time`, and `time-date` presentations,\nwith `preferWheel=\"false\"`.",
198+
"docsTags": [],
199+
"values": [
200+
{
201+
"type": "((dateIsoString: string) => DatetimeHighlightStyle"
202+
},
203+
{
204+
"type": "undefined)"
205+
},
206+
{
207+
"type": "DatetimeHighlight[]"
208+
},
209+
{
210+
"type": "undefined"
211+
}
212+
],
213+
"optional": true,
214+
"required": false
215+
},
192216
{
193217
"name": "hourCycle",
194218
"type": "\"h12\" | \"h23\" | undefined",
@@ -549,7 +573,7 @@
549573
"mutable": false,
550574
"attr": "show-default-title",
551575
"reflectToAttr": false,
552-
"docs": "If `true`, a header will be shown above the calendar\npicker. On `ios` mode this will include the\nslotted title, and on `md` mode this will include\nthe slotted title and the selected date.",
576+
"docs": "If `true`, a header will be shown above the calendar\npicker. This will include both the slotted title, and\nthe selected date.",
553577
"docsTags": [],
554578
"default": "false",
555579
"values": [
@@ -582,6 +606,24 @@
582606
"optional": false,
583607
"required": false
584608
},
609+
{
610+
"name": "titleSelectedDatesFormatter",
611+
"type": "((selectedDates: string[]) => string) | undefined",
612+
"mutable": false,
613+
"reflectToAttr": false,
614+
"docs": "A callback used to format the header text that shows how many\ndates are selected. Only used if there are 0 or more than 1\nselected (i.e. unused for exactly 1). By default, the header\ntext is set to \"numberOfDates days\".",
615+
"docsTags": [],
616+
"values": [
617+
{
618+
"type": "((selectedDates: string[]) => string)"
619+
},
620+
{
621+
"type": "undefined"
622+
}
623+
],
624+
"optional": true,
625+
"required": false
626+
},
585627
{
586628
"name": "value",
587629
"type": "null | string | string[] | undefined",
@@ -662,7 +704,7 @@
662704
"type": "Promise<void>",
663705
"docs": ""
664706
},
665-
"signature": "reset(startDate?: string | undefined) => Promise<void>",
707+
"signature": "reset(startDate?: string) => Promise<void>",
666708
"parameters": [],
667709
"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.",
668710
"docsTags": []

0 commit comments

Comments
 (0)