zooniverse / penguinwatch

Deprecated - moved to www.zooniverse.org/projects/penguintom79/penguin-watch
http://www.penguinwatch.org
Apache License 2.0
3 stars 2 forks source link

Seeding translations fails on require in en-us.coffee #80

Closed eatyourgreens closed 8 years ago

eatyourgreens commented 8 years ago

Seeding new translation strings is failing on this section of the english language file, where it loads in 2 markdown files for the science page content.

science: "
    <section>#{require '../content/science'}</section>
    <section>#{require '../content/science-sidebar'}</section>

Do you remember how we got around this error before, @chrissnyder ?

chrissnyder commented 8 years ago

I reconstructed the file whole en-us manually and used a curl command to POST the resultant json to the API.

My recommendation here would just be to bring everything into en-us and be done with it.

eatyourgreens commented 8 years ago

Yes, I generated the science page HTML from the markdown, pasted it into the en-us file and ran deploy-locale.

Merging everything into en-us makes sense to me. Unless there was a pressing reason to have that page in markdown.

chrissnyder commented 8 years ago

Just easy formatting I think, nothing else.