Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

GetTextResource: Difference between revisions

From Catglobe Wiki
Nguyenduyan (talk | contribs)
No edit summary
Nguyenduyan (talk | contribs)
No edit summary
Line 7: Line 7:
'''Syntax'''
'''Syntax'''


_(string TextResourceKey, string TextResourceArea, string isoCode)
_(string TextResourceKey, string TextResourceArea[, string isoCode])


'''Arguments'''
'''Arguments'''
Line 15: Line 15:
''TextResourceArea'': Is a name of text resource file, string
''TextResourceArea'': Is a name of text resource file, string


''isoCode'': iso code of a language, string
''isoCode'': iso code of a language, string, optional


'''Return type'''
'''Return type'''

Revision as of 04:46, 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

Contents