Home Reference Source
import {translation} from './stdlib/translation.js'
public class | source

translation

Handles looking up translation strings

Static Method Summary

Static Public Methods
public static

lookup(msg: *, arg1: *, arg2: *, arg3: *, arg4: *): *

Converts a string to its translated equivalent

Static Public Methods

public static lookup(msg: *, arg1: *, arg2: *, arg3: *, arg4: *): * source

Converts a string to its translated equivalent

Params:

NameTypeAttributeDescription
msg *

The message to convert

arg1 *

The first argument (optional)

arg2 *

The second argument (optional)

arg3 *

The third argument (optional)

arg4 *

The forth argument (optional)

Return:

*