Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/test-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
repository: OpenConext/OpenConext-devconf
ref: main
path: devconf
sparse-checkout: stepup

- name: Check devconf
run: |
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## Unreleased
- `jms/translation-bundle` is removed. See README.md for up-to-date instructions on updating the translations.

## 6.0.0
- Upgrade from Symfony 6.4 to Symfony 7.4
- Maintenance release, Update tooling, packages
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ mock service was created for end to end test purposes, but could be utilized in
3. Update the service definition to point to this class: `class: Surfnet\StepupGateway\ApiBundle\Tests\TestDouble\Service\YubikeyService`
4. Do not commit/push this change!

### Translations
Gateway uses the default symfony translations bundle. To extract / update the translations, run:
`./bin/extract-translations.sh`
Then modify and commit the changes.

### Frontend Development

#### Template Preview
Expand Down
8 changes: 7 additions & 1 deletion bin/extract-translations.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
#!/bin/bash
bin/console translation:extract --config=default --env=dev
# Use --clean for messages domain to remove unused translations
bin/console trans:extract nl_NL --force --clean --domain=messages
bin/console trans:extract en_GB --force --clean --domain=messages

# Extract validators without --clean to preserve vendor translations
bin/console trans:extract nl_NL --force --domain=validators
bin/console trans:extract en_GB --force --domain=validators
2 changes: 0 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,12 @@
"ext-json": "*",
"ext-libxml": "*",
"beberlei/assert": "^3.3.3",
"doctrine/annotations": "^2.0.2",
"doctrine/common": "^3.5.0",
"doctrine/dbal": "^3.10.4",
"doctrine/doctrine-bundle": "^2.18.1",
"doctrine/orm": "^3.5.8",
"graylog2/gelf-php": "^2.0.2",
"incenteev/composer-parameter-handler": "^2.3",
"jms/translation-bundle": "^2.6",
"nelmio/security-bundle": "^3.6",
"openconext/monitor-bundle": "^4.3.1",
"paragonie/halite": "^5.1.4",
Expand Down
Loading