-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setup spell checker for localizable file
Signed-off-by: Marcel Müller <[email protected]>
- Loading branch information
1 parent
afe5028
commit dec211c
Showing
3 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Spellcheck | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
pull_request: | ||
paths: | ||
- '.github/workflows/**' | ||
- NextcloudTalk/en.lproj/Localizable.strings | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
spelling: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- name: Set up Python 3.11 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.11 | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip setuptools | ||
python -m pip install pyspelling | ||
# Install any additional libraries required: additional plugins, documentation building libraries, etc. | ||
- name: Install Aspell | ||
run: | | ||
sudo apt-get install aspell aspell-en | ||
- name: Spell check | ||
run: | | ||
python -m pyspelling |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
AirPlay | ||
Cancelled | ||
HPB | ||
Matterbridge | ||
Nextcloud | ||
Repo | ||
backend | ||
formattedPhoneNumber | ||
https | ||
ld | ||
listable | ||
lu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
matrix: | ||
- name: English localizable file | ||
aspell: | ||
lang: en | ||
d: en_US | ||
dictionary: | ||
wordlists: | ||
- .pyspelling.wordlist.txt | ||
pipeline: | ||
- pyspelling.filters.cpp: | ||
line_comments: false | ||
block_comments: false | ||
sources: | ||
- NextcloudTalk/en.lproj/Localizable.strings |