mirror of
https://github.com/trezor/trezor-wallet
synced 2025-07-03 05:12:40 +00:00
14 lines
357 B
JavaScript
14 lines
357 B
JavaScript
export type MessageDescriptor = {
|
|
// A unique, stable identifier for the message
|
|
id: string,
|
|
|
|
// The default message (probably in English)
|
|
defaultMessage: string,
|
|
|
|
// Context for the translator about how it's used in the UI
|
|
description?: string | object,
|
|
};
|
|
|
|
export type Messages = {
|
|
[key: string]: MessageDescriptor
|
|
}; |