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