diff --git a/README.md b/README.md index 1e467c52..ec5edd2b 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ But it adapts the same ideas and a clean & simple UI for your time-tracking expe By now it is in an almost-stable development phase, usable and with most advanced features from Kimai 1. You can even [import your data](https://www.kimai.org/documentation/migration-v1.html) and start testing and using it today. -Kimai is a [multi-language application](https://www.kimai.org/documentation/translations.html) and already translated to english, german, italian, french, spanish, russian, arabic, hungarian and portuguese. +Kimai is a [multi-language application](https://www.kimai.org/documentation/translations.html) and already translated to english, german, italian, french, spanish, russian, arabic, hungarian, portuguese (brazilian) and swedish. ### Requirements diff --git a/config/packages/kimai.yaml b/config/packages/kimai.yaml index 74f039ef..568ba759 100644 --- a/config/packages/kimai.yaml +++ b/config/packages/kimai.yaml @@ -188,6 +188,14 @@ kimai: date: 'Y.m.d.' date_time: 'm.d. H:i' duration: '%%h:%%m h' + sv: + date_time_type: 'yyyy-MM-dd HH:mm' + date_time_picker: 'YYYY-MM-DD HH:mm' + date_type: 'yyyy-MM-dd' + date_picker: 'YYYY-MM-DD' + date: 'Y-m-d' + date_time: 'm-d H:i' + duration: '%%h:%%m tim' # -------------------------------------------------------------------------------- # timesheet calendar configuration diff --git a/config/services.yaml b/config/services.yaml index aad45e20..fecc79f9 100644 --- a/config/services.yaml +++ b/config/services.yaml @@ -2,7 +2,7 @@ # https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration parameters: locale: en - app_locales: en|de|it|fr|es|ru|ar|hu|pt_BR + app_locales: en|de|it|fr|es|ru|ar|hu|pt_BR|sv services: # default configuration for services in *this* file diff --git a/templates/about/layout.html.twig b/templates/about/layout.html.twig index b9ae448c..d9072395 100644 --- a/templates/about/layout.html.twig +++ b/templates/about/layout.html.twig @@ -40,6 +40,12 @@ {{ 'website'|trans({}, 'about') }} +
{{ license }}
@@ -15,9 +15,9 @@
{% endembed %}
{% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
- {% block box_title %}Special thanks ...{% endblock %}
+ {% block box_title %}{{ 'special_thanks'|trans({}, 'about') }}{% endblock %}
{% block box_body %}
- ... to the authors of the following libraries, Kimai wouldn't be possible without them:
+ {{ 'library_authors'|trans({}, 'about') }}