ilib-tools-common 1.2.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -1
- package/docs/Resource.html +260 -279
- package/docs/Resource.js.html +5 -2
- package/docs/ResourceArray.html +488 -512
- package/docs/ResourceArray.js.html +5 -2
- package/docs/ResourcePlural.html +518 -545
- package/docs/ResourcePlural.js.html +5 -2
- package/docs/ResourceString.html +1066 -1077
- package/docs/ResourceString.js.html +5 -2
- package/docs/ResourceXliff.html +34 -30
- package/docs/ResourceXliff.js.html +5 -2
- package/docs/TranslationSet.html +157 -160
- package/docs/TranslationSet.js.html +5 -2
- package/docs/TranslationUnit.html +1132 -0
- package/docs/TranslationUnit.js.html +249 -0
- package/docs/TranslationVariant.html +363 -0
- package/docs/TranslationVariant.js.html +122 -0
- package/docs/global.html +545 -36
- package/docs/index.html +5 -2
- package/docs/scripts/collapse.js +19 -0
- package/docs/scripts/commonNav.js +28 -0
- package/docs/scripts/search.js +16 -0
- package/docs/styles/jsdoc.css +13 -2
- package/docs/styles/prettify.css +1 -0
- package/docs/utils.js.html +96 -3
- package/package.json +5 -4
- package/src/TranslationUnit.js +178 -0
- package/src/TranslationVariant.js +51 -0
- package/src/index.js +19 -2
- package/src/utils.js +91 -1
package/docs/ResourceArray.html
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
<link type="text/css" rel="stylesheet" href="styles/prettify.css">
|
|
15
15
|
<link type="text/css" rel="stylesheet" href="styles/jsdoc.css">
|
|
16
16
|
<script src="scripts/nav.js" defer></script>
|
|
17
|
+
|
|
17
18
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
18
19
|
</head>
|
|
19
20
|
<body>
|
|
@@ -27,7 +28,9 @@
|
|
|
27
28
|
|
|
28
29
|
<nav >
|
|
29
30
|
|
|
30
|
-
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Resource.html">Resource</a><ul class='methods'><li data-type='method'><a href="Resource.html#addInstance">addInstance</a></li><li data-type='method'><a href="Resource.html#escapeText">escapeText</a></li><li data-type='method'><a href="Resource.html#getAutoKey">getAutoKey</a></li><li data-type='method'><a href="Resource.html#getComment">getComment</a></li><li data-type='method'><a href="Resource.html#getContext">getContext</a></li><li data-type='method'><a href="Resource.html#getDataType">getDataType</a></li><li data-type='method'><a href="Resource.html#getFlavor">getFlavor</a></li><li data-type='method'><a href="Resource.html#getId">getId</a></li><li data-type='method'><a href="Resource.html#getInstances">getInstances</a></li><li data-type='method'><a href="Resource.html#getKey">getKey</a></li><li data-type='method'><a href="Resource.html#getLocalize">getLocalize</a></li><li data-type='method'><a href="Resource.html#getOrigin">getOrigin</a></li><li data-type='method'><a href="Resource.html#getPath">getPath</a></li><li data-type='method'><a href="Resource.html#getProject">getProject</a></li><li data-type='method'><a href="Resource.html#getSource">getSource</a></li><li data-type='method'><a href="Resource.html#getSourceLocale">getSourceLocale</a></li><li data-type='method'><a href="Resource.html#getState">getState</a></li><li data-type='method'><a href="Resource.html#getTarget">getTarget</a></li><li data-type='method'><a href="Resource.html#getTargetLocale">getTargetLocale</a></li><li data-type='method'><a href="Resource.html#getType">getType</a></li><li data-type='method'><a href="Resource.html#isInstance">isInstance</a></li><li data-type='method'><a href="Resource.html#same">same</a></li><li data-type='method'><a href="Resource.html#setComment">setComment</a></li><li data-type='method'><a href="Resource.html#setProject">setProject</a></li><li data-type='method'><a href="Resource.html#setSourceLocale">setSourceLocale</a></li><li data-type='method'><a href="Resource.html#setState">setState</a></li><li data-type='method'><a href="Resource.html#setTargetLocale">setTargetLocale</a></li></ul></li><li><a href="ResourceArray.html">ResourceArray</a><ul class='methods'><li data-type='method'><a href="ResourceArray.html#.hashKey">hashKey</a></li><li data-type='method'><a href="ResourceArray.html#addInstance">addInstance</a></li><li data-type='method'><a href="ResourceArray.html#addSourceItem">addSourceItem</a></li><li data-type='method'><a href="ResourceArray.html#addTargetItem">addTargetItem</a></li><li data-type='method'><a href="ResourceArray.html#cleanHashKey">cleanHashKey</a></li><li data-type='method'><a href="ResourceArray.html#cleanHashKeyForTranslation">cleanHashKeyForTranslation</a></li><li data-type='method'><a href="ResourceArray.html#clone">clone</a></li><li data-type='method'><a href="ResourceArray.html#equals">equals</a></li><li data-type='method'><a href="ResourceArray.html#equals">equals</a></li><li data-type='method'><a href="ResourceArray.html#escapeText">escapeText</a></li><li data-type='method'><a href="ResourceArray.html#getAutoKey">getAutoKey</a></li><li data-type='method'><a href="ResourceArray.html#getComment">getComment</a></li><li data-type='method'><a href="ResourceArray.html#getContext">getContext</a></li><li data-type='method'><a href="ResourceArray.html#getDataType">getDataType</a></li><li data-type='method'><a href="ResourceArray.html#getFlavor">getFlavor</a></li><li data-type='method'><a href="ResourceArray.html#getId">getId</a></li><li data-type='method'><a href="ResourceArray.html#getInstances">getInstances</a></li><li data-type='method'><a href="ResourceArray.html#getKey">getKey</a></li><li data-type='method'><a href="ResourceArray.html#getLocalize">getLocalize</a></li><li data-type='method'><a href="ResourceArray.html#getOrigin">getOrigin</a></li><li data-type='method'><a href="ResourceArray.html#getPath">getPath</a></li><li data-type='method'><a href="ResourceArray.html#getProject">getProject</a></li><li data-type='method'><a href="ResourceArray.html#getSource">getSource</a></li><li data-type='method'><a href="ResourceArray.html#getSourceArray">getSourceArray</a></li><li data-type='method'><a href="ResourceArray.html#getSourceItem">getSourceItem</a></li><li data-type='method'><a href="ResourceArray.html#getSourceLocale">getSourceLocale</a></li><li data-type='method'><a href="ResourceArray.html#getState">getState</a></li><li data-type='method'><a href="ResourceArray.html#getTarget">getTarget</a></li><li data-type='method'><a href="ResourceArray.html#getTargetArray">getTargetArray</a></li><li data-type='method'><a href="ResourceArray.html#getTargetItem">getTargetItem</a></li><li data-type='method'><a href="ResourceArray.html#getTargetLocale">getTargetLocale</a></li><li data-type='method'><a href="ResourceArray.html#getType">getType</a></li><li data-type='method'><a href="ResourceArray.html#hashKey">hashKey</a></li><li data-type='method'><a href="ResourceArray.html#hashKeyForTranslation">hashKeyForTranslation</a></li><li data-type='method'><a href="ResourceArray.html#isInstance">isInstance</a></li><li data-type='method'><a href="ResourceArray.html#same">same</a></li><li data-type='method'><a href="ResourceArray.html#setComment">setComment</a></li><li data-type='method'><a href="ResourceArray.html#setProject">setProject</a></li><li data-type='method'><a href="ResourceArray.html#setSource">setSource</a></li><li data-type='method'><a href="ResourceArray.html#setSourceLocale">setSourceLocale</a></li><li data-type='method'><a href="ResourceArray.html#setState">setState</a></li><li data-type='method'><a href="ResourceArray.html#setTarget">setTarget</a></li><li data-type='method'><a href="ResourceArray.html#setTargetLocale">setTargetLocale</a></li><li data-type='method'><a href="ResourceArray.html#size">size</a></li></ul></li><li><a href="ResourcePlural.html">ResourcePlural</a><ul class='methods'><li data-type='method'><a href="ResourcePlural.html#.hashKey">hashKey</a></li><li data-type='method'><a href="ResourcePlural.html#addInstance">addInstance</a></li><li data-type='method'><a href="ResourcePlural.html#addSourcePlural">addSourcePlural</a></li><li data-type='method'><a href="ResourcePlural.html#addTargetPlural">addTargetPlural</a></li><li data-type='method'><a href="ResourcePlural.html#cleanHashKey">cleanHashKey</a></li><li data-type='method'><a href="ResourcePlural.html#cleanHashKeyForTranslation">cleanHashKeyForTranslation</a></li><li data-type='method'><a href="ResourcePlural.html#clone">clone</a></li><li data-type='method'><a href="ResourcePlural.html#equals">equals</a></li><li data-type='method'><a href="ResourcePlural.html#escapeText">escapeText</a></li><li data-type='method'><a href="ResourcePlural.html#getAllValidCategories">getAllValidCategories</a></li><li data-type='method'><a href="ResourcePlural.html#getAutoKey">getAutoKey</a></li><li data-type='method'><a href="ResourcePlural.html#getCategories">getCategories</a></li><li data-type='method'><a href="ResourcePlural.html#getClasses">getClasses</a></li><li data-type='method'><a href="ResourcePlural.html#getComment">getComment</a></li><li data-type='method'><a href="ResourcePlural.html#getContext">getContext</a></li><li data-type='method'><a href="ResourcePlural.html#getDataType">getDataType</a></li><li data-type='method'><a href="ResourcePlural.html#getFlavor">getFlavor</a></li><li data-type='method'><a href="ResourcePlural.html#getId">getId</a></li><li data-type='method'><a href="ResourcePlural.html#getInstances">getInstances</a></li><li data-type='method'><a href="ResourcePlural.html#getKey">getKey</a></li><li data-type='method'><a href="ResourcePlural.html#getLocalize">getLocalize</a></li><li data-type='method'><a href="ResourcePlural.html#getOrigin">getOrigin</a></li><li data-type='method'><a href="ResourcePlural.html#getPath">getPath</a></li><li data-type='method'><a href="ResourcePlural.html#getProject">getProject</a></li><li data-type='method'><a href="ResourcePlural.html#getSource">getSource</a></li><li data-type='method'><a href="ResourcePlural.html#getSourceLocale">getSourceLocale</a></li><li data-type='method'><a href="ResourcePlural.html#getSourcePlural">getSourcePlural</a></li><li data-type='method'><a href="ResourcePlural.html#getSourcePlurals">getSourcePlurals</a></li><li data-type='method'><a href="ResourcePlural.html#getSourceStrings">getSourceStrings</a></li><li data-type='method'><a href="ResourcePlural.html#getState">getState</a></li><li data-type='method'><a href="ResourcePlural.html#getTarget">getTarget</a></li><li data-type='method'><a href="ResourcePlural.html#getTargetLocale">getTargetLocale</a></li><li data-type='method'><a href="ResourcePlural.html#getTargetPlural">getTargetPlural</a></li><li data-type='method'><a href="ResourcePlural.html#getTargetPlurals">getTargetPlurals</a></li><li data-type='method'><a href="ResourcePlural.html#getTargetStrings">getTargetStrings</a></li><li data-type='method'><a href="ResourcePlural.html#getType">getType</a></li><li data-type='method'><a href="ResourcePlural.html#hashKey">hashKey</a></li><li data-type='method'><a href="ResourcePlural.html#hashKeyForTranslation">hashKeyForTranslation</a></li><li data-type='method'><a href="ResourcePlural.html#isInstance">isInstance</a></li><li data-type='method'><a href="ResourcePlural.html#same">same</a></li><li data-type='method'><a href="ResourcePlural.html#setComment">setComment</a></li><li data-type='method'><a href="ResourcePlural.html#setProject">setProject</a></li><li data-type='method'><a href="ResourcePlural.html#setSource">setSource</a></li><li data-type='method'><a href="ResourcePlural.html#setSourceLocale">setSourceLocale</a></li><li data-type='method'><a href="ResourcePlural.html#setState">setState</a></li><li data-type='method'><a href="ResourcePlural.html#setTarget">setTarget</a></li><li data-type='method'><a href="ResourcePlural.html#setTargetLocale">setTargetLocale</a></li><li data-type='method'><a href="ResourcePlural.html#size">size</a></li></ul></li><li><a href="ResourceString.html">ResourceString</a><ul class='methods'><li data-type='method'><a href="ResourceString.html#.cleanHashKey">cleanHashKey</a></li><li data-type='method'><a href="ResourceString.html#.hashKey">hashKey</a></li><li data-type='method'><a href="ResourceString.html#addInstance">addInstance</a></li><li data-type='method'><a href="ResourceString.html#cleanHashKey">cleanHashKey</a></li><li data-type='method'><a href="ResourceString.html#cleanHashKeyForTranslation">cleanHashKeyForTranslation</a></li><li data-type='method'><a href="ResourceString.html#clone">clone</a></li><li data-type='method'><a href="ResourceString.html#equals">equals</a></li><li data-type='method'><a href="ResourceString.html#escapeText">escapeText</a></li><li data-type='method'><a href="ResourceString.html#getAutoKey">getAutoKey</a></li><li data-type='method'><a href="ResourceString.html#getComment">getComment</a></li><li data-type='method'><a href="ResourceString.html#getContext">getContext</a></li><li data-type='method'><a href="ResourceString.html#getDataType">getDataType</a></li><li data-type='method'><a href="ResourceString.html#getFlavor">getFlavor</a></li><li data-type='method'><a href="ResourceString.html#getId">getId</a></li><li data-type='method'><a href="ResourceString.html#getInstances">getInstances</a></li><li data-type='method'><a href="ResourceString.html#getKey">getKey</a></li><li data-type='method'><a href="ResourceString.html#getLocalize">getLocalize</a></li><li data-type='method'><a href="ResourceString.html#getOrigin">getOrigin</a></li><li data-type='method'><a href="ResourceString.html#getPath">getPath</a></li><li data-type='method'><a href="ResourceString.html#getProject">getProject</a></li><li data-type='method'><a href="ResourceString.html#getSource">getSource</a></li><li data-type='method'><a href="ResourceString.html#getSourceLocale">getSourceLocale</a></li><li data-type='method'><a href="ResourceString.html#getState">getState</a></li><li data-type='method'><a href="ResourceString.html#getTarget">getTarget</a></li><li data-type='method'><a href="ResourceString.html#getTargetLocale">getTargetLocale</a></li><li data-type='method'><a href="ResourceString.html#getType">getType</a></li><li data-type='method'><a href="ResourceString.html#hashKey">hashKey</a></li><li data-type='method'><a href="ResourceString.html#hashKeyForTranslation">hashKeyForTranslation</a></li><li data-type='method'><a href="ResourceString.html#isInstance">isInstance</a></li><li data-type='method'><a href="ResourceString.html#same">same</a></li><li data-type='method'><a href="ResourceString.html#setComment">setComment</a></li><li data-type='method'><a href="ResourceString.html#setProject">setProject</a></li><li data-type='method'><a href="ResourceString.html#setSource">setSource</a></li><li data-type='method'><a href="ResourceString.html#setSourceLocale">setSourceLocale</a></li><li data-type='method'><a href="ResourceString.html#setState">setState</a></li><li data-type='method'><a href="ResourceString.html#setTarget">setTarget</a></li><li data-type='method'><a href="ResourceString.html#setTargetLocale">setTargetLocale</a></li><li data-type='method'><a href="ResourceString.html#size">size</a></li></ul></li><li><a href="ResourceXliff.html">ResourceXliff</a></li><li><a href="TranslationSet.html">TranslationSet</a><ul class='methods'><li data-type='method'><a href="TranslationSet.html#add">add</a></li><li data-type='method'><a href="TranslationSet.html#addAll">addAll</a></li><li data-type='method'><a href="TranslationSet.html#addSet">addSet</a></li><li data-type='method'><a href="TranslationSet.html#clear">clear</a></li><li data-type='method'><a href="TranslationSet.html#diff">diff</a></li><li data-type='method'><a href="TranslationSet.html#get">get</a></li><li data-type='method'><a href="TranslationSet.html#getAll">getAll</a></li><li data-type='method'><a href="TranslationSet.html#getBy">getBy</a></li><li data-type='method'><a href="TranslationSet.html#getBySource">getBySource</a></li><li data-type='method'><a href="TranslationSet.html#getClean">getClean</a></li><li data-type='method'><a href="TranslationSet.html#getContexts">getContexts</a></li><li data-type='method'><a href="TranslationSet.html#getLocales">getLocales</a></li><li data-type='method'><a href="TranslationSet.html#getProjects">getProjects</a></li><li data-type='method'><a href="TranslationSet.html#isDirty">isDirty</a></li><li data-type='method'><a href="TranslationSet.html#remove">remove</a></li><li data-type='method'><a href="TranslationSet.html#setClean">setClean</a></li><li data-type='method'><a href="TranslationSet.html#size">size</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#cleanString">cleanString</a></li><li><a href="global.html#formatPath">formatPath</a></li><li><a href="global.html#getLocaleFromPath">getLocaleFromPath</a></li><li><a href="global.html#isEmpty">isEmpty</a></li></ul>
|
|
31
|
+
|
|
32
|
+
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Resource.html">Resource</a><ul class='methods'><li data-type='method'><a href="Resource.html#addInstance">addInstance</a></li><li data-type='method'><a href="Resource.html#escapeText">escapeText</a></li><li data-type='method'><a href="Resource.html#getAutoKey">getAutoKey</a></li><li data-type='method'><a href="Resource.html#getComment">getComment</a></li><li data-type='method'><a href="Resource.html#getContext">getContext</a></li><li data-type='method'><a href="Resource.html#getDataType">getDataType</a></li><li data-type='method'><a href="Resource.html#getFlavor">getFlavor</a></li><li data-type='method'><a href="Resource.html#getId">getId</a></li><li data-type='method'><a href="Resource.html#getInstances">getInstances</a></li><li data-type='method'><a href="Resource.html#getKey">getKey</a></li><li data-type='method'><a href="Resource.html#getLocalize">getLocalize</a></li><li data-type='method'><a href="Resource.html#getOrigin">getOrigin</a></li><li data-type='method'><a href="Resource.html#getPath">getPath</a></li><li data-type='method'><a href="Resource.html#getProject">getProject</a></li><li data-type='method'><a href="Resource.html#getSource">getSource</a></li><li data-type='method'><a href="Resource.html#getSourceLocale">getSourceLocale</a></li><li data-type='method'><a href="Resource.html#getState">getState</a></li><li data-type='method'><a href="Resource.html#getTarget">getTarget</a></li><li data-type='method'><a href="Resource.html#getTargetLocale">getTargetLocale</a></li><li data-type='method'><a href="Resource.html#getType">getType</a></li><li data-type='method'><a href="Resource.html#isInstance">isInstance</a></li><li data-type='method'><a href="Resource.html#same">same</a></li><li data-type='method'><a href="Resource.html#setComment">setComment</a></li><li data-type='method'><a href="Resource.html#setProject">setProject</a></li><li data-type='method'><a href="Resource.html#setSourceLocale">setSourceLocale</a></li><li data-type='method'><a href="Resource.html#setState">setState</a></li><li data-type='method'><a href="Resource.html#setTargetLocale">setTargetLocale</a></li></ul></li><li><a href="ResourceArray.html">ResourceArray</a><ul class='methods'><li data-type='method'><a href="ResourceArray.html#addInstance">addInstance</a></li><li data-type='method'><a href="ResourceArray.html#addSourceItem">addSourceItem</a></li><li data-type='method'><a href="ResourceArray.html#addTargetItem">addTargetItem</a></li><li data-type='method'><a href="ResourceArray.html#cleanHashKey">cleanHashKey</a></li><li data-type='method'><a href="ResourceArray.html#cleanHashKeyForTranslation">cleanHashKeyForTranslation</a></li><li data-type='method'><a href="ResourceArray.html#clone">clone</a></li><li data-type='method'><a href="ResourceArray.html#equals">equals</a></li><li data-type='method'><a href="ResourceArray.html#equals">equals</a></li><li data-type='method'><a href="ResourceArray.html#escapeText">escapeText</a></li><li data-type='method'><a href="ResourceArray.html#getAutoKey">getAutoKey</a></li><li data-type='method'><a href="ResourceArray.html#getComment">getComment</a></li><li data-type='method'><a href="ResourceArray.html#getContext">getContext</a></li><li data-type='method'><a href="ResourceArray.html#getDataType">getDataType</a></li><li data-type='method'><a href="ResourceArray.html#getFlavor">getFlavor</a></li><li data-type='method'><a href="ResourceArray.html#getId">getId</a></li><li data-type='method'><a href="ResourceArray.html#getInstances">getInstances</a></li><li data-type='method'><a href="ResourceArray.html#getKey">getKey</a></li><li data-type='method'><a href="ResourceArray.html#getLocalize">getLocalize</a></li><li data-type='method'><a href="ResourceArray.html#getOrigin">getOrigin</a></li><li data-type='method'><a href="ResourceArray.html#getPath">getPath</a></li><li data-type='method'><a href="ResourceArray.html#getProject">getProject</a></li><li data-type='method'><a href="ResourceArray.html#getSource">getSource</a></li><li data-type='method'><a href="ResourceArray.html#getSourceArray">getSourceArray</a></li><li data-type='method'><a href="ResourceArray.html#getSourceItem">getSourceItem</a></li><li data-type='method'><a href="ResourceArray.html#getSourceLocale">getSourceLocale</a></li><li data-type='method'><a href="ResourceArray.html#getState">getState</a></li><li data-type='method'><a href="ResourceArray.html#getTarget">getTarget</a></li><li data-type='method'><a href="ResourceArray.html#getTargetArray">getTargetArray</a></li><li data-type='method'><a href="ResourceArray.html#getTargetItem">getTargetItem</a></li><li data-type='method'><a href="ResourceArray.html#getTargetLocale">getTargetLocale</a></li><li data-type='method'><a href="ResourceArray.html#getType">getType</a></li><li data-type='method'><a href="ResourceArray.html#hashKey">hashKey</a></li><li data-type='method'><a href="ResourceArray.html#hashKeyForTranslation">hashKeyForTranslation</a></li><li data-type='method'><a href="ResourceArray.html#isInstance">isInstance</a></li><li data-type='method'><a href="ResourceArray.html#same">same</a></li><li data-type='method'><a href="ResourceArray.html#setComment">setComment</a></li><li data-type='method'><a href="ResourceArray.html#setProject">setProject</a></li><li data-type='method'><a href="ResourceArray.html#setSource">setSource</a></li><li data-type='method'><a href="ResourceArray.html#setSourceLocale">setSourceLocale</a></li><li data-type='method'><a href="ResourceArray.html#setState">setState</a></li><li data-type='method'><a href="ResourceArray.html#setTarget">setTarget</a></li><li data-type='method'><a href="ResourceArray.html#setTargetLocale">setTargetLocale</a></li><li data-type='method'><a href="ResourceArray.html#size">size</a></li><li data-type='method'><a href="ResourceArray.html#.hashKey">hashKey</a></li></ul></li><li><a href="ResourcePlural.html">ResourcePlural</a><ul class='methods'><li data-type='method'><a href="ResourcePlural.html#addInstance">addInstance</a></li><li data-type='method'><a href="ResourcePlural.html#addSourcePlural">addSourcePlural</a></li><li data-type='method'><a href="ResourcePlural.html#addTargetPlural">addTargetPlural</a></li><li data-type='method'><a href="ResourcePlural.html#cleanHashKey">cleanHashKey</a></li><li data-type='method'><a href="ResourcePlural.html#cleanHashKeyForTranslation">cleanHashKeyForTranslation</a></li><li data-type='method'><a href="ResourcePlural.html#clone">clone</a></li><li data-type='method'><a href="ResourcePlural.html#equals">equals</a></li><li data-type='method'><a href="ResourcePlural.html#escapeText">escapeText</a></li><li data-type='method'><a href="ResourcePlural.html#getAllValidCategories">getAllValidCategories</a></li><li data-type='method'><a href="ResourcePlural.html#getAutoKey">getAutoKey</a></li><li data-type='method'><a href="ResourcePlural.html#getCategories">getCategories</a></li><li data-type='method'><a href="ResourcePlural.html#getClasses">getClasses</a></li><li data-type='method'><a href="ResourcePlural.html#getComment">getComment</a></li><li data-type='method'><a href="ResourcePlural.html#getContext">getContext</a></li><li data-type='method'><a href="ResourcePlural.html#getDataType">getDataType</a></li><li data-type='method'><a href="ResourcePlural.html#getFlavor">getFlavor</a></li><li data-type='method'><a href="ResourcePlural.html#getId">getId</a></li><li data-type='method'><a href="ResourcePlural.html#getInstances">getInstances</a></li><li data-type='method'><a href="ResourcePlural.html#getKey">getKey</a></li><li data-type='method'><a href="ResourcePlural.html#getLocalize">getLocalize</a></li><li data-type='method'><a href="ResourcePlural.html#getOrigin">getOrigin</a></li><li data-type='method'><a href="ResourcePlural.html#getPath">getPath</a></li><li data-type='method'><a href="ResourcePlural.html#getProject">getProject</a></li><li data-type='method'><a href="ResourcePlural.html#getSource">getSource</a></li><li data-type='method'><a href="ResourcePlural.html#getSourceLocale">getSourceLocale</a></li><li data-type='method'><a href="ResourcePlural.html#getSourcePlural">getSourcePlural</a></li><li data-type='method'><a href="ResourcePlural.html#getSourcePlurals">getSourcePlurals</a></li><li data-type='method'><a href="ResourcePlural.html#getSourceStrings">getSourceStrings</a></li><li data-type='method'><a href="ResourcePlural.html#getState">getState</a></li><li data-type='method'><a href="ResourcePlural.html#getTarget">getTarget</a></li><li data-type='method'><a href="ResourcePlural.html#getTargetLocale">getTargetLocale</a></li><li data-type='method'><a href="ResourcePlural.html#getTargetPlural">getTargetPlural</a></li><li data-type='method'><a href="ResourcePlural.html#getTargetPlurals">getTargetPlurals</a></li><li data-type='method'><a href="ResourcePlural.html#getTargetStrings">getTargetStrings</a></li><li data-type='method'><a href="ResourcePlural.html#getType">getType</a></li><li data-type='method'><a href="ResourcePlural.html#hashKey">hashKey</a></li><li data-type='method'><a href="ResourcePlural.html#hashKeyForTranslation">hashKeyForTranslation</a></li><li data-type='method'><a href="ResourcePlural.html#isInstance">isInstance</a></li><li data-type='method'><a href="ResourcePlural.html#same">same</a></li><li data-type='method'><a href="ResourcePlural.html#setComment">setComment</a></li><li data-type='method'><a href="ResourcePlural.html#setProject">setProject</a></li><li data-type='method'><a href="ResourcePlural.html#setSource">setSource</a></li><li data-type='method'><a href="ResourcePlural.html#setSourceLocale">setSourceLocale</a></li><li data-type='method'><a href="ResourcePlural.html#setState">setState</a></li><li data-type='method'><a href="ResourcePlural.html#setTarget">setTarget</a></li><li data-type='method'><a href="ResourcePlural.html#setTargetLocale">setTargetLocale</a></li><li data-type='method'><a href="ResourcePlural.html#size">size</a></li><li data-type='method'><a href="ResourcePlural.html#.hashKey">hashKey</a></li></ul></li><li><a href="ResourceString.html">ResourceString</a><ul class='methods'><li data-type='method'><a href="ResourceString.html#addInstance">addInstance</a></li><li data-type='method'><a href="ResourceString.html#cleanHashKey">cleanHashKey</a></li><li data-type='method'><a href="ResourceString.html#cleanHashKeyForTranslation">cleanHashKeyForTranslation</a></li><li data-type='method'><a href="ResourceString.html#clone">clone</a></li><li data-type='method'><a href="ResourceString.html#equals">equals</a></li><li data-type='method'><a href="ResourceString.html#escapeText">escapeText</a></li><li data-type='method'><a href="ResourceString.html#getAutoKey">getAutoKey</a></li><li data-type='method'><a href="ResourceString.html#getComment">getComment</a></li><li data-type='method'><a href="ResourceString.html#getContext">getContext</a></li><li data-type='method'><a href="ResourceString.html#getDataType">getDataType</a></li><li data-type='method'><a href="ResourceString.html#getFlavor">getFlavor</a></li><li data-type='method'><a href="ResourceString.html#getId">getId</a></li><li data-type='method'><a href="ResourceString.html#getInstances">getInstances</a></li><li data-type='method'><a href="ResourceString.html#getKey">getKey</a></li><li data-type='method'><a href="ResourceString.html#getLocalize">getLocalize</a></li><li data-type='method'><a href="ResourceString.html#getOrigin">getOrigin</a></li><li data-type='method'><a href="ResourceString.html#getPath">getPath</a></li><li data-type='method'><a href="ResourceString.html#getProject">getProject</a></li><li data-type='method'><a href="ResourceString.html#getSource">getSource</a></li><li data-type='method'><a href="ResourceString.html#getSourceLocale">getSourceLocale</a></li><li data-type='method'><a href="ResourceString.html#getState">getState</a></li><li data-type='method'><a href="ResourceString.html#getTarget">getTarget</a></li><li data-type='method'><a href="ResourceString.html#getTargetLocale">getTargetLocale</a></li><li data-type='method'><a href="ResourceString.html#getType">getType</a></li><li data-type='method'><a href="ResourceString.html#hashKey">hashKey</a></li><li data-type='method'><a href="ResourceString.html#hashKeyForTranslation">hashKeyForTranslation</a></li><li data-type='method'><a href="ResourceString.html#isInstance">isInstance</a></li><li data-type='method'><a href="ResourceString.html#same">same</a></li><li data-type='method'><a href="ResourceString.html#setComment">setComment</a></li><li data-type='method'><a href="ResourceString.html#setProject">setProject</a></li><li data-type='method'><a href="ResourceString.html#setSource">setSource</a></li><li data-type='method'><a href="ResourceString.html#setSourceLocale">setSourceLocale</a></li><li data-type='method'><a href="ResourceString.html#setState">setState</a></li><li data-type='method'><a href="ResourceString.html#setTarget">setTarget</a></li><li data-type='method'><a href="ResourceString.html#setTargetLocale">setTargetLocale</a></li><li data-type='method'><a href="ResourceString.html#size">size</a></li><li data-type='method'><a href="ResourceString.html#.cleanHashKey">cleanHashKey</a></li><li data-type='method'><a href="ResourceString.html#.hashKey">hashKey</a></li></ul></li><li><a href="ResourceXliff.html">ResourceXliff</a></li><li><a href="TranslationSet.html">TranslationSet</a><ul class='methods'><li data-type='method'><a href="TranslationSet.html#add">add</a></li><li data-type='method'><a href="TranslationSet.html#addAll">addAll</a></li><li data-type='method'><a href="TranslationSet.html#addSet">addSet</a></li><li data-type='method'><a href="TranslationSet.html#clear">clear</a></li><li data-type='method'><a href="TranslationSet.html#diff">diff</a></li><li data-type='method'><a href="TranslationSet.html#get">get</a></li><li data-type='method'><a href="TranslationSet.html#getAll">getAll</a></li><li data-type='method'><a href="TranslationSet.html#getBy">getBy</a></li><li data-type='method'><a href="TranslationSet.html#getBySource">getBySource</a></li><li data-type='method'><a href="TranslationSet.html#getClean">getClean</a></li><li data-type='method'><a href="TranslationSet.html#getContexts">getContexts</a></li><li data-type='method'><a href="TranslationSet.html#getLocales">getLocales</a></li><li data-type='method'><a href="TranslationSet.html#getProjects">getProjects</a></li><li data-type='method'><a href="TranslationSet.html#isDirty">isDirty</a></li><li data-type='method'><a href="TranslationSet.html#remove">remove</a></li><li data-type='method'><a href="TranslationSet.html#setClean">setClean</a></li><li data-type='method'><a href="TranslationSet.html#size">size</a></li></ul></li><li><a href="TranslationUnit.html">TranslationUnit</a><ul class='methods'><li data-type='method'><a href="TranslationUnit.html#addProperties">addProperties</a></li><li data-type='method'><a href="TranslationUnit.html#addVariant">addVariant</a></li><li data-type='method'><a href="TranslationUnit.html#addVariants">addVariants</a></li><li data-type='method'><a href="TranslationUnit.html#clone">clone</a></li><li data-type='method'><a href="TranslationUnit.html#getProperties">getProperties</a></li><li data-type='method'><a href="TranslationUnit.html#getVariants">getVariants</a></li><li data-type='method'><a href="TranslationUnit.html#hashKey">hashKey</a></li></ul></li><li><a href="TranslationVariant.html">TranslationVariant</a><ul class='methods'><li data-type='method'><a href="TranslationVariant.html#hashKey">hashKey</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#cleanString">cleanString</a></li><li><a href="global.html#containsActualText">containsActualText</a></li><li><a href="global.html#formatPath">formatPath</a></li><li><a href="global.html#getLocaleFromPath">getLocaleFromPath</a></li><li><a href="global.html#hashKey">hashKey</a></li><li><a href="global.html#isEmpty">isEmpty</a></li><li><a href="global.html#objectMap">objectMap</a></li></ul>
|
|
33
|
+
|
|
31
34
|
</nav>
|
|
32
35
|
|
|
33
36
|
<div id="main">
|
|
@@ -45,7 +48,9 @@
|
|
|
45
48
|
<header>
|
|
46
49
|
|
|
47
50
|
<h2>
|
|
48
|
-
|
|
51
|
+
|
|
52
|
+
ResourceArray
|
|
53
|
+
|
|
49
54
|
</h2>
|
|
50
55
|
|
|
51
56
|
<div class="class-description usertext">A class that models a resource that is an array of strings.</div>
|
|
@@ -71,6 +76,33 @@
|
|
|
71
76
|
|
|
72
77
|
|
|
73
78
|
<dl class="details">
|
|
79
|
+
|
|
80
|
+
<dt class="tag-description">Description:</dt>
|
|
81
|
+
<dd class="tag-description"><ul class="dummy"><li>Construct a new ResourceArray instance.
|
|
82
|
+
|
|
83
|
+
Arrays of strings are used in Android apps, as well as some other
|
|
84
|
+
places, to specify things like the values for a drop-down box in
|
|
85
|
+
a UI.<p>
|
|
86
|
+
|
|
87
|
+
The properties in the props parameter may be any of the following:
|
|
88
|
+
|
|
89
|
+
<ul>
|
|
90
|
+
<li><i>key</i> {String} - The unique key of the array resource
|
|
91
|
+
<li><i>locale</i> {String} - The locale specifier that gives the
|
|
92
|
+
languages that the array's strings are written in
|
|
93
|
+
<li><i>pathName</i> {String} - The path to the file that contains
|
|
94
|
+
this array resource
|
|
95
|
+
<li><i>context</i> {String} - The context for this resource,
|
|
96
|
+
such as "landscape mode", or "7200dp", which differentiates it
|
|
97
|
+
from the base resource that has no special context. The default
|
|
98
|
+
if this property is not specified is undefined, meaning no
|
|
99
|
+
context.
|
|
100
|
+
<li><i>source</i> {Array.<String>} An array of strings
|
|
101
|
+
that are the source language values of this resource
|
|
102
|
+
<li><i>target</i> {Array.<String>} An array of strings
|
|
103
|
+
that are the target language values of this resource
|
|
104
|
+
</ul></li></ul></dd>
|
|
105
|
+
|
|
74
106
|
|
|
75
107
|
|
|
76
108
|
<dt class="tag-source">Source:</dt>
|
|
@@ -114,35 +146,6 @@
|
|
|
114
146
|
|
|
115
147
|
|
|
116
148
|
|
|
117
|
-
<div class="description usertext">
|
|
118
|
-
Construct a new ResourceArray instance.
|
|
119
|
-
|
|
120
|
-
Arrays of strings are used in Android apps, as well as some other
|
|
121
|
-
places, to specify things like the values for a drop-down box in
|
|
122
|
-
a UI.<p>
|
|
123
|
-
|
|
124
|
-
The properties in the props parameter may be any of the following:
|
|
125
|
-
|
|
126
|
-
<ul>
|
|
127
|
-
<li><i>key</i> {String} - The unique key of the array resource
|
|
128
|
-
<li><i>locale</i> {String} - The locale specifier that gives the
|
|
129
|
-
languages that the array's strings are written in
|
|
130
|
-
<li><i>pathName</i> {String} - The path to the file that contains
|
|
131
|
-
this array resource
|
|
132
|
-
<li><i>context</i> {String} - The context for this resource,
|
|
133
|
-
such as "landscape mode", or "7200dp", which differentiates it
|
|
134
|
-
from the base resource that has no special context. The default
|
|
135
|
-
if this property is not specified is undefined, meaning no
|
|
136
|
-
context.
|
|
137
|
-
<li><i>source</i> {Array.<String>} An array of strings
|
|
138
|
-
that are the source language values of this resource
|
|
139
|
-
<li><i>target</i> {Array.<String>} An array of strings
|
|
140
|
-
that are the target language values of this resource
|
|
141
|
-
</ul>
|
|
142
|
-
</div>
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
149
|
|
|
147
150
|
|
|
148
151
|
|
|
@@ -151,7 +154,7 @@ that are the target language values of this resource
|
|
|
151
154
|
|
|
152
155
|
|
|
153
156
|
|
|
154
|
-
<h5>Parameters:</h5>
|
|
157
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
155
158
|
|
|
156
159
|
|
|
157
160
|
<table class="params">
|
|
@@ -185,6 +188,7 @@ that are the target language values of this resource
|
|
|
185
188
|
<span class="param-type">Object</span>
|
|
186
189
|
|
|
187
190
|
|
|
191
|
+
|
|
188
192
|
|
|
189
193
|
</td>
|
|
190
194
|
|
|
@@ -249,13 +253,17 @@ that are the target language values of this resource
|
|
|
249
253
|
|
|
250
254
|
|
|
251
255
|
|
|
252
|
-
<h4 class="name" id=".resClass"><span class="type-signature">(static, constant) </span>resClass<span class="type-signature"></span></h4>
|
|
256
|
+
<h4 class="name" id=".resClass"><span class="type-signature type-signature-static, constant">(static, constant) </span>resClass<span class="type-signature"></span></h4>
|
|
253
257
|
|
|
254
258
|
|
|
255
259
|
|
|
256
260
|
|
|
257
261
|
|
|
258
262
|
<dl class="details">
|
|
263
|
+
|
|
264
|
+
<dt class="tag-description">Description:</dt>
|
|
265
|
+
<dd class="tag-description"><ul class="dummy"><li>The class of this kind of array resource.</li></ul></dd>
|
|
266
|
+
|
|
259
267
|
|
|
260
268
|
|
|
261
269
|
<dt class="tag-source">Source:</dt>
|
|
@@ -321,7 +329,7 @@ that are the target language values of this resource
|
|
|
321
329
|
|
|
322
330
|
|
|
323
331
|
|
|
324
|
-
<h4 class="name" id="
|
|
332
|
+
<h4 class="name" id="addInstance"><span class="type-signature"></span>addInstance<span class="signature">(an)</span><span class="type-signature"> → {boolean}</span></h4>
|
|
325
333
|
|
|
326
334
|
|
|
327
335
|
|
|
@@ -329,117 +337,41 @@ that are the target language values of this resource
|
|
|
329
337
|
|
|
330
338
|
|
|
331
339
|
<dl class="details">
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
<dt class="tag-source">Source:</dt>
|
|
335
|
-
<dd class="tag-source"><ul class="dummy"><li>
|
|
336
|
-
<a href="ResourceArray.js.html">ResourceArray.js</a>, <a href="ResourceArray.js.html#line323">line 323</a>
|
|
337
|
-
</li></ul></dd>
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
340
|
|
|
341
|
+
<dt class="tag-description">Description:</dt>
|
|
342
|
+
<dd class="tag-description"><ul class="dummy"><li>Add an instance of the same resource to the list of
|
|
343
|
+
instances. If the given resource matches the
|
|
344
|
+
current instance in all properties that affect the
|
|
345
|
+
possible translation, and differs from the current
|
|
346
|
+
instance by some property that does not affect
|
|
347
|
+
its translation, it will be added as an instance of
|
|
348
|
+
the same string. The following properties affect the
|
|
349
|
+
translation:
|
|
355
350
|
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
</
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
<div class="description usertext">
|
|
376
|
-
Calculate a resource key string for this class of resource given the
|
|
377
|
-
parameters.
|
|
378
|
-
</div>
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
<h5>Returns:</h5>
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
<div class="param-desc">
|
|
408
|
-
a hash key
|
|
409
|
-
</div>
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
<dl class="param-type">
|
|
414
|
-
<dt>
|
|
415
|
-
Type
|
|
416
|
-
</dt>
|
|
417
|
-
<dd>
|
|
418
|
-
|
|
419
|
-
<span class="param-type">String</span>
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
</dd>
|
|
423
|
-
</dl>
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
351
|
+
<ul>
|
|
352
|
+
<li>context</li>
|
|
353
|
+
<li>datatype</li>
|
|
354
|
+
<li>dnt</li>
|
|
355
|
+
<li>flavor</li>
|
|
356
|
+
<li>project</li>
|
|
357
|
+
<li>reskey</li>
|
|
358
|
+
<li>resType</li>
|
|
359
|
+
<li>source</li>
|
|
360
|
+
<li>sourceHash</li>
|
|
361
|
+
<li>sourceArray</li>
|
|
362
|
+
<li>sourceLocale</li>
|
|
363
|
+
<li>targetLocale</li>
|
|
364
|
+
</ul>
|
|
433
365
|
|
|
434
|
-
|
|
366
|
+
Differences in other properties, such as "comment" or
|
|
367
|
+
"origin" are considered instances of the same resource.
|
|
435
368
|
|
|
369
|
+
If this method is given a resource that differs from
|
|
370
|
+
the current one by one of the above translation affecting
|
|
371
|
+
properties, it is not added to the list of instances. This
|
|
372
|
+
can be checked easily by calling the isInstance() method.</li></ul></dd>
|
|
436
373
|
|
|
437
374
|
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
<dl class="details">
|
|
442
|
-
|
|
443
375
|
|
|
444
376
|
<dt class="tag-source">Source:</dt>
|
|
445
377
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
@@ -487,39 +419,7 @@ parameters.
|
|
|
487
419
|
|
|
488
420
|
|
|
489
421
|
|
|
490
|
-
<div class="description usertext">
|
|
491
|
-
Add an instance of the same resource to the list of
|
|
492
|
-
instances. If the given resource matches the
|
|
493
|
-
current instance in all properties that affect the
|
|
494
|
-
possible translation, and differs from the current
|
|
495
|
-
instance by some property that does not affect
|
|
496
|
-
its translation, it will be added as an instance of
|
|
497
|
-
the same string. The following properties affect the
|
|
498
|
-
translation:
|
|
499
|
-
|
|
500
|
-
<ul>
|
|
501
|
-
<li>context</li>
|
|
502
|
-
<li>datatype</li>
|
|
503
|
-
<li>dnt</li>
|
|
504
|
-
<li>flavor</li>
|
|
505
|
-
<li>project</li>
|
|
506
|
-
<li>reskey</li>
|
|
507
|
-
<li>resType</li>
|
|
508
|
-
<li>source</li>
|
|
509
|
-
<li>sourceHash</li>
|
|
510
|
-
<li>sourceArray</li>
|
|
511
|
-
<li>sourceLocale</li>
|
|
512
|
-
<li>targetLocale</li>
|
|
513
|
-
</ul>
|
|
514
|
-
|
|
515
|
-
Differences in other properties, such as "comment" or
|
|
516
|
-
"origin" are considered instances of the same resource.
|
|
517
422
|
|
|
518
|
-
If this method is given a resource that differs from
|
|
519
|
-
the current one by one of the above translation affecting
|
|
520
|
-
properties, it is not added to the list of instances. This
|
|
521
|
-
can be checked easily by calling the isInstance() method.
|
|
522
|
-
</div>
|
|
523
423
|
|
|
524
424
|
|
|
525
425
|
|
|
@@ -527,11 +427,7 @@ can be checked easily by calling the isInstance() method.
|
|
|
527
427
|
|
|
528
428
|
|
|
529
429
|
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
<h5>Parameters:</h5>
|
|
430
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
535
431
|
|
|
536
432
|
|
|
537
433
|
<table class="params">
|
|
@@ -565,6 +461,7 @@ can be checked easily by calling the isInstance() method.
|
|
|
565
461
|
<span class="param-type"><a href="Resource.html">Resource</a></span>
|
|
566
462
|
|
|
567
463
|
|
|
464
|
+
|
|
568
465
|
|
|
569
466
|
</td>
|
|
570
467
|
|
|
@@ -595,7 +492,7 @@ record</td>
|
|
|
595
492
|
|
|
596
493
|
|
|
597
494
|
|
|
598
|
-
<h5>Returns:</h5>
|
|
495
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
599
496
|
|
|
600
497
|
|
|
601
498
|
<div class="param-desc">
|
|
@@ -614,6 +511,7 @@ and false otherwise
|
|
|
614
511
|
<span class="param-type">boolean</span>
|
|
615
512
|
|
|
616
513
|
|
|
514
|
+
|
|
617
515
|
</dd>
|
|
618
516
|
</dl>
|
|
619
517
|
|
|
@@ -634,6 +532,10 @@ and false otherwise
|
|
|
634
532
|
|
|
635
533
|
|
|
636
534
|
<dl class="details">
|
|
535
|
+
|
|
536
|
+
<dt class="tag-description">Description:</dt>
|
|
537
|
+
<dd class="tag-description"><ul class="dummy"><li>Add a string to the source array at index i.</li></ul></dd>
|
|
538
|
+
|
|
637
539
|
|
|
638
540
|
|
|
639
541
|
<dt class="tag-source">Source:</dt>
|
|
@@ -677,10 +579,6 @@ and false otherwise
|
|
|
677
579
|
|
|
678
580
|
|
|
679
581
|
|
|
680
|
-
<div class="description usertext">
|
|
681
|
-
Add a string to the source array at index i.
|
|
682
|
-
</div>
|
|
683
|
-
|
|
684
582
|
|
|
685
583
|
|
|
686
584
|
|
|
@@ -689,9 +587,7 @@ and false otherwise
|
|
|
689
587
|
|
|
690
588
|
|
|
691
589
|
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
<h5>Parameters:</h5>
|
|
590
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
695
591
|
|
|
696
592
|
|
|
697
593
|
<table class="params">
|
|
@@ -725,6 +621,7 @@ and false otherwise
|
|
|
725
621
|
<span class="param-type">number</span>
|
|
726
622
|
|
|
727
623
|
|
|
624
|
+
|
|
728
625
|
|
|
729
626
|
</td>
|
|
730
627
|
|
|
@@ -748,6 +645,7 @@ and false otherwise
|
|
|
748
645
|
<span class="param-type">String</span>
|
|
749
646
|
|
|
750
647
|
|
|
648
|
+
|
|
751
649
|
|
|
752
650
|
</td>
|
|
753
651
|
|
|
@@ -793,6 +691,10 @@ and false otherwise
|
|
|
793
691
|
|
|
794
692
|
|
|
795
693
|
<dl class="details">
|
|
694
|
+
|
|
695
|
+
<dt class="tag-description">Description:</dt>
|
|
696
|
+
<dd class="tag-description"><ul class="dummy"><li>Add a string to the target array at index i.</li></ul></dd>
|
|
697
|
+
|
|
796
698
|
|
|
797
699
|
|
|
798
700
|
<dt class="tag-source">Source:</dt>
|
|
@@ -836,12 +738,6 @@ and false otherwise
|
|
|
836
738
|
|
|
837
739
|
|
|
838
740
|
|
|
839
|
-
<div class="description usertext">
|
|
840
|
-
Add a string to the target array at index i.
|
|
841
|
-
</div>
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
741
|
|
|
846
742
|
|
|
847
743
|
|
|
@@ -850,7 +746,7 @@ and false otherwise
|
|
|
850
746
|
|
|
851
747
|
|
|
852
748
|
|
|
853
|
-
<h5>Parameters:</h5>
|
|
749
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
854
750
|
|
|
855
751
|
|
|
856
752
|
<table class="params">
|
|
@@ -884,6 +780,7 @@ and false otherwise
|
|
|
884
780
|
<span class="param-type">number</span>
|
|
885
781
|
|
|
886
782
|
|
|
783
|
+
|
|
887
784
|
|
|
888
785
|
</td>
|
|
889
786
|
|
|
@@ -907,6 +804,7 @@ and false otherwise
|
|
|
907
804
|
<span class="param-type">String</span>
|
|
908
805
|
|
|
909
806
|
|
|
807
|
+
|
|
910
808
|
|
|
911
809
|
</td>
|
|
912
810
|
|
|
@@ -952,6 +850,10 @@ and false otherwise
|
|
|
952
850
|
|
|
953
851
|
|
|
954
852
|
<dl class="details">
|
|
853
|
+
|
|
854
|
+
<dt class="tag-description">Description:</dt>
|
|
855
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the a hash key that uniquely identifies this resource, but uses the cleaned version of the string</li></ul></dd>
|
|
856
|
+
|
|
955
857
|
|
|
956
858
|
|
|
957
859
|
<dt class="tag-source">Source:</dt>
|
|
@@ -995,9 +897,6 @@ and false otherwise
|
|
|
995
897
|
|
|
996
898
|
|
|
997
899
|
|
|
998
|
-
<div class="description usertext">
|
|
999
|
-
Return the a hash key that uniquely identifies this resource, but uses the cleaned version of the string
|
|
1000
|
-
</div>
|
|
1001
900
|
|
|
1002
901
|
|
|
1003
902
|
|
|
@@ -1020,10 +919,7 @@ and false otherwise
|
|
|
1020
919
|
|
|
1021
920
|
|
|
1022
921
|
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
<h5>Returns:</h5>
|
|
922
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
1027
923
|
|
|
1028
924
|
|
|
1029
925
|
<div class="param-desc">
|
|
@@ -1041,6 +937,7 @@ and false otherwise
|
|
|
1041
937
|
<span class="param-type">String</span>
|
|
1042
938
|
|
|
1043
939
|
|
|
940
|
+
|
|
1044
941
|
</dd>
|
|
1045
942
|
</dl>
|
|
1046
943
|
|
|
@@ -1061,6 +958,11 @@ and false otherwise
|
|
|
1061
958
|
|
|
1062
959
|
|
|
1063
960
|
<dl class="details">
|
|
961
|
+
|
|
962
|
+
<dt class="tag-description">Description:</dt>
|
|
963
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the a hash key that uniquely identifies the translation of
|
|
964
|
+
this resource to the given locale.</li></ul></dd>
|
|
965
|
+
|
|
1064
966
|
|
|
1065
967
|
|
|
1066
968
|
<dt class="tag-source">Source:</dt>
|
|
@@ -1104,13 +1006,6 @@ and false otherwise
|
|
|
1104
1006
|
|
|
1105
1007
|
|
|
1106
1008
|
|
|
1107
|
-
<div class="description usertext">
|
|
1108
|
-
Return the a hash key that uniquely identifies the translation of
|
|
1109
|
-
this resource to the given locale.
|
|
1110
|
-
</div>
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
1009
|
|
|
1115
1010
|
|
|
1116
1011
|
|
|
@@ -1119,7 +1014,7 @@ this resource to the given locale.
|
|
|
1119
1014
|
|
|
1120
1015
|
|
|
1121
1016
|
|
|
1122
|
-
<h5>Parameters:</h5>
|
|
1017
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
1123
1018
|
|
|
1124
1019
|
|
|
1125
1020
|
<table class="params">
|
|
@@ -1153,6 +1048,7 @@ this resource to the given locale.
|
|
|
1153
1048
|
<span class="param-type">String</span>
|
|
1154
1049
|
|
|
1155
1050
|
|
|
1051
|
+
|
|
1156
1052
|
|
|
1157
1053
|
</td>
|
|
1158
1054
|
|
|
@@ -1182,7 +1078,7 @@ this resource to the given locale.
|
|
|
1182
1078
|
|
|
1183
1079
|
|
|
1184
1080
|
|
|
1185
|
-
<h5>Returns:</h5>
|
|
1081
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
1186
1082
|
|
|
1187
1083
|
|
|
1188
1084
|
<div class="param-desc">
|
|
@@ -1200,6 +1096,7 @@ this resource to the given locale.
|
|
|
1200
1096
|
<span class="param-type">String</span>
|
|
1201
1097
|
|
|
1202
1098
|
|
|
1099
|
+
|
|
1203
1100
|
</dd>
|
|
1204
1101
|
</dl>
|
|
1205
1102
|
|
|
@@ -1220,6 +1117,10 @@ this resource to the given locale.
|
|
|
1220
1117
|
|
|
1221
1118
|
|
|
1222
1119
|
<dl class="details">
|
|
1120
|
+
|
|
1121
|
+
<dt class="tag-description">Description:</dt>
|
|
1122
|
+
<dd class="tag-description"><ul class="dummy"><li>Clone this resource and override the properties with the given ones.</li></ul></dd>
|
|
1123
|
+
|
|
1223
1124
|
|
|
1224
1125
|
|
|
1225
1126
|
<dt class="tag-source">Source:</dt>
|
|
@@ -1263,10 +1164,6 @@ this resource to the given locale.
|
|
|
1263
1164
|
|
|
1264
1165
|
|
|
1265
1166
|
|
|
1266
|
-
<div class="description usertext">
|
|
1267
|
-
Clone this resource and override the properties with the given ones.
|
|
1268
|
-
</div>
|
|
1269
|
-
|
|
1270
1167
|
|
|
1271
1168
|
|
|
1272
1169
|
|
|
@@ -1289,9 +1186,7 @@ this resource to the given locale.
|
|
|
1289
1186
|
|
|
1290
1187
|
|
|
1291
1188
|
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
<h5>Returns:</h5>
|
|
1189
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
1295
1190
|
|
|
1296
1191
|
|
|
1297
1192
|
<div class="param-desc">
|
|
@@ -1309,6 +1204,7 @@ this resource to the given locale.
|
|
|
1309
1204
|
<span class="param-type"><a href="ResourceArray.html">ResourceArray</a></span>
|
|
1310
1205
|
|
|
1311
1206
|
|
|
1207
|
+
|
|
1312
1208
|
</dd>
|
|
1313
1209
|
</dl>
|
|
1314
1210
|
|
|
@@ -1329,6 +1225,12 @@ this resource to the given locale.
|
|
|
1329
1225
|
|
|
1330
1226
|
|
|
1331
1227
|
<dl class="details">
|
|
1228
|
+
|
|
1229
|
+
<dt class="tag-description">Description:</dt>
|
|
1230
|
+
<dd class="tag-description"><ul class="dummy"><li>Return true if the other resources contains the same resources as
|
|
1231
|
+
the current one. The pathName, state, and comment fields are
|
|
1232
|
+
ignored as minor variations.</li></ul></dd>
|
|
1233
|
+
|
|
1332
1234
|
|
|
1333
1235
|
|
|
1334
1236
|
<dt class="tag-source">Source:</dt>
|
|
@@ -1372,11 +1274,6 @@ this resource to the given locale.
|
|
|
1372
1274
|
|
|
1373
1275
|
|
|
1374
1276
|
|
|
1375
|
-
<div class="description usertext">
|
|
1376
|
-
Return true if the other resources contains the same resources as
|
|
1377
|
-
the current one. The pathName, state, and comment fields are
|
|
1378
|
-
ignored as minor variations.
|
|
1379
|
-
</div>
|
|
1380
1277
|
|
|
1381
1278
|
|
|
1382
1279
|
|
|
@@ -1385,10 +1282,7 @@ ignored as minor variations.
|
|
|
1385
1282
|
|
|
1386
1283
|
|
|
1387
1284
|
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
<h5>Parameters:</h5>
|
|
1285
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
1392
1286
|
|
|
1393
1287
|
|
|
1394
1288
|
<table class="params">
|
|
@@ -1422,6 +1316,7 @@ ignored as minor variations.
|
|
|
1422
1316
|
<span class="param-type"><a href="Resource.html">Resource</a></span>
|
|
1423
1317
|
|
|
1424
1318
|
|
|
1319
|
+
|
|
1425
1320
|
|
|
1426
1321
|
</td>
|
|
1427
1322
|
|
|
@@ -1451,7 +1346,7 @@ ignored as minor variations.
|
|
|
1451
1346
|
|
|
1452
1347
|
|
|
1453
1348
|
|
|
1454
|
-
<h5>Returns:</h5>
|
|
1349
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
1455
1350
|
|
|
1456
1351
|
|
|
1457
1352
|
<div class="param-desc">
|
|
@@ -1469,6 +1364,7 @@ ignored as minor variations.
|
|
|
1469
1364
|
<span class="param-type">boolean</span>
|
|
1470
1365
|
|
|
1471
1366
|
|
|
1367
|
+
|
|
1472
1368
|
</dd>
|
|
1473
1369
|
</dl>
|
|
1474
1370
|
|
|
@@ -1489,6 +1385,11 @@ ignored as minor variations.
|
|
|
1489
1385
|
|
|
1490
1386
|
|
|
1491
1387
|
<dl class="details">
|
|
1388
|
+
|
|
1389
|
+
<dt class="tag-description">Description:</dt>
|
|
1390
|
+
<dd class="tag-description"><ul class="dummy"><li>Return true if the other resource contains the exact same resource as
|
|
1391
|
+
the current one. All fields must match.</li></ul></dd>
|
|
1392
|
+
|
|
1492
1393
|
|
|
1493
1394
|
|
|
1494
1395
|
<dt class="tag-source">Source:</dt>
|
|
@@ -1532,12 +1433,6 @@ ignored as minor variations.
|
|
|
1532
1433
|
|
|
1533
1434
|
|
|
1534
1435
|
|
|
1535
|
-
<div class="description usertext">
|
|
1536
|
-
Return true if the other resource contains the exact same resource as
|
|
1537
|
-
the current one. All fields must match.
|
|
1538
|
-
</div>
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
1436
|
|
|
1542
1437
|
|
|
1543
1438
|
|
|
@@ -1546,8 +1441,7 @@ the current one. All fields must match.
|
|
|
1546
1441
|
|
|
1547
1442
|
|
|
1548
1443
|
|
|
1549
|
-
|
|
1550
|
-
<h5>Parameters:</h5>
|
|
1444
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
1551
1445
|
|
|
1552
1446
|
|
|
1553
1447
|
<table class="params">
|
|
@@ -1581,6 +1475,7 @@ the current one. All fields must match.
|
|
|
1581
1475
|
<span class="param-type"><a href="Resource.html">Resource</a></span>
|
|
1582
1476
|
|
|
1583
1477
|
|
|
1478
|
+
|
|
1584
1479
|
|
|
1585
1480
|
</td>
|
|
1586
1481
|
|
|
@@ -1610,7 +1505,7 @@ the current one. All fields must match.
|
|
|
1610
1505
|
|
|
1611
1506
|
|
|
1612
1507
|
|
|
1613
|
-
<h5>Returns:</h5>
|
|
1508
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
1614
1509
|
|
|
1615
1510
|
|
|
1616
1511
|
<div class="param-desc">
|
|
@@ -1628,6 +1523,7 @@ the current one. All fields must match.
|
|
|
1628
1523
|
<span class="param-type">boolean</span>
|
|
1629
1524
|
|
|
1630
1525
|
|
|
1526
|
+
|
|
1631
1527
|
</dd>
|
|
1632
1528
|
</dl>
|
|
1633
1529
|
|
|
@@ -1648,6 +1544,12 @@ the current one. All fields must match.
|
|
|
1648
1544
|
|
|
1649
1545
|
|
|
1650
1546
|
<dl class="details">
|
|
1547
|
+
|
|
1548
|
+
<dt class="tag-description">Description:</dt>
|
|
1549
|
+
<dd class="tag-description"><ul class="dummy"><li>Escape text for writing to a database in a SQL command. This puts single
|
|
1550
|
+
quotes around the string, and makes sure that all single quotes within
|
|
1551
|
+
the string are escaped.</li></ul></dd>
|
|
1552
|
+
|
|
1651
1553
|
|
|
1652
1554
|
|
|
1653
1555
|
<dt class="tag-source">Source:</dt>
|
|
@@ -1696,12 +1598,6 @@ the current one. All fields must match.
|
|
|
1696
1598
|
|
|
1697
1599
|
|
|
1698
1600
|
|
|
1699
|
-
<div class="description usertext">
|
|
1700
|
-
Escape text for writing to a database in a SQL command. This puts single
|
|
1701
|
-
quotes around the string, and makes sure that all single quotes within
|
|
1702
|
-
the string are escaped.
|
|
1703
|
-
</div>
|
|
1704
|
-
|
|
1705
1601
|
|
|
1706
1602
|
|
|
1707
1603
|
|
|
@@ -1710,9 +1606,7 @@ the string are escaped.
|
|
|
1710
1606
|
|
|
1711
1607
|
|
|
1712
1608
|
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
<h5>Parameters:</h5>
|
|
1609
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
1716
1610
|
|
|
1717
1611
|
|
|
1718
1612
|
<table class="params">
|
|
@@ -1746,6 +1640,7 @@ the string are escaped.
|
|
|
1746
1640
|
<span class="param-type">Object</span>
|
|
1747
1641
|
|
|
1748
1642
|
|
|
1643
|
+
|
|
1749
1644
|
|
|
1750
1645
|
</td>
|
|
1751
1646
|
|
|
@@ -1775,7 +1670,7 @@ the string are escaped.
|
|
|
1775
1670
|
|
|
1776
1671
|
|
|
1777
1672
|
|
|
1778
|
-
<h5>Returns:</h5>
|
|
1673
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
1779
1674
|
|
|
1780
1675
|
|
|
1781
1676
|
<div class="param-desc">
|
|
@@ -1793,6 +1688,7 @@ the string are escaped.
|
|
|
1793
1688
|
<span class="param-type">String</span>
|
|
1794
1689
|
|
|
1795
1690
|
|
|
1691
|
+
|
|
1796
1692
|
</dd>
|
|
1797
1693
|
</dl>
|
|
1798
1694
|
|
|
@@ -1813,6 +1709,11 @@ the string are escaped.
|
|
|
1813
1709
|
|
|
1814
1710
|
|
|
1815
1711
|
<dl class="details">
|
|
1712
|
+
|
|
1713
|
+
<dt class="tag-description">Description:</dt>
|
|
1714
|
+
<dd class="tag-description"><ul class="dummy"><li>Return true if the key of this resource was automatically generated,
|
|
1715
|
+
and false if it was an explicit key.</li></ul></dd>
|
|
1716
|
+
|
|
1816
1717
|
|
|
1817
1718
|
|
|
1818
1719
|
<dt class="tag-source">Source:</dt>
|
|
@@ -1861,12 +1762,6 @@ the string are escaped.
|
|
|
1861
1762
|
|
|
1862
1763
|
|
|
1863
1764
|
|
|
1864
|
-
<div class="description usertext">
|
|
1865
|
-
Return true if the key of this resource was automatically generated,
|
|
1866
|
-
and false if it was an explicit key.
|
|
1867
|
-
</div>
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
1765
|
|
|
1871
1766
|
|
|
1872
1767
|
|
|
@@ -1889,8 +1784,7 @@ and false if it was an explicit key.
|
|
|
1889
1784
|
|
|
1890
1785
|
|
|
1891
1786
|
|
|
1892
|
-
|
|
1893
|
-
<h5>Returns:</h5>
|
|
1787
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
1894
1788
|
|
|
1895
1789
|
|
|
1896
1790
|
<div class="param-desc">
|
|
@@ -1909,6 +1803,7 @@ false otherwise
|
|
|
1909
1803
|
<span class="param-type">boolean</span>
|
|
1910
1804
|
|
|
1911
1805
|
|
|
1806
|
+
|
|
1912
1807
|
</dd>
|
|
1913
1808
|
</dl>
|
|
1914
1809
|
|
|
@@ -1929,6 +1824,11 @@ false otherwise
|
|
|
1929
1824
|
|
|
1930
1825
|
|
|
1931
1826
|
<dl class="details">
|
|
1827
|
+
|
|
1828
|
+
<dt class="tag-description">Description:</dt>
|
|
1829
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the translator's comment for this resource if there is
|
|
1830
|
+
one, or undefined if not.</li></ul></dd>
|
|
1831
|
+
|
|
1932
1832
|
|
|
1933
1833
|
|
|
1934
1834
|
<dt class="tag-source">Source:</dt>
|
|
@@ -1977,11 +1877,6 @@ false otherwise
|
|
|
1977
1877
|
|
|
1978
1878
|
|
|
1979
1879
|
|
|
1980
|
-
<div class="description usertext">
|
|
1981
|
-
Return the translator's comment for this resource if there is
|
|
1982
|
-
one, or undefined if not.
|
|
1983
|
-
</div>
|
|
1984
|
-
|
|
1985
1880
|
|
|
1986
1881
|
|
|
1987
1882
|
|
|
@@ -2004,9 +1899,7 @@ one, or undefined if not.
|
|
|
2004
1899
|
|
|
2005
1900
|
|
|
2006
1901
|
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
<h5>Returns:</h5>
|
|
1902
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
2010
1903
|
|
|
2011
1904
|
|
|
2012
1905
|
<div class="param-desc">
|
|
@@ -2028,6 +1921,7 @@ if the engineer put one in the code
|
|
|
2028
1921
|
<span class="param-type">undefined</span>
|
|
2029
1922
|
|
|
2030
1923
|
|
|
1924
|
+
|
|
2031
1925
|
</dd>
|
|
2032
1926
|
</dl>
|
|
2033
1927
|
|
|
@@ -2048,6 +1942,11 @@ if the engineer put one in the code
|
|
|
2048
1942
|
|
|
2049
1943
|
|
|
2050
1944
|
<dl class="details">
|
|
1945
|
+
|
|
1946
|
+
<dt class="tag-description">Description:</dt>
|
|
1947
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the context of this resource, or undefined if there
|
|
1948
|
+
is no context.</li></ul></dd>
|
|
1949
|
+
|
|
2051
1950
|
|
|
2052
1951
|
|
|
2053
1952
|
<dt class="tag-source">Source:</dt>
|
|
@@ -2096,12 +1995,6 @@ if the engineer put one in the code
|
|
|
2096
1995
|
|
|
2097
1996
|
|
|
2098
1997
|
|
|
2099
|
-
<div class="description usertext">
|
|
2100
|
-
Return the context of this resource, or undefined if there
|
|
2101
|
-
is no context.
|
|
2102
|
-
</div>
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
1998
|
|
|
2106
1999
|
|
|
2107
2000
|
|
|
@@ -2124,8 +2017,7 @@ is no context.
|
|
|
2124
2017
|
|
|
2125
2018
|
|
|
2126
2019
|
|
|
2127
|
-
|
|
2128
|
-
<h5>Returns:</h5>
|
|
2020
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
2129
2021
|
|
|
2130
2022
|
|
|
2131
2023
|
<div class="param-desc">
|
|
@@ -2147,6 +2039,7 @@ is no context.
|
|
|
2147
2039
|
<span class="param-type">undefined</span>
|
|
2148
2040
|
|
|
2149
2041
|
|
|
2042
|
+
|
|
2150
2043
|
</dd>
|
|
2151
2044
|
</dl>
|
|
2152
2045
|
|
|
@@ -2167,6 +2060,10 @@ is no context.
|
|
|
2167
2060
|
|
|
2168
2061
|
|
|
2169
2062
|
<dl class="details">
|
|
2063
|
+
|
|
2064
|
+
<dt class="tag-description">Description:</dt>
|
|
2065
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the data type of this resource.</li></ul></dd>
|
|
2066
|
+
|
|
2170
2067
|
|
|
2171
2068
|
|
|
2172
2069
|
<dt class="tag-source">Source:</dt>
|
|
@@ -2215,11 +2112,6 @@ is no context.
|
|
|
2215
2112
|
|
|
2216
2113
|
|
|
2217
2114
|
|
|
2218
|
-
<div class="description usertext">
|
|
2219
|
-
Return the data type of this resource.
|
|
2220
|
-
</div>
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
2115
|
|
|
2224
2116
|
|
|
2225
2117
|
|
|
@@ -2242,8 +2134,7 @@ is no context.
|
|
|
2242
2134
|
|
|
2243
2135
|
|
|
2244
2136
|
|
|
2245
|
-
|
|
2246
|
-
<h5>Returns:</h5>
|
|
2137
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
2247
2138
|
|
|
2248
2139
|
|
|
2249
2140
|
<div class="param-desc">
|
|
@@ -2261,6 +2152,7 @@ is no context.
|
|
|
2261
2152
|
<span class="param-type">String</span>
|
|
2262
2153
|
|
|
2263
2154
|
|
|
2155
|
+
|
|
2264
2156
|
</dd>
|
|
2265
2157
|
</dl>
|
|
2266
2158
|
|
|
@@ -2281,6 +2173,11 @@ is no context.
|
|
|
2281
2173
|
|
|
2282
2174
|
|
|
2283
2175
|
<dl class="details">
|
|
2176
|
+
|
|
2177
|
+
<dt class="tag-description">Description:</dt>
|
|
2178
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the name of the flavor for this resource, or undefined
|
|
2179
|
+
for the "main" or default flavor.</li></ul></dd>
|
|
2180
|
+
|
|
2284
2181
|
|
|
2285
2182
|
|
|
2286
2183
|
<dt class="tag-source">Source:</dt>
|
|
@@ -2329,13 +2226,6 @@ is no context.
|
|
|
2329
2226
|
|
|
2330
2227
|
|
|
2331
2228
|
|
|
2332
|
-
<div class="description usertext">
|
|
2333
|
-
Return the name of the flavor for this resource, or undefined
|
|
2334
|
-
for the "main" or default flavor.
|
|
2335
|
-
</div>
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
2229
|
|
|
2340
2230
|
|
|
2341
2231
|
|
|
@@ -2358,7 +2248,7 @@ for the "main" or default flavor.
|
|
|
2358
2248
|
|
|
2359
2249
|
|
|
2360
2250
|
|
|
2361
|
-
<h5>Returns:</h5>
|
|
2251
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
2362
2252
|
|
|
2363
2253
|
|
|
2364
2254
|
<div class="param-desc">
|
|
@@ -2380,6 +2270,7 @@ for the "main" or default flavor.
|
|
|
2380
2270
|
<span class="param-type">undefined</span>
|
|
2381
2271
|
|
|
2382
2272
|
|
|
2273
|
+
|
|
2383
2274
|
</dd>
|
|
2384
2275
|
</dl>
|
|
2385
2276
|
|
|
@@ -2400,6 +2291,11 @@ for the "main" or default flavor.
|
|
|
2400
2291
|
|
|
2401
2292
|
|
|
2402
2293
|
<dl class="details">
|
|
2294
|
+
|
|
2295
|
+
<dt class="tag-description">Description:</dt>
|
|
2296
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the database id if this resource has previously been saved in the
|
|
2297
|
+
database.</li></ul></dd>
|
|
2298
|
+
|
|
2403
2299
|
|
|
2404
2300
|
|
|
2405
2301
|
<dt class="tag-source">Source:</dt>
|
|
@@ -2448,12 +2344,6 @@ for the "main" or default flavor.
|
|
|
2448
2344
|
|
|
2449
2345
|
|
|
2450
2346
|
|
|
2451
|
-
<div class="description usertext">
|
|
2452
|
-
Return the database id if this resource has previously been saved in the
|
|
2453
|
-
database.
|
|
2454
|
-
</div>
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
2347
|
|
|
2458
2348
|
|
|
2459
2349
|
|
|
@@ -2476,8 +2366,7 @@ database.
|
|
|
2476
2366
|
|
|
2477
2367
|
|
|
2478
2368
|
|
|
2479
|
-
|
|
2480
|
-
<h5>Returns:</h5>
|
|
2369
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
2481
2370
|
|
|
2482
2371
|
|
|
2483
2372
|
<div class="param-desc">
|
|
@@ -2499,6 +2388,7 @@ been saved in the database, or undefined if it is has not
|
|
|
2499
2388
|
<span class="param-type">undefined</span>
|
|
2500
2389
|
|
|
2501
2390
|
|
|
2391
|
+
|
|
2502
2392
|
</dd>
|
|
2503
2393
|
</dl>
|
|
2504
2394
|
|
|
@@ -2519,6 +2409,10 @@ been saved in the database, or undefined if it is has not
|
|
|
2519
2409
|
|
|
2520
2410
|
|
|
2521
2411
|
<dl class="details">
|
|
2412
|
+
|
|
2413
|
+
<dt class="tag-description">Description:</dt>
|
|
2414
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the list of instances of the current resource.</li></ul></dd>
|
|
2415
|
+
|
|
2522
2416
|
|
|
2523
2417
|
|
|
2524
2418
|
<dt class="tag-source">Source:</dt>
|
|
@@ -2567,10 +2461,6 @@ been saved in the database, or undefined if it is has not
|
|
|
2567
2461
|
|
|
2568
2462
|
|
|
2569
2463
|
|
|
2570
|
-
<div class="description usertext">
|
|
2571
|
-
Return the list of instances of the current resource.
|
|
2572
|
-
</div>
|
|
2573
|
-
|
|
2574
2464
|
|
|
2575
2465
|
|
|
2576
2466
|
|
|
@@ -2593,9 +2483,7 @@ been saved in the database, or undefined if it is has not
|
|
|
2593
2483
|
|
|
2594
2484
|
|
|
2595
2485
|
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
<h5>Returns:</h5>
|
|
2486
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
2599
2487
|
|
|
2600
2488
|
|
|
2601
2489
|
<div class="param-desc">
|
|
@@ -2614,6 +2502,7 @@ the current resource
|
|
|
2614
2502
|
<span class="param-type">Array.<<a href="Resource.html">Resource</a>></span>
|
|
2615
2503
|
|
|
2616
2504
|
|
|
2505
|
+
|
|
2617
2506
|
</dd>
|
|
2618
2507
|
</dl>
|
|
2619
2508
|
|
|
@@ -2634,6 +2523,10 @@ the current resource
|
|
|
2634
2523
|
|
|
2635
2524
|
|
|
2636
2525
|
<dl class="details">
|
|
2526
|
+
|
|
2527
|
+
<dt class="tag-description">Description:</dt>
|
|
2528
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the unique key of this resource.</li></ul></dd>
|
|
2529
|
+
|
|
2637
2530
|
|
|
2638
2531
|
|
|
2639
2532
|
<dt class="tag-source">Source:</dt>
|
|
@@ -2682,12 +2575,6 @@ the current resource
|
|
|
2682
2575
|
|
|
2683
2576
|
|
|
2684
2577
|
|
|
2685
|
-
<div class="description usertext">
|
|
2686
|
-
Return the unique key of this resource.
|
|
2687
|
-
</div>
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
2578
|
|
|
2692
2579
|
|
|
2693
2580
|
|
|
@@ -2710,7 +2597,7 @@ the current resource
|
|
|
2710
2597
|
|
|
2711
2598
|
|
|
2712
2599
|
|
|
2713
|
-
<h5>Returns:</h5>
|
|
2600
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
2714
2601
|
|
|
2715
2602
|
|
|
2716
2603
|
<div class="param-desc">
|
|
@@ -2728,6 +2615,7 @@ the current resource
|
|
|
2728
2615
|
<span class="param-type">String</span>
|
|
2729
2616
|
|
|
2730
2617
|
|
|
2618
|
+
|
|
2731
2619
|
</dd>
|
|
2732
2620
|
</dl>
|
|
2733
2621
|
|
|
@@ -2748,6 +2636,12 @@ the current resource
|
|
|
2748
2636
|
|
|
2749
2637
|
|
|
2750
2638
|
<dl class="details">
|
|
2639
|
+
|
|
2640
|
+
<dt class="tag-description">Description:</dt>
|
|
2641
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the localize flag of this resource.
|
|
2642
|
+
This flag indicates whether we should look up a translation for this resource.
|
|
2643
|
+
When false, we should simply substitute the source back</li></ul></dd>
|
|
2644
|
+
|
|
2751
2645
|
|
|
2752
2646
|
|
|
2753
2647
|
<dt class="tag-source">Source:</dt>
|
|
@@ -2796,11 +2690,6 @@ the current resource
|
|
|
2796
2690
|
|
|
2797
2691
|
|
|
2798
2692
|
|
|
2799
|
-
<div class="description usertext">
|
|
2800
|
-
Return the localize flag of this resource.
|
|
2801
|
-
This flag indicates whether we should look up a translation for this resource.
|
|
2802
|
-
When false, we should simply substitute the source back
|
|
2803
|
-
</div>
|
|
2804
2693
|
|
|
2805
2694
|
|
|
2806
2695
|
|
|
@@ -2823,10 +2712,7 @@ When false, we should simply substitute the source back
|
|
|
2823
2712
|
|
|
2824
2713
|
|
|
2825
2714
|
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
<h5>Returns:</h5>
|
|
2715
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
2830
2716
|
|
|
2831
2717
|
|
|
2832
2718
|
<div class="param-desc">
|
|
@@ -2844,6 +2730,7 @@ When false, we should simply substitute the source back
|
|
|
2844
2730
|
<span class="param-type">Boolean</span>
|
|
2845
2731
|
|
|
2846
2732
|
|
|
2733
|
+
|
|
2847
2734
|
</dd>
|
|
2848
2735
|
</dl>
|
|
2849
2736
|
|
|
@@ -2864,6 +2751,13 @@ When false, we should simply substitute the source back
|
|
|
2864
2751
|
|
|
2865
2752
|
|
|
2866
2753
|
<dl class="details">
|
|
2754
|
+
|
|
2755
|
+
<dt class="tag-description">Description:</dt>
|
|
2756
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the origin of this resource. The origin may be either the string
|
|
2757
|
+
"source" or "target". Source origin resources are ones that are extracted
|
|
2758
|
+
from the source code, whereas target ones are translations from the
|
|
2759
|
+
translators.</li></ul></dd>
|
|
2760
|
+
|
|
2867
2761
|
|
|
2868
2762
|
|
|
2869
2763
|
<dt class="tag-source">Source:</dt>
|
|
@@ -2912,13 +2806,6 @@ When false, we should simply substitute the source back
|
|
|
2912
2806
|
|
|
2913
2807
|
|
|
2914
2808
|
|
|
2915
|
-
<div class="description usertext">
|
|
2916
|
-
Return the origin of this resource. The origin may be either the string
|
|
2917
|
-
"source" or "target". Source origin resources are ones that are extracted
|
|
2918
|
-
from the source code, whereas target ones are translations from the
|
|
2919
|
-
translators.
|
|
2920
|
-
</div>
|
|
2921
|
-
|
|
2922
2809
|
|
|
2923
2810
|
|
|
2924
2811
|
|
|
@@ -2941,9 +2828,7 @@ translators.
|
|
|
2941
2828
|
|
|
2942
2829
|
|
|
2943
2830
|
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
<h5>Returns:</h5>
|
|
2831
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
2947
2832
|
|
|
2948
2833
|
|
|
2949
2834
|
<div class="param-desc">
|
|
@@ -2961,6 +2846,7 @@ translators.
|
|
|
2961
2846
|
<span class="param-type">String</span>
|
|
2962
2847
|
|
|
2963
2848
|
|
|
2849
|
+
|
|
2964
2850
|
</dd>
|
|
2965
2851
|
</dl>
|
|
2966
2852
|
|
|
@@ -2981,6 +2867,11 @@ translators.
|
|
|
2981
2867
|
|
|
2982
2868
|
|
|
2983
2869
|
<dl class="details">
|
|
2870
|
+
|
|
2871
|
+
<dt class="tag-description">Description:</dt>
|
|
2872
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the original path to the file from which this resource was
|
|
2873
|
+
originally extracted.</li></ul></dd>
|
|
2874
|
+
|
|
2984
2875
|
|
|
2985
2876
|
|
|
2986
2877
|
<dt class="tag-source">Source:</dt>
|
|
@@ -3029,12 +2920,6 @@ translators.
|
|
|
3029
2920
|
|
|
3030
2921
|
|
|
3031
2922
|
|
|
3032
|
-
<div class="description usertext">
|
|
3033
|
-
Return the original path to the file from which this resource was
|
|
3034
|
-
originally extracted.
|
|
3035
|
-
</div>
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
2923
|
|
|
3039
2924
|
|
|
3040
2925
|
|
|
@@ -3057,8 +2942,7 @@ originally extracted.
|
|
|
3057
2942
|
|
|
3058
2943
|
|
|
3059
2944
|
|
|
3060
|
-
|
|
3061
|
-
<h5>Returns:</h5>
|
|
2945
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
3062
2946
|
|
|
3063
2947
|
|
|
3064
2948
|
<div class="param-desc">
|
|
@@ -3076,6 +2960,7 @@ originally extracted.
|
|
|
3076
2960
|
<span class="param-type">String</span>
|
|
3077
2961
|
|
|
3078
2962
|
|
|
2963
|
+
|
|
3079
2964
|
</dd>
|
|
3080
2965
|
</dl>
|
|
3081
2966
|
|
|
@@ -3096,6 +2981,10 @@ originally extracted.
|
|
|
3096
2981
|
|
|
3097
2982
|
|
|
3098
2983
|
<dl class="details">
|
|
2984
|
+
|
|
2985
|
+
<dt class="tag-description">Description:</dt>
|
|
2986
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the project that this resource was found in.</li></ul></dd>
|
|
2987
|
+
|
|
3099
2988
|
|
|
3100
2989
|
|
|
3101
2990
|
<dt class="tag-source">Source:</dt>
|
|
@@ -3144,12 +3033,6 @@ originally extracted.
|
|
|
3144
3033
|
|
|
3145
3034
|
|
|
3146
3035
|
|
|
3147
|
-
<div class="description usertext">
|
|
3148
|
-
Return the project that this resource was found in.
|
|
3149
|
-
</div>
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
3036
|
|
|
3154
3037
|
|
|
3155
3038
|
|
|
@@ -3172,7 +3055,7 @@ originally extracted.
|
|
|
3172
3055
|
|
|
3173
3056
|
|
|
3174
3057
|
|
|
3175
|
-
<h5>Returns:</h5>
|
|
3058
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
3176
3059
|
|
|
3177
3060
|
|
|
3178
3061
|
<div class="param-desc">
|
|
@@ -3190,6 +3073,7 @@ originally extracted.
|
|
|
3190
3073
|
<span class="param-type">String</span>
|
|
3191
3074
|
|
|
3192
3075
|
|
|
3076
|
+
|
|
3193
3077
|
</dd>
|
|
3194
3078
|
</dl>
|
|
3195
3079
|
|
|
@@ -3210,6 +3094,10 @@ originally extracted.
|
|
|
3210
3094
|
|
|
3211
3095
|
|
|
3212
3096
|
<dl class="details">
|
|
3097
|
+
|
|
3098
|
+
<dt class="tag-description">Description:</dt>
|
|
3099
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the source string or strings for this resource.</li></ul></dd>
|
|
3100
|
+
|
|
3213
3101
|
|
|
3214
3102
|
|
|
3215
3103
|
<dt class="tag-source">Source:</dt>
|
|
@@ -3258,10 +3146,6 @@ originally extracted.
|
|
|
3258
3146
|
|
|
3259
3147
|
|
|
3260
3148
|
|
|
3261
|
-
<div class="description usertext">
|
|
3262
|
-
Return the source string or strings for this resource.
|
|
3263
|
-
</div>
|
|
3264
|
-
|
|
3265
3149
|
|
|
3266
3150
|
|
|
3267
3151
|
|
|
@@ -3284,9 +3168,7 @@ originally extracted.
|
|
|
3284
3168
|
|
|
3285
3169
|
|
|
3286
3170
|
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
<h5>Returns:</h5>
|
|
3171
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
3290
3172
|
|
|
3291
3173
|
|
|
3292
3174
|
<div class="param-desc">
|
|
@@ -3311,6 +3193,7 @@ strings of this resource
|
|
|
3311
3193
|
<span class="param-type">Object</span>
|
|
3312
3194
|
|
|
3313
3195
|
|
|
3196
|
+
|
|
3314
3197
|
</dd>
|
|
3315
3198
|
</dl>
|
|
3316
3199
|
|
|
@@ -3331,6 +3214,11 @@ strings of this resource
|
|
|
3331
3214
|
|
|
3332
3215
|
|
|
3333
3216
|
<dl class="details">
|
|
3217
|
+
|
|
3218
|
+
<dt class="tag-description">Description:</dt>
|
|
3219
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the array of source strings. This method is here
|
|
3220
|
+
for backwards compatilibity with the loctool plugins.</li></ul></dd>
|
|
3221
|
+
|
|
3334
3222
|
|
|
3335
3223
|
|
|
3336
3224
|
<dt class="tag-source">Source:</dt>
|
|
@@ -3376,13 +3264,6 @@ strings of this resource
|
|
|
3376
3264
|
|
|
3377
3265
|
|
|
3378
3266
|
|
|
3379
|
-
<div class="description usertext">
|
|
3380
|
-
Return the array of source strings. This method is here
|
|
3381
|
-
for backwards compatilibity with the loctool plugins.
|
|
3382
|
-
</div>
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
3267
|
|
|
3387
3268
|
|
|
3388
3269
|
|
|
@@ -3405,7 +3286,7 @@ for backwards compatilibity with the loctool plugins.
|
|
|
3405
3286
|
|
|
3406
3287
|
|
|
3407
3288
|
|
|
3408
|
-
<h5>Returns:</h5>
|
|
3289
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
3409
3290
|
|
|
3410
3291
|
|
|
3411
3292
|
<div class="param-desc">
|
|
@@ -3423,6 +3304,7 @@ for backwards compatilibity with the loctool plugins.
|
|
|
3423
3304
|
<span class="param-type">Array.<String></span>
|
|
3424
3305
|
|
|
3425
3306
|
|
|
3307
|
+
|
|
3426
3308
|
</dd>
|
|
3427
3309
|
</dl>
|
|
3428
3310
|
|
|
@@ -3443,6 +3325,10 @@ for backwards compatilibity with the loctool plugins.
|
|
|
3443
3325
|
|
|
3444
3326
|
|
|
3445
3327
|
<dl class="details">
|
|
3328
|
+
|
|
3329
|
+
<dt class="tag-description">Description:</dt>
|
|
3330
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the source string with the given index into the array.</li></ul></dd>
|
|
3331
|
+
|
|
3446
3332
|
|
|
3447
3333
|
|
|
3448
3334
|
<dt class="tag-source">Source:</dt>
|
|
@@ -3486,11 +3372,6 @@ for backwards compatilibity with the loctool plugins.
|
|
|
3486
3372
|
|
|
3487
3373
|
|
|
3488
3374
|
|
|
3489
|
-
<div class="description usertext">
|
|
3490
|
-
Return the source string with the given index into the array.
|
|
3491
|
-
</div>
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
3375
|
|
|
3495
3376
|
|
|
3496
3377
|
|
|
@@ -3499,8 +3380,7 @@ for backwards compatilibity with the loctool plugins.
|
|
|
3499
3380
|
|
|
3500
3381
|
|
|
3501
3382
|
|
|
3502
|
-
|
|
3503
|
-
<h5>Parameters:</h5>
|
|
3383
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
3504
3384
|
|
|
3505
3385
|
|
|
3506
3386
|
<table class="params">
|
|
@@ -3534,6 +3414,7 @@ for backwards compatilibity with the loctool plugins.
|
|
|
3534
3414
|
<span class="param-type">number</span>
|
|
3535
3415
|
|
|
3536
3416
|
|
|
3417
|
+
|
|
3537
3418
|
|
|
3538
3419
|
</td>
|
|
3539
3420
|
|
|
@@ -3563,7 +3444,7 @@ for backwards compatilibity with the loctool plugins.
|
|
|
3563
3444
|
|
|
3564
3445
|
|
|
3565
3446
|
|
|
3566
|
-
<h5>Returns:</h5>
|
|
3447
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
3567
3448
|
|
|
3568
3449
|
|
|
3569
3450
|
<div class="param-desc">
|
|
@@ -3585,6 +3466,7 @@ undefined if i is outside the bounds of the array
|
|
|
3585
3466
|
<span class="param-type">undefined</span>
|
|
3586
3467
|
|
|
3587
3468
|
|
|
3469
|
+
|
|
3588
3470
|
</dd>
|
|
3589
3471
|
</dl>
|
|
3590
3472
|
|
|
@@ -3605,6 +3487,11 @@ undefined if i is outside the bounds of the array
|
|
|
3605
3487
|
|
|
3606
3488
|
|
|
3607
3489
|
<dl class="details">
|
|
3490
|
+
|
|
3491
|
+
<dt class="tag-description">Description:</dt>
|
|
3492
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the source locale of this resource, or undefined if there
|
|
3493
|
+
is no context or the locale is the same as the project's source locale.</li></ul></dd>
|
|
3494
|
+
|
|
3608
3495
|
|
|
3609
3496
|
|
|
3610
3497
|
<dt class="tag-source">Source:</dt>
|
|
@@ -3653,10 +3540,6 @@ undefined if i is outside the bounds of the array
|
|
|
3653
3540
|
|
|
3654
3541
|
|
|
3655
3542
|
|
|
3656
|
-
<div class="description usertext">
|
|
3657
|
-
Return the source locale of this resource, or undefined if there
|
|
3658
|
-
is no context or the locale is the same as the project's source locale.
|
|
3659
|
-
</div>
|
|
3660
3543
|
|
|
3661
3544
|
|
|
3662
3545
|
|
|
@@ -3679,10 +3562,7 @@ is no context or the locale is the same as the project's source locale.
|
|
|
3679
3562
|
|
|
3680
3563
|
|
|
3681
3564
|
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
<h5>Returns:</h5>
|
|
3565
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
3686
3566
|
|
|
3687
3567
|
|
|
3688
3568
|
<div class="param-desc">
|
|
@@ -3704,6 +3584,7 @@ is no locale.
|
|
|
3704
3584
|
<span class="param-type">undefined</span>
|
|
3705
3585
|
|
|
3706
3586
|
|
|
3587
|
+
|
|
3707
3588
|
</dd>
|
|
3708
3589
|
</dl>
|
|
3709
3590
|
|
|
@@ -3724,6 +3605,12 @@ is no locale.
|
|
|
3724
3605
|
|
|
3725
3606
|
|
|
3726
3607
|
<dl class="details">
|
|
3608
|
+
|
|
3609
|
+
<dt class="tag-description">Description:</dt>
|
|
3610
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the state of this resource. This is a string that gives the
|
|
3611
|
+
stage of life of this resource. Currently, it can be one of "new",
|
|
3612
|
+
"translated", or "accepted".</li></ul></dd>
|
|
3613
|
+
|
|
3727
3614
|
|
|
3728
3615
|
|
|
3729
3616
|
<dt class="tag-source">Source:</dt>
|
|
@@ -3772,14 +3659,6 @@ is no locale.
|
|
|
3772
3659
|
|
|
3773
3660
|
|
|
3774
3661
|
|
|
3775
|
-
<div class="description usertext">
|
|
3776
|
-
Return the state of this resource. This is a string that gives the
|
|
3777
|
-
stage of life of this resource. Currently, it can be one of "new",
|
|
3778
|
-
"translated", or "accepted".
|
|
3779
|
-
</div>
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
3662
|
|
|
3784
3663
|
|
|
3785
3664
|
|
|
@@ -3802,7 +3681,7 @@ stage of life of this resource. Currently, it can be one of "new",
|
|
|
3802
3681
|
|
|
3803
3682
|
|
|
3804
3683
|
|
|
3805
|
-
<h5>Returns:</h5>
|
|
3684
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
3806
3685
|
|
|
3807
3686
|
|
|
3808
3687
|
<div class="param-desc">
|
|
@@ -3820,6 +3699,7 @@ stage of life of this resource. Currently, it can be one of "new",
|
|
|
3820
3699
|
<span class="param-type">String</span>
|
|
3821
3700
|
|
|
3822
3701
|
|
|
3702
|
+
|
|
3823
3703
|
</dd>
|
|
3824
3704
|
</dl>
|
|
3825
3705
|
|
|
@@ -3840,6 +3720,10 @@ stage of life of this resource. Currently, it can be one of "new",
|
|
|
3840
3720
|
|
|
3841
3721
|
|
|
3842
3722
|
<dl class="details">
|
|
3723
|
+
|
|
3724
|
+
<dt class="tag-description">Description:</dt>
|
|
3725
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the target string or strings for this resource.</li></ul></dd>
|
|
3726
|
+
|
|
3843
3727
|
|
|
3844
3728
|
|
|
3845
3729
|
<dt class="tag-source">Source:</dt>
|
|
@@ -3888,11 +3772,6 @@ stage of life of this resource. Currently, it can be one of "new",
|
|
|
3888
3772
|
|
|
3889
3773
|
|
|
3890
3774
|
|
|
3891
|
-
<div class="description usertext">
|
|
3892
|
-
Return the target string or strings for this resource.
|
|
3893
|
-
</div>
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
3775
|
|
|
3897
3776
|
|
|
3898
3777
|
|
|
@@ -3915,8 +3794,7 @@ stage of life of this resource. Currently, it can be one of "new",
|
|
|
3915
3794
|
|
|
3916
3795
|
|
|
3917
3796
|
|
|
3918
|
-
|
|
3919
|
-
<h5>Returns:</h5>
|
|
3797
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
3920
3798
|
|
|
3921
3799
|
|
|
3922
3800
|
<div class="param-desc">
|
|
@@ -3941,6 +3819,7 @@ strings of this resource
|
|
|
3941
3819
|
<span class="param-type">Object</span>
|
|
3942
3820
|
|
|
3943
3821
|
|
|
3822
|
+
|
|
3944
3823
|
</dd>
|
|
3945
3824
|
</dl>
|
|
3946
3825
|
|
|
@@ -3961,6 +3840,11 @@ strings of this resource
|
|
|
3961
3840
|
|
|
3962
3841
|
|
|
3963
3842
|
<dl class="details">
|
|
3843
|
+
|
|
3844
|
+
<dt class="tag-description">Description:</dt>
|
|
3845
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the array of target strings. This method is here
|
|
3846
|
+
for backwards compatilibity with the loctool plugins.</li></ul></dd>
|
|
3847
|
+
|
|
3964
3848
|
|
|
3965
3849
|
|
|
3966
3850
|
<dt class="tag-source">Source:</dt>
|
|
@@ -4006,12 +3890,6 @@ strings of this resource
|
|
|
4006
3890
|
|
|
4007
3891
|
|
|
4008
3892
|
|
|
4009
|
-
<div class="description usertext">
|
|
4010
|
-
Return the array of target strings. This method is here
|
|
4011
|
-
for backwards compatilibity with the loctool plugins.
|
|
4012
|
-
</div>
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
3893
|
|
|
4016
3894
|
|
|
4017
3895
|
|
|
@@ -4034,8 +3912,7 @@ for backwards compatilibity with the loctool plugins.
|
|
|
4034
3912
|
|
|
4035
3913
|
|
|
4036
3914
|
|
|
4037
|
-
|
|
4038
|
-
<h5>Returns:</h5>
|
|
3915
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
4039
3916
|
|
|
4040
3917
|
|
|
4041
3918
|
<div class="param-desc">
|
|
@@ -4053,6 +3930,7 @@ for backwards compatilibity with the loctool plugins.
|
|
|
4053
3930
|
<span class="param-type">Array.<String></span>
|
|
4054
3931
|
|
|
4055
3932
|
|
|
3933
|
+
|
|
4056
3934
|
</dd>
|
|
4057
3935
|
</dl>
|
|
4058
3936
|
|
|
@@ -4073,6 +3951,10 @@ for backwards compatilibity with the loctool plugins.
|
|
|
4073
3951
|
|
|
4074
3952
|
|
|
4075
3953
|
<dl class="details">
|
|
3954
|
+
|
|
3955
|
+
<dt class="tag-description">Description:</dt>
|
|
3956
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the target string with the given index into the array.</li></ul></dd>
|
|
3957
|
+
|
|
4076
3958
|
|
|
4077
3959
|
|
|
4078
3960
|
<dt class="tag-source">Source:</dt>
|
|
@@ -4116,11 +3998,6 @@ for backwards compatilibity with the loctool plugins.
|
|
|
4116
3998
|
|
|
4117
3999
|
|
|
4118
4000
|
|
|
4119
|
-
<div class="description usertext">
|
|
4120
|
-
Return the target string with the given index into the array.
|
|
4121
|
-
</div>
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
4001
|
|
|
4125
4002
|
|
|
4126
4003
|
|
|
@@ -4129,8 +4006,7 @@ for backwards compatilibity with the loctool plugins.
|
|
|
4129
4006
|
|
|
4130
4007
|
|
|
4131
4008
|
|
|
4132
|
-
|
|
4133
|
-
<h5>Parameters:</h5>
|
|
4009
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
4134
4010
|
|
|
4135
4011
|
|
|
4136
4012
|
<table class="params">
|
|
@@ -4164,6 +4040,7 @@ for backwards compatilibity with the loctool plugins.
|
|
|
4164
4040
|
<span class="param-type">number</span>
|
|
4165
4041
|
|
|
4166
4042
|
|
|
4043
|
+
|
|
4167
4044
|
|
|
4168
4045
|
</td>
|
|
4169
4046
|
|
|
@@ -4193,7 +4070,7 @@ for backwards compatilibity with the loctool plugins.
|
|
|
4193
4070
|
|
|
4194
4071
|
|
|
4195
4072
|
|
|
4196
|
-
<h5>Returns:</h5>
|
|
4073
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
4197
4074
|
|
|
4198
4075
|
|
|
4199
4076
|
<div class="param-desc">
|
|
@@ -4215,6 +4092,7 @@ undefined if i is outside the bounds of the array
|
|
|
4215
4092
|
<span class="param-type">undefined</span>
|
|
4216
4093
|
|
|
4217
4094
|
|
|
4095
|
+
|
|
4218
4096
|
</dd>
|
|
4219
4097
|
</dl>
|
|
4220
4098
|
|
|
@@ -4235,6 +4113,11 @@ undefined if i is outside the bounds of the array
|
|
|
4235
4113
|
|
|
4236
4114
|
|
|
4237
4115
|
<dl class="details">
|
|
4116
|
+
|
|
4117
|
+
<dt class="tag-description">Description:</dt>
|
|
4118
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the target locale of this resource, or undefined if the resource
|
|
4119
|
+
is a source-only resource.</li></ul></dd>
|
|
4120
|
+
|
|
4238
4121
|
|
|
4239
4122
|
|
|
4240
4123
|
<dt class="tag-source">Source:</dt>
|
|
@@ -4283,13 +4166,6 @@ undefined if i is outside the bounds of the array
|
|
|
4283
4166
|
|
|
4284
4167
|
|
|
4285
4168
|
|
|
4286
|
-
<div class="description usertext">
|
|
4287
|
-
Return the target locale of this resource, or undefined if the resource
|
|
4288
|
-
is a source-only resource.
|
|
4289
|
-
</div>
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
4169
|
|
|
4294
4170
|
|
|
4295
4171
|
|
|
@@ -4312,7 +4188,7 @@ is a source-only resource.
|
|
|
4312
4188
|
|
|
4313
4189
|
|
|
4314
4190
|
|
|
4315
|
-
<h5>Returns:</h5>
|
|
4191
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
4316
4192
|
|
|
4317
4193
|
|
|
4318
4194
|
<div class="param-desc">
|
|
@@ -4334,6 +4210,7 @@ is no locale.
|
|
|
4334
4210
|
<span class="param-type">undefined</span>
|
|
4335
4211
|
|
|
4336
4212
|
|
|
4213
|
+
|
|
4337
4214
|
</dd>
|
|
4338
4215
|
</dl>
|
|
4339
4216
|
|
|
@@ -4354,6 +4231,11 @@ is no locale.
|
|
|
4354
4231
|
|
|
4355
4232
|
|
|
4356
4233
|
<dl class="details">
|
|
4234
|
+
|
|
4235
|
+
<dt class="tag-description">Description:</dt>
|
|
4236
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the resource type of this resource. This is one of
|
|
4237
|
+
string, array, or plural.</li></ul></dd>
|
|
4238
|
+
|
|
4357
4239
|
|
|
4358
4240
|
|
|
4359
4241
|
<dt class="tag-source">Source:</dt>
|
|
@@ -4402,13 +4284,6 @@ is no locale.
|
|
|
4402
4284
|
|
|
4403
4285
|
|
|
4404
4286
|
|
|
4405
|
-
<div class="description usertext">
|
|
4406
|
-
Return the resource type of this resource. This is one of
|
|
4407
|
-
string, array, or plural.
|
|
4408
|
-
</div>
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
4287
|
|
|
4413
4288
|
|
|
4414
4289
|
|
|
@@ -4431,7 +4306,7 @@ string, array, or plural.
|
|
|
4431
4306
|
|
|
4432
4307
|
|
|
4433
4308
|
|
|
4434
|
-
<h5>Returns:</h5>
|
|
4309
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
4435
4310
|
|
|
4436
4311
|
|
|
4437
4312
|
<div class="param-desc">
|
|
@@ -4449,6 +4324,7 @@ string, array, or plural.
|
|
|
4449
4324
|
<span class="param-type">String</span>
|
|
4450
4325
|
|
|
4451
4326
|
|
|
4327
|
+
|
|
4452
4328
|
</dd>
|
|
4453
4329
|
</dl>
|
|
4454
4330
|
|
|
@@ -4469,6 +4345,10 @@ string, array, or plural.
|
|
|
4469
4345
|
|
|
4470
4346
|
|
|
4471
4347
|
<dl class="details">
|
|
4348
|
+
|
|
4349
|
+
<dt class="tag-description">Description:</dt>
|
|
4350
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the a hash key that uniquely identifies this resource.</li></ul></dd>
|
|
4351
|
+
|
|
4472
4352
|
|
|
4473
4353
|
|
|
4474
4354
|
<dt class="tag-source">Source:</dt>
|
|
@@ -4512,12 +4392,6 @@ string, array, or plural.
|
|
|
4512
4392
|
|
|
4513
4393
|
|
|
4514
4394
|
|
|
4515
|
-
<div class="description usertext">
|
|
4516
|
-
Return the a hash key that uniquely identifies this resource.
|
|
4517
|
-
</div>
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
4395
|
|
|
4522
4396
|
|
|
4523
4397
|
|
|
@@ -4540,7 +4414,7 @@ string, array, or plural.
|
|
|
4540
4414
|
|
|
4541
4415
|
|
|
4542
4416
|
|
|
4543
|
-
<h5>Returns:</h5>
|
|
4417
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
4544
4418
|
|
|
4545
4419
|
|
|
4546
4420
|
<div class="param-desc">
|
|
@@ -4558,6 +4432,7 @@ string, array, or plural.
|
|
|
4558
4432
|
<span class="param-type">String</span>
|
|
4559
4433
|
|
|
4560
4434
|
|
|
4435
|
+
|
|
4561
4436
|
</dd>
|
|
4562
4437
|
</dl>
|
|
4563
4438
|
|
|
@@ -4578,6 +4453,11 @@ string, array, or plural.
|
|
|
4578
4453
|
|
|
4579
4454
|
|
|
4580
4455
|
<dl class="details">
|
|
4456
|
+
|
|
4457
|
+
<dt class="tag-description">Description:</dt>
|
|
4458
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the a hash key that uniquely identifies the translation of
|
|
4459
|
+
this resource to the given locale.</li></ul></dd>
|
|
4460
|
+
|
|
4581
4461
|
|
|
4582
4462
|
|
|
4583
4463
|
<dt class="tag-source">Source:</dt>
|
|
@@ -4621,13 +4501,6 @@ string, array, or plural.
|
|
|
4621
4501
|
|
|
4622
4502
|
|
|
4623
4503
|
|
|
4624
|
-
<div class="description usertext">
|
|
4625
|
-
Return the a hash key that uniquely identifies the translation of
|
|
4626
|
-
this resource to the given locale.
|
|
4627
|
-
</div>
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
4504
|
|
|
4632
4505
|
|
|
4633
4506
|
|
|
@@ -4636,7 +4509,7 @@ this resource to the given locale.
|
|
|
4636
4509
|
|
|
4637
4510
|
|
|
4638
4511
|
|
|
4639
|
-
<h5>Parameters:</h5>
|
|
4512
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
4640
4513
|
|
|
4641
4514
|
|
|
4642
4515
|
<table class="params">
|
|
@@ -4670,6 +4543,7 @@ this resource to the given locale.
|
|
|
4670
4543
|
<span class="param-type">String</span>
|
|
4671
4544
|
|
|
4672
4545
|
|
|
4546
|
+
|
|
4673
4547
|
|
|
4674
4548
|
</td>
|
|
4675
4549
|
|
|
@@ -4699,7 +4573,7 @@ this resource to the given locale.
|
|
|
4699
4573
|
|
|
4700
4574
|
|
|
4701
4575
|
|
|
4702
|
-
<h5>Returns:</h5>
|
|
4576
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
4703
4577
|
|
|
4704
4578
|
|
|
4705
4579
|
<div class="param-desc">
|
|
@@ -4717,6 +4591,7 @@ this resource to the given locale.
|
|
|
4717
4591
|
<span class="param-type">String</span>
|
|
4718
4592
|
|
|
4719
4593
|
|
|
4594
|
+
|
|
4720
4595
|
</dd>
|
|
4721
4596
|
</dl>
|
|
4722
4597
|
|
|
@@ -4737,6 +4612,11 @@ this resource to the given locale.
|
|
|
4737
4612
|
|
|
4738
4613
|
|
|
4739
4614
|
<dl class="details">
|
|
4615
|
+
|
|
4616
|
+
<dt class="tag-description">Description:</dt>
|
|
4617
|
+
<dd class="tag-description"><ul class="dummy"><li>Check if the given resource is an instance of the current
|
|
4618
|
+
resource.</li></ul></dd>
|
|
4619
|
+
|
|
4740
4620
|
|
|
4741
4621
|
|
|
4742
4622
|
<dt class="tag-source">Source:</dt>
|
|
@@ -4785,13 +4665,6 @@ this resource to the given locale.
|
|
|
4785
4665
|
|
|
4786
4666
|
|
|
4787
4667
|
|
|
4788
|
-
<div class="description usertext">
|
|
4789
|
-
Check if the given resource is an instance of the current
|
|
4790
|
-
resource.
|
|
4791
|
-
</div>
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
4668
|
|
|
4796
4669
|
|
|
4797
4670
|
|
|
@@ -4800,7 +4673,7 @@ resource.
|
|
|
4800
4673
|
|
|
4801
4674
|
|
|
4802
4675
|
|
|
4803
|
-
<h5>Parameters:</h5>
|
|
4676
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
4804
4677
|
|
|
4805
4678
|
|
|
4806
4679
|
<table class="params">
|
|
@@ -4834,6 +4707,7 @@ resource.
|
|
|
4834
4707
|
<span class="param-type"><a href="Resource.html">Resource</a></span>
|
|
4835
4708
|
|
|
4836
4709
|
|
|
4710
|
+
|
|
4837
4711
|
|
|
4838
4712
|
</td>
|
|
4839
4713
|
|
|
@@ -4863,7 +4737,7 @@ resource.
|
|
|
4863
4737
|
|
|
4864
4738
|
|
|
4865
4739
|
|
|
4866
|
-
<h5>Returns:</h5>
|
|
4740
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
4867
4741
|
|
|
4868
4742
|
|
|
4869
4743
|
<div class="param-desc">
|
|
@@ -4882,6 +4756,7 @@ the current resource, false otherwise.
|
|
|
4882
4756
|
<span class="param-type">boolean</span>
|
|
4883
4757
|
|
|
4884
4758
|
|
|
4759
|
+
|
|
4885
4760
|
</dd>
|
|
4886
4761
|
</dl>
|
|
4887
4762
|
|
|
@@ -4902,6 +4777,13 @@ the current resource, false otherwise.
|
|
|
4902
4777
|
|
|
4903
4778
|
|
|
4904
4779
|
<dl class="details">
|
|
4780
|
+
|
|
4781
|
+
<dt class="tag-description">Description:</dt>
|
|
4782
|
+
<dd class="tag-description"><ul class="dummy"><li>Return true if the other resource represents the same resource as
|
|
4783
|
+
the current one. The project, context, locale, key, flavor, and type must
|
|
4784
|
+
match. Other fields such as the pathName, state, and comment fields are
|
|
4785
|
+
ignored as minor variations.</li></ul></dd>
|
|
4786
|
+
|
|
4905
4787
|
|
|
4906
4788
|
|
|
4907
4789
|
<dt class="tag-source">Source:</dt>
|
|
@@ -4950,13 +4832,6 @@ the current resource, false otherwise.
|
|
|
4950
4832
|
|
|
4951
4833
|
|
|
4952
4834
|
|
|
4953
|
-
<div class="description usertext">
|
|
4954
|
-
Return true if the other resource represents the same resource as
|
|
4955
|
-
the current one. The project, context, locale, key, flavor, and type must
|
|
4956
|
-
match. Other fields such as the pathName, state, and comment fields are
|
|
4957
|
-
ignored as minor variations.
|
|
4958
|
-
</div>
|
|
4959
|
-
|
|
4960
4835
|
|
|
4961
4836
|
|
|
4962
4837
|
|
|
@@ -4965,9 +4840,7 @@ ignored as minor variations.
|
|
|
4965
4840
|
|
|
4966
4841
|
|
|
4967
4842
|
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
<h5>Parameters:</h5>
|
|
4843
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
4971
4844
|
|
|
4972
4845
|
|
|
4973
4846
|
<table class="params">
|
|
@@ -5001,6 +4874,7 @@ ignored as minor variations.
|
|
|
5001
4874
|
<span class="param-type"><a href="Resource.html">Resource</a></span>
|
|
5002
4875
|
|
|
5003
4876
|
|
|
4877
|
+
|
|
5004
4878
|
|
|
5005
4879
|
</td>
|
|
5006
4880
|
|
|
@@ -5030,7 +4904,7 @@ ignored as minor variations.
|
|
|
5030
4904
|
|
|
5031
4905
|
|
|
5032
4906
|
|
|
5033
|
-
<h5>Returns:</h5>
|
|
4907
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
5034
4908
|
|
|
5035
4909
|
|
|
5036
4910
|
<div class="param-desc">
|
|
@@ -5048,6 +4922,7 @@ ignored as minor variations.
|
|
|
5048
4922
|
<span class="param-type">boolean</span>
|
|
5049
4923
|
|
|
5050
4924
|
|
|
4925
|
+
|
|
5051
4926
|
</dd>
|
|
5052
4927
|
</dl>
|
|
5053
4928
|
|
|
@@ -5068,6 +4943,10 @@ ignored as minor variations.
|
|
|
5068
4943
|
|
|
5069
4944
|
|
|
5070
4945
|
<dl class="details">
|
|
4946
|
+
|
|
4947
|
+
<dt class="tag-description">Description:</dt>
|
|
4948
|
+
<dd class="tag-description"><ul class="dummy"><li>Set the translator's comment for this resource.</li></ul></dd>
|
|
4949
|
+
|
|
5071
4950
|
|
|
5072
4951
|
|
|
5073
4952
|
<dt class="tag-source">Source:</dt>
|
|
@@ -5116,11 +4995,6 @@ ignored as minor variations.
|
|
|
5116
4995
|
|
|
5117
4996
|
|
|
5118
4997
|
|
|
5119
|
-
<div class="description usertext">
|
|
5120
|
-
Set the translator's comment for this resource.
|
|
5121
|
-
</div>
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
4998
|
|
|
5125
4999
|
|
|
5126
5000
|
|
|
@@ -5129,8 +5003,7 @@ ignored as minor variations.
|
|
|
5129
5003
|
|
|
5130
5004
|
|
|
5131
5005
|
|
|
5132
|
-
|
|
5133
|
-
<h5>Parameters:</h5>
|
|
5006
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
5134
5007
|
|
|
5135
5008
|
|
|
5136
5009
|
<table class="params">
|
|
@@ -5167,6 +5040,7 @@ ignored as minor variations.
|
|
|
5167
5040
|
<span class="param-type">undefined</span>
|
|
5168
5041
|
|
|
5169
5042
|
|
|
5043
|
+
|
|
5170
5044
|
|
|
5171
5045
|
</td>
|
|
5172
5046
|
|
|
@@ -5213,6 +5087,11 @@ undefined to clear the comment</td>
|
|
|
5213
5087
|
|
|
5214
5088
|
|
|
5215
5089
|
<dl class="details">
|
|
5090
|
+
|
|
5091
|
+
<dt class="tag-description">Description:</dt>
|
|
5092
|
+
<dd class="tag-description"><ul class="dummy"><li>Set the project of this resource. This is a string that gives the
|
|
5093
|
+
id of the project for this resource.</li></ul></dd>
|
|
5094
|
+
|
|
5216
5095
|
|
|
5217
5096
|
|
|
5218
5097
|
<dt class="tag-source">Source:</dt>
|
|
@@ -5261,12 +5140,6 @@ undefined to clear the comment</td>
|
|
|
5261
5140
|
|
|
5262
5141
|
|
|
5263
5142
|
|
|
5264
|
-
<div class="description usertext">
|
|
5265
|
-
Set the project of this resource. This is a string that gives the
|
|
5266
|
-
id of the project for this resource.
|
|
5267
|
-
</div>
|
|
5268
|
-
|
|
5269
|
-
|
|
5270
5143
|
|
|
5271
5144
|
|
|
5272
5145
|
|
|
@@ -5275,8 +5148,7 @@ id of the project for this resource.
|
|
|
5275
5148
|
|
|
5276
5149
|
|
|
5277
5150
|
|
|
5278
|
-
|
|
5279
|
-
<h5>Parameters:</h5>
|
|
5151
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
5280
5152
|
|
|
5281
5153
|
|
|
5282
5154
|
<table class="params">
|
|
@@ -5310,6 +5182,7 @@ id of the project for this resource.
|
|
|
5310
5182
|
<span class="param-type">Project</span>
|
|
5311
5183
|
|
|
5312
5184
|
|
|
5185
|
+
|
|
5313
5186
|
|
|
5314
5187
|
</td>
|
|
5315
5188
|
|
|
@@ -5355,6 +5228,10 @@ id of the project for this resource.
|
|
|
5355
5228
|
|
|
5356
5229
|
|
|
5357
5230
|
<dl class="details">
|
|
5231
|
+
|
|
5232
|
+
<dt class="tag-description">Description:</dt>
|
|
5233
|
+
<dd class="tag-description"><ul class="dummy"><li>Set the array of source strings for this resource.</li></ul></dd>
|
|
5234
|
+
|
|
5358
5235
|
|
|
5359
5236
|
|
|
5360
5237
|
<dt class="tag-source">Source:</dt>
|
|
@@ -5398,11 +5275,6 @@ id of the project for this resource.
|
|
|
5398
5275
|
|
|
5399
5276
|
|
|
5400
5277
|
|
|
5401
|
-
<div class="description usertext">
|
|
5402
|
-
Set the array of source strings for this resource.
|
|
5403
|
-
</div>
|
|
5404
|
-
|
|
5405
|
-
|
|
5406
5278
|
|
|
5407
5279
|
|
|
5408
5280
|
|
|
@@ -5411,8 +5283,7 @@ id of the project for this resource.
|
|
|
5411
5283
|
|
|
5412
5284
|
|
|
5413
5285
|
|
|
5414
|
-
|
|
5415
|
-
<h5>Parameters:</h5>
|
|
5286
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
5416
5287
|
|
|
5417
5288
|
|
|
5418
5289
|
<table class="params">
|
|
@@ -5446,6 +5317,7 @@ id of the project for this resource.
|
|
|
5446
5317
|
<span class="param-type">Array.<String></span>
|
|
5447
5318
|
|
|
5448
5319
|
|
|
5320
|
+
|
|
5449
5321
|
|
|
5450
5322
|
</td>
|
|
5451
5323
|
|
|
@@ -5492,6 +5364,10 @@ as the source array</td>
|
|
|
5492
5364
|
|
|
5493
5365
|
|
|
5494
5366
|
<dl class="details">
|
|
5367
|
+
|
|
5368
|
+
<dt class="tag-description">Description:</dt>
|
|
5369
|
+
<dd class="tag-description"><ul class="dummy"><li>Set the source locale of this resource.</li></ul></dd>
|
|
5370
|
+
|
|
5495
5371
|
|
|
5496
5372
|
|
|
5497
5373
|
<dt class="tag-source">Source:</dt>
|
|
@@ -5540,11 +5416,6 @@ as the source array</td>
|
|
|
5540
5416
|
|
|
5541
5417
|
|
|
5542
5418
|
|
|
5543
|
-
<div class="description usertext">
|
|
5544
|
-
Set the source locale of this resource.
|
|
5545
|
-
</div>
|
|
5546
|
-
|
|
5547
|
-
|
|
5548
5419
|
|
|
5549
5420
|
|
|
5550
5421
|
|
|
@@ -5553,8 +5424,7 @@ as the source array</td>
|
|
|
5553
5424
|
|
|
5554
5425
|
|
|
5555
5426
|
|
|
5556
|
-
|
|
5557
|
-
<h5>Parameters:</h5>
|
|
5427
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
5558
5428
|
|
|
5559
5429
|
|
|
5560
5430
|
<table class="params">
|
|
@@ -5588,6 +5458,7 @@ as the source array</td>
|
|
|
5588
5458
|
<span class="param-type">String</span>
|
|
5589
5459
|
|
|
5590
5460
|
|
|
5461
|
+
|
|
5591
5462
|
|
|
5592
5463
|
</td>
|
|
5593
5464
|
|
|
@@ -5633,6 +5504,12 @@ as the source array</td>
|
|
|
5633
5504
|
|
|
5634
5505
|
|
|
5635
5506
|
<dl class="details">
|
|
5507
|
+
|
|
5508
|
+
<dt class="tag-description">Description:</dt>
|
|
5509
|
+
<dd class="tag-description"><ul class="dummy"><li>Set the state of this resource. This is a string that gives the
|
|
5510
|
+
stage of life of this resource. Currently, it can be one of "new",
|
|
5511
|
+
"translated", or "accepted".</li></ul></dd>
|
|
5512
|
+
|
|
5636
5513
|
|
|
5637
5514
|
|
|
5638
5515
|
<dt class="tag-source">Source:</dt>
|
|
@@ -5681,14 +5558,6 @@ as the source array</td>
|
|
|
5681
5558
|
|
|
5682
5559
|
|
|
5683
5560
|
|
|
5684
|
-
<div class="description usertext">
|
|
5685
|
-
Set the state of this resource. This is a string that gives the
|
|
5686
|
-
stage of life of this resource. Currently, it can be one of "new",
|
|
5687
|
-
"translated", or "accepted".
|
|
5688
|
-
</div>
|
|
5689
|
-
|
|
5690
|
-
|
|
5691
|
-
|
|
5692
5561
|
|
|
5693
5562
|
|
|
5694
5563
|
|
|
@@ -5697,7 +5566,7 @@ stage of life of this resource. Currently, it can be one of "new",
|
|
|
5697
5566
|
|
|
5698
5567
|
|
|
5699
5568
|
|
|
5700
|
-
<h5>Parameters:</h5>
|
|
5569
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
5701
5570
|
|
|
5702
5571
|
|
|
5703
5572
|
<table class="params">
|
|
@@ -5731,6 +5600,7 @@ stage of life of this resource. Currently, it can be one of "new",
|
|
|
5731
5600
|
<span class="param-type">String</span>
|
|
5732
5601
|
|
|
5733
5602
|
|
|
5603
|
+
|
|
5734
5604
|
|
|
5735
5605
|
</td>
|
|
5736
5606
|
|
|
@@ -5776,6 +5646,10 @@ stage of life of this resource. Currently, it can be one of "new",
|
|
|
5776
5646
|
|
|
5777
5647
|
|
|
5778
5648
|
<dl class="details">
|
|
5649
|
+
|
|
5650
|
+
<dt class="tag-description">Description:</dt>
|
|
5651
|
+
<dd class="tag-description"><ul class="dummy"><li>Set the array of target strings for this resource.</li></ul></dd>
|
|
5652
|
+
|
|
5779
5653
|
|
|
5780
5654
|
|
|
5781
5655
|
<dt class="tag-source">Source:</dt>
|
|
@@ -5819,12 +5693,6 @@ stage of life of this resource. Currently, it can be one of "new",
|
|
|
5819
5693
|
|
|
5820
5694
|
|
|
5821
5695
|
|
|
5822
|
-
<div class="description usertext">
|
|
5823
|
-
Set the array of target strings for this resource.
|
|
5824
|
-
</div>
|
|
5825
|
-
|
|
5826
|
-
|
|
5827
|
-
|
|
5828
5696
|
|
|
5829
5697
|
|
|
5830
5698
|
|
|
@@ -5833,7 +5701,7 @@ stage of life of this resource. Currently, it can be one of "new",
|
|
|
5833
5701
|
|
|
5834
5702
|
|
|
5835
5703
|
|
|
5836
|
-
<h5>Parameters:</h5>
|
|
5704
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
5837
5705
|
|
|
5838
5706
|
|
|
5839
5707
|
<table class="params">
|
|
@@ -5867,6 +5735,7 @@ stage of life of this resource. Currently, it can be one of "new",
|
|
|
5867
5735
|
<span class="param-type">Array.<String></span>
|
|
5868
5736
|
|
|
5869
5737
|
|
|
5738
|
+
|
|
5870
5739
|
|
|
5871
5740
|
</td>
|
|
5872
5741
|
|
|
@@ -5913,6 +5782,10 @@ as the target array</td>
|
|
|
5913
5782
|
|
|
5914
5783
|
|
|
5915
5784
|
<dl class="details">
|
|
5785
|
+
|
|
5786
|
+
<dt class="tag-description">Description:</dt>
|
|
5787
|
+
<dd class="tag-description"><ul class="dummy"><li>Set the target locale of this resource.</li></ul></dd>
|
|
5788
|
+
|
|
5916
5789
|
|
|
5917
5790
|
|
|
5918
5791
|
<dt class="tag-source">Source:</dt>
|
|
@@ -5961,12 +5834,6 @@ as the target array</td>
|
|
|
5961
5834
|
|
|
5962
5835
|
|
|
5963
5836
|
|
|
5964
|
-
<div class="description usertext">
|
|
5965
|
-
Set the target locale of this resource.
|
|
5966
|
-
</div>
|
|
5967
|
-
|
|
5968
|
-
|
|
5969
|
-
|
|
5970
5837
|
|
|
5971
5838
|
|
|
5972
5839
|
|
|
@@ -5975,7 +5842,7 @@ as the target array</td>
|
|
|
5975
5842
|
|
|
5976
5843
|
|
|
5977
5844
|
|
|
5978
|
-
<h5>Parameters:</h5>
|
|
5845
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
5979
5846
|
|
|
5980
5847
|
|
|
5981
5848
|
<table class="params">
|
|
@@ -6009,6 +5876,7 @@ as the target array</td>
|
|
|
6009
5876
|
<span class="param-type">String</span>
|
|
6010
5877
|
|
|
6011
5878
|
|
|
5879
|
+
|
|
6012
5880
|
|
|
6013
5881
|
</td>
|
|
6014
5882
|
|
|
@@ -6054,6 +5922,10 @@ as the target array</td>
|
|
|
6054
5922
|
|
|
6055
5923
|
|
|
6056
5924
|
<dl class="details">
|
|
5925
|
+
|
|
5926
|
+
<dt class="tag-description">Description:</dt>
|
|
5927
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the length of the array of strings in this resource.</li></ul></dd>
|
|
5928
|
+
|
|
6057
5929
|
|
|
6058
5930
|
|
|
6059
5931
|
<dt class="tag-source">Source:</dt>
|
|
@@ -6097,12 +5969,114 @@ as the target array</td>
|
|
|
6097
5969
|
|
|
6098
5970
|
|
|
6099
5971
|
|
|
6100
|
-
|
|
6101
|
-
|
|
5972
|
+
|
|
5973
|
+
|
|
5974
|
+
|
|
5975
|
+
|
|
5976
|
+
|
|
5977
|
+
|
|
5978
|
+
|
|
5979
|
+
|
|
5980
|
+
|
|
5981
|
+
|
|
5982
|
+
|
|
5983
|
+
|
|
5984
|
+
|
|
5985
|
+
|
|
5986
|
+
|
|
5987
|
+
|
|
5988
|
+
|
|
5989
|
+
|
|
5990
|
+
|
|
5991
|
+
|
|
5992
|
+
|
|
5993
|
+
|
|
5994
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
5995
|
+
|
|
5996
|
+
|
|
5997
|
+
<div class="param-desc">
|
|
5998
|
+
the length of the array of strings in this
|
|
5999
|
+
resource
|
|
6102
6000
|
</div>
|
|
6103
6001
|
|
|
6104
6002
|
|
|
6105
6003
|
|
|
6004
|
+
<dl class="param-type">
|
|
6005
|
+
<dt>
|
|
6006
|
+
Type
|
|
6007
|
+
</dt>
|
|
6008
|
+
<dd>
|
|
6009
|
+
|
|
6010
|
+
<span class="param-type">number</span>
|
|
6011
|
+
|
|
6012
|
+
|
|
6013
|
+
|
|
6014
|
+
</dd>
|
|
6015
|
+
</dl>
|
|
6016
|
+
|
|
6017
|
+
|
|
6018
|
+
|
|
6019
|
+
|
|
6020
|
+
|
|
6021
|
+
|
|
6022
|
+
|
|
6023
|
+
|
|
6024
|
+
|
|
6025
|
+
|
|
6026
|
+
<h4 class="name" id=".hashKey"><span class="type-signature type-signature-static">(static) </span>hashKey<span class="signature">()</span><span class="type-signature"> → {String}</span></h4>
|
|
6027
|
+
|
|
6028
|
+
|
|
6029
|
+
|
|
6030
|
+
|
|
6031
|
+
|
|
6032
|
+
|
|
6033
|
+
<dl class="details">
|
|
6034
|
+
|
|
6035
|
+
<dt class="tag-description">Description:</dt>
|
|
6036
|
+
<dd class="tag-description"><ul class="dummy"><li>Calculate a resource key string for this class of resource given the
|
|
6037
|
+
parameters.</li></ul></dd>
|
|
6038
|
+
|
|
6039
|
+
|
|
6040
|
+
|
|
6041
|
+
<dt class="tag-source">Source:</dt>
|
|
6042
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
6043
|
+
<a href="ResourceArray.js.html">ResourceArray.js</a>, <a href="ResourceArray.js.html#line323">line 323</a>
|
|
6044
|
+
</li></ul></dd>
|
|
6045
|
+
|
|
6046
|
+
|
|
6047
|
+
|
|
6048
|
+
|
|
6049
|
+
|
|
6050
|
+
|
|
6051
|
+
|
|
6052
|
+
|
|
6053
|
+
|
|
6054
|
+
|
|
6055
|
+
|
|
6056
|
+
|
|
6057
|
+
|
|
6058
|
+
|
|
6059
|
+
|
|
6060
|
+
|
|
6061
|
+
|
|
6062
|
+
|
|
6063
|
+
|
|
6064
|
+
|
|
6065
|
+
|
|
6066
|
+
|
|
6067
|
+
|
|
6068
|
+
|
|
6069
|
+
|
|
6070
|
+
|
|
6071
|
+
|
|
6072
|
+
|
|
6073
|
+
|
|
6074
|
+
|
|
6075
|
+
|
|
6076
|
+
</dl>
|
|
6077
|
+
|
|
6078
|
+
|
|
6079
|
+
|
|
6106
6080
|
|
|
6107
6081
|
|
|
6108
6082
|
|
|
@@ -6125,12 +6099,13 @@ as the target array</td>
|
|
|
6125
6099
|
|
|
6126
6100
|
|
|
6127
6101
|
|
|
6128
|
-
|
|
6102
|
+
|
|
6103
|
+
|
|
6104
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
6129
6105
|
|
|
6130
6106
|
|
|
6131
6107
|
<div class="param-desc">
|
|
6132
|
-
|
|
6133
|
-
resource
|
|
6108
|
+
a hash key
|
|
6134
6109
|
</div>
|
|
6135
6110
|
|
|
6136
6111
|
|
|
@@ -6141,7 +6116,8 @@ resource
|
|
|
6141
6116
|
</dt>
|
|
6142
6117
|
<dd>
|
|
6143
6118
|
|
|
6144
|
-
<span class="param-type">
|
|
6119
|
+
<span class="param-type">String</span>
|
|
6120
|
+
|
|
6145
6121
|
|
|
6146
6122
|
|
|
6147
6123
|
</dd>
|
|
@@ -6171,7 +6147,7 @@ resource
|
|
|
6171
6147
|
<br class="clear">
|
|
6172
6148
|
|
|
6173
6149
|
<footer>
|
|
6174
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc
|
|
6150
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.0</a> on Tue Jan 24 2023 22:21:49 GMT-0800 (Pacific Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
6175
6151
|
</footer>
|
|
6176
6152
|
|
|
6177
6153
|
<script>prettyPrint();</script>
|