Difference between revisions of "GetTextResource"

From Catglobe Wiki
Jump to: navigation, search
Line 7: Line 7:
 
'''Syntax'''
 
'''Syntax'''
  
_(string TextResourceKey[, string TextResourceArea])
+
_(string TextResourceKey, string TextResourceArea)
  
 
'''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
  
 
'''Return type'''
 
'''Return type'''

Revision as of 04:28, 22 November 2016


_

get text resource

Syntax

_(string TextResourceKey, string TextResourceArea)

Arguments

TextResourceKey: Is key name defined on text resource file, string

TextResourceArea: Is a name of text resource file, string

Return type

string, it is value of key defined on text resource file.

Examples

_("D_END_OUT_OF_QUOTA_TEXT","CatglobeInABox_Signup");

//Result: ADD RESPONDENT TO QUARANTINE FAILURE AND GO TO OUT OF QUOTA QUESTION.<br />PLEASE DON TOUCH HERE.

Availability

Version 6.0