mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-25 16:48:10 -05:00
45d672ab30
When the name of the view in `routes.json` does not match the name of the resource in transifex there needs to be a mapping added to the script that generates translations. _Note: the resource name in transifex is usually based on the name of the source file in the `views` directory. Usually the name of the view in the routes file matches._ Since `routes.json` is a JSON file that does not support comments there’s no way to add a warning to the file when someone is adding a route. The sympton was the message that there were no translations for ‘vernier’ or ‘embed’ when running translate. The `vernier` route is actually the `gdxfor` view, and `embed` is just another version of `preview` |
||
---|---|---|
.. | ||
lib | ||
build-locales | ||
configure-fastly.js | ||
get-localized-urls | ||
init-l10n-src |