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/ResourcePlural.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
|
+
ResourcePlural
|
|
53
|
+
|
|
49
54
|
</h2>
|
|
50
55
|
|
|
51
56
|
<div class="class-description usertext">A class that models a resource that handles translations of
|
|
@@ -72,6 +77,33 @@ plurals.</div>
|
|
|
72
77
|
|
|
73
78
|
|
|
74
79
|
<dl class="details">
|
|
80
|
+
|
|
81
|
+
<dt class="tag-description">Description:</dt>
|
|
82
|
+
<dd class="tag-description"><ul class="dummy"><li>Construct a new instance of a plural resource.
|
|
83
|
+
|
|
84
|
+
Hashes of strings are used in Android apps to specify translations
|
|
85
|
+
of the various categories of plurals.<p>
|
|
86
|
+
|
|
87
|
+
The props may contain any
|
|
88
|
+
of properties from the Resource constructor and additionally,
|
|
89
|
+
these properties:
|
|
90
|
+
|
|
91
|
+
<ul>
|
|
92
|
+
<li><i>source</i> {Object} A hash of strings that map the categories
|
|
93
|
+
to translations.
|
|
94
|
+
</ul>
|
|
95
|
+
|
|
96
|
+
The properties of the strings hash can be any of the categories supported
|
|
97
|
+
by the Unicode CLDR data:
|
|
98
|
+
|
|
99
|
+
<ul>
|
|
100
|
+
<li>zero
|
|
101
|
+
<li>one
|
|
102
|
+
<li>two
|
|
103
|
+
<li>few
|
|
104
|
+
<li>many
|
|
105
|
+
</ul></li></ul></dd>
|
|
106
|
+
|
|
75
107
|
|
|
76
108
|
|
|
77
109
|
<dt class="tag-source">Source:</dt>
|
|
@@ -115,44 +147,15 @@ plurals.</div>
|
|
|
115
147
|
|
|
116
148
|
|
|
117
149
|
|
|
118
|
-
<div class="description usertext">
|
|
119
|
-
Construct a new instance of a plural resource.
|
|
120
150
|
|
|
121
|
-
Hashes of strings are used in Android apps to specify translations
|
|
122
|
-
of the various categories of plurals.<p>
|
|
123
151
|
|
|
124
|
-
The props may contain any
|
|
125
|
-
of properties from the Resource constructor and additionally,
|
|
126
|
-
these properties:
|
|
127
|
-
|
|
128
|
-
<ul>
|
|
129
|
-
<li><i>source</i> {Object} A hash of strings that map the categories
|
|
130
|
-
to translations.
|
|
131
|
-
</ul>
|
|
132
|
-
|
|
133
|
-
The properties of the strings hash can be any of the categories supported
|
|
134
|
-
by the Unicode CLDR data:
|
|
135
|
-
|
|
136
|
-
<ul>
|
|
137
|
-
<li>zero
|
|
138
|
-
<li>one
|
|
139
|
-
<li>two
|
|
140
|
-
<li>few
|
|
141
|
-
<li>many
|
|
142
|
-
</ul>
|
|
143
|
-
</div>
|
|
144
152
|
|
|
145
153
|
|
|
146
154
|
|
|
147
155
|
|
|
148
156
|
|
|
149
157
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
<h5>Parameters:</h5>
|
|
158
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
156
159
|
|
|
157
160
|
|
|
158
161
|
<table class="params">
|
|
@@ -186,6 +189,7 @@ by the Unicode CLDR data:
|
|
|
186
189
|
<span class="param-type">Object</span>
|
|
187
190
|
|
|
188
191
|
|
|
192
|
+
|
|
189
193
|
|
|
190
194
|
</td>
|
|
191
195
|
|
|
@@ -250,13 +254,17 @@ by the Unicode CLDR data:
|
|
|
250
254
|
|
|
251
255
|
|
|
252
256
|
|
|
253
|
-
<h4 class="name" id=".resClass"><span class="type-signature">(static, constant) </span>resClass<span class="type-signature"></span></h4>
|
|
257
|
+
<h4 class="name" id=".resClass"><span class="type-signature type-signature-static, constant">(static, constant) </span>resClass<span class="type-signature"></span></h4>
|
|
254
258
|
|
|
255
259
|
|
|
256
260
|
|
|
257
261
|
|
|
258
262
|
|
|
259
263
|
<dl class="details">
|
|
264
|
+
|
|
265
|
+
<dt class="tag-description">Description:</dt>
|
|
266
|
+
<dd class="tag-description"><ul class="dummy"><li>The class of this kind of string plural.</li></ul></dd>
|
|
267
|
+
|
|
260
268
|
|
|
261
269
|
|
|
262
270
|
<dt class="tag-source">Source:</dt>
|
|
@@ -313,13 +321,17 @@ by the Unicode CLDR data:
|
|
|
313
321
|
|
|
314
322
|
|
|
315
323
|
|
|
316
|
-
<h4 class="name" id=".validPluralCategories"><span class="type-signature">(static, constant) </span>validPluralCategories<span class="type-signature"></span></h4>
|
|
324
|
+
<h4 class="name" id=".validPluralCategories"><span class="type-signature type-signature-static, constant">(static, constant) </span>validPluralCategories<span class="type-signature"></span></h4>
|
|
317
325
|
|
|
318
326
|
|
|
319
327
|
|
|
320
328
|
|
|
321
329
|
|
|
322
330
|
<dl class="details">
|
|
331
|
+
|
|
332
|
+
<dt class="tag-description">Description:</dt>
|
|
333
|
+
<dd class="tag-description"><ul class="dummy"><li>Acceptable values for plural categories</li></ul></dd>
|
|
334
|
+
|
|
323
335
|
|
|
324
336
|
|
|
325
337
|
<dt class="tag-source">Source:</dt>
|
|
@@ -385,7 +397,7 @@ by the Unicode CLDR data:
|
|
|
385
397
|
|
|
386
398
|
|
|
387
399
|
|
|
388
|
-
<h4 class="name" id="
|
|
400
|
+
<h4 class="name" id="addInstance"><span class="type-signature"></span>addInstance<span class="signature">(an)</span><span class="type-signature"> → {boolean}</span></h4>
|
|
389
401
|
|
|
390
402
|
|
|
391
403
|
|
|
@@ -393,117 +405,41 @@ by the Unicode CLDR data:
|
|
|
393
405
|
|
|
394
406
|
|
|
395
407
|
<dl class="details">
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
<dt class="tag-source">Source:</dt>
|
|
399
|
-
<dd class="tag-source"><ul class="dummy"><li>
|
|
400
|
-
<a href="ResourcePlural.js.html">ResourcePlural.js</a>, <a href="ResourcePlural.js.html#line314">line 314</a>
|
|
401
|
-
</li></ul></dd>
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
408
|
|
|
409
|
+
<dt class="tag-description">Description:</dt>
|
|
410
|
+
<dd class="tag-description"><ul class="dummy"><li>Add an instance of the same resource to the list of
|
|
411
|
+
instances. If the given resource matches the
|
|
412
|
+
current instance in all properties that affect the
|
|
413
|
+
possible translation, and differs from the current
|
|
414
|
+
instance by some property that does not affect
|
|
415
|
+
its translation, it will be added as an instance of
|
|
416
|
+
the same string. The following properties affect the
|
|
417
|
+
translation:
|
|
423
418
|
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
</
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
<div class="description usertext">
|
|
440
|
-
Calculate a resource key string for this category of resource given the
|
|
441
|
-
parameters.
|
|
442
|
-
</div>
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
<h5>Returns:</h5>
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
<div class="param-desc">
|
|
472
|
-
a hash key
|
|
473
|
-
</div>
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
<dl class="param-type">
|
|
478
|
-
<dt>
|
|
479
|
-
Type
|
|
480
|
-
</dt>
|
|
481
|
-
<dd>
|
|
482
|
-
|
|
483
|
-
<span class="param-type">String</span>
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
</dd>
|
|
487
|
-
</dl>
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
419
|
+
<ul>
|
|
420
|
+
<li>context</li>
|
|
421
|
+
<li>datatype</li>
|
|
422
|
+
<li>dnt</li>
|
|
423
|
+
<li>flavor</li>
|
|
424
|
+
<li>project</li>
|
|
425
|
+
<li>reskey</li>
|
|
426
|
+
<li>resType</li>
|
|
427
|
+
<li>source</li>
|
|
428
|
+
<li>sourceHash</li>
|
|
429
|
+
<li>sourceArray</li>
|
|
430
|
+
<li>sourceLocale</li>
|
|
431
|
+
<li>targetLocale</li>
|
|
432
|
+
</ul>
|
|
497
433
|
|
|
498
|
-
|
|
434
|
+
Differences in other properties, such as "comment" or
|
|
435
|
+
"origin" are considered instances of the same resource.
|
|
499
436
|
|
|
437
|
+
If this method is given a resource that differs from
|
|
438
|
+
the current one by one of the above translation affecting
|
|
439
|
+
properties, it is not added to the list of instances. This
|
|
440
|
+
can be checked easily by calling the isInstance() method.</li></ul></dd>
|
|
500
441
|
|
|
501
442
|
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
<dl class="details">
|
|
506
|
-
|
|
507
443
|
|
|
508
444
|
<dt class="tag-source">Source:</dt>
|
|
509
445
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
@@ -551,42 +487,6 @@ parameters.
|
|
|
551
487
|
|
|
552
488
|
|
|
553
489
|
|
|
554
|
-
<div class="description usertext">
|
|
555
|
-
Add an instance of the same resource to the list of
|
|
556
|
-
instances. If the given resource matches the
|
|
557
|
-
current instance in all properties that affect the
|
|
558
|
-
possible translation, and differs from the current
|
|
559
|
-
instance by some property that does not affect
|
|
560
|
-
its translation, it will be added as an instance of
|
|
561
|
-
the same string. The following properties affect the
|
|
562
|
-
translation:
|
|
563
|
-
|
|
564
|
-
<ul>
|
|
565
|
-
<li>context</li>
|
|
566
|
-
<li>datatype</li>
|
|
567
|
-
<li>dnt</li>
|
|
568
|
-
<li>flavor</li>
|
|
569
|
-
<li>project</li>
|
|
570
|
-
<li>reskey</li>
|
|
571
|
-
<li>resType</li>
|
|
572
|
-
<li>source</li>
|
|
573
|
-
<li>sourceHash</li>
|
|
574
|
-
<li>sourceArray</li>
|
|
575
|
-
<li>sourceLocale</li>
|
|
576
|
-
<li>targetLocale</li>
|
|
577
|
-
</ul>
|
|
578
|
-
|
|
579
|
-
Differences in other properties, such as "comment" or
|
|
580
|
-
"origin" are considered instances of the same resource.
|
|
581
|
-
|
|
582
|
-
If this method is given a resource that differs from
|
|
583
|
-
the current one by one of the above translation affecting
|
|
584
|
-
properties, it is not added to the list of instances. This
|
|
585
|
-
can be checked easily by calling the isInstance() method.
|
|
586
|
-
</div>
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
490
|
|
|
591
491
|
|
|
592
492
|
|
|
@@ -595,7 +495,7 @@ can be checked easily by calling the isInstance() method.
|
|
|
595
495
|
|
|
596
496
|
|
|
597
497
|
|
|
598
|
-
<h5>Parameters:</h5>
|
|
498
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
599
499
|
|
|
600
500
|
|
|
601
501
|
<table class="params">
|
|
@@ -629,6 +529,7 @@ can be checked easily by calling the isInstance() method.
|
|
|
629
529
|
<span class="param-type"><a href="Resource.html">Resource</a></span>
|
|
630
530
|
|
|
631
531
|
|
|
532
|
+
|
|
632
533
|
|
|
633
534
|
</td>
|
|
634
535
|
|
|
@@ -659,7 +560,7 @@ record</td>
|
|
|
659
560
|
|
|
660
561
|
|
|
661
562
|
|
|
662
|
-
<h5>Returns:</h5>
|
|
563
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
663
564
|
|
|
664
565
|
|
|
665
566
|
<div class="param-desc">
|
|
@@ -678,6 +579,7 @@ and false otherwise
|
|
|
678
579
|
<span class="param-type">boolean</span>
|
|
679
580
|
|
|
680
581
|
|
|
582
|
+
|
|
681
583
|
</dd>
|
|
682
584
|
</dl>
|
|
683
585
|
|
|
@@ -698,6 +600,11 @@ and false otherwise
|
|
|
698
600
|
|
|
699
601
|
|
|
700
602
|
<dl class="details">
|
|
603
|
+
|
|
604
|
+
<dt class="tag-description">Description:</dt>
|
|
605
|
+
<dd class="tag-description"><ul class="dummy"><li>Add a string with the given plural category to the source of
|
|
606
|
+
this plural resource.</li></ul></dd>
|
|
607
|
+
|
|
701
608
|
|
|
702
609
|
|
|
703
610
|
<dt class="tag-source">Source:</dt>
|
|
@@ -741,11 +648,6 @@ and false otherwise
|
|
|
741
648
|
|
|
742
649
|
|
|
743
650
|
|
|
744
|
-
<div class="description usertext">
|
|
745
|
-
Add a string with the given plural category to the source of
|
|
746
|
-
this plural resource.
|
|
747
|
-
</div>
|
|
748
|
-
|
|
749
651
|
|
|
750
652
|
|
|
751
653
|
|
|
@@ -754,9 +656,7 @@ this plural resource.
|
|
|
754
656
|
|
|
755
657
|
|
|
756
658
|
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
<h5>Parameters:</h5>
|
|
659
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
760
660
|
|
|
761
661
|
|
|
762
662
|
<table class="params">
|
|
@@ -790,6 +690,7 @@ this plural resource.
|
|
|
790
690
|
<span class="param-type">String</span>
|
|
791
691
|
|
|
792
692
|
|
|
693
|
+
|
|
793
694
|
|
|
794
695
|
</td>
|
|
795
696
|
|
|
@@ -813,6 +714,7 @@ this plural resource.
|
|
|
813
714
|
<span class="param-type">String</span>
|
|
814
715
|
|
|
815
716
|
|
|
717
|
+
|
|
816
718
|
|
|
817
719
|
</td>
|
|
818
720
|
|
|
@@ -858,6 +760,11 @@ this plural resource.
|
|
|
858
760
|
|
|
859
761
|
|
|
860
762
|
<dl class="details">
|
|
763
|
+
|
|
764
|
+
<dt class="tag-description">Description:</dt>
|
|
765
|
+
<dd class="tag-description"><ul class="dummy"><li>Add a string with the given plural category to the target of
|
|
766
|
+
this plural resource.</li></ul></dd>
|
|
767
|
+
|
|
861
768
|
|
|
862
769
|
|
|
863
770
|
<dt class="tag-source">Source:</dt>
|
|
@@ -901,13 +808,6 @@ this plural resource.
|
|
|
901
808
|
|
|
902
809
|
|
|
903
810
|
|
|
904
|
-
<div class="description usertext">
|
|
905
|
-
Add a string with the given plural category to the target of
|
|
906
|
-
this plural resource.
|
|
907
|
-
</div>
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
811
|
|
|
912
812
|
|
|
913
813
|
|
|
@@ -916,7 +816,7 @@ this plural resource.
|
|
|
916
816
|
|
|
917
817
|
|
|
918
818
|
|
|
919
|
-
<h5>Parameters:</h5>
|
|
819
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
920
820
|
|
|
921
821
|
|
|
922
822
|
<table class="params">
|
|
@@ -950,6 +850,7 @@ this plural resource.
|
|
|
950
850
|
<span class="param-type">String</span>
|
|
951
851
|
|
|
952
852
|
|
|
853
|
+
|
|
953
854
|
|
|
954
855
|
</td>
|
|
955
856
|
|
|
@@ -973,6 +874,7 @@ this plural resource.
|
|
|
973
874
|
<span class="param-type">String</span>
|
|
974
875
|
|
|
975
876
|
|
|
877
|
+
|
|
976
878
|
|
|
977
879
|
</td>
|
|
978
880
|
|
|
@@ -1018,6 +920,10 @@ this plural resource.
|
|
|
1018
920
|
|
|
1019
921
|
|
|
1020
922
|
<dl class="details">
|
|
923
|
+
|
|
924
|
+
<dt class="tag-description">Description:</dt>
|
|
925
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the a hash key that uniquely identifies this resource.</li></ul></dd>
|
|
926
|
+
|
|
1021
927
|
|
|
1022
928
|
|
|
1023
929
|
<dt class="tag-source">Source:</dt>
|
|
@@ -1061,12 +967,6 @@ this plural resource.
|
|
|
1061
967
|
|
|
1062
968
|
|
|
1063
969
|
|
|
1064
|
-
<div class="description usertext">
|
|
1065
|
-
Return the a hash key that uniquely identifies this resource.
|
|
1066
|
-
</div>
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
970
|
|
|
1071
971
|
|
|
1072
972
|
|
|
@@ -1089,7 +989,7 @@ this plural resource.
|
|
|
1089
989
|
|
|
1090
990
|
|
|
1091
991
|
|
|
1092
|
-
<h5>Returns:</h5>
|
|
992
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
1093
993
|
|
|
1094
994
|
|
|
1095
995
|
<div class="param-desc">
|
|
@@ -1107,6 +1007,7 @@ this plural resource.
|
|
|
1107
1007
|
<span class="param-type">String</span>
|
|
1108
1008
|
|
|
1109
1009
|
|
|
1010
|
+
|
|
1110
1011
|
</dd>
|
|
1111
1012
|
</dl>
|
|
1112
1013
|
|
|
@@ -1127,6 +1028,11 @@ this plural resource.
|
|
|
1127
1028
|
|
|
1128
1029
|
|
|
1129
1030
|
<dl class="details">
|
|
1031
|
+
|
|
1032
|
+
<dt class="tag-description">Description:</dt>
|
|
1033
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the a hash key that uniquely identifies the translation of
|
|
1034
|
+
this resource to the given locale.</li></ul></dd>
|
|
1035
|
+
|
|
1130
1036
|
|
|
1131
1037
|
|
|
1132
1038
|
<dt class="tag-source">Source:</dt>
|
|
@@ -1170,11 +1076,6 @@ this plural resource.
|
|
|
1170
1076
|
|
|
1171
1077
|
|
|
1172
1078
|
|
|
1173
|
-
<div class="description usertext">
|
|
1174
|
-
Return the a hash key that uniquely identifies the translation of
|
|
1175
|
-
this resource to the given locale.
|
|
1176
|
-
</div>
|
|
1177
|
-
|
|
1178
1079
|
|
|
1179
1080
|
|
|
1180
1081
|
|
|
@@ -1183,9 +1084,7 @@ this resource to the given locale.
|
|
|
1183
1084
|
|
|
1184
1085
|
|
|
1185
1086
|
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
<h5>Parameters:</h5>
|
|
1087
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
1189
1088
|
|
|
1190
1089
|
|
|
1191
1090
|
<table class="params">
|
|
@@ -1219,6 +1118,7 @@ this resource to the given locale.
|
|
|
1219
1118
|
<span class="param-type">String</span>
|
|
1220
1119
|
|
|
1221
1120
|
|
|
1121
|
+
|
|
1222
1122
|
|
|
1223
1123
|
</td>
|
|
1224
1124
|
|
|
@@ -1248,7 +1148,7 @@ this resource to the given locale.
|
|
|
1248
1148
|
|
|
1249
1149
|
|
|
1250
1150
|
|
|
1251
|
-
<h5>Returns:</h5>
|
|
1151
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
1252
1152
|
|
|
1253
1153
|
|
|
1254
1154
|
<div class="param-desc">
|
|
@@ -1266,6 +1166,7 @@ this resource to the given locale.
|
|
|
1266
1166
|
<span class="param-type">String</span>
|
|
1267
1167
|
|
|
1268
1168
|
|
|
1169
|
+
|
|
1269
1170
|
</dd>
|
|
1270
1171
|
</dl>
|
|
1271
1172
|
|
|
@@ -1286,6 +1187,10 @@ this resource to the given locale.
|
|
|
1286
1187
|
|
|
1287
1188
|
|
|
1288
1189
|
<dl class="details">
|
|
1190
|
+
|
|
1191
|
+
<dt class="tag-description">Description:</dt>
|
|
1192
|
+
<dd class="tag-description"><ul class="dummy"><li>Clone this resource and override the properties with the given ones.</li></ul></dd>
|
|
1193
|
+
|
|
1289
1194
|
|
|
1290
1195
|
|
|
1291
1196
|
<dt class="tag-source">Source:</dt>
|
|
@@ -1329,12 +1234,6 @@ this resource to the given locale.
|
|
|
1329
1234
|
|
|
1330
1235
|
|
|
1331
1236
|
|
|
1332
|
-
<div class="description usertext">
|
|
1333
|
-
Clone this resource and override the properties with the given ones.
|
|
1334
|
-
</div>
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
1237
|
|
|
1339
1238
|
|
|
1340
1239
|
|
|
@@ -1357,7 +1256,7 @@ this resource to the given locale.
|
|
|
1357
1256
|
|
|
1358
1257
|
|
|
1359
1258
|
|
|
1360
|
-
<h5>Returns:</h5>
|
|
1259
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
1361
1260
|
|
|
1362
1261
|
|
|
1363
1262
|
<div class="param-desc">
|
|
@@ -1375,6 +1274,7 @@ this resource to the given locale.
|
|
|
1375
1274
|
<span class="param-type"><a href="ResourceArray.html">ResourceArray</a></span>
|
|
1376
1275
|
|
|
1377
1276
|
|
|
1277
|
+
|
|
1378
1278
|
</dd>
|
|
1379
1279
|
</dl>
|
|
1380
1280
|
|
|
@@ -1395,6 +1295,12 @@ this resource to the given locale.
|
|
|
1395
1295
|
|
|
1396
1296
|
|
|
1397
1297
|
<dl class="details">
|
|
1298
|
+
|
|
1299
|
+
<dt class="tag-description">Description:</dt>
|
|
1300
|
+
<dd class="tag-description"><ul class="dummy"><li>Return true if the other resources contains the same resources as
|
|
1301
|
+
the current one. The pathName, state, and comment fields are
|
|
1302
|
+
ignored as minor variations.</li></ul></dd>
|
|
1303
|
+
|
|
1398
1304
|
|
|
1399
1305
|
|
|
1400
1306
|
<dt class="tag-source">Source:</dt>
|
|
@@ -1438,12 +1344,6 @@ this resource to the given locale.
|
|
|
1438
1344
|
|
|
1439
1345
|
|
|
1440
1346
|
|
|
1441
|
-
<div class="description usertext">
|
|
1442
|
-
Return true if the other resources contains the same resources as
|
|
1443
|
-
the current one. The pathName, state, and comment fields are
|
|
1444
|
-
ignored as minor variations.
|
|
1445
|
-
</div>
|
|
1446
|
-
|
|
1447
1347
|
|
|
1448
1348
|
|
|
1449
1349
|
|
|
@@ -1452,9 +1352,7 @@ ignored as minor variations.
|
|
|
1452
1352
|
|
|
1453
1353
|
|
|
1454
1354
|
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
<h5>Parameters:</h5>
|
|
1355
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
1458
1356
|
|
|
1459
1357
|
|
|
1460
1358
|
<table class="params">
|
|
@@ -1488,6 +1386,7 @@ ignored as minor variations.
|
|
|
1488
1386
|
<span class="param-type"><a href="Resource.html">Resource</a></span>
|
|
1489
1387
|
|
|
1490
1388
|
|
|
1389
|
+
|
|
1491
1390
|
|
|
1492
1391
|
</td>
|
|
1493
1392
|
|
|
@@ -1517,7 +1416,7 @@ ignored as minor variations.
|
|
|
1517
1416
|
|
|
1518
1417
|
|
|
1519
1418
|
|
|
1520
|
-
<h5>Returns:</h5>
|
|
1419
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
1521
1420
|
|
|
1522
1421
|
|
|
1523
1422
|
<div class="param-desc">
|
|
@@ -1535,6 +1434,7 @@ ignored as minor variations.
|
|
|
1535
1434
|
<span class="param-type">boolean</span>
|
|
1536
1435
|
|
|
1537
1436
|
|
|
1437
|
+
|
|
1538
1438
|
</dd>
|
|
1539
1439
|
</dl>
|
|
1540
1440
|
|
|
@@ -1555,6 +1455,12 @@ ignored as minor variations.
|
|
|
1555
1455
|
|
|
1556
1456
|
|
|
1557
1457
|
<dl class="details">
|
|
1458
|
+
|
|
1459
|
+
<dt class="tag-description">Description:</dt>
|
|
1460
|
+
<dd class="tag-description"><ul class="dummy"><li>Escape text for writing to a database in a SQL command. This puts single
|
|
1461
|
+
quotes around the string, and makes sure that all single quotes within
|
|
1462
|
+
the string are escaped.</li></ul></dd>
|
|
1463
|
+
|
|
1558
1464
|
|
|
1559
1465
|
|
|
1560
1466
|
<dt class="tag-source">Source:</dt>
|
|
@@ -1603,14 +1509,6 @@ ignored as minor variations.
|
|
|
1603
1509
|
|
|
1604
1510
|
|
|
1605
1511
|
|
|
1606
|
-
<div class="description usertext">
|
|
1607
|
-
Escape text for writing to a database in a SQL command. This puts single
|
|
1608
|
-
quotes around the string, and makes sure that all single quotes within
|
|
1609
|
-
the string are escaped.
|
|
1610
|
-
</div>
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
1512
|
|
|
1615
1513
|
|
|
1616
1514
|
|
|
@@ -1619,7 +1517,7 @@ the string are escaped.
|
|
|
1619
1517
|
|
|
1620
1518
|
|
|
1621
1519
|
|
|
1622
|
-
<h5>Parameters:</h5>
|
|
1520
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
1623
1521
|
|
|
1624
1522
|
|
|
1625
1523
|
<table class="params">
|
|
@@ -1653,6 +1551,7 @@ the string are escaped.
|
|
|
1653
1551
|
<span class="param-type">Object</span>
|
|
1654
1552
|
|
|
1655
1553
|
|
|
1554
|
+
|
|
1656
1555
|
|
|
1657
1556
|
</td>
|
|
1658
1557
|
|
|
@@ -1682,7 +1581,7 @@ the string are escaped.
|
|
|
1682
1581
|
|
|
1683
1582
|
|
|
1684
1583
|
|
|
1685
|
-
<h5>Returns:</h5>
|
|
1584
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
1686
1585
|
|
|
1687
1586
|
|
|
1688
1587
|
<div class="param-desc">
|
|
@@ -1700,6 +1599,7 @@ the string are escaped.
|
|
|
1700
1599
|
<span class="param-type">String</span>
|
|
1701
1600
|
|
|
1702
1601
|
|
|
1602
|
+
|
|
1703
1603
|
</dd>
|
|
1704
1604
|
</dl>
|
|
1705
1605
|
|
|
@@ -1720,6 +1620,12 @@ the string are escaped.
|
|
|
1720
1620
|
|
|
1721
1621
|
|
|
1722
1622
|
<dl class="details">
|
|
1623
|
+
|
|
1624
|
+
<dt class="tag-description">Description:</dt>
|
|
1625
|
+
<dd class="tag-description"><ul class="dummy"><li>Return an array of names of all possible categories
|
|
1626
|
+
of plurals, even if they are not currently used in this
|
|
1627
|
+
plural instance.</li></ul></dd>
|
|
1628
|
+
|
|
1723
1629
|
|
|
1724
1630
|
|
|
1725
1631
|
<dt class="tag-source">Source:</dt>
|
|
@@ -1763,14 +1669,6 @@ the string are escaped.
|
|
|
1763
1669
|
|
|
1764
1670
|
|
|
1765
1671
|
|
|
1766
|
-
<div class="description usertext">
|
|
1767
|
-
Return an array of names of all possible categories
|
|
1768
|
-
of plurals, even if they are not currently used in this
|
|
1769
|
-
plural instance.
|
|
1770
|
-
</div>
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
1672
|
|
|
1775
1673
|
|
|
1776
1674
|
|
|
@@ -1793,7 +1691,7 @@ plural instance.
|
|
|
1793
1691
|
|
|
1794
1692
|
|
|
1795
1693
|
|
|
1796
|
-
<h5>Returns:</h5>
|
|
1694
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
1797
1695
|
|
|
1798
1696
|
|
|
1799
1697
|
<div class="param-desc">
|
|
@@ -1811,6 +1709,7 @@ plural instance.
|
|
|
1811
1709
|
<span class="param-type">Array.<string></span>
|
|
1812
1710
|
|
|
1813
1711
|
|
|
1712
|
+
|
|
1814
1713
|
</dd>
|
|
1815
1714
|
</dl>
|
|
1816
1715
|
|
|
@@ -1831,6 +1730,11 @@ plural instance.
|
|
|
1831
1730
|
|
|
1832
1731
|
|
|
1833
1732
|
<dl class="details">
|
|
1733
|
+
|
|
1734
|
+
<dt class="tag-description">Description:</dt>
|
|
1735
|
+
<dd class="tag-description"><ul class="dummy"><li>Return true if the key of this resource was automatically generated,
|
|
1736
|
+
and false if it was an explicit key.</li></ul></dd>
|
|
1737
|
+
|
|
1834
1738
|
|
|
1835
1739
|
|
|
1836
1740
|
<dt class="tag-source">Source:</dt>
|
|
@@ -1879,13 +1783,6 @@ plural instance.
|
|
|
1879
1783
|
|
|
1880
1784
|
|
|
1881
1785
|
|
|
1882
|
-
<div class="description usertext">
|
|
1883
|
-
Return true if the key of this resource was automatically generated,
|
|
1884
|
-
and false if it was an explicit key.
|
|
1885
|
-
</div>
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
1786
|
|
|
1890
1787
|
|
|
1891
1788
|
|
|
@@ -1908,7 +1805,7 @@ and false if it was an explicit key.
|
|
|
1908
1805
|
|
|
1909
1806
|
|
|
1910
1807
|
|
|
1911
|
-
<h5>Returns:</h5>
|
|
1808
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
1912
1809
|
|
|
1913
1810
|
|
|
1914
1811
|
<div class="param-desc">
|
|
@@ -1927,6 +1824,7 @@ false otherwise
|
|
|
1927
1824
|
<span class="param-type">boolean</span>
|
|
1928
1825
|
|
|
1929
1826
|
|
|
1827
|
+
|
|
1930
1828
|
</dd>
|
|
1931
1829
|
</dl>
|
|
1932
1830
|
|
|
@@ -1947,6 +1845,11 @@ false otherwise
|
|
|
1947
1845
|
|
|
1948
1846
|
|
|
1949
1847
|
<dl class="details">
|
|
1848
|
+
|
|
1849
|
+
<dt class="tag-description">Description:</dt>
|
|
1850
|
+
<dd class="tag-description"><ul class="dummy"><li>Return an array of names of source categories of plurals
|
|
1851
|
+
that are used in this resource.</li></ul></dd>
|
|
1852
|
+
|
|
1950
1853
|
|
|
1951
1854
|
|
|
1952
1855
|
<dt class="tag-source">Source:</dt>
|
|
@@ -1990,13 +1893,6 @@ false otherwise
|
|
|
1990
1893
|
|
|
1991
1894
|
|
|
1992
1895
|
|
|
1993
|
-
<div class="description usertext">
|
|
1994
|
-
Return an array of names of source categories of plurals
|
|
1995
|
-
that are used in this resource.
|
|
1996
|
-
</div>
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
1896
|
|
|
2001
1897
|
|
|
2002
1898
|
|
|
@@ -2019,7 +1915,7 @@ that are used in this resource.
|
|
|
2019
1915
|
|
|
2020
1916
|
|
|
2021
1917
|
|
|
2022
|
-
<h5>Returns:</h5>
|
|
1918
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
2023
1919
|
|
|
2024
1920
|
|
|
2025
1921
|
<div class="param-desc">
|
|
@@ -2037,6 +1933,7 @@ that are used in this resource.
|
|
|
2037
1933
|
<span class="param-type">Array.<string></span>
|
|
2038
1934
|
|
|
2039
1935
|
|
|
1936
|
+
|
|
2040
1937
|
</dd>
|
|
2041
1938
|
</dl>
|
|
2042
1939
|
|
|
@@ -2057,6 +1954,11 @@ that are used in this resource.
|
|
|
2057
1954
|
|
|
2058
1955
|
|
|
2059
1956
|
<dl class="details">
|
|
1957
|
+
|
|
1958
|
+
<dt class="tag-description">Description:</dt>
|
|
1959
|
+
<dd class="tag-description"><ul class="dummy"><li>Return an array of names of source categories of plurals
|
|
1960
|
+
that are used in this resource.</li></ul></dd>
|
|
1961
|
+
|
|
2060
1962
|
|
|
2061
1963
|
|
|
2062
1964
|
<dt class="tag-source">Source:</dt>
|
|
@@ -2102,12 +2004,6 @@ that are used in this resource.
|
|
|
2102
2004
|
|
|
2103
2005
|
|
|
2104
2006
|
|
|
2105
|
-
<div class="description usertext">
|
|
2106
|
-
Return an array of names of source categories of plurals
|
|
2107
|
-
that are used in this resource.
|
|
2108
|
-
</div>
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
2007
|
|
|
2112
2008
|
|
|
2113
2009
|
|
|
@@ -2130,8 +2026,7 @@ that are used in this resource.
|
|
|
2130
2026
|
|
|
2131
2027
|
|
|
2132
2028
|
|
|
2133
|
-
|
|
2134
|
-
<h5>Returns:</h5>
|
|
2029
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
2135
2030
|
|
|
2136
2031
|
|
|
2137
2032
|
<div class="param-desc">
|
|
@@ -2149,6 +2044,7 @@ that are used in this resource.
|
|
|
2149
2044
|
<span class="param-type">Array.<string></span>
|
|
2150
2045
|
|
|
2151
2046
|
|
|
2047
|
+
|
|
2152
2048
|
</dd>
|
|
2153
2049
|
</dl>
|
|
2154
2050
|
|
|
@@ -2169,6 +2065,11 @@ that are used in this resource.
|
|
|
2169
2065
|
|
|
2170
2066
|
|
|
2171
2067
|
<dl class="details">
|
|
2068
|
+
|
|
2069
|
+
<dt class="tag-description">Description:</dt>
|
|
2070
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the translator's comment for this resource if there is
|
|
2071
|
+
one, or undefined if not.</li></ul></dd>
|
|
2072
|
+
|
|
2172
2073
|
|
|
2173
2074
|
|
|
2174
2075
|
<dt class="tag-source">Source:</dt>
|
|
@@ -2217,12 +2118,6 @@ that are used in this resource.
|
|
|
2217
2118
|
|
|
2218
2119
|
|
|
2219
2120
|
|
|
2220
|
-
<div class="description usertext">
|
|
2221
|
-
Return the translator's comment for this resource if there is
|
|
2222
|
-
one, or undefined if not.
|
|
2223
|
-
</div>
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
2121
|
|
|
2227
2122
|
|
|
2228
2123
|
|
|
@@ -2245,8 +2140,7 @@ one, or undefined if not.
|
|
|
2245
2140
|
|
|
2246
2141
|
|
|
2247
2142
|
|
|
2248
|
-
|
|
2249
|
-
<h5>Returns:</h5>
|
|
2143
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
2250
2144
|
|
|
2251
2145
|
|
|
2252
2146
|
<div class="param-desc">
|
|
@@ -2268,6 +2162,7 @@ if the engineer put one in the code
|
|
|
2268
2162
|
<span class="param-type">undefined</span>
|
|
2269
2163
|
|
|
2270
2164
|
|
|
2165
|
+
|
|
2271
2166
|
</dd>
|
|
2272
2167
|
</dl>
|
|
2273
2168
|
|
|
@@ -2288,6 +2183,11 @@ if the engineer put one in the code
|
|
|
2288
2183
|
|
|
2289
2184
|
|
|
2290
2185
|
<dl class="details">
|
|
2186
|
+
|
|
2187
|
+
<dt class="tag-description">Description:</dt>
|
|
2188
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the context of this resource, or undefined if there
|
|
2189
|
+
is no context.</li></ul></dd>
|
|
2190
|
+
|
|
2291
2191
|
|
|
2292
2192
|
|
|
2293
2193
|
<dt class="tag-source">Source:</dt>
|
|
@@ -2336,10 +2236,6 @@ if the engineer put one in the code
|
|
|
2336
2236
|
|
|
2337
2237
|
|
|
2338
2238
|
|
|
2339
|
-
<div class="description usertext">
|
|
2340
|
-
Return the context of this resource, or undefined if there
|
|
2341
|
-
is no context.
|
|
2342
|
-
</div>
|
|
2343
2239
|
|
|
2344
2240
|
|
|
2345
2241
|
|
|
@@ -2362,10 +2258,7 @@ is no context.
|
|
|
2362
2258
|
|
|
2363
2259
|
|
|
2364
2260
|
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
<h5>Returns:</h5>
|
|
2261
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
2369
2262
|
|
|
2370
2263
|
|
|
2371
2264
|
<div class="param-desc">
|
|
@@ -2387,6 +2280,7 @@ is no context.
|
|
|
2387
2280
|
<span class="param-type">undefined</span>
|
|
2388
2281
|
|
|
2389
2282
|
|
|
2283
|
+
|
|
2390
2284
|
</dd>
|
|
2391
2285
|
</dl>
|
|
2392
2286
|
|
|
@@ -2407,6 +2301,10 @@ is no context.
|
|
|
2407
2301
|
|
|
2408
2302
|
|
|
2409
2303
|
<dl class="details">
|
|
2304
|
+
|
|
2305
|
+
<dt class="tag-description">Description:</dt>
|
|
2306
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the data type of this resource.</li></ul></dd>
|
|
2307
|
+
|
|
2410
2308
|
|
|
2411
2309
|
|
|
2412
2310
|
<dt class="tag-source">Source:</dt>
|
|
@@ -2455,12 +2353,6 @@ is no context.
|
|
|
2455
2353
|
|
|
2456
2354
|
|
|
2457
2355
|
|
|
2458
|
-
<div class="description usertext">
|
|
2459
|
-
Return the data type of this resource.
|
|
2460
|
-
</div>
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
2356
|
|
|
2465
2357
|
|
|
2466
2358
|
|
|
@@ -2483,7 +2375,7 @@ is no context.
|
|
|
2483
2375
|
|
|
2484
2376
|
|
|
2485
2377
|
|
|
2486
|
-
<h5>Returns:</h5>
|
|
2378
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
2487
2379
|
|
|
2488
2380
|
|
|
2489
2381
|
<div class="param-desc">
|
|
@@ -2501,6 +2393,7 @@ is no context.
|
|
|
2501
2393
|
<span class="param-type">String</span>
|
|
2502
2394
|
|
|
2503
2395
|
|
|
2396
|
+
|
|
2504
2397
|
</dd>
|
|
2505
2398
|
</dl>
|
|
2506
2399
|
|
|
@@ -2521,6 +2414,11 @@ is no context.
|
|
|
2521
2414
|
|
|
2522
2415
|
|
|
2523
2416
|
<dl class="details">
|
|
2417
|
+
|
|
2418
|
+
<dt class="tag-description">Description:</dt>
|
|
2419
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the name of the flavor for this resource, or undefined
|
|
2420
|
+
for the "main" or default flavor.</li></ul></dd>
|
|
2421
|
+
|
|
2524
2422
|
|
|
2525
2423
|
|
|
2526
2424
|
<dt class="tag-source">Source:</dt>
|
|
@@ -2569,12 +2467,6 @@ is no context.
|
|
|
2569
2467
|
|
|
2570
2468
|
|
|
2571
2469
|
|
|
2572
|
-
<div class="description usertext">
|
|
2573
|
-
Return the name of the flavor for this resource, or undefined
|
|
2574
|
-
for the "main" or default flavor.
|
|
2575
|
-
</div>
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
2470
|
|
|
2579
2471
|
|
|
2580
2472
|
|
|
@@ -2597,8 +2489,7 @@ for the "main" or default flavor.
|
|
|
2597
2489
|
|
|
2598
2490
|
|
|
2599
2491
|
|
|
2600
|
-
|
|
2601
|
-
<h5>Returns:</h5>
|
|
2492
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
2602
2493
|
|
|
2603
2494
|
|
|
2604
2495
|
<div class="param-desc">
|
|
@@ -2620,6 +2511,7 @@ for the "main" or default flavor.
|
|
|
2620
2511
|
<span class="param-type">undefined</span>
|
|
2621
2512
|
|
|
2622
2513
|
|
|
2514
|
+
|
|
2623
2515
|
</dd>
|
|
2624
2516
|
</dl>
|
|
2625
2517
|
|
|
@@ -2640,6 +2532,11 @@ for the "main" or default flavor.
|
|
|
2640
2532
|
|
|
2641
2533
|
|
|
2642
2534
|
<dl class="details">
|
|
2535
|
+
|
|
2536
|
+
<dt class="tag-description">Description:</dt>
|
|
2537
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the database id if this resource has previously been saved in the
|
|
2538
|
+
database.</li></ul></dd>
|
|
2539
|
+
|
|
2643
2540
|
|
|
2644
2541
|
|
|
2645
2542
|
<dt class="tag-source">Source:</dt>
|
|
@@ -2688,12 +2585,6 @@ for the "main" or default flavor.
|
|
|
2688
2585
|
|
|
2689
2586
|
|
|
2690
2587
|
|
|
2691
|
-
<div class="description usertext">
|
|
2692
|
-
Return the database id if this resource has previously been saved in the
|
|
2693
|
-
database.
|
|
2694
|
-
</div>
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
2588
|
|
|
2698
2589
|
|
|
2699
2590
|
|
|
@@ -2716,8 +2607,7 @@ database.
|
|
|
2716
2607
|
|
|
2717
2608
|
|
|
2718
2609
|
|
|
2719
|
-
|
|
2720
|
-
<h5>Returns:</h5>
|
|
2610
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
2721
2611
|
|
|
2722
2612
|
|
|
2723
2613
|
<div class="param-desc">
|
|
@@ -2739,6 +2629,7 @@ been saved in the database, or undefined if it is has not
|
|
|
2739
2629
|
<span class="param-type">undefined</span>
|
|
2740
2630
|
|
|
2741
2631
|
|
|
2632
|
+
|
|
2742
2633
|
</dd>
|
|
2743
2634
|
</dl>
|
|
2744
2635
|
|
|
@@ -2759,6 +2650,10 @@ been saved in the database, or undefined if it is has not
|
|
|
2759
2650
|
|
|
2760
2651
|
|
|
2761
2652
|
<dl class="details">
|
|
2653
|
+
|
|
2654
|
+
<dt class="tag-description">Description:</dt>
|
|
2655
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the list of instances of the current resource.</li></ul></dd>
|
|
2656
|
+
|
|
2762
2657
|
|
|
2763
2658
|
|
|
2764
2659
|
<dt class="tag-source">Source:</dt>
|
|
@@ -2807,12 +2702,6 @@ been saved in the database, or undefined if it is has not
|
|
|
2807
2702
|
|
|
2808
2703
|
|
|
2809
2704
|
|
|
2810
|
-
<div class="description usertext">
|
|
2811
|
-
Return the list of instances of the current resource.
|
|
2812
|
-
</div>
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
2705
|
|
|
2817
2706
|
|
|
2818
2707
|
|
|
@@ -2835,7 +2724,7 @@ been saved in the database, or undefined if it is has not
|
|
|
2835
2724
|
|
|
2836
2725
|
|
|
2837
2726
|
|
|
2838
|
-
<h5>Returns:</h5>
|
|
2727
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
2839
2728
|
|
|
2840
2729
|
|
|
2841
2730
|
<div class="param-desc">
|
|
@@ -2854,6 +2743,7 @@ the current resource
|
|
|
2854
2743
|
<span class="param-type">Array.<<a href="Resource.html">Resource</a>></span>
|
|
2855
2744
|
|
|
2856
2745
|
|
|
2746
|
+
|
|
2857
2747
|
</dd>
|
|
2858
2748
|
</dl>
|
|
2859
2749
|
|
|
@@ -2874,6 +2764,10 @@ the current resource
|
|
|
2874
2764
|
|
|
2875
2765
|
|
|
2876
2766
|
<dl class="details">
|
|
2767
|
+
|
|
2768
|
+
<dt class="tag-description">Description:</dt>
|
|
2769
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the unique key of this resource.</li></ul></dd>
|
|
2770
|
+
|
|
2877
2771
|
|
|
2878
2772
|
|
|
2879
2773
|
<dt class="tag-source">Source:</dt>
|
|
@@ -2922,10 +2816,6 @@ the current resource
|
|
|
2922
2816
|
|
|
2923
2817
|
|
|
2924
2818
|
|
|
2925
|
-
<div class="description usertext">
|
|
2926
|
-
Return the unique key of this resource.
|
|
2927
|
-
</div>
|
|
2928
|
-
|
|
2929
2819
|
|
|
2930
2820
|
|
|
2931
2821
|
|
|
@@ -2948,9 +2838,7 @@ the current resource
|
|
|
2948
2838
|
|
|
2949
2839
|
|
|
2950
2840
|
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
<h5>Returns:</h5>
|
|
2841
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
2954
2842
|
|
|
2955
2843
|
|
|
2956
2844
|
<div class="param-desc">
|
|
@@ -2968,6 +2856,7 @@ the current resource
|
|
|
2968
2856
|
<span class="param-type">String</span>
|
|
2969
2857
|
|
|
2970
2858
|
|
|
2859
|
+
|
|
2971
2860
|
</dd>
|
|
2972
2861
|
</dl>
|
|
2973
2862
|
|
|
@@ -2988,6 +2877,12 @@ the current resource
|
|
|
2988
2877
|
|
|
2989
2878
|
|
|
2990
2879
|
<dl class="details">
|
|
2880
|
+
|
|
2881
|
+
<dt class="tag-description">Description:</dt>
|
|
2882
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the localize flag of this resource.
|
|
2883
|
+
This flag indicates whether we should look up a translation for this resource.
|
|
2884
|
+
When false, we should simply substitute the source back</li></ul></dd>
|
|
2885
|
+
|
|
2991
2886
|
|
|
2992
2887
|
|
|
2993
2888
|
<dt class="tag-source">Source:</dt>
|
|
@@ -3036,13 +2931,6 @@ the current resource
|
|
|
3036
2931
|
|
|
3037
2932
|
|
|
3038
2933
|
|
|
3039
|
-
<div class="description usertext">
|
|
3040
|
-
Return the localize flag of this resource.
|
|
3041
|
-
This flag indicates whether we should look up a translation for this resource.
|
|
3042
|
-
When false, we should simply substitute the source back
|
|
3043
|
-
</div>
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
2934
|
|
|
3047
2935
|
|
|
3048
2936
|
|
|
@@ -3065,8 +2953,7 @@ When false, we should simply substitute the source back
|
|
|
3065
2953
|
|
|
3066
2954
|
|
|
3067
2955
|
|
|
3068
|
-
|
|
3069
|
-
<h5>Returns:</h5>
|
|
2956
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
3070
2957
|
|
|
3071
2958
|
|
|
3072
2959
|
<div class="param-desc">
|
|
@@ -3084,6 +2971,7 @@ When false, we should simply substitute the source back
|
|
|
3084
2971
|
<span class="param-type">Boolean</span>
|
|
3085
2972
|
|
|
3086
2973
|
|
|
2974
|
+
|
|
3087
2975
|
</dd>
|
|
3088
2976
|
</dl>
|
|
3089
2977
|
|
|
@@ -3104,6 +2992,13 @@ When false, we should simply substitute the source back
|
|
|
3104
2992
|
|
|
3105
2993
|
|
|
3106
2994
|
<dl class="details">
|
|
2995
|
+
|
|
2996
|
+
<dt class="tag-description">Description:</dt>
|
|
2997
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the origin of this resource. The origin may be either the string
|
|
2998
|
+
"source" or "target". Source origin resources are ones that are extracted
|
|
2999
|
+
from the source code, whereas target ones are translations from the
|
|
3000
|
+
translators.</li></ul></dd>
|
|
3001
|
+
|
|
3107
3002
|
|
|
3108
3003
|
|
|
3109
3004
|
<dt class="tag-source">Source:</dt>
|
|
@@ -3152,13 +3047,6 @@ When false, we should simply substitute the source back
|
|
|
3152
3047
|
|
|
3153
3048
|
|
|
3154
3049
|
|
|
3155
|
-
<div class="description usertext">
|
|
3156
|
-
Return the origin of this resource. The origin may be either the string
|
|
3157
|
-
"source" or "target". Source origin resources are ones that are extracted
|
|
3158
|
-
from the source code, whereas target ones are translations from the
|
|
3159
|
-
translators.
|
|
3160
|
-
</div>
|
|
3161
|
-
|
|
3162
3050
|
|
|
3163
3051
|
|
|
3164
3052
|
|
|
@@ -3181,9 +3069,7 @@ translators.
|
|
|
3181
3069
|
|
|
3182
3070
|
|
|
3183
3071
|
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
<h5>Returns:</h5>
|
|
3072
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
3187
3073
|
|
|
3188
3074
|
|
|
3189
3075
|
<div class="param-desc">
|
|
@@ -3201,6 +3087,7 @@ translators.
|
|
|
3201
3087
|
<span class="param-type">String</span>
|
|
3202
3088
|
|
|
3203
3089
|
|
|
3090
|
+
|
|
3204
3091
|
</dd>
|
|
3205
3092
|
</dl>
|
|
3206
3093
|
|
|
@@ -3221,6 +3108,11 @@ translators.
|
|
|
3221
3108
|
|
|
3222
3109
|
|
|
3223
3110
|
<dl class="details">
|
|
3111
|
+
|
|
3112
|
+
<dt class="tag-description">Description:</dt>
|
|
3113
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the original path to the file from which this resource was
|
|
3114
|
+
originally extracted.</li></ul></dd>
|
|
3115
|
+
|
|
3224
3116
|
|
|
3225
3117
|
|
|
3226
3118
|
<dt class="tag-source">Source:</dt>
|
|
@@ -3269,13 +3161,6 @@ translators.
|
|
|
3269
3161
|
|
|
3270
3162
|
|
|
3271
3163
|
|
|
3272
|
-
<div class="description usertext">
|
|
3273
|
-
Return the original path to the file from which this resource was
|
|
3274
|
-
originally extracted.
|
|
3275
|
-
</div>
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
3164
|
|
|
3280
3165
|
|
|
3281
3166
|
|
|
@@ -3298,7 +3183,7 @@ originally extracted.
|
|
|
3298
3183
|
|
|
3299
3184
|
|
|
3300
3185
|
|
|
3301
|
-
<h5>Returns:</h5>
|
|
3186
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
3302
3187
|
|
|
3303
3188
|
|
|
3304
3189
|
<div class="param-desc">
|
|
@@ -3316,6 +3201,7 @@ originally extracted.
|
|
|
3316
3201
|
<span class="param-type">String</span>
|
|
3317
3202
|
|
|
3318
3203
|
|
|
3204
|
+
|
|
3319
3205
|
</dd>
|
|
3320
3206
|
</dl>
|
|
3321
3207
|
|
|
@@ -3336,6 +3222,10 @@ originally extracted.
|
|
|
3336
3222
|
|
|
3337
3223
|
|
|
3338
3224
|
<dl class="details">
|
|
3225
|
+
|
|
3226
|
+
<dt class="tag-description">Description:</dt>
|
|
3227
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the project that this resource was found in.</li></ul></dd>
|
|
3228
|
+
|
|
3339
3229
|
|
|
3340
3230
|
|
|
3341
3231
|
<dt class="tag-source">Source:</dt>
|
|
@@ -3384,12 +3274,6 @@ originally extracted.
|
|
|
3384
3274
|
|
|
3385
3275
|
|
|
3386
3276
|
|
|
3387
|
-
<div class="description usertext">
|
|
3388
|
-
Return the project that this resource was found in.
|
|
3389
|
-
</div>
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
3277
|
|
|
3394
3278
|
|
|
3395
3279
|
|
|
@@ -3412,7 +3296,7 @@ originally extracted.
|
|
|
3412
3296
|
|
|
3413
3297
|
|
|
3414
3298
|
|
|
3415
|
-
<h5>Returns:</h5>
|
|
3299
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
3416
3300
|
|
|
3417
3301
|
|
|
3418
3302
|
<div class="param-desc">
|
|
@@ -3430,6 +3314,7 @@ originally extracted.
|
|
|
3430
3314
|
<span class="param-type">String</span>
|
|
3431
3315
|
|
|
3432
3316
|
|
|
3317
|
+
|
|
3433
3318
|
</dd>
|
|
3434
3319
|
</dl>
|
|
3435
3320
|
|
|
@@ -3450,6 +3335,10 @@ originally extracted.
|
|
|
3450
3335
|
|
|
3451
3336
|
|
|
3452
3337
|
<dl class="details">
|
|
3338
|
+
|
|
3339
|
+
<dt class="tag-description">Description:</dt>
|
|
3340
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the source string or strings for this resource.</li></ul></dd>
|
|
3341
|
+
|
|
3453
3342
|
|
|
3454
3343
|
|
|
3455
3344
|
<dt class="tag-source">Source:</dt>
|
|
@@ -3498,11 +3387,6 @@ originally extracted.
|
|
|
3498
3387
|
|
|
3499
3388
|
|
|
3500
3389
|
|
|
3501
|
-
<div class="description usertext">
|
|
3502
|
-
Return the source string or strings for this resource.
|
|
3503
|
-
</div>
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
3390
|
|
|
3507
3391
|
|
|
3508
3392
|
|
|
@@ -3525,8 +3409,7 @@ originally extracted.
|
|
|
3525
3409
|
|
|
3526
3410
|
|
|
3527
3411
|
|
|
3528
|
-
|
|
3529
|
-
<h5>Returns:</h5>
|
|
3412
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
3530
3413
|
|
|
3531
3414
|
|
|
3532
3415
|
<div class="param-desc">
|
|
@@ -3551,6 +3434,7 @@ strings of this resource
|
|
|
3551
3434
|
<span class="param-type">Object</span>
|
|
3552
3435
|
|
|
3553
3436
|
|
|
3437
|
+
|
|
3554
3438
|
</dd>
|
|
3555
3439
|
</dl>
|
|
3556
3440
|
|
|
@@ -3571,6 +3455,11 @@ strings of this resource
|
|
|
3571
3455
|
|
|
3572
3456
|
|
|
3573
3457
|
<dl class="details">
|
|
3458
|
+
|
|
3459
|
+
<dt class="tag-description">Description:</dt>
|
|
3460
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the source locale of this resource, or undefined if there
|
|
3461
|
+
is no context or the locale is the same as the project's source locale.</li></ul></dd>
|
|
3462
|
+
|
|
3574
3463
|
|
|
3575
3464
|
|
|
3576
3465
|
<dt class="tag-source">Source:</dt>
|
|
@@ -3619,13 +3508,6 @@ strings of this resource
|
|
|
3619
3508
|
|
|
3620
3509
|
|
|
3621
3510
|
|
|
3622
|
-
<div class="description usertext">
|
|
3623
|
-
Return the source locale of this resource, or undefined if there
|
|
3624
|
-
is no context or the locale is the same as the project's source locale.
|
|
3625
|
-
</div>
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
3511
|
|
|
3630
3512
|
|
|
3631
3513
|
|
|
@@ -3648,7 +3530,7 @@ is no context or the locale is the same as the project's source locale.
|
|
|
3648
3530
|
|
|
3649
3531
|
|
|
3650
3532
|
|
|
3651
|
-
<h5>Returns:</h5>
|
|
3533
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
3652
3534
|
|
|
3653
3535
|
|
|
3654
3536
|
<div class="param-desc">
|
|
@@ -3670,6 +3552,7 @@ is no locale.
|
|
|
3670
3552
|
<span class="param-type">undefined</span>
|
|
3671
3553
|
|
|
3672
3554
|
|
|
3555
|
+
|
|
3673
3556
|
</dd>
|
|
3674
3557
|
</dl>
|
|
3675
3558
|
|
|
@@ -3690,6 +3573,10 @@ is no locale.
|
|
|
3690
3573
|
|
|
3691
3574
|
|
|
3692
3575
|
<dl class="details">
|
|
3576
|
+
|
|
3577
|
+
<dt class="tag-description">Description:</dt>
|
|
3578
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the source string of the given plural category.</li></ul></dd>
|
|
3579
|
+
|
|
3693
3580
|
|
|
3694
3581
|
|
|
3695
3582
|
<dt class="tag-source">Source:</dt>
|
|
@@ -3733,11 +3620,6 @@ is no locale.
|
|
|
3733
3620
|
|
|
3734
3621
|
|
|
3735
3622
|
|
|
3736
|
-
<div class="description usertext">
|
|
3737
|
-
Return the source string of the given plural category.
|
|
3738
|
-
</div>
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
3623
|
|
|
3742
3624
|
|
|
3743
3625
|
|
|
@@ -3760,8 +3642,7 @@ is no locale.
|
|
|
3760
3642
|
|
|
3761
3643
|
|
|
3762
3644
|
|
|
3763
|
-
|
|
3764
|
-
<h5>Returns:</h5>
|
|
3645
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
3765
3646
|
|
|
3766
3647
|
|
|
3767
3648
|
<div class="param-desc">
|
|
@@ -3780,6 +3661,7 @@ plural category
|
|
|
3780
3661
|
<span class="param-type">String</span>
|
|
3781
3662
|
|
|
3782
3663
|
|
|
3664
|
+
|
|
3783
3665
|
</dd>
|
|
3784
3666
|
</dl>
|
|
3785
3667
|
|
|
@@ -3800,6 +3682,11 @@ plural category
|
|
|
3800
3682
|
|
|
3801
3683
|
|
|
3802
3684
|
<dl class="details">
|
|
3685
|
+
|
|
3686
|
+
<dt class="tag-description">Description:</dt>
|
|
3687
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the array of source strings. This method is here
|
|
3688
|
+
for backwards compatilibity with the loctool plugins.</li></ul></dd>
|
|
3689
|
+
|
|
3803
3690
|
|
|
3804
3691
|
|
|
3805
3692
|
<dt class="tag-source">Source:</dt>
|
|
@@ -3845,10 +3732,6 @@ plural category
|
|
|
3845
3732
|
|
|
3846
3733
|
|
|
3847
3734
|
|
|
3848
|
-
<div class="description usertext">
|
|
3849
|
-
Return the array of source strings. This method is here
|
|
3850
|
-
for backwards compatilibity with the loctool plugins.
|
|
3851
|
-
</div>
|
|
3852
3735
|
|
|
3853
3736
|
|
|
3854
3737
|
|
|
@@ -3871,10 +3754,7 @@ for backwards compatilibity with the loctool plugins.
|
|
|
3871
3754
|
|
|
3872
3755
|
|
|
3873
3756
|
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
<h5>Returns:</h5>
|
|
3757
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
3878
3758
|
|
|
3879
3759
|
|
|
3880
3760
|
<div class="param-desc">
|
|
@@ -3892,6 +3772,7 @@ for backwards compatilibity with the loctool plugins.
|
|
|
3892
3772
|
<span class="param-type">Array.<String></span>
|
|
3893
3773
|
|
|
3894
3774
|
|
|
3775
|
+
|
|
3895
3776
|
</dd>
|
|
3896
3777
|
</dl>
|
|
3897
3778
|
|
|
@@ -3912,6 +3793,11 @@ for backwards compatilibity with the loctool plugins.
|
|
|
3912
3793
|
|
|
3913
3794
|
|
|
3914
3795
|
<dl class="details">
|
|
3796
|
+
|
|
3797
|
+
<dt class="tag-description">Description:</dt>
|
|
3798
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the array of source strings. This method is here
|
|
3799
|
+
for backwards compatilibity with the loctool plugins.</li></ul></dd>
|
|
3800
|
+
|
|
3915
3801
|
|
|
3916
3802
|
|
|
3917
3803
|
<dt class="tag-source">Source:</dt>
|
|
@@ -3957,13 +3843,6 @@ for backwards compatilibity with the loctool plugins.
|
|
|
3957
3843
|
|
|
3958
3844
|
|
|
3959
3845
|
|
|
3960
|
-
<div class="description usertext">
|
|
3961
|
-
Return the array of source strings. This method is here
|
|
3962
|
-
for backwards compatilibity with the loctool plugins.
|
|
3963
|
-
</div>
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
3846
|
|
|
3968
3847
|
|
|
3969
3848
|
|
|
@@ -3986,7 +3865,7 @@ for backwards compatilibity with the loctool plugins.
|
|
|
3986
3865
|
|
|
3987
3866
|
|
|
3988
3867
|
|
|
3989
|
-
<h5>Returns:</h5>
|
|
3868
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
3990
3869
|
|
|
3991
3870
|
|
|
3992
3871
|
<div class="param-desc">
|
|
@@ -4004,6 +3883,7 @@ for backwards compatilibity with the loctool plugins.
|
|
|
4004
3883
|
<span class="param-type">Array.<String></span>
|
|
4005
3884
|
|
|
4006
3885
|
|
|
3886
|
+
|
|
4007
3887
|
</dd>
|
|
4008
3888
|
</dl>
|
|
4009
3889
|
|
|
@@ -4024,6 +3904,12 @@ for backwards compatilibity with the loctool plugins.
|
|
|
4024
3904
|
|
|
4025
3905
|
|
|
4026
3906
|
<dl class="details">
|
|
3907
|
+
|
|
3908
|
+
<dt class="tag-description">Description:</dt>
|
|
3909
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the state of this resource. This is a string that gives the
|
|
3910
|
+
stage of life of this resource. Currently, it can be one of "new",
|
|
3911
|
+
"translated", or "accepted".</li></ul></dd>
|
|
3912
|
+
|
|
4027
3913
|
|
|
4028
3914
|
|
|
4029
3915
|
<dt class="tag-source">Source:</dt>
|
|
@@ -4072,14 +3958,6 @@ for backwards compatilibity with the loctool plugins.
|
|
|
4072
3958
|
|
|
4073
3959
|
|
|
4074
3960
|
|
|
4075
|
-
<div class="description usertext">
|
|
4076
|
-
Return the state of this resource. This is a string that gives the
|
|
4077
|
-
stage of life of this resource. Currently, it can be one of "new",
|
|
4078
|
-
"translated", or "accepted".
|
|
4079
|
-
</div>
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
|
|
4083
3961
|
|
|
4084
3962
|
|
|
4085
3963
|
|
|
@@ -4102,7 +3980,7 @@ stage of life of this resource. Currently, it can be one of "new",
|
|
|
4102
3980
|
|
|
4103
3981
|
|
|
4104
3982
|
|
|
4105
|
-
<h5>Returns:</h5>
|
|
3983
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
4106
3984
|
|
|
4107
3985
|
|
|
4108
3986
|
<div class="param-desc">
|
|
@@ -4120,6 +3998,7 @@ stage of life of this resource. Currently, it can be one of "new",
|
|
|
4120
3998
|
<span class="param-type">String</span>
|
|
4121
3999
|
|
|
4122
4000
|
|
|
4001
|
+
|
|
4123
4002
|
</dd>
|
|
4124
4003
|
</dl>
|
|
4125
4004
|
|
|
@@ -4140,6 +4019,10 @@ stage of life of this resource. Currently, it can be one of "new",
|
|
|
4140
4019
|
|
|
4141
4020
|
|
|
4142
4021
|
<dl class="details">
|
|
4022
|
+
|
|
4023
|
+
<dt class="tag-description">Description:</dt>
|
|
4024
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the target string or strings for this resource.</li></ul></dd>
|
|
4025
|
+
|
|
4143
4026
|
|
|
4144
4027
|
|
|
4145
4028
|
<dt class="tag-source">Source:</dt>
|
|
@@ -4188,12 +4071,6 @@ stage of life of this resource. Currently, it can be one of "new",
|
|
|
4188
4071
|
|
|
4189
4072
|
|
|
4190
4073
|
|
|
4191
|
-
<div class="description usertext">
|
|
4192
|
-
Return the target string or strings for this resource.
|
|
4193
|
-
</div>
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
4074
|
|
|
4198
4075
|
|
|
4199
4076
|
|
|
@@ -4216,7 +4093,7 @@ stage of life of this resource. Currently, it can be one of "new",
|
|
|
4216
4093
|
|
|
4217
4094
|
|
|
4218
4095
|
|
|
4219
|
-
<h5>Returns:</h5>
|
|
4096
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
4220
4097
|
|
|
4221
4098
|
|
|
4222
4099
|
<div class="param-desc">
|
|
@@ -4241,6 +4118,7 @@ strings of this resource
|
|
|
4241
4118
|
<span class="param-type">Object</span>
|
|
4242
4119
|
|
|
4243
4120
|
|
|
4121
|
+
|
|
4244
4122
|
</dd>
|
|
4245
4123
|
</dl>
|
|
4246
4124
|
|
|
@@ -4261,6 +4139,11 @@ strings of this resource
|
|
|
4261
4139
|
|
|
4262
4140
|
|
|
4263
4141
|
<dl class="details">
|
|
4142
|
+
|
|
4143
|
+
<dt class="tag-description">Description:</dt>
|
|
4144
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the target locale of this resource, or undefined if the resource
|
|
4145
|
+
is a source-only resource.</li></ul></dd>
|
|
4146
|
+
|
|
4264
4147
|
|
|
4265
4148
|
|
|
4266
4149
|
<dt class="tag-source">Source:</dt>
|
|
@@ -4309,13 +4192,6 @@ strings of this resource
|
|
|
4309
4192
|
|
|
4310
4193
|
|
|
4311
4194
|
|
|
4312
|
-
<div class="description usertext">
|
|
4313
|
-
Return the target locale of this resource, or undefined if the resource
|
|
4314
|
-
is a source-only resource.
|
|
4315
|
-
</div>
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
4195
|
|
|
4320
4196
|
|
|
4321
4197
|
|
|
@@ -4338,7 +4214,7 @@ is a source-only resource.
|
|
|
4338
4214
|
|
|
4339
4215
|
|
|
4340
4216
|
|
|
4341
|
-
<h5>Returns:</h5>
|
|
4217
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
4342
4218
|
|
|
4343
4219
|
|
|
4344
4220
|
<div class="param-desc">
|
|
@@ -4360,6 +4236,7 @@ is no locale.
|
|
|
4360
4236
|
<span class="param-type">undefined</span>
|
|
4361
4237
|
|
|
4362
4238
|
|
|
4239
|
+
|
|
4363
4240
|
</dd>
|
|
4364
4241
|
</dl>
|
|
4365
4242
|
|
|
@@ -4380,6 +4257,10 @@ is no locale.
|
|
|
4380
4257
|
|
|
4381
4258
|
|
|
4382
4259
|
<dl class="details">
|
|
4260
|
+
|
|
4261
|
+
<dt class="tag-description">Description:</dt>
|
|
4262
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the target string of the given plural category.</li></ul></dd>
|
|
4263
|
+
|
|
4383
4264
|
|
|
4384
4265
|
|
|
4385
4266
|
<dt class="tag-source">Source:</dt>
|
|
@@ -4423,12 +4304,6 @@ is no locale.
|
|
|
4423
4304
|
|
|
4424
4305
|
|
|
4425
4306
|
|
|
4426
|
-
<div class="description usertext">
|
|
4427
|
-
Return the target string of the given plural category.
|
|
4428
|
-
</div>
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
4307
|
|
|
4433
4308
|
|
|
4434
4309
|
|
|
@@ -4451,7 +4326,7 @@ is no locale.
|
|
|
4451
4326
|
|
|
4452
4327
|
|
|
4453
4328
|
|
|
4454
|
-
<h5>Returns:</h5>
|
|
4329
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
4455
4330
|
|
|
4456
4331
|
|
|
4457
4332
|
<div class="param-desc">
|
|
@@ -4470,6 +4345,7 @@ plural category
|
|
|
4470
4345
|
<span class="param-type">String</span>
|
|
4471
4346
|
|
|
4472
4347
|
|
|
4348
|
+
|
|
4473
4349
|
</dd>
|
|
4474
4350
|
</dl>
|
|
4475
4351
|
|
|
@@ -4490,6 +4366,11 @@ plural category
|
|
|
4490
4366
|
|
|
4491
4367
|
|
|
4492
4368
|
<dl class="details">
|
|
4369
|
+
|
|
4370
|
+
<dt class="tag-description">Description:</dt>
|
|
4371
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the array of target strings. This method is here
|
|
4372
|
+
for backwards compatilibity with the loctool plugins.</li></ul></dd>
|
|
4373
|
+
|
|
4493
4374
|
|
|
4494
4375
|
|
|
4495
4376
|
<dt class="tag-source">Source:</dt>
|
|
@@ -4535,13 +4416,6 @@ plural category
|
|
|
4535
4416
|
|
|
4536
4417
|
|
|
4537
4418
|
|
|
4538
|
-
<div class="description usertext">
|
|
4539
|
-
Return the array of target strings. This method is here
|
|
4540
|
-
for backwards compatilibity with the loctool plugins.
|
|
4541
|
-
</div>
|
|
4542
|
-
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
4419
|
|
|
4546
4420
|
|
|
4547
4421
|
|
|
@@ -4564,7 +4438,7 @@ for backwards compatilibity with the loctool plugins.
|
|
|
4564
4438
|
|
|
4565
4439
|
|
|
4566
4440
|
|
|
4567
|
-
<h5>Returns:</h5>
|
|
4441
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
4568
4442
|
|
|
4569
4443
|
|
|
4570
4444
|
<div class="param-desc">
|
|
@@ -4582,6 +4456,7 @@ for backwards compatilibity with the loctool plugins.
|
|
|
4582
4456
|
<span class="param-type">Array.<String></span>
|
|
4583
4457
|
|
|
4584
4458
|
|
|
4459
|
+
|
|
4585
4460
|
</dd>
|
|
4586
4461
|
</dl>
|
|
4587
4462
|
|
|
@@ -4602,6 +4477,11 @@ for backwards compatilibity with the loctool plugins.
|
|
|
4602
4477
|
|
|
4603
4478
|
|
|
4604
4479
|
<dl class="details">
|
|
4480
|
+
|
|
4481
|
+
<dt class="tag-description">Description:</dt>
|
|
4482
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the array of target strings. This method is here
|
|
4483
|
+
for backwards compatilibity with the loctool plugins.</li></ul></dd>
|
|
4484
|
+
|
|
4605
4485
|
|
|
4606
4486
|
|
|
4607
4487
|
<dt class="tag-source">Source:</dt>
|
|
@@ -4647,13 +4527,6 @@ for backwards compatilibity with the loctool plugins.
|
|
|
4647
4527
|
|
|
4648
4528
|
|
|
4649
4529
|
|
|
4650
|
-
<div class="description usertext">
|
|
4651
|
-
Return the array of target strings. This method is here
|
|
4652
|
-
for backwards compatilibity with the loctool plugins.
|
|
4653
|
-
</div>
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
4530
|
|
|
4658
4531
|
|
|
4659
4532
|
|
|
@@ -4676,7 +4549,7 @@ for backwards compatilibity with the loctool plugins.
|
|
|
4676
4549
|
|
|
4677
4550
|
|
|
4678
4551
|
|
|
4679
|
-
<h5>Returns:</h5>
|
|
4552
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
4680
4553
|
|
|
4681
4554
|
|
|
4682
4555
|
<div class="param-desc">
|
|
@@ -4694,6 +4567,7 @@ for backwards compatilibity with the loctool plugins.
|
|
|
4694
4567
|
<span class="param-type">Array.<String></span>
|
|
4695
4568
|
|
|
4696
4569
|
|
|
4570
|
+
|
|
4697
4571
|
</dd>
|
|
4698
4572
|
</dl>
|
|
4699
4573
|
|
|
@@ -4714,6 +4588,11 @@ for backwards compatilibity with the loctool plugins.
|
|
|
4714
4588
|
|
|
4715
4589
|
|
|
4716
4590
|
<dl class="details">
|
|
4591
|
+
|
|
4592
|
+
<dt class="tag-description">Description:</dt>
|
|
4593
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the resource type of this resource. This is one of
|
|
4594
|
+
string, array, or plural.</li></ul></dd>
|
|
4595
|
+
|
|
4717
4596
|
|
|
4718
4597
|
|
|
4719
4598
|
<dt class="tag-source">Source:</dt>
|
|
@@ -4762,13 +4641,6 @@ for backwards compatilibity with the loctool plugins.
|
|
|
4762
4641
|
|
|
4763
4642
|
|
|
4764
4643
|
|
|
4765
|
-
<div class="description usertext">
|
|
4766
|
-
Return the resource type of this resource. This is one of
|
|
4767
|
-
string, array, or plural.
|
|
4768
|
-
</div>
|
|
4769
|
-
|
|
4770
|
-
|
|
4771
|
-
|
|
4772
4644
|
|
|
4773
4645
|
|
|
4774
4646
|
|
|
@@ -4791,7 +4663,7 @@ string, array, or plural.
|
|
|
4791
4663
|
|
|
4792
4664
|
|
|
4793
4665
|
|
|
4794
|
-
<h5>Returns:</h5>
|
|
4666
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
4795
4667
|
|
|
4796
4668
|
|
|
4797
4669
|
<div class="param-desc">
|
|
@@ -4809,6 +4681,7 @@ string, array, or plural.
|
|
|
4809
4681
|
<span class="param-type">String</span>
|
|
4810
4682
|
|
|
4811
4683
|
|
|
4684
|
+
|
|
4812
4685
|
</dd>
|
|
4813
4686
|
</dl>
|
|
4814
4687
|
|
|
@@ -4829,6 +4702,10 @@ string, array, or plural.
|
|
|
4829
4702
|
|
|
4830
4703
|
|
|
4831
4704
|
<dl class="details">
|
|
4705
|
+
|
|
4706
|
+
<dt class="tag-description">Description:</dt>
|
|
4707
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the a hash key that uniquely identifies this resource.</li></ul></dd>
|
|
4708
|
+
|
|
4832
4709
|
|
|
4833
4710
|
|
|
4834
4711
|
<dt class="tag-source">Source:</dt>
|
|
@@ -4872,12 +4749,6 @@ string, array, or plural.
|
|
|
4872
4749
|
|
|
4873
4750
|
|
|
4874
4751
|
|
|
4875
|
-
<div class="description usertext">
|
|
4876
|
-
Return the a hash key that uniquely identifies this resource.
|
|
4877
|
-
</div>
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
4752
|
|
|
4882
4753
|
|
|
4883
4754
|
|
|
@@ -4900,7 +4771,7 @@ string, array, or plural.
|
|
|
4900
4771
|
|
|
4901
4772
|
|
|
4902
4773
|
|
|
4903
|
-
<h5>Returns:</h5>
|
|
4774
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
4904
4775
|
|
|
4905
4776
|
|
|
4906
4777
|
<div class="param-desc">
|
|
@@ -4918,6 +4789,7 @@ string, array, or plural.
|
|
|
4918
4789
|
<span class="param-type">String</span>
|
|
4919
4790
|
|
|
4920
4791
|
|
|
4792
|
+
|
|
4921
4793
|
</dd>
|
|
4922
4794
|
</dl>
|
|
4923
4795
|
|
|
@@ -4938,6 +4810,11 @@ string, array, or plural.
|
|
|
4938
4810
|
|
|
4939
4811
|
|
|
4940
4812
|
<dl class="details">
|
|
4813
|
+
|
|
4814
|
+
<dt class="tag-description">Description:</dt>
|
|
4815
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the a hash key that uniquely identifies the translation of
|
|
4816
|
+
this resource to the given locale.</li></ul></dd>
|
|
4817
|
+
|
|
4941
4818
|
|
|
4942
4819
|
|
|
4943
4820
|
<dt class="tag-source">Source:</dt>
|
|
@@ -4981,13 +4858,6 @@ string, array, or plural.
|
|
|
4981
4858
|
|
|
4982
4859
|
|
|
4983
4860
|
|
|
4984
|
-
<div class="description usertext">
|
|
4985
|
-
Return the a hash key that uniquely identifies the translation of
|
|
4986
|
-
this resource to the given locale.
|
|
4987
|
-
</div>
|
|
4988
|
-
|
|
4989
|
-
|
|
4990
|
-
|
|
4991
4861
|
|
|
4992
4862
|
|
|
4993
4863
|
|
|
@@ -4996,7 +4866,7 @@ this resource to the given locale.
|
|
|
4996
4866
|
|
|
4997
4867
|
|
|
4998
4868
|
|
|
4999
|
-
<h5>Parameters:</h5>
|
|
4869
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
5000
4870
|
|
|
5001
4871
|
|
|
5002
4872
|
<table class="params">
|
|
@@ -5030,6 +4900,7 @@ this resource to the given locale.
|
|
|
5030
4900
|
<span class="param-type">String</span>
|
|
5031
4901
|
|
|
5032
4902
|
|
|
4903
|
+
|
|
5033
4904
|
|
|
5034
4905
|
</td>
|
|
5035
4906
|
|
|
@@ -5059,7 +4930,7 @@ this resource to the given locale.
|
|
|
5059
4930
|
|
|
5060
4931
|
|
|
5061
4932
|
|
|
5062
|
-
<h5>Returns:</h5>
|
|
4933
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
5063
4934
|
|
|
5064
4935
|
|
|
5065
4936
|
<div class="param-desc">
|
|
@@ -5077,6 +4948,7 @@ this resource to the given locale.
|
|
|
5077
4948
|
<span class="param-type">String</span>
|
|
5078
4949
|
|
|
5079
4950
|
|
|
4951
|
+
|
|
5080
4952
|
</dd>
|
|
5081
4953
|
</dl>
|
|
5082
4954
|
|
|
@@ -5097,6 +4969,11 @@ this resource to the given locale.
|
|
|
5097
4969
|
|
|
5098
4970
|
|
|
5099
4971
|
<dl class="details">
|
|
4972
|
+
|
|
4973
|
+
<dt class="tag-description">Description:</dt>
|
|
4974
|
+
<dd class="tag-description"><ul class="dummy"><li>Check if the given resource is an instance of the current
|
|
4975
|
+
resource.</li></ul></dd>
|
|
4976
|
+
|
|
5100
4977
|
|
|
5101
4978
|
|
|
5102
4979
|
<dt class="tag-source">Source:</dt>
|
|
@@ -5145,13 +5022,6 @@ this resource to the given locale.
|
|
|
5145
5022
|
|
|
5146
5023
|
|
|
5147
5024
|
|
|
5148
|
-
<div class="description usertext">
|
|
5149
|
-
Check if the given resource is an instance of the current
|
|
5150
|
-
resource.
|
|
5151
|
-
</div>
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
5025
|
|
|
5156
5026
|
|
|
5157
5027
|
|
|
@@ -5160,7 +5030,7 @@ resource.
|
|
|
5160
5030
|
|
|
5161
5031
|
|
|
5162
5032
|
|
|
5163
|
-
<h5>Parameters:</h5>
|
|
5033
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
5164
5034
|
|
|
5165
5035
|
|
|
5166
5036
|
<table class="params">
|
|
@@ -5194,6 +5064,7 @@ resource.
|
|
|
5194
5064
|
<span class="param-type"><a href="Resource.html">Resource</a></span>
|
|
5195
5065
|
|
|
5196
5066
|
|
|
5067
|
+
|
|
5197
5068
|
|
|
5198
5069
|
</td>
|
|
5199
5070
|
|
|
@@ -5223,7 +5094,7 @@ resource.
|
|
|
5223
5094
|
|
|
5224
5095
|
|
|
5225
5096
|
|
|
5226
|
-
<h5>Returns:</h5>
|
|
5097
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
5227
5098
|
|
|
5228
5099
|
|
|
5229
5100
|
<div class="param-desc">
|
|
@@ -5242,6 +5113,7 @@ the current resource, false otherwise.
|
|
|
5242
5113
|
<span class="param-type">boolean</span>
|
|
5243
5114
|
|
|
5244
5115
|
|
|
5116
|
+
|
|
5245
5117
|
</dd>
|
|
5246
5118
|
</dl>
|
|
5247
5119
|
|
|
@@ -5262,6 +5134,13 @@ the current resource, false otherwise.
|
|
|
5262
5134
|
|
|
5263
5135
|
|
|
5264
5136
|
<dl class="details">
|
|
5137
|
+
|
|
5138
|
+
<dt class="tag-description">Description:</dt>
|
|
5139
|
+
<dd class="tag-description"><ul class="dummy"><li>Return true if the other resource represents the same resource as
|
|
5140
|
+
the current one. The project, context, locale, key, flavor, and type must
|
|
5141
|
+
match. Other fields such as the pathName, state, and comment fields are
|
|
5142
|
+
ignored as minor variations.</li></ul></dd>
|
|
5143
|
+
|
|
5265
5144
|
|
|
5266
5145
|
|
|
5267
5146
|
<dt class="tag-source">Source:</dt>
|
|
@@ -5310,13 +5189,6 @@ the current resource, false otherwise.
|
|
|
5310
5189
|
|
|
5311
5190
|
|
|
5312
5191
|
|
|
5313
|
-
<div class="description usertext">
|
|
5314
|
-
Return true if the other resource represents the same resource as
|
|
5315
|
-
the current one. The project, context, locale, key, flavor, and type must
|
|
5316
|
-
match. Other fields such as the pathName, state, and comment fields are
|
|
5317
|
-
ignored as minor variations.
|
|
5318
|
-
</div>
|
|
5319
|
-
|
|
5320
5192
|
|
|
5321
5193
|
|
|
5322
5194
|
|
|
@@ -5325,9 +5197,7 @@ ignored as minor variations.
|
|
|
5325
5197
|
|
|
5326
5198
|
|
|
5327
5199
|
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
<h5>Parameters:</h5>
|
|
5200
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
5331
5201
|
|
|
5332
5202
|
|
|
5333
5203
|
<table class="params">
|
|
@@ -5361,6 +5231,7 @@ ignored as minor variations.
|
|
|
5361
5231
|
<span class="param-type"><a href="Resource.html">Resource</a></span>
|
|
5362
5232
|
|
|
5363
5233
|
|
|
5234
|
+
|
|
5364
5235
|
|
|
5365
5236
|
</td>
|
|
5366
5237
|
|
|
@@ -5390,7 +5261,7 @@ ignored as minor variations.
|
|
|
5390
5261
|
|
|
5391
5262
|
|
|
5392
5263
|
|
|
5393
|
-
<h5>Returns:</h5>
|
|
5264
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
5394
5265
|
|
|
5395
5266
|
|
|
5396
5267
|
<div class="param-desc">
|
|
@@ -5408,6 +5279,7 @@ ignored as minor variations.
|
|
|
5408
5279
|
<span class="param-type">boolean</span>
|
|
5409
5280
|
|
|
5410
5281
|
|
|
5282
|
+
|
|
5411
5283
|
</dd>
|
|
5412
5284
|
</dl>
|
|
5413
5285
|
|
|
@@ -5428,6 +5300,10 @@ ignored as minor variations.
|
|
|
5428
5300
|
|
|
5429
5301
|
|
|
5430
5302
|
<dl class="details">
|
|
5303
|
+
|
|
5304
|
+
<dt class="tag-description">Description:</dt>
|
|
5305
|
+
<dd class="tag-description"><ul class="dummy"><li>Set the translator's comment for this resource.</li></ul></dd>
|
|
5306
|
+
|
|
5431
5307
|
|
|
5432
5308
|
|
|
5433
5309
|
<dt class="tag-source">Source:</dt>
|
|
@@ -5476,11 +5352,6 @@ ignored as minor variations.
|
|
|
5476
5352
|
|
|
5477
5353
|
|
|
5478
5354
|
|
|
5479
|
-
<div class="description usertext">
|
|
5480
|
-
Set the translator's comment for this resource.
|
|
5481
|
-
</div>
|
|
5482
|
-
|
|
5483
|
-
|
|
5484
5355
|
|
|
5485
5356
|
|
|
5486
5357
|
|
|
@@ -5489,8 +5360,7 @@ ignored as minor variations.
|
|
|
5489
5360
|
|
|
5490
5361
|
|
|
5491
5362
|
|
|
5492
|
-
|
|
5493
|
-
<h5>Parameters:</h5>
|
|
5363
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
5494
5364
|
|
|
5495
5365
|
|
|
5496
5366
|
<table class="params">
|
|
@@ -5527,6 +5397,7 @@ ignored as minor variations.
|
|
|
5527
5397
|
<span class="param-type">undefined</span>
|
|
5528
5398
|
|
|
5529
5399
|
|
|
5400
|
+
|
|
5530
5401
|
|
|
5531
5402
|
</td>
|
|
5532
5403
|
|
|
@@ -5573,6 +5444,11 @@ undefined to clear the comment</td>
|
|
|
5573
5444
|
|
|
5574
5445
|
|
|
5575
5446
|
<dl class="details">
|
|
5447
|
+
|
|
5448
|
+
<dt class="tag-description">Description:</dt>
|
|
5449
|
+
<dd class="tag-description"><ul class="dummy"><li>Set the project of this resource. This is a string that gives the
|
|
5450
|
+
id of the project for this resource.</li></ul></dd>
|
|
5451
|
+
|
|
5576
5452
|
|
|
5577
5453
|
|
|
5578
5454
|
<dt class="tag-source">Source:</dt>
|
|
@@ -5621,12 +5497,6 @@ undefined to clear the comment</td>
|
|
|
5621
5497
|
|
|
5622
5498
|
|
|
5623
5499
|
|
|
5624
|
-
<div class="description usertext">
|
|
5625
|
-
Set the project of this resource. This is a string that gives the
|
|
5626
|
-
id of the project for this resource.
|
|
5627
|
-
</div>
|
|
5628
|
-
|
|
5629
|
-
|
|
5630
5500
|
|
|
5631
5501
|
|
|
5632
5502
|
|
|
@@ -5635,8 +5505,7 @@ id of the project for this resource.
|
|
|
5635
5505
|
|
|
5636
5506
|
|
|
5637
5507
|
|
|
5638
|
-
|
|
5639
|
-
<h5>Parameters:</h5>
|
|
5508
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
5640
5509
|
|
|
5641
5510
|
|
|
5642
5511
|
<table class="params">
|
|
@@ -5670,6 +5539,7 @@ id of the project for this resource.
|
|
|
5670
5539
|
<span class="param-type">Project</span>
|
|
5671
5540
|
|
|
5672
5541
|
|
|
5542
|
+
|
|
5673
5543
|
|
|
5674
5544
|
</td>
|
|
5675
5545
|
|
|
@@ -5715,6 +5585,10 @@ id of the project for this resource.
|
|
|
5715
5585
|
|
|
5716
5586
|
|
|
5717
5587
|
<dl class="details">
|
|
5588
|
+
|
|
5589
|
+
<dt class="tag-description">Description:</dt>
|
|
5590
|
+
<dd class="tag-description"><ul class="dummy"><li>Set the source plurals hash of this plurals resource.</li></ul></dd>
|
|
5591
|
+
|
|
5718
5592
|
|
|
5719
5593
|
|
|
5720
5594
|
<dt class="tag-source">Source:</dt>
|
|
@@ -5758,11 +5632,6 @@ id of the project for this resource.
|
|
|
5758
5632
|
|
|
5759
5633
|
|
|
5760
5634
|
|
|
5761
|
-
<div class="description usertext">
|
|
5762
|
-
Set the source plurals hash of this plurals resource.
|
|
5763
|
-
</div>
|
|
5764
|
-
|
|
5765
|
-
|
|
5766
5635
|
|
|
5767
5636
|
|
|
5768
5637
|
|
|
@@ -5771,8 +5640,7 @@ id of the project for this resource.
|
|
|
5771
5640
|
|
|
5772
5641
|
|
|
5773
5642
|
|
|
5774
|
-
|
|
5775
|
-
<h5>Parameters:</h5>
|
|
5643
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
5776
5644
|
|
|
5777
5645
|
|
|
5778
5646
|
<table class="params">
|
|
@@ -5806,6 +5674,7 @@ id of the project for this resource.
|
|
|
5806
5674
|
<span class="param-type">Object</span>
|
|
5807
5675
|
|
|
5808
5676
|
|
|
5677
|
+
|
|
5809
5678
|
|
|
5810
5679
|
</td>
|
|
5811
5680
|
|
|
@@ -5851,6 +5720,10 @@ id of the project for this resource.
|
|
|
5851
5720
|
|
|
5852
5721
|
|
|
5853
5722
|
<dl class="details">
|
|
5723
|
+
|
|
5724
|
+
<dt class="tag-description">Description:</dt>
|
|
5725
|
+
<dd class="tag-description"><ul class="dummy"><li>Set the source locale of this resource.</li></ul></dd>
|
|
5726
|
+
|
|
5854
5727
|
|
|
5855
5728
|
|
|
5856
5729
|
<dt class="tag-source">Source:</dt>
|
|
@@ -5899,11 +5772,6 @@ id of the project for this resource.
|
|
|
5899
5772
|
|
|
5900
5773
|
|
|
5901
5774
|
|
|
5902
|
-
<div class="description usertext">
|
|
5903
|
-
Set the source locale of this resource.
|
|
5904
|
-
</div>
|
|
5905
|
-
|
|
5906
|
-
|
|
5907
5775
|
|
|
5908
5776
|
|
|
5909
5777
|
|
|
@@ -5912,8 +5780,7 @@ id of the project for this resource.
|
|
|
5912
5780
|
|
|
5913
5781
|
|
|
5914
5782
|
|
|
5915
|
-
|
|
5916
|
-
<h5>Parameters:</h5>
|
|
5783
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
5917
5784
|
|
|
5918
5785
|
|
|
5919
5786
|
<table class="params">
|
|
@@ -5947,6 +5814,7 @@ id of the project for this resource.
|
|
|
5947
5814
|
<span class="param-type">String</span>
|
|
5948
5815
|
|
|
5949
5816
|
|
|
5817
|
+
|
|
5950
5818
|
|
|
5951
5819
|
</td>
|
|
5952
5820
|
|
|
@@ -5992,6 +5860,12 @@ id of the project for this resource.
|
|
|
5992
5860
|
|
|
5993
5861
|
|
|
5994
5862
|
<dl class="details">
|
|
5863
|
+
|
|
5864
|
+
<dt class="tag-description">Description:</dt>
|
|
5865
|
+
<dd class="tag-description"><ul class="dummy"><li>Set the state of this resource. This is a string that gives the
|
|
5866
|
+
stage of life of this resource. Currently, it can be one of "new",
|
|
5867
|
+
"translated", or "accepted".</li></ul></dd>
|
|
5868
|
+
|
|
5995
5869
|
|
|
5996
5870
|
|
|
5997
5871
|
<dt class="tag-source">Source:</dt>
|
|
@@ -6040,14 +5914,6 @@ id of the project for this resource.
|
|
|
6040
5914
|
|
|
6041
5915
|
|
|
6042
5916
|
|
|
6043
|
-
<div class="description usertext">
|
|
6044
|
-
Set the state of this resource. This is a string that gives the
|
|
6045
|
-
stage of life of this resource. Currently, it can be one of "new",
|
|
6046
|
-
"translated", or "accepted".
|
|
6047
|
-
</div>
|
|
6048
|
-
|
|
6049
|
-
|
|
6050
|
-
|
|
6051
5917
|
|
|
6052
5918
|
|
|
6053
5919
|
|
|
@@ -6056,7 +5922,7 @@ stage of life of this resource. Currently, it can be one of "new",
|
|
|
6056
5922
|
|
|
6057
5923
|
|
|
6058
5924
|
|
|
6059
|
-
<h5>Parameters:</h5>
|
|
5925
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
6060
5926
|
|
|
6061
5927
|
|
|
6062
5928
|
<table class="params">
|
|
@@ -6090,6 +5956,7 @@ stage of life of this resource. Currently, it can be one of "new",
|
|
|
6090
5956
|
<span class="param-type">String</span>
|
|
6091
5957
|
|
|
6092
5958
|
|
|
5959
|
+
|
|
6093
5960
|
|
|
6094
5961
|
</td>
|
|
6095
5962
|
|
|
@@ -6135,6 +6002,10 @@ stage of life of this resource. Currently, it can be one of "new",
|
|
|
6135
6002
|
|
|
6136
6003
|
|
|
6137
6004
|
<dl class="details">
|
|
6005
|
+
|
|
6006
|
+
<dt class="tag-description">Description:</dt>
|
|
6007
|
+
<dd class="tag-description"><ul class="dummy"><li>Set the target plurals hash of this plurals resource.</li></ul></dd>
|
|
6008
|
+
|
|
6138
6009
|
|
|
6139
6010
|
|
|
6140
6011
|
<dt class="tag-source">Source:</dt>
|
|
@@ -6178,12 +6049,6 @@ stage of life of this resource. Currently, it can be one of "new",
|
|
|
6178
6049
|
|
|
6179
6050
|
|
|
6180
6051
|
|
|
6181
|
-
<div class="description usertext">
|
|
6182
|
-
Set the target plurals hash of this plurals resource.
|
|
6183
|
-
</div>
|
|
6184
|
-
|
|
6185
|
-
|
|
6186
|
-
|
|
6187
6052
|
|
|
6188
6053
|
|
|
6189
6054
|
|
|
@@ -6192,7 +6057,7 @@ stage of life of this resource. Currently, it can be one of "new",
|
|
|
6192
6057
|
|
|
6193
6058
|
|
|
6194
6059
|
|
|
6195
|
-
<h5>Parameters:</h5>
|
|
6060
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
6196
6061
|
|
|
6197
6062
|
|
|
6198
6063
|
<table class="params">
|
|
@@ -6226,6 +6091,7 @@ stage of life of this resource. Currently, it can be one of "new",
|
|
|
6226
6091
|
<span class="param-type">Object</span>
|
|
6227
6092
|
|
|
6228
6093
|
|
|
6094
|
+
|
|
6229
6095
|
|
|
6230
6096
|
</td>
|
|
6231
6097
|
|
|
@@ -6271,6 +6137,10 @@ stage of life of this resource. Currently, it can be one of "new",
|
|
|
6271
6137
|
|
|
6272
6138
|
|
|
6273
6139
|
<dl class="details">
|
|
6140
|
+
|
|
6141
|
+
<dt class="tag-description">Description:</dt>
|
|
6142
|
+
<dd class="tag-description"><ul class="dummy"><li>Set the target locale of this resource.</li></ul></dd>
|
|
6143
|
+
|
|
6274
6144
|
|
|
6275
6145
|
|
|
6276
6146
|
<dt class="tag-source">Source:</dt>
|
|
@@ -6319,12 +6189,6 @@ stage of life of this resource. Currently, it can be one of "new",
|
|
|
6319
6189
|
|
|
6320
6190
|
|
|
6321
6191
|
|
|
6322
|
-
<div class="description usertext">
|
|
6323
|
-
Set the target locale of this resource.
|
|
6324
|
-
</div>
|
|
6325
|
-
|
|
6326
|
-
|
|
6327
|
-
|
|
6328
6192
|
|
|
6329
6193
|
|
|
6330
6194
|
|
|
@@ -6333,7 +6197,7 @@ stage of life of this resource. Currently, it can be one of "new",
|
|
|
6333
6197
|
|
|
6334
6198
|
|
|
6335
6199
|
|
|
6336
|
-
<h5>Parameters:</h5>
|
|
6200
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
6337
6201
|
|
|
6338
6202
|
|
|
6339
6203
|
<table class="params">
|
|
@@ -6367,6 +6231,7 @@ stage of life of this resource. Currently, it can be one of "new",
|
|
|
6367
6231
|
<span class="param-type">String</span>
|
|
6368
6232
|
|
|
6369
6233
|
|
|
6234
|
+
|
|
6370
6235
|
|
|
6371
6236
|
</td>
|
|
6372
6237
|
|
|
@@ -6412,6 +6277,10 @@ stage of life of this resource. Currently, it can be one of "new",
|
|
|
6412
6277
|
|
|
6413
6278
|
|
|
6414
6279
|
<dl class="details">
|
|
6280
|
+
|
|
6281
|
+
<dt class="tag-description">Description:</dt>
|
|
6282
|
+
<dd class="tag-description"><ul class="dummy"><li>Return the length of the array of strings in this resource.</li></ul></dd>
|
|
6283
|
+
|
|
6415
6284
|
|
|
6416
6285
|
|
|
6417
6286
|
<dt class="tag-source">Source:</dt>
|
|
@@ -6455,12 +6324,114 @@ stage of life of this resource. Currently, it can be one of "new",
|
|
|
6455
6324
|
|
|
6456
6325
|
|
|
6457
6326
|
|
|
6458
|
-
|
|
6459
|
-
|
|
6327
|
+
|
|
6328
|
+
|
|
6329
|
+
|
|
6330
|
+
|
|
6331
|
+
|
|
6332
|
+
|
|
6333
|
+
|
|
6334
|
+
|
|
6335
|
+
|
|
6336
|
+
|
|
6337
|
+
|
|
6338
|
+
|
|
6339
|
+
|
|
6340
|
+
|
|
6341
|
+
|
|
6342
|
+
|
|
6343
|
+
|
|
6344
|
+
|
|
6345
|
+
|
|
6346
|
+
|
|
6347
|
+
|
|
6348
|
+
|
|
6349
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
6350
|
+
|
|
6351
|
+
|
|
6352
|
+
<div class="param-desc">
|
|
6353
|
+
the length of the array of strings in this
|
|
6354
|
+
resource
|
|
6460
6355
|
</div>
|
|
6461
6356
|
|
|
6462
6357
|
|
|
6463
6358
|
|
|
6359
|
+
<dl class="param-type">
|
|
6360
|
+
<dt>
|
|
6361
|
+
Type
|
|
6362
|
+
</dt>
|
|
6363
|
+
<dd>
|
|
6364
|
+
|
|
6365
|
+
<span class="param-type">number</span>
|
|
6366
|
+
|
|
6367
|
+
|
|
6368
|
+
|
|
6369
|
+
</dd>
|
|
6370
|
+
</dl>
|
|
6371
|
+
|
|
6372
|
+
|
|
6373
|
+
|
|
6374
|
+
|
|
6375
|
+
|
|
6376
|
+
|
|
6377
|
+
|
|
6378
|
+
|
|
6379
|
+
|
|
6380
|
+
|
|
6381
|
+
<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>
|
|
6382
|
+
|
|
6383
|
+
|
|
6384
|
+
|
|
6385
|
+
|
|
6386
|
+
|
|
6387
|
+
|
|
6388
|
+
<dl class="details">
|
|
6389
|
+
|
|
6390
|
+
<dt class="tag-description">Description:</dt>
|
|
6391
|
+
<dd class="tag-description"><ul class="dummy"><li>Calculate a resource key string for this category of resource given the
|
|
6392
|
+
parameters.</li></ul></dd>
|
|
6393
|
+
|
|
6394
|
+
|
|
6395
|
+
|
|
6396
|
+
<dt class="tag-source">Source:</dt>
|
|
6397
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
6398
|
+
<a href="ResourcePlural.js.html">ResourcePlural.js</a>, <a href="ResourcePlural.js.html#line314">line 314</a>
|
|
6399
|
+
</li></ul></dd>
|
|
6400
|
+
|
|
6401
|
+
|
|
6402
|
+
|
|
6403
|
+
|
|
6404
|
+
|
|
6405
|
+
|
|
6406
|
+
|
|
6407
|
+
|
|
6408
|
+
|
|
6409
|
+
|
|
6410
|
+
|
|
6411
|
+
|
|
6412
|
+
|
|
6413
|
+
|
|
6414
|
+
|
|
6415
|
+
|
|
6416
|
+
|
|
6417
|
+
|
|
6418
|
+
|
|
6419
|
+
|
|
6420
|
+
|
|
6421
|
+
|
|
6422
|
+
|
|
6423
|
+
|
|
6424
|
+
|
|
6425
|
+
|
|
6426
|
+
|
|
6427
|
+
|
|
6428
|
+
|
|
6429
|
+
|
|
6430
|
+
|
|
6431
|
+
</dl>
|
|
6432
|
+
|
|
6433
|
+
|
|
6434
|
+
|
|
6464
6435
|
|
|
6465
6436
|
|
|
6466
6437
|
|
|
@@ -6483,12 +6454,13 @@ stage of life of this resource. Currently, it can be one of "new",
|
|
|
6483
6454
|
|
|
6484
6455
|
|
|
6485
6456
|
|
|
6486
|
-
|
|
6457
|
+
|
|
6458
|
+
|
|
6459
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
6487
6460
|
|
|
6488
6461
|
|
|
6489
6462
|
<div class="param-desc">
|
|
6490
|
-
|
|
6491
|
-
resource
|
|
6463
|
+
a hash key
|
|
6492
6464
|
</div>
|
|
6493
6465
|
|
|
6494
6466
|
|
|
@@ -6499,7 +6471,8 @@ resource
|
|
|
6499
6471
|
</dt>
|
|
6500
6472
|
<dd>
|
|
6501
6473
|
|
|
6502
|
-
<span class="param-type">
|
|
6474
|
+
<span class="param-type">String</span>
|
|
6475
|
+
|
|
6503
6476
|
|
|
6504
6477
|
|
|
6505
6478
|
</dd>
|
|
@@ -6529,7 +6502,7 @@ resource
|
|
|
6529
6502
|
<br class="clear">
|
|
6530
6503
|
|
|
6531
6504
|
<footer>
|
|
6532
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc
|
|
6505
|
+
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.
|
|
6533
6506
|
</footer>
|
|
6534
6507
|
|
|
6535
6508
|
<script>prettyPrint();</script>
|