diff options
| author | 2019-12-04 08:27:39 +0100 | |
|---|---|---|
| committer | 2019-12-04 08:27:39 +0100 | |
| commit | 3e49b44839237693ce1a8151325942704917f6c6 (patch) | |
| tree | 75a1af8089d48d3bb14de2d9d98c503ee76433e2 /app/i18n/es/user.php | |
| parent | de2b323847e0a91119625e4f506f51ec9d43872f (diff) | |
Update i18n cli tools (#2673)
* Update i18n cli tools
Few things were bugging me when using the cli tool for i18n. So I've modified
the tools to be easier to use.
First, the tool automatically adds missing keys to all languages. This way, we
always have all keys in all languages.
Second, the tool detects all untranslated keys and adds automatically the todo
comment after the value.
Third, when adding a new key, the key is pushed to all languages at once. There
is no need to duplicate it manually. Thus making the duplication process obsolete.
Fourth, translation and ignore keys are manipulated at the same time. Thus we
don't have obsolete ignored strings anymore.
* Add i18n rules
I find that having the common rules in the Makefile is easier to use,
as long as you know they are here. As it is self documented, people
will see the new rules when using make.
* Use long parameters in Makefile
I find that using long parameters in scripts makes it easier to understand
what's going on. So I've switched all short parameters to long one.
* Format all i18n files
I've used the updated version of the cli tools to have some output
that can be consistently formated. This commit is a huge formating
commit. Nothing was added but some comments were removed in the
process.
Diffstat (limited to 'app/i18n/es/user.php')
| -rw-r--r-- | app/i18n/es/user.php | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/app/i18n/es/user.php b/app/i18n/es/user.php index 3a8343c11..52197ad46 100644 --- a/app/i18n/es/user.php +++ b/app/i18n/es/user.php @@ -3,35 +3,35 @@ return array( 'email' => array( 'feedback' => array( - 'invalid' => 'The email address is invalid.', //TODO - Translation - 'required' => 'The email address is required.', //TODO - Translation + 'invalid' => 'The email address is invalid.', // TODO - Translation + 'required' => 'The email address is required.', // TODO - Translation ), 'validation' => array( - 'change_email' => 'You can change your email address <a href="%s">on the profile page</a>.', //TODO - Translation - 'email_sent_to' => 'We sent you an email at <strong>%s</strong>, please follow its indications to validate your address.', //TODO - Translation + 'change_email' => 'You can change your email address <a href="%s">on the profile page</a>.', // TODO - Translation + 'email_sent_to' => 'We sent you an email at <strong>%s</strong>, please follow its indications to validate your address.', // TODO - Translation 'feedback' => array( - 'email_failed' => 'We couldn’t send you an email because of a misconfiguration of the server.', //TODO - Translation - 'email_sent' => 'An email has been sent to your address.', //TODO - Translation - 'error' => 'The email address failed to be validated.', //TODO - Translation - 'ok' => 'The email address has been validated.', //TODO - Translation - 'unneccessary' => 'The email address was already validated.', //TODO - Translation - 'wrong_token' => 'The email address failed to be validated due to a wrong token.', //TODO - Translation + 'email_failed' => 'We couldn’t send you an email because of a misconfiguration of the server.', // TODO - Translation + 'email_sent' => 'An email has been sent to your address.', // TODO - Translation + 'error' => 'The email address failed to be validated.', // TODO - Translation + 'ok' => 'The email address has been validated.', // TODO - Translation + 'unneccessary' => 'The email address was already validated.', // TODO - Translation + 'wrong_token' => 'The email address failed to be validated due to a wrong token.', // TODO - Translation ), - 'need_to' => 'You need to validate your email address before being able to use %s.', //TODO - Translation - 'resend_email' => 'Resend the email', //TODO - Translation - 'title' => 'Email address validation', //TODO - Translation - ), - ), - 'tos' => array( - 'feedback' => array( - 'invalid' => 'You must accept the Terms of Service to be able to register.', // TODO - Translation + 'need_to' => 'You need to validate your email address before being able to use %s.', // TODO - Translation + 'resend_email' => 'Resend the email', // TODO - Translation + 'title' => 'Email address validation', // TODO - Translation ), ), 'mailer' => array( 'email_need_validation' => array( - 'title' => 'You need to validate your account', //TODO - Translation - 'welcome' => 'Welcome %s,', //TODO - Translation - 'body' => 'You’ve just registered on %s but you still need to validate your email. For that, just follow the link:', //TODO - Translation + 'body' => 'You’ve just registered on %s but you still need to validate your email. For that, just follow the link:', // TODO - Translation + 'title' => 'You need to validate your account', // TODO - Translation + 'welcome' => 'Welcome %s,', // TODO - Translation + ), + ), + 'tos' => array( + 'feedback' => array( + 'invalid' => 'You must accept the Terms of Service to be able to register.', // TODO - Translation ), ), ); |
