Moving text to translations file.

This commit is contained in:
David Jay
2016-12-12 17:45:20 -05:00
parent 182c504edb
commit 48b1f7fc2b
3 changed files with 12 additions and 6 deletions
@@ -65,15 +65,15 @@ const CommentSettings = (props) => <List>
checked={props.settings.charCountEnable} />
</ListItemAction>
<ListItemContent>
<div className={styles.settingsHeader}>Limit Content Length</div>
<div className={styles.settingsHeader}>{lang.t('configure.comment-count-header')}</div>
<p className={props.settings.charCountEnable ? '' : styles.disabledSettingText}>
<span>Comments will be limited to </span>
<span>{lang.t('configure.comment-count-text-pre')}</span>
<input type='text'
className={styles.charCountTexfield}
htmlFor='charCount'
onChange={updateCharCount(props.updateSettings)}
value={props.settings.charCount}/>
<span> characters.</span>
<span>{lang.t('configure.comment-count-text-post')}</span>
</p>
</ListItemContent>
</ListItem>
@@ -112,7 +112,7 @@
}
.disabledSetting {
padding-left: 23px;
padding-left: 22px;
}
.hidden {
+8 -2
View File
@@ -56,7 +56,10 @@
"configure": "Configure",
"community": "Community",
"closed-comments-desc": "Write a message for closed threads",
"closed-comments-label": "Write a message..."
"closed-comments-label": "Write a message...",
"comment-count-header": "Limit Content Length",
"comment-count-text-pre": "Comments will be limited to ",
"comment-count-text-post": " characters."
},
"bandialog": {
"ban_user": "Ban User?",
@@ -112,7 +115,10 @@
"configure": "Configurar",
"community": "Comunidad",
"closed-comments-desc": "Escribe un mensaje para cuando los comentarios se encuentran cerrados",
"closed-comments-label": "Escribe un mensaje..."
"closed-comments-label": "Escribe un mensaje...",
"comment-count-header": "tracundeme",
"comment-count-text-pre": "tracundeme",
"comment-count-text-post": "tracundeme"
},
"bandialog": {
"ban_user": "Quieres suspender el Usuario?",