Closed brian-c closed 9 years ago
If I'm understanding this correct, it adds the strings to the same language objet used by the site, correct? So I could grab the text from the console and get both the Penguins-specific text and the readymade text?
If yes to both, this does the job.
No, this hooks into the built-in Zooniverse translated strings and uses the existing Zooniverse translate function. That way you only have to translate readymade's strings once, instead of in every readymade project.
Ah I understand now. Looks good to me.
@chrissnyder How's this suit you re: Penguins? Translations for readymade go in src/translations and are added to the list in app/resources/js/project.coffee. There's a phony "readymade" namespace added to prevent collisions (the zoo-lib translate function doesn't allow nesting).