Thalassicus
Bytes and Nibblers
Does anyone know if the {} control codes for text keys follow a pattern from a specific programming or data language? I've found a few things like the ones below, and I'm curious what else is possible.
{TXT_KEY_RETIRE : upper}
{TXT_KEY_GRAMMAR_A_AN << {@2_Adjective}}
{1_Turns:number}
{1_Turns: plural 1?Turn; other?Turns;}
{@2_BldgName: gender *:an?an; other?a;}
It's interesting how they used the gender-detecting method from international languages as a clever way to do a/an for English. I'm also rather curious about the :number code. I wonder why they use that for a few numbers, but not others?
{TXT_KEY_RETIRE : upper}
{TXT_KEY_GRAMMAR_A_AN << {@2_Adjective}}
{1_Turns:number}
{1_Turns: plural 1?Turn; other?Turns;}
{@2_BldgName: gender *:an?an; other?a;}
It's interesting how they used the gender-detecting method from international languages as a clever way to do a/an for English. I'm also rather curious about the :number code. I wonder why they use that for a few numbers, but not others?