Add Crowdin configuration file (#128)

This commit is contained in:
Justman10000
2022-07-15 13:24:23 +02:00
committed by GitHub
parent 37fb99a868
commit 84b9834d88
2 changed files with 64 additions and 0 deletions

View File

@@ -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)'

21
crowdin.yml Normal file
View File

@@ -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"
}
]