Skip to content

Commit

Permalink
Merge pull request #37 from intuitem/manage-i18n-on-frontend
Browse files Browse the repository at this point in the history
feat: init paraglide and french translation
  • Loading branch information
eric-intuitem authored Feb 13, 2024
2 parents d9a158f + c1ea6ce commit d53c95d
Show file tree
Hide file tree
Showing 18 changed files with 1,319 additions and 187 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/startup-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ jobs:
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Install dependencies
working-directory: ${{ env.working-directory }}
run: npm ci
run: |
npm install
npm ci
- name: Install Playwright Browsers
working-directory: ${{ env.working-directory }}
run: npx playwright install --with-deps
Expand Down
2 changes: 1 addition & 1 deletion backend/core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1290,7 +1290,7 @@ def quality_check(self) -> dict:
# ---

# --- check on requirement assessments:
_requirement_assessments = self.requirementassessment_set.all().order_by(
_requirement_assessments = self.requirement_assessments.all().order_by(
"created_at"
)
requirement_assessments = []
Expand Down
5 changes: 5 additions & 0 deletions frontend/messages/en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"$schema": "https://inlang.com/schema/inlang-message-format",
"Home": "Home",
"Overview": "Overview"
}
5 changes: 5 additions & 0 deletions frontend/messages/fr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"$schema": "https://inlang.com/schema/inlang-message-format",
"Home": "Accueil",
"Overview": "Vue d'ensemble"
}
Loading

0 comments on commit d53c95d

Please sign in to comment.