We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4fde69 commit e5d43d5Copy full SHA for e5d43d5
1 file changed
packages/tools/lib/i18n/toJSON.js
@@ -38,8 +38,7 @@ function inlineUTF(properties) {
38
}
39
40
const convertToJSON = async (file, distPath) => {
41
- const properties = PropertiesReader(file)._properties;
42
- inlineUTF(properties);
+ const properties = inlineUTF(PropertiesReader(file)._properties);
43
const filename = path.basename(file, path.extname(file));
44
const language = filename.match(/^messagebundle_(.*?)$/)[1];
45
if (!allLanguages.includes(language)) {
0 commit comments