Skip to content

Commit

Permalink
Add Paraglide (#35)
Browse files Browse the repository at this point in the history
* feat: adding paraglide

* chore: add es json

* chore: add paraglide

* chore: fix lint

* chore: fix lint
  • Loading branch information
shivan-s authored Jan 25, 2025
1 parent 6222527 commit 619cb7f
Show file tree
Hide file tree
Showing 18 changed files with 1,816 additions and 213 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
node-version: 20
cache: 'npm'
- name: Clean Install
run: npm ci
run: npm ci && npm run build && npm run format
- name: Lint
run: npm run lint
check:
Expand All @@ -63,6 +63,6 @@ jobs:
node-version: 20
cache: 'npm'
- name: Clean Install
run: npm ci
run: npm ci && npm run build
- name: Check
run: npm run check
21 changes: 21 additions & 0 deletions .github/workflows/ninja_i18n.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Ninja i18n action

on: pull_request_target

# explicitly configure permissions, in case your GITHUB_TOKEN workflow permissions are set to read-only in repository settings
permissions:
pull-requests: write # Necessary to comment on PRs
issues: read # Necessary to read issue comments
contents: read # Necessary to access the repo content

jobs:
ninja-i18n:
name: Ninja i18n - GitHub Lint Action
runs-on: ubuntu-latest

steps:
- name: Run Ninja i18n
# @main ensures that the latest version of the action is used
uses: opral/ninja-i18n-action@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 4 additions & 0 deletions messages/en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://inlang.com/schema/inlang-message-format",
"welcome_hero": "Welcome to Pole Academy"
}
3 changes: 3 additions & 0 deletions messages/es.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"$schema": "https://inlang.com/schema/inlang-message-format"
}
Loading

0 comments on commit 619cb7f

Please sign in to comment.