From 84b9834d883e9d6988d0bd54d9f97d9e9c1e76f5 Mon Sep 17 00:00:00 2001 From: Justman10000 <49990629+Justman10000@users.noreply.github.com> Date: Fri, 15 Jul 2022 13:24:23 +0200 Subject: [PATCH] Add Crowdin configuration file (#128) --- .../locales/activerecord/activerecord.en.yml | 43 +++++++++++++++++++ crowdin.yml | 21 +++++++++ 2 files changed, 64 insertions(+) create mode 100644 config/locales/activerecord/activerecord.en.yml create mode 100644 crowdin.yml diff --git a/config/locales/activerecord/activerecord.en.yml b/config/locales/activerecord/activerecord.en.yml new file mode 100644 index 00000000..fea18469 --- /dev/null +++ b/config/locales/activerecord/activerecord.en.yml @@ -0,0 +1,43 @@ +it: + activerecord: + attributes: + board: + name: 'Name' + description: 'Description' + order: 'Order' + comment: + body: 'Body' + is_post_update: 'Post update' + user_id: 'Author' + post_id: 'Post' + parent_id: 'Parent comment' + follow: + user_id: 'User' + post_id: 'Post' + like: + user_id: 'User' + post_id: 'Post' + post_status: + name: 'Name' + color: 'Color' + order: 'Order' + show_in_roadmap: 'Show in roadmap' + post: + title: 'Title' + description: 'Description' + board_id: 'Post board' + user_id: 'Post author' + post_status_id: 'Post status' + user: + email: 'Email' + full_name: 'Name and surname' + role: 'Role' + notifications_enabled: 'Notifications enabled' + errors: + messages: + invalid: 'is invalid' + required: 'is mandatory' + blank: 'cannot be blank' + taken: 'is already in use' + too_short: 'is too short (minimum %{count} characters)' + too_long: 'is too long (maximum ${count} characters)' \ No newline at end of file diff --git a/crowdin.yml b/crowdin.yml new file mode 100644 index 00000000..ac8bf950 --- /dev/null +++ b/crowdin.yml @@ -0,0 +1,21 @@ +"project_id": "527056" +"preserve_hierarchy": true + +"files": [ + { + "source": "/config/locales/en.yml", + "ignore": [ + "/config/locales/activerecord", + "/config/locales/devise" + ], + "translation": "/config/locales/%two_letters_code%.yml" + }, + { + "source": "/config/locales/devise/devise.en.yml", + "translation": "/config/locales/devise/devise.%two_letters_code%.yml" + }, + { + "source": "/config/locales/activerecord/activerecord.en.yml", + "translation": "/config/locales/activerecord/activerecord.%two_letters_code%.yml" + } +] \ No newline at end of file