diff --git a/src/bundle/Resources/translations/dashboard.en.xliff b/src/bundle/Resources/translations/dashboard.en.xliff deleted file mode 100644 index dc6cba8..0000000 --- a/src/bundle/Resources/translations/dashboard.en.xliff +++ /dev/null @@ -1,93 +0,0 @@ - - - -
- - The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message. -
- - - please upgrade.]]> - please upgrade.]]> - key: dashboard.ez_version.community_end_of_maintenance - - - A business friendly license, - several productivity features, - professional support and a - longer maintenance period of your release.]]> - A business friendly license, - several productivity features, - professional support and a - longer maintenance period of your release.]]> - key: dashboard.ez_version.community_end_of_maintenance_upgrade - - - GPL license, - sharing your code is what it's all about.]]> - GPL license, - sharing your code is what it's all about.]]> - key: dashboard.ez_version.community_severity_non - - - end of life, - please plan to upgrade. If you need assistance, don't hesitate to contact eZ.]]> - end of life, - please plan to upgrade. If you need assistance, don't hesitate to contact eZ.]]> - key: dashboard.ez_version.end_of_life_upgrade - - - get in touch with Ibexa support.]]> - get in touch with Ibexa support.]]> - key: dashboard.ez_version.non_stable_ee - - - Your setup is running with @%stability% composer packages. This is not recommended except when testing updates or during development. - Your setup is running with @%stability% composer packages. This is not recommended except when testing updates or during development. - key: dashboard.ez_version.non_stable_packages - - - composer.lock or composer.json file, or the files are invalid. They are needed to determine information about - your Ibexa installation. It is recommended to keep it during project development to make sure the same package versions are - used across all environments.]]> - composer.lock or composer.json file, or the files are invalid. They are needed to determine information about - your Ibexa installation. It is recommended to keep it during project development to make sure the same package versions are - used across all environments.]]> - key: dashboard.ez_version.release_not_determined - - - Contact Ibexa or its partner(s) to purchase a subscription - and follow the online documentation to configure composer.json 'repositories' url for 'bul' instead of 'ttl'.]]> - Contact Ibexa or its partner(s) to purchase a subscription - and follow the online documentation to configure composer.json 'repositories' url for 'bul' instead of 'ttl'.]]> - key: dashboard.ez_version.trial_contact - - - Your trial period is coming to an end. - Your trial period is coming to an end. - key: dashboard.ez_version.trial_end_of_maintenance - - - TTL license is no longer valid.]]> - TTL license is no longer valid.]]> - key: dashboard.ez_version.trial_expired - - - online documentation, consulting - or training services in order to get the most out of your trial.]]> - online documentation, consulting - or training services in order to get the most out of your trial.]]> - key: dashboard.ez_version.trial_notice - - - Your setup is running with '%minimum_stability%' as composer.json minimum-stability. This is not recommended except when testing updates or during development. - Your setup is running with '%minimum_stability%' as composer.json minimum-stability. This is not recommended except when testing updates or during development. - key: dashboard.ez_version.unstable_minimum_stability - - -
-
diff --git a/src/bundle/Resources/translations/menu.en.xliff b/src/bundle/Resources/translations/menu.en.xliff index 523da8a..e308e99 100644 --- a/src/bundle/Resources/translations/menu.en.xliff +++ b/src/bundle/Resources/translations/menu.en.xliff @@ -7,8 +7,8 @@ - System Information - System Information + System information + System information key: main__admin__systeminfo diff --git a/src/bundle/Resources/translations/systeminfo.en.xliff b/src/bundle/Resources/translations/systeminfo.en.xliff index 5e0f0dd..1062174 100644 --- a/src/bundle/Resources/translations/systeminfo.en.xliff +++ b/src/bundle/Resources/translations/systeminfo.en.xliff @@ -42,18 +42,18 @@ key: hardware - End of Life - End of Life + End of life + End of life key: ibexa.eol - End of Maintenance - End of Maintenance + End of maintenance + End of maintenance key: ibexa.eom - Is Trial - Is Trial + Is trial + Is trial key: ibexa.is_trial @@ -67,8 +67,8 @@ key: ibexa.is_trial.yes - Name - Name + Edition + Edition key: ibexa.name @@ -147,15 +147,25 @@ key: repository - Content Types count - Content Types count + Content type + Content type key: repository.content_types_count - Drafts count - Drafts count + Draft + Draft key: repository.drafts_count + + Element + Element + key: repository.header.label.element + + + Number + Number + key: repository.header.label.number + Host Host @@ -167,8 +177,8 @@ key: repository.name - Published content objects count - Published content objects count + Published content object + Published content object key: repository.published_content_objects_count @@ -182,13 +192,13 @@ key: repository.username - Users count - Users count + User + User key: repository.users_count - Versions count - Versions count + Version + Version key: repository.versions_count @@ -277,8 +287,8 @@ key: symfony_kernel.version - System Information - System Information + System information + System information key: systeminfo @@ -292,8 +302,8 @@ key: tab.name.hardware - My Ibexa - My Ibexa + Product + Product key: tab.name.ibexa diff --git a/src/bundle/Resources/views/themes/admin/system_info/composer.html.twig b/src/bundle/Resources/views/themes/admin/system_info/composer.html.twig index edff36e..ae9bf63 100644 --- a/src/bundle/Resources/views/themes/admin/system_info/composer.html.twig +++ b/src/bundle/Resources/views/themes/admin/system_info/composer.html.twig @@ -15,7 +15,6 @@ } only %}
-

{{ 'packages'|trans|desc('Packages') }}

{% set body_rows = [] %} {% for package in info.packages %} diff --git a/src/bundle/Resources/views/themes/admin/system_info/info.html.twig b/src/bundle/Resources/views/themes/admin/system_info/info.html.twig index d7f28fb..12e9c96 100644 --- a/src/bundle/Resources/views/themes/admin/system_info/info.html.twig +++ b/src/bundle/Resources/views/themes/admin/system_info/info.html.twig @@ -7,13 +7,13 @@ {% block breadcrumbs %} {% include '@ibexadesign/ui/breadcrumbs.html.twig' with { items: [ { value: 'breadcrumb.admin'|trans(domain='messages')|desc('Admin') }, - { value: 'systeminfo'|trans|desc('System Information') } + { value: 'systeminfo'|trans|desc('System information') } ]} %} {% endblock %} {% block header %} {% include '@ibexadesign/ui/page_title.html.twig' with { - title: 'systeminfo'|trans|desc('System Information'), + title: 'systeminfo'|trans|desc('System information'), } %} {% endblock %} diff --git a/src/bundle/Resources/views/themes/admin/system_info/my_ibexa.html.twig b/src/bundle/Resources/views/themes/admin/system_info/my_ibexa.html.twig index 6ae2a06..a0c8245 100644 --- a/src/bundle/Resources/views/themes/admin/system_info/my_ibexa.html.twig +++ b/src/bundle/Resources/views/themes/admin/system_info/my_ibexa.html.twig @@ -1,10 +1,10 @@ {% trans_default_domain "systeminfo" %} - + {% set my_ibexa_items = [ { - label: 'ibexa.name'|trans|desc('Name'), + label: 'ibexa.name'|trans|desc('Edition'), content: info.name, }, { @@ -12,7 +12,7 @@ content: info.release, }, { - label: 'ibexa.is_trial'|trans|desc('Is Trial'), + label: 'ibexa.is_trial'|trans|desc('Is trial'), content: info.isTrial ? 'ibexa.is_trial.yes'|trans|desc('Yes') : 'ibexa.is_trial.no'|trans|desc('No'), }, { @@ -24,11 +24,11 @@ {% if info.isEnterprise %} {% set my_ibexa_items = my_ibexa_items|merge([ { - label: 'ibexa.eom'|trans|desc('End of Maintenance'), + label: 'ibexa.eom'|trans|desc('End of maintenance'), content: info.endOfMaintenanceDate is empty ? '-' : info.endOfMaintenanceDate|date('F Y', false), }, { - label: 'ibexa.eol'|trans|desc('End of Life'), + label: 'ibexa.eol'|trans|desc('End of life'), content: info.endOfLifeDate is empty ? '-' : info.endOfLifeDate|date('F Y', false), }, ]) %} diff --git a/src/bundle/Resources/views/themes/admin/system_info/repository.html.twig b/src/bundle/Resources/views/themes/admin/system_info/repository.html.twig index 394627d..a9dc1e6 100644 --- a/src/bundle/Resources/views/themes/admin/system_info/repository.html.twig +++ b/src/bundle/Resources/views/themes/admin/system_info/repository.html.twig @@ -7,26 +7,30 @@
+ + + + - + - + - + - + diff --git a/src/bundle/Resources/views/themes/admin/system_info/symfony_kernel.html.twig b/src/bundle/Resources/views/themes/admin/system_info/symfony_kernel.html.twig index fff6921..ae1360b 100644 --- a/src/bundle/Resources/views/themes/admin/system_info/symfony_kernel.html.twig +++ b/src/bundle/Resources/views/themes/admin/system_info/symfony_kernel.html.twig @@ -39,7 +39,6 @@ } only %}
-

{{ 'bundles'|trans|desc('Bundles') }}

{% set body_rows = [] %} {% for bundle, namespace in info.bundles %} diff --git a/src/lib/EventListener/ConfigureMainMenuListener.php b/src/lib/EventListener/ConfigureMainMenuListener.php index b59f2a7..7e4bf1a 100644 --- a/src/lib/EventListener/ConfigureMainMenuListener.php +++ b/src/lib/EventListener/ConfigureMainMenuListener.php @@ -71,7 +71,7 @@ public static function getSubscribedEvents(): array public static function getTranslationMessages(): array { return [ - (new Message(self::ITEM_ADMIN__SYSTEMINFO, 'menu'))->setDesc('System Information'), + (new Message(self::ITEM_ADMIN__SYSTEMINFO, 'menu'))->setDesc('System information'), ]; } }
{{ 'repository.header.label.element'|trans|desc('Element') }}{{ 'repository.header.label.number'|trans|desc('Number') }}
- {{ 'repository.published_content_objects_count'|trans|desc('Published content objects count') }} + {{ 'repository.published_content_objects_count'|trans|desc('Published content object') }} {{ info.repositoryMetrics.publishedCount }}
{{ 'repository.users_count'|trans|desc('Users count') }}{{ 'repository.users_count'|trans|desc('User') }} {{ info.repositoryMetrics.usersCount }}
{{ 'repository.drafts_count'|trans|desc('Drafts count') }}{{ 'repository.drafts_count'|trans|desc('Draft') }} {{ info.repositoryMetrics.draftsCount }}
{{ 'repository.versions_count'|trans|desc('Versions count') }}{{ 'repository.versions_count'|trans|desc('Version') }} {{ info.repositoryMetrics.versionsCount }}
{{ 'repository.content_types_count'|trans|desc('Content Types count') }}{{ 'repository.content_types_count'|trans|desc('Content type') }} {{ info.repositoryMetrics.contentTypesCount }}