Class com.gContactSync.StringBundle
Defined in: StringBundle.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Contains all of the string bundles included in gContactSync and provides
a method (getStr) to find a string by looking in every bundle.
|
| Method Attributes | Method Name and Description |
|---|---|
| <static> |
com.gContactSync.StringBundle.getStr(aName)
Searches every string bundle until a string is found with the given name.
|
| <static> |
com.gContactSync.StringBundle.init()
Initializes the string bundle.
|
Class Detail
com.gContactSync.StringBundle()
Contains all of the string bundles included in gContactSync and provides
a method (getStr) to find a string by looking in every bundle.
NOTE: This requires that string bundles have unique names for strings.
NOTE: Must be initialized when the window is loaded.
Method Detail
<static>
{string}
com.gContactSync.StringBundle.getStr(aName)
Searches every string bundle until a string is found with the given name.
- Parameters:
- aName
- {string} The name of the string to search for.
- Returns:
- {string} The translated string.
<static>
com.gContactSync.StringBundle.init()
Initializes the string bundle.