diff options
Diffstat (limited to 'api/text.yaml')
| -rw-r--r-- | api/text.yaml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/api/text.yaml b/api/text.yaml index d209f4b3..dcdcfb67 100644 --- a/api/text.yaml +++ b/api/text.yaml @@ -851,16 +851,16 @@ Text.translate: description: > The text to be translated. translations: - type: '{Text=Text}' + type: '{Text:Text}' description: > A table mapping from target text to its replacement. example: | >> "A <tag> & an amperand".translate({ - "&" = "&", - "<" = "<", - ">" = ">", - '"" = """, - "'" = "'", + "&": "&", + "<": "<", + ">": ">", + '"": """, + "'": "'", }) = "A <tag> & an ampersand" |
