Skip to content

Commit

Permalink
Update collect-strings.js
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish authored Sep 8, 2018
1 parent 579e2e0 commit 4172bf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lighthouse-core/scripts/i18n/collect-strings.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function collectAllStringsInDir(dir, strings = {}) {
* @param {Record<string, ICUMessageDefn>} strings
*/
function writeStringsToLocaleFormat(locale, strings) {
const fullPath = path.join(LH_ROOT, `lighthouse-core/lib/locales/${locale}.json`);
const fullPath = path.join(LH_ROOT, `lighthouse-core/lib/i18n/${locale}.json`);
/** @type {Record<string, ICUMessageDefn>} */
const output = {};
const sortedEntries = Object.entries(strings).sort(([keyA], [keyB]) => keyA.localeCompare(keyB));
Expand Down

0 comments on commit 4172bf1

Please sign in to comment.