Difference between revisions of "GetTextResource"
Nguyenduyan (talk | contribs) (Created page with "{{HelpFiles}} ==== _<br/> ==== get text resource '''Syntax''' _(string TextResourceKey[, string TextResourceArea]) '''Arguments''' ''TextResourceKey'': Is key name defin...") |
Nguyenduyan (talk | contribs) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
'''Syntax''' | '''Syntax''' | ||
− | _(string TextResourceKey[, string | + | _(string TextResourceKey, string TextResourceArea[, string isoCode]) |
'''Arguments''' | '''Arguments''' | ||
− | ''TextResourceKey'': Is key name defined on text resource file, string | + | ''TextResourceKey'': Is key name defined on text resource file, string |
− | ''TextResourceArea'': Is a name of text resource file, string, optional | + | ''TextResourceArea'': Is a name of text resource file, string |
+ | |||
+ | ''isoCode'': iso code of a language, string, optional | ||
'''Return type''' | '''Return type''' | ||
− | string, it is value of key defined on text resource file. | + | string, it is value of key defined on the text resource file. |
'''Examples''' | '''Examples''' | ||
− | _("D_END_OUT_OF_QUOTA_TEXT","CatglobeInABox_Signup"); | + | _("D_END_OUT_OF_QUOTA_TEXT","CatglobeInABox_Signup","da-DK"); |
//Result: ADD RESPONDENT TO QUARANTINE FAILURE AND GO TO OUT OF QUOTA QUESTION.<br />PLEASE DON TOUCH HERE. | //Result: ADD RESPONDENT TO QUARANTINE FAILURE AND GO TO OUT OF QUOTA QUESTION.<br />PLEASE DON TOUCH HERE. | ||
Line 28: | Line 30: | ||
Version 6.0 | Version 6.0 | ||
+ | [[Category:General_Functions]] |
Latest revision as of 05:50, 23 November 2016
_
get text resource
Syntax
_(string TextResourceKey, string TextResourceArea[, string isoCode])
Arguments
TextResourceKey: Is key name defined on text resource file, string
TextResourceArea: Is a name of text resource file, string
isoCode: iso code of a language, string, optional
Return type
string, it is value of key defined on the text resource file.
Examples
_("D_END_OUT_OF_QUOTA_TEXT","CatglobeInABox_Signup","da-DK");
//Result: ADD RESPONDENT TO QUARANTINE FAILURE AND GO TO OUT OF QUOTA QUESTION.<br />PLEASE DON TOUCH HERE.
Availability
Version 6.0