From 54b3f298831347d2e97622ced9a3dcf74df6cfac Mon Sep 17 00:00:00 2001 From: miraepa Date: Tue, 8 Oct 2024 23:29:29 +0900 Subject: [PATCH 1/2] Create ko.json Added Korean translation --- src/languages/ko.json | 197 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 197 insertions(+) create mode 100644 src/languages/ko.json diff --git a/src/languages/ko.json b/src/languages/ko.json new file mode 100644 index 000000000..46ad25f98 --- /dev/null +++ b/src/languages/ko.json @@ -0,0 +1,197 @@ +{ + "account": "계정", + "accounts": "계정들", + "account.id": "계정 ID", + "account.network.label": "네트워크", + "amount": "금액", + "anchor": "앵커", + "anchors": "앵커들", + "asset": "자산", + "assets": "자산들", + "assetCode": "자산 코드", + + "balance": "잔액", + "balances": "잔액들", + "base.fee": "기본 수수료", + "base.reserve": "기본 준비금", + "bought": "구매됨", + "buy": "구매", + "buyer": "구매자", + "code": "코드", + "contact.address.label": "주소", + + "csv-export": "CSV로 데이터 내보내기", + "csv-export.complete": "{count} 항목의 가져오기가 완료되었습니다!", + "csv-export.no-records": "가져올 기록이 없습니다.", + "csv-export.fetching": "가져오는 중…", + "csv-export.fetched": "지금까지 {count}개의 기록을 가져왔습니다.", + "csv-export.limit-exceeded": "{count} 항목의 내보내기 제한에 도달했습니다. 더 많은 기록이 있지만 브라우저 메모리 문제를 방지하기 위해 더 이상 지원하지 않습니다.", + + "currency": "통화", + + "data": "데이터", + "details": "상세 정보", + "distributers": "배포자(들)", + + "effect": "효과", + "effects": "효과들", + + "error.cant.find": "\"{searchStr}\"을(를) 찾을 수 없습니다", + "error.nothing.found": "\"{path}\"에 아무것도 존재하지 않습니다", + "error.network": "네트워크 오류가 발생했습니다. 연결을 확인하거나 브라우저 콘솔에서 메시지를 확인하세요.", + "error.unknown": "죄송합니다, 문제가 발생했습니다...", + "error.occurred": "오류가 발생했습니다: ", + "error.insecure-network": "호라이즌 주소가 안전하지 않습니다!", + "error.insecure-network.uri": "호라이즌 주소 \"{uri}\"가 안전하지 않습니다!", + "error.insecure-network.reason": "아마도 \"http\"로 시작하는 호라이즌 주소를 설정하려고 했을 수 있습니다. Stellar는 테스트넷에서만 \"http\"를 허용합니다.", + + "exchanges": "거래소", + + "fed.protocol": "연합 프로토콜", + "fed.url": "연합 URL", + "fee": "수수료", + "fee.pool": "수수료 풀", + "filter-active.for": "활성 필터", + "filter.for-operation-type": "작업 유형 필터", + "filter.more-data-possibly-available": "더 많은 기록이 있을 수 있지만, 일정 한도 이후 크롤링이 중단되었습니다. 다음 페이지로 이동하여 크롤링을 계속하세요.", + "flags": "플래그", + + "hash": "해시", + "home": "홈", + "home.domain": "홈 도메인", + + "inflation": "인플레이션 대상", + "invalid.account": "계정이 유효하지 않습니다", + "issued": "발행됨", + "issuer": "발행자", + "language.selector": "언어 선택기", + "latest.ledgers": "최신 블록", + "latest.operations": "최신 작업들", + "latest.payments": "최신 결제들", + "latest.txs": "최신 거래들", + "ledger": "블록", + "ledgers": "블록들", + "limit": "제한", + "logo": "로고", + + "key": "키", + "key.public": "공개 키", + + "max.transactions": "최대 거래 수", + "memo": "메모", + "memotype": "메모 유형", + "memotype.id": "ID", + "memotype.none": "없음", + "memotype.return": "반환", + "memotype.text": "텍스트", + "modal.trustline.anchor.label": "앵커", + "modal.trustline.anchor.placeholder": "앵커 도메인 또는 주소", + "modal.trustline.asset.label": "자산", + "modal.trustline.asset.placeholder": "자산 코드", + "more": "더 보기", + + "name": "이름", + "network": "네트워크", + "network.current": "현재 네트워크", + "network.set-custom": "사용자 정의 네트워크 설정", + "network.address": "네트워크 주소", + "network.choose": "목록에서 선택하세요:", + "network.or-custom": "…또는 사용자 정의 주소 입력:", + "network.change-here": "다른 네트워크 설정", + "network.public": "현재 이 퍼블릭 호라이즌 인스턴스를 사용 중입니다:", + "network.test": "현재 이 테스트넷 호라이즌 인스턴스를 사용 중입니다:", + "network.local": "현재 이 로컬 호라이즌 인스턴스를 사용 중입니다:", + "offer": "제안", + "offers": "제안들", + + "operation": "작업", + "operations": "작업들", + "ops": "작업", + + "operation.account.create": "{account} 계정이 {balance} 잔액으로 생성되었습니다", + "operation.account.merge": "계정이 {account}로 병합되었습니다", + "operation.bump": "시퀀스를 {sequence}로 증가", + "operation.inflation": "인플레이션 실행", + "operation.manage.data.remove": "키 {name} 제거", + "operation.manage.data.set": "키 {name} 설정", + "operation.manage.data.set.to": "을(를) {value}로 설정", + "operation.offer.remove": "제안 제거: {sellingAsset}을(를) {buyingAsset}에 {price}로 판매", + "operation.offer.sell": "판매 제안: {sellingAsset} {amount}을(를) {buyingAsset}에 {price}로 판매", + "operation.offer.update": "제안 업데이트: {sellingAsset} {amount}을(를) {buyingAsset}에 {price}로 판매", + "operation.options.set": "옵션 설정: [{options}]", + "operation.options.set.clear.flags_s": "플래그 제거: {value}", + "operation.options.set.set.flags_s": "플래그 설정: {value}", + "operation.options.set.home.domain": "홈 도메인: {value}", + "operation.options.set.inflation.dest": "인플레이션 대상: {value}", + "operation.options.set.master.key_weight": "마스터 키 가중치: {value}", + "operation.options.set.signer.key": "서명자 키: {value}", + "operation.options.set.signer.weight": "서명자 가중치: {value}", + "operation.options.set.high.threshold": "높은 임계값: {value}", + "operation.options.set.low.threshold": "낮은 임계값: {value}", + "operation.options.set.med.threshold": "중간 임계값: {value}", + "operation.payment": "{recipient}에게 {asset} {amount} 지급", + "operation.payment.path": " [출처: {asset} {amount}]", + "operation.trust": "{assetCode}을(를) 발행하는 {trustee} 신뢰", + "operation.trust.allow": " [승인: {authorize}, 신뢰인: {trustor}]", + "operation.trust.change": " 제한: {limit}", + "operation.unrecognized": "작업 {type}", + + "optional": "선택 사항", + "order.amount": "금액", + "order.value": "주문 가치", + + "paging.prev": "이전 페이지", + "paging.next": "다음 페이지", + "payment": "결제", + "payments": "결제들", + "prevHash": "이전 해시", + "price": "가격", + "protocolVersion": "프로토콜 버전", + "received": "수령됨", + "recipient": "수령인", + "remove": "제거", + + "save": "저장", + "search.placeHolder": "계정 / 거래 / ... 으로 검색", + "sell": "판매", + "seller": "판매자", + "sell.offers": "판매 제안들", + "sequence": "시퀀스", + "settings.federation": "연합 이름", + "settings.federation.label": "이름", + "settings.federation.placeholder": "연합 이름", + "settings.inflation": "인플레이션 대상", + "settings.language": "언어", + "settings.signers": "서명자", + "settings.trustlines": "신뢰선", + "signers": "서명자들", + "signing": "서명 중", + "sold": "판매됨", + "source.account": "출처", + "stellar.address": "Stellar 주소", + "stellar": "Stellar", + "subentry.count": "하위 항목 수", + + "thresholds": "임계값들", + "threshold.low": "낮음", + "threshold.medium": "중간", + "threshold.high": "높음", + "time": "시간", + "title": "Stellar 탐색기", + "total.coins": "총 코인 수", + "trade": "거래", + "trades": "거래들", + "translate.help": "번역 도움", + "transaction": "거래", + "transactions": "거래들", + "transactions.failed": "실패한 거래들", + "transaction.details": "거래 세부 정보", + "trust": "신뢰", + "trust.limit": "신뢰 한도", + "type": "유형", + + "value": "값", + "version": "버전", + "view.all": "모두 보기", + "weight": "가중치" +} From 1d17ec06e3a1cdbc259263281289a2f45a6a9974 Mon Sep 17 00:00:00 2001 From: miraepa Date: Tue, 8 Oct 2024 23:45:07 +0900 Subject: [PATCH 2/2] Added Korean translation --- src/App.js | 7 ++++++- src/components/layout/LanguageSelector.js | 3 +++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/App.js b/src/App.js index c1edf3462..00d469fb7 100644 --- a/src/App.js +++ b/src/App.js @@ -22,6 +22,7 @@ import ha from 'react-intl/locale-data/ha' import it from 'react-intl/locale-data/it' import ne from 'react-intl/locale-data/ne' import pt from 'react-intl/locale-data/pt' +import ko from 'react-intl/locale-data/ko' @@ -40,6 +41,7 @@ import haMessages from './languages/hau.json' import itMessages from './languages/it' import neMessages from './languages/ne' import ptMessages from './languages/pt' +import koMessages from './languages/ko' import Header from './components/layout/Header' @@ -81,8 +83,9 @@ addLocaleData([ ...it, ...ne, ...pt, + ...ko, ]) -const locales = ['en', 'fr', 'hi', 'id', 'ja', 'ru', 'ur', 'vi', 'zh-Hans', 'zh-Hant', 'ha', 'it', 'ne', 'pt'] +const locales = ['en', 'fr', 'hi', 'id', 'ja', 'ru', 'ur', 'vi', 'zh-Hans', 'zh-Hant', 'ha', 'it', 'ne', 'pt', 'ko'] let initialLanguage = storage.getItem('language') || navigator.language || 'en' if(!locales.includes(initialLanguage) ){ @@ -123,6 +126,8 @@ const getMessages = locale => { return neMessages case 'pt': return ptMessages + case 'ko': + return koMessages default: return enMessages } diff --git a/src/components/layout/LanguageSelector.js b/src/components/layout/LanguageSelector.js index 5e848bb93..ab04c55c4 100644 --- a/src/components/layout/LanguageSelector.js +++ b/src/components/layout/LanguageSelector.js @@ -38,6 +38,9 @@ const LanguageSelector = ({ 中文 (繁體) + + 한글 + Pусский