Skip to content
This repository has been archived by the owner on Apr 29, 2022. It is now read-only.

Commit

Permalink
Use Chinese commas for Chinese app description (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
quanglam2807 authored Jun 23, 2020
1 parent 952a0b5 commit 4f1fcb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion description-generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Object.keys(displayLanguages).forEach((langCode) => {
.replace(/{appName}/g, 'Translatium')
.replace(/{operatingSystem}/g, operatingSystem)
.replace(/{appUrl}/g, 'https://translatiumapp.com')
.replace(/{supportedLanguages}/g, supportedLanguages.join(', '));
.replace(/{supportedLanguages}/g, supportedLanguages.join(langCode === 'zh-CN' ? ',' : ', '));
const distDescFilePath = path.join(__dirname, 'dist', 'description', langCode, `${operatingSystem}.txt`);
fs.outputFileSync(distDescFilePath, desc, 'utf8');
});
Expand Down

0 comments on commit 4f1fcb8

Please sign in to comment.