Translations

This commit is contained in:
Chi Vinh Le
2017-10-02 22:22:00 +07:00
parent c2f22bbf98
commit d3d7f909d8
8 changed files with 17 additions and 27 deletions
-5
View File
@@ -262,11 +262,9 @@ en:
ban_user: "Ban"
billion: B
close: Close
dont_like_username: "Don't like username"
empty_queue: "No more comments to moderate! You're all caught up. Go have some ☕️"
flagged: flagged
reported: reported
impersonating: Impersonating
less_detail: "Less detail"
likes: likes
million: M
@@ -277,9 +275,7 @@ en:
newest_first: "Newest First"
navigation: Navigation
next_comment: "Go to the next comment"
offensive: Offensive
oldest_first: "Oldest First"
other: Other
premod: pre-mod
prev_comment: "Go to the previous comment"
reject: "Reject"
@@ -290,7 +286,6 @@ en:
shortcuts: "Shortcuts"
show_shortcuts: "Show Shortcuts"
singleview: "Toggle single comment edit view"
spam_ads: Spam/Ads
thismenu: "Open this menu"
thousand: k
try_these: "Try these"
-5
View File
@@ -255,10 +255,8 @@ es:
approved: "Aprobado"
billion: B
close: Cerrar
dont_like_username: "No me gusta el nombre de usuario"
empty_queue: "¡No hay más comentarios para moderar! Tiempo para un ☕️"
flagged: Reportado
impersonating: Impersonando
less_detail: "Menos detalles"
likes: likes
million: M
@@ -269,9 +267,7 @@ es:
newest_first: "Primero el más nuevo"
navigation: Navegación
next_comment: "Ir al siguiente comentario"
offensive: Ofensivo
oldest_first: "Primero el más antiguo"
other: Otro
premod: pre-mod
prev_comment: "Ir al comentario anterior"
reject: "Rechazar"
@@ -282,7 +278,6 @@ es:
shortcuts: Atajos
show_shortcuts: "Mostrar Atajos"
singleview: "Colocar vista de edición de comentario único"
spam_ads: Spam/Publicidad
thismenu: "Abrir este menu"
thousand: k
try_these: "Intentar estos"
-5
View File
@@ -41,22 +41,17 @@ fr:
banned: Banni
banned_user: "Utilisateur banni"
cancel: Signalé
dont_like_username: "Je n'aime pas ce nom d'utilisateur"
flaggedaccounts: "Noms d'utilisateurs signalés"
flags: Signalements
impersonating: "Cet utilisateur se fait passer pour quelqu'un d'autre"
loading: "Chargement des résultats"
moderator: Modérateur
newsroom_role: "Rôle de la salle de presse"
no_flagged_accounts: "La liste des comptes signalés est vide."
no_results: "Aucun utilisateur n'a été trouvé avec ce nom d'utilisateur ou cette adresse de messagerie. Ils se cachent !"
note: "Remarque: bannir cet utilisateur ne lui permettra pas de modifier les commentaires ou de supprimer quoi que ce soit."
offensive: "Ce commentaire est offensant"
other: Autre
people: Gens
role: "Sélectionnez le rôle ..."
select_status: "Sélectionnez l'état ..."
spam_ads: "Spam / Annonces"
staff: "Équipe"
status: Statut
username_and_email: "Nom d'utilisateur et e-mail"
-4
View File
@@ -51,7 +51,6 @@ pt_BR:
banned: Proibida
banned_user: "Usuário proibido"
cancel: Cancelar
dont_like_username: "Não gostei do nome de usuário"
flaggedaccounts: "Nomes de usuários marcados"
flags: Marcadas
impersonating: "Representação"
@@ -60,12 +59,9 @@ pt_BR:
newsroom_role: "Papel de empresa"
no_flagged_accounts: "A fila de nomes de usuários marcados está atualmente vazia."
no_results: "Nenhum usuário encontrado com esse nome de usuário ou e-mail. Eles estão se escondendo!"
offensive: "Ofensiva"
other: Outra
people: Pessoas
role: "Selecione um papel..."
select_status: "Selecione um status..."
spam_ads: "Spam/anúncios"
staff: "Funcionários"
status: Status
username_and_email: "Nome de usuário e email"
@@ -30,7 +30,7 @@ class FlagDetails extends Component {
return (
<CommentDetail
icon={'flag'}
header={`${t('community.flags')} (${Object.keys(summaries).length})`}
header={`${t('talk-plugin-flag-details.flags')} (${Object.keys(summaries).length})`}
info={
<ul className={styles.info}>
{reasons.map((reason) =>
@@ -1,3 +1,6 @@
en:
talk-plugin-fag-details:
talk-plugin-flag-details:
flags: Flags
es:
talk-plugin-flag-details:
flags: Reportes
@@ -4,18 +4,19 @@ import {isToxic} from '../utils';
import styles from './ToxicDetail.css';
import cn from 'classnames';
import PropTypes from 'prop-types';
import {t} from 'plugin-api/beta/client/services';
const getInfo = (toxicity, actions) => {
const toxic = isToxic(actions);
let text = 'Unlikely';
let text = t('talk-plugin-toxic-comments.unlikely');
if (toxicity > 0.8) {
text = 'Highly Likely';
text = t('talk-plugin-toxic-comments.highly_likely');
}
else if (toxicity >= 0.5) {
text = 'Possibly';
text = t('talk-plugin-toxic-comments.possibly');
}
else if (toxicity >= 0.7) {
text = 'Likely';
text = t('talk-plugin-toxic-comments.likely');
}
return (
@@ -31,7 +32,7 @@ const getInfo = (toxicity, actions) => {
const ToxicLabel = ({comment: {actions, toxicity}}) => (
<CommentDetail
icon={'add_box'}
header={'Toxic Comment'}
header={t('talk-plugin-toxic-comments.toxic_comment')}
info={getInfo(toxicity, actions)}
/>
);
@@ -4,6 +4,11 @@ en:
Are you sure? The language in this comment might violate our community guidelines.
You can edit the comment or submit it for moderator review.
talk-plugin-toxic-comments:
unlikely: Unlikely
highly_likely: Highly Likely
possibly: Possibly
likely: Likely
toxic_comment: Toxic Comment
still_toxic: |
This edited comment might still violate our community guidelines.
Our moderation team will review your comment shortly.