Refactor options.js to include credits directly
Bug: translateselectedtext:5
Change-Id: I83306dd3b6fe064f7751ba20913a3acc754e905b
diff --git a/tools/i18n/bump-translations.bash b/tools/i18n/bump-translations.bash
index 55f4dd7..4d3108d 100644
--- a/tools/i18n/bump-translations.bash
+++ b/tools/i18n/bump-translations.bash
@@ -17,7 +17,7 @@
# Generate i18n credits file
go run generate-i18n-credits.go
-git add ../../src/static/json/i18n-credits.json
+git add ../../src/options/i18n-credits.json5
# Delete empty translations
cd ../../src/static/_locales
diff --git a/tools/i18n/generate-i18n-credits.go b/tools/i18n/generate-i18n-credits.go
index e37d419..4fa667d 100644
--- a/tools/i18n/generate-i18n-credits.go
+++ b/tools/i18n/generate-i18n-credits.go
@@ -21,7 +21,7 @@
const checkAttempts = 5
const checkWaitTime = 2 * time.Second
const baseApiURL = "https://api.crowdin.com/api/v2/"
-const i18nCreditsFile = "../../src/static/json/i18n-credits.json"
+const i18nCreditsFile = "../../src/options/i18n-credits.json5"
// Contributors who have sent translations before the Crowdin instance
// was set up: