:tformat() context?

All development conversation and discussion takes place here

Moderator: Moderator

Post Reply
Message
Author
Zizzo
Sher'Tul Godslayer
Posts: 2521
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

:tformat() context?

#1 Post by Zizzo »

The localization documentation mentions the 'context' parameter to _t() to handle strings that should be translated differently in different contexts:

Code: Select all

foobar(_t("This text has a meaning!", "context1"))
foobar(_t("This text has a meaning!", "context2"))
Is there a way to provide similar context information for a :tformat() format string?
"Blessed are the yeeks, for they shall inherit Arda..."

Post Reply