Skip to content

Commit

Permalink
Use translations from code
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpapst committed Nov 22, 2024
1 parent e072fe2 commit 098b986
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
## Version 4.2.0

Compatibility: requires minimum Kimai 2.21.0
Compatibility: requires minimum Kimai 2.25.0

- Use translations from code
- Rename migration config for compatibility with new plugin installer
- Internal: PHPStan 2 with strict and deprecation rules

## Version 4.1.1

Expand Down
2 changes: 1 addition & 1 deletion Resources/views/manage/edit.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{% block main %}
{% set formEditTemplate = kimai_context.modalRequest ? 'default/_form_modal.html.twig' : 'default/_form.html.twig' %}
{% set formOptions = {
'title': (entity.id is null ? 'create'|trans : 'edit'|trans({}, 'actions')),
'title': (entity.id is null ? 'create'|trans : 'edit'|trans),
'form': form,
'back': path('manage_shared_project_timesheets')
} %}
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
],
"extra": {
"kimai": {
"require": 22100,
"require": 22500,
"name": "Customer Portal"
}
},
Expand Down

0 comments on commit 098b986

Please sign in to comment.