mirror of
https://github.com/romancm/gamebrary
synced 2024-11-10 13:44:16 +00:00
add note about google api cost
This commit is contained in:
parent
eb1646a4f7
commit
59f2755361
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@ const fs = require('fs');
|
||||||
const translate = require('translate-json-object')();
|
const translate = require('translate-json-object')();
|
||||||
const baseJson = require('../src/i18n/en.json');
|
const baseJson = require('../src/i18n/en.json');
|
||||||
|
|
||||||
|
// NOTE: Please be careful using you api key, translating the entire app to all languages can get costly
|
||||||
translate.init({ googleApiKey: 'GOOGLE_TRANSLATE_API_KEY' });
|
translate.init({ googleApiKey: 'GOOGLE_TRANSLATE_API_KEY' });
|
||||||
|
|
||||||
const supportedLanguages = [
|
const supportedLanguages = [
|
||||||
|
|
Loading…
Reference in a new issue