larsiusprime / firetongue

A translation/localization framework written in Haxe
MIT License
144 stars 32 forks source link

Typo in README.md on github #4

Closed as3boyan closed 10 years ago

as3boyan commented 11 years ago

Take a look at project description on github.

import firetongue.Replace;

str = fire_tongue_instance.get("$COLLECT_X_APPLES");
str = Replace.flags(str,["<X>"][num_apples]); //This line has typo! It should have comma, between array elements!

["<X>"],[num_apples]
AndreiRegiani commented 11 years ago

Also:

str = Replace.flags(str, ["<X>"], [Std.string(num_apples)])
larsiusprime commented 10 years ago

Done. Thanks!