Skip to content

Commit d20f1b3

Browse files
feat: Add clean install state functionality to app settings (#1690)
* feat: Add clean install state functionality to app settings * Introduced a new setting for cleaning the install state, allowing users to delete the install state file if it exists. * Added error handling and user feedback for the clean install state operation. * chore(appSettings): format * feat: Update translations for multiple languages and fix app settings reference * Added clean install state string key to various language files including Arabic, Belarusian, Bengali, Czech, German, English, Spanish, French, Hebrew, Hindi, Hungarian, Indonesian, Persian, Italian, Japanese, Korean, Malayalam, Burmese (Unicode and Zawgyi), Polish, Portuguese, Punjabi, Russian, Tagalog, Turkish, Ukrainian, Uzbek, Vietnamese, and both Simplified and Traditional Chinese. * Fixed the reference for the "clean install state" in app settings to match the updated string key. * chore(ci): update translation files check command in CI workflow * Changed the command from 'npm run lint check' to 'npm run lang check' for improved translation file validation in the CI workflow. * chore(ci): add npm ci command for translation files check in CI workflow * chore: format translation files * chore: update PR label workflow to trigger on closed and synchronized events * chore: update PR label workflow to include 'ready_for_review' event
1 parent de74f96 commit d20f1b3

34 files changed

+91
-33
lines changed

.github/workflows/add-pr-labels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Add Pull Requests Labels
22
on:
33
pull_request_target:
4-
types: [opened]
4+
types: [opened, closed, ready_for_review]
55

66
jobs:
77
add-labels:

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,5 @@ jobs:
6363
- name: Translation Files Check (if changed)
6464
if: steps.file-changes.outputs.translation == 'true'
6565
run: |
66-
npm run lint check
66+
npm ci --no-audit --no-fund
67+
npm run lang check

src/lang/ar-ye.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,5 +453,6 @@
453453
"prompt update check consent message": "Acode can check for new app updates when you're online. Enable update checks?",
454454
"keywords": "Keywords",
455455
"author": "Author",
456-
"filtered by": "Filtered by"
456+
"filtered by": "Filtered by",
457+
"clean install state": "Clean Install State"
457458
}

src/lang/be-by.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,5 +454,6 @@
454454
"prompt update check consent message": "Acode can check for new app updates when you're online. Enable update checks?",
455455
"keywords": "Keywords",
456456
"author": "Author",
457-
"filtered by": "Filtered by"
457+
"filtered by": "Filtered by",
458+
"clean install state": "Clean Install State"
458459
}

src/lang/bn-bd.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,5 +453,6 @@
453453
"prompt update check consent message": "Acode can check for new app updates when you're online. Enable update checks?",
454454
"keywords": "Keywords",
455455
"author": "Author",
456-
"filtered by": "Filtered by"
456+
"filtered by": "Filtered by",
457+
"clean install state": "Clean Install State"
457458
}

src/lang/cs-cz.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,5 +453,6 @@
453453
"prompt update check consent message": "Acode can check for new app updates when you're online. Enable update checks?",
454454
"keywords": "Keywords",
455455
"author": "Author",
456-
"filtered by": "Filtered by"
456+
"filtered by": "Filtered by",
457+
"clean install state": "Clean Install State"
457458
}

src/lang/de-de.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,5 +453,6 @@
453453
"prompt update check consent message": "Acode kann nach neuen App-Updates suchen, wenn Sie online sind. Update-Prüfungen aktivieren?",
454454
"keywords": "Schlüsselwörter",
455455
"author": "Autor",
456-
"filtered by": "Gefiltert nach"
456+
"filtered by": "Gefiltert nach",
457+
"clean install state": "Clean Install State"
457458
}

src/lang/en-us.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,5 +453,6 @@
453453
"prompt update check consent message": "Acode can check for new app updates when you're online. Enable update checks?",
454454
"keywords": "Keywords",
455455
"author": "Author",
456-
"filtered by": "Filtered by"
456+
"filtered by": "Filtered by",
457+
"clean install state": "Clean Install State"
457458
}

src/lang/es-sv.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,5 +453,6 @@
453453
"prompt update check consent message": "Acode can check for new app updates when you're online. Enable update checks?",
454454
"keywords": "Keywords",
455455
"author": "Author",
456-
"filtered by": "Filtered by"
456+
"filtered by": "Filtered by",
457+
"clean install state": "Clean Install State"
457458
}

src/lang/fr-fr.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,5 +453,6 @@
453453
"prompt update check consent message": "Acode can check for new app updates when you're online. Enable update checks?",
454454
"keywords": "Keywords",
455455
"author": "Author",
456-
"filtered by": "Filtered by"
456+
"filtered by": "Filtered by",
457+
"clean install state": "Clean Install State"
457458
}

0 commit comments

Comments
 (0)