This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const dotenv = require('dotenv') | |
dotenv.config({ path: `${__dirname}/../.env` }) | |
const axios = require('axios') | |
const unflatten = require('flat').unflatten | |
const fs = require('fs') | |
;(async function getTranslations() { | |
console.log('==== Getting localizations') | |
const translations = ( | |
await axios.get('https://localizer.todorant.com/localizations?tag=web') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const dotenv = require('dotenv') | |
dotenv.config({ path: `${__dirname}/../.env` }) | |
const axios = require('axios') | |
const unflatten = require('flat').unflatten | |
const fs = require('fs') | |
const jsyaml = require('js-yaml') | |
;(async function getTranslations() { | |
console.log('==== Getting localizations') | |
const translations = ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const dotenv = require('dotenv') | |
dotenv.config({ path: `${__dirname}/../.env` }) | |
const axios = require('axios') | |
const fs = require('fs') | |
;(async function getTranslations() { | |
console.log('==== Getting localizations') | |
const translations = ( | |
await axios.get('https://localizer.todorant.com/localizations?tag=mobile') | |
).data.filter((l) => { |
OlderNewer