Constructor
# new DuTranslation(source, translationopt, commentopt, contextopt, contextIdopt)
Creates a new string translation.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
source |
string
|
The source string | ||
translation |
string
|
<optional> |
'' | The translated string |
comment |
string
|
<optional> |
'' | A comment to explain what needs to be explained |
context |
string
|
<optional> |
'' | The context where the string is used |
contextId |
int
|
<optional> |
0 | A unique id for the couple source/context |