未验证 提交 0323aceb 编写于 作者: O openharmony_ci 提交者: Gitee

!5493 【OpenHarmony开源贡献者计划2022】Fix typo for en/application-dev

Merge pull request !5493 from c01dface/dev1
......@@ -27,7 +27,7 @@ Converts an XML text into a JavaScript object.
| Name | Type | Mandatory| Description |
| ------- | --------------------------------- | ---- | --------------- |
| xml | string | Yes | XML text to convert.|
| options | [ConvertOptions](#convertoptions) | No | Options for coversion. |
| options | [ConvertOptions](#convertoptions) | No | Options for conversion. |
**Return value**
......@@ -57,7 +57,7 @@ console.log(result)
## ConvertOptions
Options for coversion.
Options for conversion.
**System capability**: SystemCapability.Utils.Lang
......
......@@ -1239,7 +1239,7 @@ try {
console.log("query is " + query.getSqlLike());
query = null;
} catch (e) {
console.log("dumplicated calls should be ok :" + e);
console.log("duplicated calls should be ok :" + e);
}
```
......@@ -1274,7 +1274,7 @@ try {
console.log("query is " + query.getSqlLike());
query = null;
} catch (e) {
console.log("dumplicated calls should be ok :" + e);
console.log("duplicated calls should be ok :" + e);
}
```
......@@ -1309,7 +1309,7 @@ try {
console.log("query is " + query.getSqlLike());
query = null;
} catch (e) {
console.log("dumplicated calls should be ok :" + e);
console.log("duplicated calls should be ok :" + e);
}
```
......@@ -1344,7 +1344,7 @@ try {
console.log("query is " + query.getSqlLike());
query = null;
} catch (e) {
console.log("dumplicated calls should be ok :" + e);
console.log("duplicated calls should be ok :" + e);
}
```
......@@ -1379,7 +1379,7 @@ try {
console.log("query is " + query.getSqlLike());
query = null;
} catch (e) {
console.log("dumplicated calls should be ok :" + e);
console.log("duplicated calls should be ok :" + e);
}
```
......@@ -1414,7 +1414,7 @@ try {
console.log("query is " + query.getSqlLike());
query = null;
} catch (e) {
console.log("dumplicated calls should be ok :" + e);
console.log("duplicated calls should be ok :" + e);
}
```
......@@ -1449,7 +1449,7 @@ try {
console.log("query is " + query.getSqlLike());
query = null;
} catch (e) {
console.log("dumplicated calls should be ok :" + e);
console.log("duplicated calls should be ok :" + e);
}
```
......@@ -1485,7 +1485,7 @@ try {
console.log("query is " + query.getSqlLike());
query = null;
} catch (e) {
console.log("dumplicated calls should be ok :" + e);
console.log("duplicated calls should be ok :" + e);
}
```
......@@ -1520,7 +1520,7 @@ try {
console.log("query is " + query.getSqlLike());
query = null;
} catch (e) {
console.log("dumplicated calls should be ok :" + e);
console.log("duplicated calls should be ok :" + e);
}
```
......@@ -1555,7 +1555,7 @@ try {
console.log("query is " + query.getSqlLike());
query = null;
} catch (e) {
console.log("dumplicated calls should be ok :" + e);
console.log("duplicated calls should be ok :" + e);
}
```
......@@ -1590,7 +1590,7 @@ try {
console.log("query is " + query.getSqlLike());
query = null;
} catch (e) {
console.log("dumplicated calls should be ok :" + e);
console.log("duplicated calls should be ok :" + e);
}
```
......@@ -1625,7 +1625,7 @@ try {
console.log("query is " + query.getSqlLike());
query = null;
} catch (e) {
console.log("dumplicated calls should be ok :" + e);
console.log("duplicated calls should be ok :" + e);
}
```
......@@ -1660,7 +1660,7 @@ try {
console.log("query is " + query.getSqlLike());
query = null;
} catch (e) {
console.log("dumplicated calls should be ok :" + e);
console.log("duplicated calls should be ok :" + e);
}
```
......@@ -1690,7 +1690,7 @@ try {
console.log("query is " + query.getSqlLike());
query = null;
} catch (e) {
console.log("dumplicated calls should be ok :" + e);
console.log("duplicated calls should be ok :" + e);
}
```
......@@ -1720,7 +1720,7 @@ try {
console.log("query is " + query.getSqlLike());
query = null;
} catch (e) {
console.log("dumplicated calls should be ok :" + e);
console.log("duplicated calls should be ok :" + e);
}
```
......@@ -1755,7 +1755,7 @@ try {
console.log("query is " + query.getSqlLike());
query = null;
} catch (e) {
console.log("dumplicated calls should be ok :" + e);
console.log("duplicated calls should be ok :" + e);
}
```
......@@ -1790,7 +1790,7 @@ try {
console.log("query is " + query.getSqlLike());
query = null;
} catch (e) {
console.log("dumplicated calls should be ok :" + e);
console.log("duplicated calls should be ok :" + e);
}
```
......@@ -1826,7 +1826,7 @@ try {
console.log("query is " + query.getSqlLike());
query = null;
} catch (e) {
console.log("dumplicated calls should be ok :" + e);
console.log("duplicated calls should be ok :" + e);
}
```
......@@ -1860,7 +1860,7 @@ try {
console.log("query is " + query.getSqlLike());
query = null;
} catch (e) {
console.log("dumplicated calls should be ok :" + e);
console.log("duplicated calls should be ok :" + e);
}
```
......@@ -1890,7 +1890,7 @@ try {
console.log("query is " + query.getSqlLike());
query = null;
} catch (e) {
console.log("dumplicated calls should be ok :" + e);
console.log("duplicated calls should be ok :" + e);
}
```
......@@ -1920,7 +1920,7 @@ try {
console.log("query is " + query.getSqlLike());
query = null;
} catch (e) {
console.log("dumplicated calls should be ok :" + e);
console.log("duplicated calls should be ok :" + e);
}
```
......@@ -1955,7 +1955,7 @@ try {
console.log("query is " + query.getSqlLike());
query = null;
} catch (e) {
console.log("dumplicated calls should be ok :" + e);
console.log("duplicated calls should be ok :" + e);
}
```
......@@ -1990,7 +1990,7 @@ try {
console.log("query is " + query.getSqlLike());
query = null;
} catch (e) {
console.log("dumplicated calls should be ok :" + e);
console.log("duplicated calls should be ok :" + e);
}
```
......@@ -2051,7 +2051,7 @@ try {
let sql1 = query.getSqlLike();
console.log("GetSqlLike sql=" + sql1);
} catch (e) {
console.log("dumplicated calls should be ok : " + e);
console.log("duplicated calls should be ok : " + e);
}
```
......
......@@ -1388,7 +1388,7 @@ Defines image decoding options.
| desiredSize | [Size](#size) | Yes | Yes | Expected output size. |
| desiredRegion | [Region](#region7) | Yes | Yes | Region to decode. |
| desiredPixelFormat | [PixelMapFormat](#pixelmapformat7) | Yes | Yes | Pixel map format for decoding.|
| index | numer | Yes | Yes | Index of the image to decode. |
| index | number | Yes | Yes | Index of the image to decode. |
## Region<sup>7+</sup>
......
......@@ -136,7 +136,7 @@ Represents the locale options.
| Name | Type | Readable | Writable | Description |
| --------------- | ------- | ---- | ---- | ---------------------------------------- |
| calendar | string | Yes | Yes | Calendar for the locale. The calue can be any of the following: **buddhist**, **chinese**, **coptic**, **dangi**, **ethioaa**, **ethiopic**, **gregory**, **hebrew**, **indian**, **islamic**, **islamic-umalqura**, **islamic-tbla**, **islamic-civil**, **islamic-rgsa**, **iso8601**, **japanese**, **persian**, **roc**, **islamicc**.|
| calendar | string | Yes | Yes | Calendar for the locale. The value can be any of the following: **buddhist**, **chinese**, **coptic**, **dangi**, **ethioaa**, **ethiopic**, **gregory**, **hebrew**, **indian**, **islamic**, **islamic-umalqura**, **islamic-tbla**, **islamic-civil**, **islamic-rgsa**, **iso8601**, **japanese**, **persian**, **roc**, **islamicc**.|
| collation | string | Yes | Yes | Collation rule. The value can be any of the following: **big5han**, **compat**, **dict**, **direct**, **ducet**, **emoji**, **eor**, **gb2312**, **phonebk**, **phonetic**, **pinyin**, **reformed**,**search**, **searchjl**, **standard**, **stroke**, **trad**, **unihan**, **zhuyin**.|
| hourCycle | string | Yes | Yes | Time system for the locale. The value can be any of the following: **h11**, **h12**, **h23**, **h24**.|
| numberingSystem | string | Yes | Yes | Numbering system for the locale. The value can be any of the following: **adlm**, **ahom**, **arab**, **arabext**, **bali**, **beng**, **bhks**, **brah**, **cakm**, **cham**, **deva**, **diak**, **fullwide**, **gong**, **gonm**, **gujr**, **guru**, **hanidec**, **hmng**, **hmnp**, **java**, **kali**, **khmr**, **knda**, **lana**, **lanatham**, **laoo**, **latn**, **lepc**, **limb**, **mathbold**, **mathdbl**, **mathmono**, **mathsanb**, **mathsans**, **mlym**, **modi**, **mong**, **mroo**, **mtei**, **mymr**, **mymrshan**, **mymrtlng**, **newa**, **nkoo**, **olck**, **orya**, **osma**, **rohg**, **saur**, **segment**, **shrd**, **sind**, **sinh**, **sora**, **sund**, **takr**, **talu**, **tamldec**, **telu**, **thai**, **tibt**, **tirh**, **vaii**, **wara**, **wcho**.|
......
......@@ -232,7 +232,7 @@ Checks whether this process is running in a 64-bit environment.
**Example**
```js
var ressult = process.is64Bit();
var result = process.is64Bit();
```
......
......@@ -49,7 +49,7 @@ In the example below, where **PageA** jumps to **PageB**, the shared element is
<list>
<list-item type="description">
<image src="item.jpg" shareid="shareImage" onclick="jump" class="shared-transition-style"></image>
<text onclick="jump">Click on picture to Jump to ths details</text>
<text onclick="jump">Click on picture to Jump to the details</text>
</list-item>
</list>
</div>
......
......@@ -216,7 +216,7 @@ The usage of hapsigner varies depending on whether an application signing certif
├── -keyAlias # Key alias. It is mandatory.
├── -keyPwd # Key password. It is optional.
├── -appCertFile # Application signing certificate (certificate chain, in the end-entity certificate, intermediate CA certificate, and root certificate order). It is mandatory.
├── -profileFile # Singed provisioning profile, in p7b format. It is mandatory.
├── -profileFile # Signed provisioning profile, in p7b format. It is mandatory.
├── -profileSigned # Whether the profile is signed. The value 1 means signed, and value 0 means unsigned. The default value is 1. It is optional.
├── -inForm # Raw file, in .zip (default) or .bin format. It is optional.
├── -inFile # Raw application package, in HAP or .bin format. It is mandatory.
......
......@@ -97,7 +97,7 @@ struct CompA {
Row() {
CompB({bLink: $aLink, // valid init a @Link with reference of another @Link,
bProp: this.aState}) // valid init a @Prop with value of a @State
CompB({aLink: $aState, // invalid: type missmatch expected ref to ClassA, provided reference to boolean
CompB({aLink: $aState, // invalid: type mismatch expected ref to ClassA, provided reference to boolean
bProp: false}) // valid init a @Prop by constants value
}
}
......
......@@ -669,7 +669,7 @@ To use WebGL to draw a color triangle (GPU drawing), perform the following steps
// Initialize the shader.
if (!initShaders(gl, VSHADER_SOURCE, FSHADER_SOURCE)) {
console.log('Failed to intialize shaders.');
console.log('Failed to initialize shaders.');
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册