Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

LocalizedString

import type { LocalizedString } from "https://googleapis.deno.dev/v1/spanner:v1.ts";

A message representing a user-facing string whose value may need to be translated before being displayed.

interface LocalizedString {
args?: {
[key: string]: string;
}
;
message?: string;
token?: string;
}

§Properties

§
args?: {
[key: string]: string;
}
[src]

A map of arguments used when creating the localized message. Keys represent parameter names which may be used by the localized version when substituting dynamic values.

§
message?: string
[src]

The canonical English version of this message. If no token is provided or the front-end has no message associated with the token, this text will be displayed as-is.

§
token?: string
[src]

The token identifying the message, e.g. 'METRIC_READ_CPU'. This should be unique within the service.