Skip to content

Commit cdc2b84

Browse files
committed
fix: introduce typos spellchecker
And fix found issues.
1 parent f7fb6b1 commit cdc2b84

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,13 @@ repos:
6969
- id: djade
7070
args: [--target-version, '5.1']
7171
files: etc/nginx/default.tpl
72+
- repo: https://github.com/crate-ci/typos
73+
rev: v1.38.1
74+
hooks:
75+
- id: typos
76+
args: []
77+
require_serial: true
78+
pass_filenames: false
7279
- repo: https://github.com/gitleaks/gitleaks
7380
rev: v8.28.0
7481
hooks:

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ RUN \
9494
# - localtime is needed for setting system timezone based on environment
9595
# - timezone is removed to avoid dpkg handling localtime updates
9696
# - we generate nginx configuration based on environment
97-
# - autorize passwd edition so we can fix weblate uid on startup
97+
# - authorize passwd edition so we can fix weblate uid on startup
9898
# - log, run and home directories
99-
# - disable su for non root to avoid privilege escapation by chaging /etc/passwd
99+
# - disable su for non root to avoid privilege escapation by changing /etc/passwd
100100
RUN rm -f /etc/localtime /etc/timezone \
101101
&& ln -s /tmp/localtime /etc/localtime \
102102
&& chgrp -R 0 /var/log/nginx/ /var/lib/nginx /app/data /app/cache /run /home/weblate /etc/supervisor/conf.d \

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ used by over 2500 libre projects and companies in more than 165 countries.**
88
[![Website](https://img.shields.io/badge/website-weblate.org-blue.svg)](https://weblate.org/)
99
[![Translation status](https://hosted.weblate.org/widgets/weblate/-/svg-badge.svg)](https://hosted.weblate.org/engage/weblate/?utm_source=widget)
1010
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/552/badge)](https://bestpractices.coreinfrastructure.org/projects/552)
11-
[![Documenation](https://readthedocs.org/projects/weblate/badge/)][doc]
11+
[![Documentation](https://readthedocs.org/projects/weblate/badge/)][doc]
1212

1313
## Running Weblate
1414

0 commit comments

Comments
 (0)