globalized some missing strings

This commit is contained in:
Régis Hanol 2013-03-12 02:17:45 +01:00
parent babb5b7b52
commit 1d7aa1f6cf
4 changed files with 34 additions and 26 deletions

View File

@ -36,7 +36,7 @@
</tr> </tr>
<tr> <tr>
<td></td> <td></td>
<td><label>Must be unique, no spaces. People can mention you as @username.</label></td> <td><label>{{i18n user.username.instructions}}</label></td>
</tr> </tr>
{{#if view.passwordRequired}} {{#if view.passwordRequired}}
@ -50,7 +50,7 @@
{{/if}} {{/if}}
<tr class="password-confirmation"> <tr class="password-confirmation">
<td><label for='new-account-password-confirmation'>Password Again</label></td> <td><label for='new-account-password-confirmation'>{{i18n user.password_confirmation.title}}</label></td>
<td> <td>
{{view Ember.TextField valueBinding="view.accountPasswordConfirm" type="password" id="new-account-password-confirmation"}} {{view Ember.TextField valueBinding="view.accountPasswordConfirm" type="password" id="new-account-password-confirmation"}}
{{view Ember.TextField valueBinding="view.accountChallenge" id="new-account-challenge"}} {{view Ember.TextField valueBinding="view.accountChallenge" id="new-account-challenge"}}

View File

@ -13,8 +13,8 @@
{{#linkTo "preferences.username" class="btn pad-left"}}{{i18n user.change_username.action}}{{/linkTo}} {{#linkTo "preferences.username" class="btn pad-left"}}{{i18n user.change_username.action}}{{/linkTo}}
</div> </div>
<div class='instructions'> <div class='instructions'>
{{{i18n user.username.instructions username="content.username"}}} {{{i18n user.username.short_instructions username="content.username"}}}
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
@ -24,7 +24,7 @@
</div> </div>
<div class='instructions'> <div class='instructions'>
{{i18n user.name.instructions}} {{i18n user.name.instructions}}
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
@ -39,7 +39,7 @@
</div> </div>
<div class="control-group"> <div class="control-group">
<label class="control-label">{{i18n user.password.title}}</label> <label class="control-label">{{i18n user.password.title}}</label>
<div class="controls"> <div class="controls">
<a href="#" {{action changePassword target="controller"}} class='btn'>{{i18n user.change_password}}</a> {{controller.passwordProgress}} <a href="#" {{action changePassword target="controller"}} class='btn'>{{i18n user.change_password}}</a> {{controller.passwordProgress}}
</div> </div>
@ -52,32 +52,32 @@
</div> </div>
<div class='instructions'> <div class='instructions'>
{{{i18n user.avatar.instructions}}} {{content.email}} {{{i18n user.avatar.instructions}}} {{content.email}}
</div>
</div>
<div class="control-group">
<label class="control-label">{{i18n user.bio}}</label>
<div class="controls">
{{view Discourse.PagedownEditor valueBinding="content.bio_raw"}}
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
<label class="control-label">{{i18n user.bio}}</label>
<div class="controls">
{{view Discourse.PagedownEditor valueBinding="content.bio_raw"}}
</div>
</div>
<div class="control-group">
<label class="control-label">{{i18n user.website}}</label> <label class="control-label">{{i18n user.website}}</label>
<div class="controls"> <div class="controls">
{{view Ember.TextField valueBinding="content.website" classNames="input-xxlarge"}} {{view Ember.TextField valueBinding="content.website" classNames="input-xxlarge"}}
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
<label class="control-label">{{i18n user.email_settings}}</label> <label class="control-label">{{i18n user.email_settings}}</label>
<div class="controls"> <div class="controls">
<label>{{view Ember.Checkbox checkedBinding="content.email_digests"}} <label>{{view Ember.Checkbox checkedBinding="content.email_digests"}}
{{i18n user.email_digests.title}}</label> {{i18n user.email_digests.title}}</label>
{{#if content.email_digests}} {{#if content.email_digests}}
<div class='control-indent'> <div class='control-indent'>
{{view Discourse.ComboboxView valueAttribute="value" contentBinding="controller.digestFrequencies" valueBinding="content.digest_after_days"}} {{view Discourse.ComboboxView valueAttribute="value" contentBinding="controller.digestFrequencies" valueBinding="content.digest_after_days"}}
</div> </div>
{{/if}} {{/if}}
<label>{{view Ember.Checkbox checkedBinding="content.email_private_messages"}} <label>{{view Ember.Checkbox checkedBinding="content.email_private_messages"}}
@ -87,19 +87,19 @@
</div> </div>
<div class='instructions'> <div class='instructions'>
{{i18n user.email.frequency}} {{i18n user.email.frequency}}
</div> </div>
</div> </div>
<div class="control-group other"> <div class="control-group other">
<label class="control-label">{{i18n user.other_settings}}</label> <label class="control-label">{{i18n user.other_settings}}</label>
<div class="controls"> <div class="controls">
<label>{{i18n user.auto_track_topics}}</label> <label>{{i18n user.auto_track_topics}}</label>
{{view Discourse.ComboboxView valueAttribute="value" contentBinding="controller.autoTrackDurations" valueBinding="content.auto_track_topics_after_msecs"}} {{view Discourse.ComboboxView valueAttribute="value" contentBinding="controller.autoTrackDurations" valueBinding="content.auto_track_topics_after_msecs"}}
</div> </div>
<div class="controls"> <div class="controls">
<label>{{i18n user.new_topic_duration.label}}</label> <label>{{i18n user.new_topic_duration.label}}</label>
{{view Discourse.ComboboxView valueAttribute="value" contentBinding="controller.considerNewTopicOptions" valueBinding="content.new_topic_duration_minutes"}} {{view Discourse.ComboboxView valueAttribute="value" contentBinding="controller.considerNewTopicOptions" valueBinding="content.new_topic_duration_minutes"}}
</div> </div>
</div> </div>

View File

@ -92,7 +92,8 @@ en:
ok: "Your name looks good." ok: "Your name looks good."
username: username:
title: "Username" title: "Username"
instructions: "People can mention you as @{{username}}." instructions: "Must be unique, no spaces. People can mention you as @username."
short_instructions: "People can mention you as @{{username}}."
available: "Your username is available." available: "Your username is available."
global_match: "Email matches the registered username." global_match: "Email matches the registered username."
global_mismatch: "Already registered. Try {{suggestion}}?" global_mismatch: "Already registered. Try {{suggestion}}?"
@ -102,6 +103,9 @@ en:
checking: "Checking username availability..." checking: "Checking username availability..."
enter_email: 'Username found. Enter matching email.' enter_email: 'Username found. Enter matching email.'
password_confirmation:
title: "Password Again"
last_posted: "Last Post" last_posted: "Last Post"
last_emailed: "Last Emailed" last_emailed: "Last Emailed"
last_seen: "Last Seen" last_seen: "Last Seen"

View File

@ -95,7 +95,8 @@ fr:
ok: "Votre nom à l'air sympa !." ok: "Votre nom à l'air sympa !."
username: username:
title: "Pseudo" title: "Pseudo"
instructions: "Les gens peuvent vous mentionner avec @{{username}}." instructions: "Doit être unique et ne pas contenir d'espace. Les gens pourrons vous mentionner avec @pseudo."
short_instructions: "Les gens peuvent vous mentionner avec @{{username}}."
available: "Votre pseudo est disponible." available: "Votre pseudo est disponible."
global_match: "L'adresse email correspond au pseudo enregistré." global_match: "L'adresse email correspond au pseudo enregistré."
global_mismatch: "Déjà enregistré. Essayez {{suggestion}} ?" global_mismatch: "Déjà enregistré. Essayez {{suggestion}} ?"
@ -105,6 +106,9 @@ fr:
checking: "Vérification de la disponibilité de votre pseudo..." checking: "Vérification de la disponibilité de votre pseudo..."
enter_email: "Pseudo trouvé. Entrez l'adresse email correspondante." enter_email: "Pseudo trouvé. Entrez l'adresse email correspondante."
password_confirmation:
title: "Confirmation"
last_posted: "Dernier message" last_posted: "Dernier message"
last_emailed: "Dernier mail" last_emailed: "Dernier mail"
last_seen: "Dernier vu" last_seen: "Dernier vu"