mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-20 19:55:00 +00:00
enhance: add a button to clear all git command logs
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
c1e31ac4e3
commit
021aab8408
6 changed files with 22 additions and 5 deletions
|
@ -62,8 +62,7 @@ async function calculateTranslationRate() {
|
|||
|
||||
// Add an empty line before the first x:String
|
||||
xmlStr = xmlStr.replace(' <x:String', '\n <x:String');
|
||||
|
||||
await fs.writeFile(filePath, xmlStr, 'utf8');
|
||||
await fs.writeFile(filePath, xmlStr + '\n', 'utf8');
|
||||
|
||||
if (missingKeys.length > 0) {
|
||||
const progress = ((enUSKeys.size - missingKeys.length) / enUSKeys.size) * 100;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue