From 82b541c0fcbc4d5f9ea0b370e96ecaa6f004f832 Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Thu, 17 Aug 2023 02:37:46 +0300 Subject: [PATCH] Translations moved/fixed. --- config/packages/framework.yaml | 4 ++ translations/messages.en.yml | 57 +++++++++++++++++++ .../messages.ru.yml | 0 3 files changed, 61 insertions(+) create mode 100644 translations/messages.en.yml rename {old/src/PointToolsBundle/Resources/translations => translations}/messages.ru.yml (100%) diff --git a/config/packages/framework.yaml b/config/packages/framework.yaml index 6d85c29..347b598 100644 --- a/config/packages/framework.yaml +++ b/config/packages/framework.yaml @@ -13,6 +13,10 @@ framework: cookie_samesite: lax storage_factory_id: session.storage.factory.native + default_locale: 'en' + translator: + default_path: '%kernel.project_dir%/translations' + #esi: true #fragments: true php_errors: diff --git a/translations/messages.en.yml b/translations/messages.en.yml new file mode 100644 index 0000000..9ed1945 --- /dev/null +++ b/translations/messages.en.yml @@ -0,0 +1,57 @@ +# English language for Point tools + +# Header +Toggle navigation: Toggle navigation +Main: Main +Public feed: Public feed +Statistics: Statistics +Report a bug: Report a bug +Telegram Bot: Telegram Bot +Last: Last + +# Footer +Source code: Source code + +# Pagination +Previous: Previous +Next: Next + +# Index page +All users: All users +Subscribed users: Subscribed users +24 hours events: 24 hours events +Author: Author +Subscriber: Subscriber +Last events: Last events +Login: Login + +Username: Username +Search: Search + +# User page +Subscribers: Subscribers +Subscriptions log: Subscriptions log +User: User +Action: Action +Date: Date +Rename log: Rename log +Old login: Old login +New login: New login +User was removed from Point.im. It could be caused by Terms of Service violation.: > + User was removed from Point.im. It could be caused by Terms of Service violation. +Non-public: Non-public +Whitelist-only: Whitelist-only + +No subscribers data found: No subscribers data found +No rename log data found: No rename log data found +No subscribers log data found: No subscribers log data found + +# Post page +in response to: in response to + +# Statistics page +Top users: Top users +Subscribers count: Subscribers count +amount: amount +Events count: Events count +Events by day: Events by dayм \ No newline at end of file diff --git a/old/src/PointToolsBundle/Resources/translations/messages.ru.yml b/translations/messages.ru.yml similarity index 100% rename from old/src/PointToolsBundle/Resources/translations/messages.ru.yml rename to translations/messages.ru.yml