Class

DuTranslation

DuTranslation(source, translationopt, commentopt, contextopt, contextIdopt)

An translation for a string.
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

View Source DuAEF_DuSan_api.jsxinc, line 3130

Members

string

# comment

A comment to explain what needs to be explained

View Source DuAEF_DuSan_api.jsxinc, line 3150

string

# context

The context where the string is used

View Source DuAEF_DuSan_api.jsxinc, line 3157

string

# contextId

A unique id for the couple source/context

View Source DuAEF_DuSan_api.jsxinc, line 3164

string

# source

The source string

View Source DuAEF_DuSan_api.jsxinc, line 3136

string

# translation

The translated string

View Source DuAEF_DuSan_api.jsxinc, line 3143