mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-23 02:35:49 +08:00
Improve i18n
This commit is contained in:
parent
e4c36d407f
commit
f272be67ab
@ -14,6 +14,7 @@
|
||||
|
||||
import React from "react";
|
||||
import {Alert, Button, Result} from "antd";
|
||||
import i18next from "i18next";
|
||||
import {getWechatMessageEvent} from "./AuthBackend";
|
||||
import * as Setting from "../Setting";
|
||||
import * as Provider from "./Provider";
|
||||
@ -23,13 +24,13 @@ export function renderMessage(msg) {
|
||||
return (
|
||||
<div style={{display: "inline"}}>
|
||||
<Alert
|
||||
message="Login Error"
|
||||
message={i18next.t("application:Failed to sign in")}
|
||||
showIcon
|
||||
description={msg}
|
||||
type="error"
|
||||
action={
|
||||
<Button size="small" type="primary" danger>
|
||||
Detail
|
||||
{i18next.t("product:Detail")}
|
||||
</Button>
|
||||
}
|
||||
/>
|
||||
@ -46,13 +47,13 @@ export function renderMessageLarge(ths, msg) {
|
||||
<Result
|
||||
style={{margin: "0px auto"}}
|
||||
status="error"
|
||||
title="There was a problem signing you in.."
|
||||
title={i18next.t("general:There was a problem signing you in..")}
|
||||
subTitle={msg}
|
||||
extra={[
|
||||
<Button type="primary" key="back" onClick={() => {
|
||||
window.history.go(-2);
|
||||
}}>
|
||||
Back
|
||||
{i18next.t("general:Back")}
|
||||
</Button>,
|
||||
]}
|
||||
>
|
||||
|
@ -168,6 +168,7 @@
|
||||
"Applications that require authentication": "Anwendungen, die eine Authentifizierung erfordern",
|
||||
"Avatar": "Avatar",
|
||||
"Avatar - Tooltip": "Öffentliches Avatarbild für den Benutzer",
|
||||
"Back": "Back",
|
||||
"Back Home": "Zurück nach Hause",
|
||||
"Cancel": "Abbrechen",
|
||||
"Captcha": "Captcha",
|
||||
@ -280,6 +281,7 @@
|
||||
"Sync": "Synchronisieren",
|
||||
"Syncers": "Syncers",
|
||||
"System Info": "Systeminformationen",
|
||||
"There was a problem signing you in..": "There was a problem signing you in..",
|
||||
"This is a read-only demo site!": "Dies ist eine schreibgeschützte Demo-Seite!",
|
||||
"Timestamp": "Zeitstempel",
|
||||
"Tokens": "Token",
|
||||
@ -701,6 +703,8 @@
|
||||
"Table primary key - Tooltip": "Primärschlüssel in einer Tabelle, wie beispielsweise eine ID"
|
||||
},
|
||||
"system": {
|
||||
"API Latency": "API Latency",
|
||||
"API Throughput": "API Throughput",
|
||||
"About Casdoor": "Über Casdoor",
|
||||
"An Identity and Access Management (IAM) / Single-Sign-On (SSO) platform with web UI supporting OAuth 2.0, OIDC, SAML and CAS": "Eine Identitäts- und Zugriffsverwaltung (IAM) / Single-Sign-On (SSO) Plattform mit Web-UI, die OAuth 2.0, OIDC, SAML und CAS unterstützt",
|
||||
"CPU Usage": "CPU-Auslastung",
|
||||
|
@ -168,6 +168,7 @@
|
||||
"Applications that require authentication": "Applications that require authentication",
|
||||
"Avatar": "Avatar",
|
||||
"Avatar - Tooltip": "Public avatar image for the user",
|
||||
"Back": "Back",
|
||||
"Back Home": "Back Home",
|
||||
"Cancel": "Cancel",
|
||||
"Captcha": "Captcha",
|
||||
@ -280,6 +281,7 @@
|
||||
"Sync": "Sync",
|
||||
"Syncers": "Syncers",
|
||||
"System Info": "System Info",
|
||||
"There was a problem signing you in..": "There was a problem signing you in..",
|
||||
"This is a read-only demo site!": "This is a read-only demo site!",
|
||||
"Timestamp": "Timestamp",
|
||||
"Tokens": "Tokens",
|
||||
@ -701,6 +703,8 @@
|
||||
"Table primary key - Tooltip": "Table primary key, such as id"
|
||||
},
|
||||
"system": {
|
||||
"API Latency": "API Latency",
|
||||
"API Throughput": "API Throughput",
|
||||
"About Casdoor": "About Casdoor",
|
||||
"An Identity and Access Management (IAM) / Single-Sign-On (SSO) platform with web UI supporting OAuth 2.0, OIDC, SAML and CAS": "An Identity and Access Management (IAM) / Single-Sign-On (SSO) platform with web UI supporting OAuth 2.0, OIDC, SAML and CAS",
|
||||
"CPU Usage": "CPU Usage",
|
||||
|
@ -168,6 +168,7 @@
|
||||
"Applications that require authentication": "Aplicaciones que requieren autenticación",
|
||||
"Avatar": "Avatar",
|
||||
"Avatar - Tooltip": "Imagen de avatar pública para el usuario",
|
||||
"Back": "Back",
|
||||
"Back Home": "Regreso a casa",
|
||||
"Cancel": "Cancelar",
|
||||
"Captcha": "Captcha",
|
||||
@ -280,6 +281,7 @@
|
||||
"Sync": "Sincronización",
|
||||
"Syncers": "Sincronizadores",
|
||||
"System Info": "Información del Sistema",
|
||||
"There was a problem signing you in..": "There was a problem signing you in..",
|
||||
"This is a read-only demo site!": "¡Este es un sitio de demostración solo de lectura!",
|
||||
"Timestamp": "Marca de tiempo",
|
||||
"Tokens": "Tokens",
|
||||
@ -701,6 +703,8 @@
|
||||
"Table primary key - Tooltip": "Clave primaria de la tabla, como id"
|
||||
},
|
||||
"system": {
|
||||
"API Latency": "API Latency",
|
||||
"API Throughput": "API Throughput",
|
||||
"About Casdoor": "Sobre Casdoor",
|
||||
"An Identity and Access Management (IAM) / Single-Sign-On (SSO) platform with web UI supporting OAuth 2.0, OIDC, SAML and CAS": "Una plataforma de Gestión de Identidades y Accesos (IAM) / Single-Sign-On (SSO) con una interfaz web que admite OAuth 2.0, OIDC, SAML y CAS",
|
||||
"CPU Usage": "Uso de la CPU",
|
||||
|
@ -168,6 +168,7 @@
|
||||
"Applications that require authentication": "Applications qui nécessitent une authentification",
|
||||
"Avatar": "Avatar",
|
||||
"Avatar - Tooltip": "Image d'avatar public pour l'utilisateur",
|
||||
"Back": "Back",
|
||||
"Back Home": "Retour à la maison",
|
||||
"Cancel": "Annuler",
|
||||
"Captcha": "Captcha (prononcé « kæptʃə » en anglais) est un acronyme qui signifie « Completely Automated Public Turing test to tell Computers and Humans Apart ». En français, le terme est souvent traduit par « test de Turing complètement automatisé et public pour différencier les ordinateurs et les humains ». Le système est utilisé pour empêcher les spammeurs, les robots et les logiciels malveillants d'accéder aux sites Web en leur demandant de résoudre une tâche de reconnaissance de caractères ou d'images, qui peut être difficile pour les machines à comprendre mais facile pour les humains",
|
||||
@ -280,6 +281,7 @@
|
||||
"Sync": "Synchronisation",
|
||||
"Syncers": "Synchroniseurs",
|
||||
"System Info": "Information système",
|
||||
"There was a problem signing you in..": "There was a problem signing you in..",
|
||||
"This is a read-only demo site!": "Ceci est un site de démonstration en lecture seule !",
|
||||
"Timestamp": "Horodatage",
|
||||
"Tokens": "Les jetons",
|
||||
@ -701,6 +703,8 @@
|
||||
"Table primary key - Tooltip": "Clé primaire de la table, telle que l'id"
|
||||
},
|
||||
"system": {
|
||||
"API Latency": "API Latency",
|
||||
"API Throughput": "API Throughput",
|
||||
"About Casdoor": "À propos de Casdoor",
|
||||
"An Identity and Access Management (IAM) / Single-Sign-On (SSO) platform with web UI supporting OAuth 2.0, OIDC, SAML and CAS": "Une plateforme de gestion d'identité et d'accès (IAM) / d'authentification unique (SSO) avec une interface utilisateur web prenant en charge OAuth 2.0, OIDC, SAML et CAS",
|
||||
"CPU Usage": "Utilisation du processeur",
|
||||
|
@ -168,6 +168,7 @@
|
||||
"Applications that require authentication": "Aplikasi yang memerlukan autentikasi",
|
||||
"Avatar": "Avatar",
|
||||
"Avatar - Tooltip": "Gambar avatar publik untuk pengguna",
|
||||
"Back": "Back",
|
||||
"Back Home": "Kembali ke Rumah",
|
||||
"Cancel": "Membatalkan",
|
||||
"Captcha": "Captcha",
|
||||
@ -280,6 +281,7 @@
|
||||
"Sync": "Sinkronisasi",
|
||||
"Syncers": "Sinkronisasi",
|
||||
"System Info": "Informasi Sistem",
|
||||
"There was a problem signing you in..": "There was a problem signing you in..",
|
||||
"This is a read-only demo site!": "Ini adalah situs demo hanya untuk dibaca saja!",
|
||||
"Timestamp": "Waktu penanda waktu",
|
||||
"Tokens": "Token-token",
|
||||
@ -701,6 +703,8 @@
|
||||
"Table primary key - Tooltip": "Kunci primer tabel, seperti id"
|
||||
},
|
||||
"system": {
|
||||
"API Latency": "API Latency",
|
||||
"API Throughput": "API Throughput",
|
||||
"About Casdoor": "Tentang Casdoor",
|
||||
"An Identity and Access Management (IAM) / Single-Sign-On (SSO) platform with web UI supporting OAuth 2.0, OIDC, SAML and CAS": "Platform Identitas dan Akses Manajemen (IAM) / Single-Sign-On (SSO) dengan antarmuka web yang mendukung OAuth 2.0, OIDC, SAML, dan CAS",
|
||||
"CPU Usage": "Penggunaan CPU",
|
||||
|
@ -168,6 +168,7 @@
|
||||
"Applications that require authentication": "認証が必要なアプリケーション",
|
||||
"Avatar": "アバター",
|
||||
"Avatar - Tooltip": "ユーザーのパブリックアバター画像",
|
||||
"Back": "Back",
|
||||
"Back Home": "帰宅",
|
||||
"Cancel": "キャンセルします",
|
||||
"Captcha": "キャプチャ",
|
||||
@ -280,6 +281,7 @@
|
||||
"Sync": "同期",
|
||||
"Syncers": "シンカーズ",
|
||||
"System Info": "システム情報",
|
||||
"There was a problem signing you in..": "There was a problem signing you in..",
|
||||
"This is a read-only demo site!": "これは読み取り専用のデモサイトです!",
|
||||
"Timestamp": "タイムスタンプ",
|
||||
"Tokens": "トークン",
|
||||
@ -701,6 +703,8 @@
|
||||
"Table primary key - Tooltip": "テーブルのプライマリキー、例えばid"
|
||||
},
|
||||
"system": {
|
||||
"API Latency": "API Latency",
|
||||
"API Throughput": "API Throughput",
|
||||
"About Casdoor": "Casdoorについて",
|
||||
"An Identity and Access Management (IAM) / Single-Sign-On (SSO) platform with web UI supporting OAuth 2.0, OIDC, SAML and CAS": "ウェブUIを備えたアイデンティティおよびアクセス管理(IAM)/シングルサインオン(SSO)プラットフォームで、OAuth 2.0、OIDC、SAML、およびCASをサポートしています",
|
||||
"CPU Usage": "CPU使用率",
|
||||
|
@ -168,6 +168,7 @@
|
||||
"Applications that require authentication": "인증이 필요한 애플리케이션들",
|
||||
"Avatar": "아바타",
|
||||
"Avatar - Tooltip": "사용자를 위한 공개 아바타 이미지",
|
||||
"Back": "Back",
|
||||
"Back Home": "집으로 돌아오기",
|
||||
"Cancel": "취소",
|
||||
"Captcha": "캡차",
|
||||
@ -280,6 +281,7 @@
|
||||
"Sync": "싱크",
|
||||
"Syncers": "싱크어스",
|
||||
"System Info": "시스템 정보",
|
||||
"There was a problem signing you in..": "There was a problem signing you in..",
|
||||
"This is a read-only demo site!": "이것은 읽기 전용 데모 사이트입니다!",
|
||||
"Timestamp": "타임스탬프",
|
||||
"Tokens": "토큰",
|
||||
@ -701,6 +703,8 @@
|
||||
"Table primary key - Tooltip": "테이블의 기본 키, 예를 들어 id"
|
||||
},
|
||||
"system": {
|
||||
"API Latency": "API Latency",
|
||||
"API Throughput": "API Throughput",
|
||||
"About Casdoor": "카스도어에 대해",
|
||||
"An Identity and Access Management (IAM) / Single-Sign-On (SSO) platform with web UI supporting OAuth 2.0, OIDC, SAML and CAS": "웹 UI를 지원하는 ID 및 액세스 관리 (IAM) / 단일 사인온 (SSO) 플랫폼으로 OAuth 2.0, OIDC, SAML 및 CAS를 지원합니다",
|
||||
"CPU Usage": "CPU 사용량",
|
||||
|
@ -168,6 +168,7 @@
|
||||
"Applications that require authentication": "Приложения, которые требуют аутентификации",
|
||||
"Avatar": "Аватар",
|
||||
"Avatar - Tooltip": "Публичное изображение аватара пользователя",
|
||||
"Back": "Back",
|
||||
"Back Home": "Домой",
|
||||
"Cancel": "Отменить",
|
||||
"Captcha": "Капча",
|
||||
@ -280,6 +281,7 @@
|
||||
"Sync": "Синхронизация",
|
||||
"Syncers": "Синкеры",
|
||||
"System Info": "Системная информация",
|
||||
"There was a problem signing you in..": "There was a problem signing you in..",
|
||||
"This is a read-only demo site!": "Это демонстрационный сайт только для чтения!",
|
||||
"Timestamp": "Отметка времени",
|
||||
"Tokens": "Токены",
|
||||
@ -701,6 +703,8 @@
|
||||
"Table primary key - Tooltip": "Идентификатор (id) - основной ключ таблицы"
|
||||
},
|
||||
"system": {
|
||||
"API Latency": "API Latency",
|
||||
"API Throughput": "API Throughput",
|
||||
"About Casdoor": "Об Casdoor",
|
||||
"An Identity and Access Management (IAM) / Single-Sign-On (SSO) platform with web UI supporting OAuth 2.0, OIDC, SAML and CAS": "Платформа управления идентификацией и доступом (IAM) / единый вход в систему (SSO) с веб-интерфейсом, поддерживающая OAuth 2.0, OIDC, SAML и CAS",
|
||||
"CPU Usage": "Использование ЦПУ",
|
||||
|
@ -168,6 +168,7 @@
|
||||
"Applications that require authentication": "Các ứng dụng yêu cầu xác thực",
|
||||
"Avatar": "Ảnh đại diện",
|
||||
"Avatar - Tooltip": "Ảnh đại diện công khai cho người dùng",
|
||||
"Back": "Back",
|
||||
"Back Home": "Trở về nhà",
|
||||
"Cancel": "Hủy bỏ",
|
||||
"Captcha": "Captcha",
|
||||
@ -280,6 +281,7 @@
|
||||
"Sync": "Đồng bộ hoá",
|
||||
"Syncers": "Đồng bộ hóa",
|
||||
"System Info": "Thông tin hệ thống",
|
||||
"There was a problem signing you in..": "There was a problem signing you in..",
|
||||
"This is a read-only demo site!": "Đây là trang web giới thiệu chỉ có chức năng đọc!",
|
||||
"Timestamp": "Đánh dấu thời gian",
|
||||
"Tokens": "Mã thông báo",
|
||||
@ -701,6 +703,8 @@
|
||||
"Table primary key - Tooltip": "Khóa chính của bảng, ví dụ như id"
|
||||
},
|
||||
"system": {
|
||||
"API Latency": "API Latency",
|
||||
"API Throughput": "API Throughput",
|
||||
"About Casdoor": "Về Casdoor",
|
||||
"An Identity and Access Management (IAM) / Single-Sign-On (SSO) platform with web UI supporting OAuth 2.0, OIDC, SAML and CAS": "Một nền tảng Quản lý Danh tính và Truy cập (IAM) / Đăng nhập Một lần (SSO) với giao diện người dùng web hỗ trợ OAuth 2.0, OIDC, SAML và CAS",
|
||||
"CPU Usage": "Sử dụng CPU",
|
||||
|
@ -168,6 +168,7 @@
|
||||
"Applications that require authentication": "需要认证和鉴权的应用",
|
||||
"Avatar": "头像",
|
||||
"Avatar - Tooltip": "公开展示的用户头像",
|
||||
"Back": "返回",
|
||||
"Back Home": "返回到首页",
|
||||
"Cancel": "取消",
|
||||
"Captcha": "人机验证码",
|
||||
@ -280,6 +281,7 @@
|
||||
"Sync": "同步",
|
||||
"Syncers": "同步器",
|
||||
"System Info": "系统信息",
|
||||
"There was a problem signing you in..": "登录时遇到问题..",
|
||||
"This is a read-only demo site!": "这是一个只读演示站点!",
|
||||
"Timestamp": "时间戳",
|
||||
"Tokens": "令牌",
|
||||
@ -701,6 +703,8 @@
|
||||
"Table primary key - Tooltip": "表主键,如id等"
|
||||
},
|
||||
"system": {
|
||||
"API Latency": "API延迟",
|
||||
"API Throughput": "API吞吐量",
|
||||
"About Casdoor": "关于Casdoor",
|
||||
"An Identity and Access Management (IAM) / Single-Sign-On (SSO) platform with web UI supporting OAuth 2.0, OIDC, SAML and CAS": "一个支持OAuth 2.0、OIDC、SAML和CAS的Web UI优先的身份和访问管理(IAM)/单点登录(SSO)平台",
|
||||
"CPU Usage": "CPU使用率",
|
||||
|
Loading…
x
Reference in New Issue
Block a user