mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Update locales
This commit is contained in:
@@ -112,7 +112,7 @@ class PhraseaRegisterForm extends AbstractType
|
||||
'constraints' => array(
|
||||
new Assert\Choice(array(
|
||||
'choices' => array_flip($baseIds),
|
||||
'minMessage' => _('You must select at least {{ limit }} collection.'),
|
||||
'minMessage' => _('You must select at least %s collection.'),
|
||||
'multiple' => true,
|
||||
'min' => 1,
|
||||
)),
|
||||
|
@@ -34,7 +34,7 @@ class MailSuccessEmailConfirmationRegistered extends AbstractMailWithLink
|
||||
*/
|
||||
public function getButtonText()
|
||||
{
|
||||
return sprintf(_('Access %'), $this->app['phraseanet.registry']->get('GV_homeTile'));
|
||||
return sprintf(_('Your access on %s'), $this->app['phraseanet.registry']->get('GV_homeTile'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -128,7 +128,7 @@
|
||||
<label>Email : </label><input name="email" type="text" />
|
||||
<input type="submit" class="btn btn-warning" value="{% trans 'boutton::valider' %}"/>
|
||||
{% if email_status %}
|
||||
<p>{% trans 'result : ' %}{{ email_status }}</p>
|
||||
<p>{% trans %}Email test result : {{ email_status }}{% endtrans %}</p>
|
||||
{% endif %}
|
||||
</form>
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<div class="header">
|
||||
<h1>{% trans 'Upload a "csv" file for users creation' %}</h1>
|
||||
<h1>{% trans 'Upload a csv file for users creation' %}</h1>
|
||||
</div>
|
||||
|
||||
{% if app['request'].query.get('error') is not none %}
|
||||
@@ -9,9 +9,9 @@
|
||||
{% if error == 'file-invalid' %}
|
||||
{% trans 'An error occured while upload the file. Please retry' %}
|
||||
{% elseif error == 'row-login' %}
|
||||
{% trans 'Row "login" is missing, script has stopped' %}
|
||||
{% trans 'Row login is missing, script has stopped' %}
|
||||
{% elseif error == 'row-pwd' %}
|
||||
{% trans 'Row "password" is missing, script has stopped' %}
|
||||
{% trans 'Row password is missing, script has stopped' %}
|
||||
{% elseif error == 'no-user' %}
|
||||
{% trans 'The file does not contains any user to add' %}
|
||||
{% endif %}
|
||||
|
@@ -20,8 +20,10 @@
|
||||
{% elseif list['complete'] is defined and list['complete'] %}
|
||||
<div class="alert alert-success">
|
||||
{% set url = path('document_download', {'token': token}) %}
|
||||
{% set before_link = '<a href="' ~ url ~ '" target="_self">' %}
|
||||
{% set after_link = '</a>' %}
|
||||
{% trans %}
|
||||
Your documents are ready. If the download does not start, <a href="{{ url }}" target="_self">click here</a>
|
||||
Your documents are ready. If the download does not start, {{ before_link }}click here{{ after_link }}
|
||||
{% endtrans %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
Reference in New Issue
Block a user