Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/components/Email/EmailReadOnlySection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const EmailReadOnlySection = () => {
label={t('EmailReadOnlySection.subtitle')}
value={instance.email}
copyable={true}
readOnly
/>
)
}
Expand Down
4 changes: 3 additions & 1 deletion src/components/Input.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ const Input = ({
submitting,
errors,
onChange,
onBlur
onBlur,
readOnly
}) => {
return (
<div className="u-pos-relative">
Expand All @@ -27,6 +28,7 @@ const Input = ({
onBlur={onBlur && (e => onBlur(name, e.target.value))}
className={errors && errors.length !== 0 ? 'u-error' : ''}
aria-busy={submitting}
readOnly={readOnly}
/>
</div>
)
Expand Down
1 change: 1 addition & 0 deletions src/components/Profile/MatrixIdSection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ const MatrixIdSection = () => {
label={t(`ProfileView.matrix_id.label`)}
value={generatedMatrixId}
copyable={true}
readOnly
/>
</Stack>
)
Expand Down
1 change: 1 addition & 0 deletions src/components/Profile/PhoneNumberSection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const PhoneNumberSection = () => {
label={t(`ProfileView.phone_number.label`)}
value={instance?.phone}
copyable={true}
readOnly
/>
<Button
variant="secondary"
Expand Down
8 changes: 4 additions & 4 deletions src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -209,15 +209,15 @@
},
"public_name": {
"title": "Username",
"label": "Your username will be displayed when you share files with Twake users."
"label": "Displayed when you share files with Twake users."
},
"matrix_id": {
"title": "Matrix ID",
"label": "Matrix ID is a unique identifier in the Twake platform used for real-time messaging in the open-source Matrix protocol."
"label": "A unique identifier in the Twake platform used for real-time messaging in the open-source Matrix protocol."
},
"phone_number": {
"title": "Phone number",
"label": "Your phone number will be used to send you notifications and to enable you to recover your password.",
"label": "Used to send you notifications and to enable you to recover your password.",
"change_button": "Change the phone number",
"invalid": "The phone number is invalid",
"add_alert_title": "Stay connected!",
Expand Down Expand Up @@ -573,7 +573,7 @@
},
"EmailReadOnlySection": {
"title": "E-mail",
"subtitle": "The email address is fixed and used for authentication within the Matrix network."
"subtitle": "Fixed and used for authentication within the Matrix network."
},
"EmailModal": {
"title": "New email",
Expand Down
8 changes: 4 additions & 4 deletions src/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -206,15 +206,15 @@
},
"public_name": {
"title": "Nom d'usage",
"label": "Votre nom d'usage est utilisé lorsque vous partagez des fichiers avec d'autres utilisateurs de Twake."
"label": "Affiché lorsque vous partagez des fichiers avec d'autres utilisateurs de Twake."
},
"matrix_id": {
"title": "Matrix ID",
"label": "Matrix ID est un identifiant unique dans la plateforme Twake utilisé pour la messagerie en temps réel dans le protocole open-source Matrix."
"label": "Identifiant unique dans la plateforme Twake utilisé pour la messagerie en temps réel dans le protocole open-source Matrix."
},
"phone_number": {
"title": "Numéro de téléphone",
"label": "Votre numéro de téléphone est utilisé pour vous envoyer des notifications par SMS.",
"label": "Utilisé pour vous envoyer des notifications et vous permettre de récupérer votre mot de passe.",
"change_button": "Modifier le numéro de téléphone",
"invalid": "Le numéro de téléphone que vous avez entré ne semble pas correct.",
"add_alert_title": "Restez connecté !",
Expand Down Expand Up @@ -570,7 +570,7 @@
},
"EmailReadOnlySection": {
"title": "E-mail",
"subtitle": "L'adresse email est fixe et utilisée pour l'authentification au sein du réseau Matrix."
"subtitle": "Fixe et utilisée pour l'authentification au sein du réseau Matrix."
},
"EmailModal": {
"title": "Nouvel email",
Expand Down
8 changes: 4 additions & 4 deletions src/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -206,15 +206,15 @@
},
"public_name": {
"title": "Имя пользователя",
"label": "Это имя будет отображаться при обмене файлами с другими пользователями Twake."
"label": "Отображается при обмене файлами с пользователями Twake."
},
"matrix_id": {
"title": "Matrix ID",
"label": "Matrix ID — это уникальный идентификатор платформы Twake Chat, используемый для обмена сообщениями в режиме реального времени через протокол Matrix."
"label": "Уникальный идентификатор платформы Twake, используемый для обмена сообщениями в режиме реального времени через протокол Matrix."
},
"phone_number": {
"title": "Номер телефона",
"label": "Ваш номер телефона будет использоваться для отправки уведомлений и восстановления пароля.",
"label": "Используется для отправки уведомлений и восстановления пароля.",
"change_button": "Изменить номер телефона",
"invalid": "Некорректный номер телефона"
},
Expand Down Expand Up @@ -568,7 +568,7 @@
},
"EmailReadOnlySection": {
"title": "Email",
"subtitle": "Email-адрес зафиксирован и используется для аутентификации в сети Matrix."
"subtitle": "Зафиксирован и используется для аутентификации в сети Matrix."
},
"EmailModal": {
"title": "Новый email",
Expand Down
8 changes: 4 additions & 4 deletions src/locales/vi.json
Original file line number Diff line number Diff line change
Expand Up @@ -206,15 +206,15 @@
},
"public_name": {
"title": "Tên người dùng",
"label": "Tên người dùng sẽ hiển thị khi bạn chia sẻ tệp với người dùng Twake."
"label": "Hiển thị khi bạn chia sẻ tệp với người dùng Twake."
},
"matrix_id": {
"title": "Matrix ID",
"label": "Matrix ID là định danh duy nhất trong nền tảng Twake dùng cho nhắn tin thời gian thực trong giao thức Matrix mã nguồn mở."
"label": "Định danh duy nhất trong nền tảng Twake dùng cho nhắn tin thời gian thực trong giao thức Matrix mã nguồn mở."
},
"phone_number": {
"title": "Số điện thoại",
"label": "Số điện thoại sẽ được dùng để gửi thông báo và cho phép khôi phục mật khẩu.",
"label": "Được dùng để gửi thông báo và cho phép khôi phục mật khẩu.",
"change_button": "Thay đổi số điện thoại",
"invalid": "Số điện thoại không hợp lệ"
},
Expand Down Expand Up @@ -568,7 +568,7 @@
},
"EmailReadOnlySection": {
"title": "Email",
"subtitle": "Địa chỉ email cố định và được sử dụng để xác thực trong mạng Matrix."
"subtitle": "Cố định và được sử dụng để xác thực trong mạng Matrix."
},
"EmailModal": {
"title": "Email mới",
Expand Down
Loading