|
| 1 | +/** |
| 2 | + * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). |
| 3 | + * |
| 4 | + * WSO2 LLC. licenses this file to you under the Apache License, |
| 5 | + * Version 2.0 (the "License"); you may not use this file except |
| 6 | + * in compliance with the License. |
| 7 | + * You may obtain a copy of the License at |
| 8 | + * |
| 9 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | + * |
| 11 | + * Unless required by applicable law or agreed to in writing, |
| 12 | + * software distributed under the License is distributed on an |
| 13 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 14 | + * KIND, either express or implied. See the License for the |
| 15 | + * specific language governing permissions and limitations |
| 16 | + * under the License. |
| 17 | + */ |
| 18 | + |
| 19 | +/* eslint-disable sort-keys */ |
| 20 | +/* eslint-disable @typescript-eslint/naming-convention */ |
| 21 | + |
| 22 | +import {I18nTranslations, I18nMetadata, I18nBundle} from '../models/i18n'; |
| 23 | + |
| 24 | +const translations: I18nTranslations = { |
| 25 | + /* |---------------------------------------------------------------| */ |
| 26 | + /* | Elements | */ |
| 27 | + /* |---------------------------------------------------------------| */ |
| 28 | + |
| 29 | + /* Buttons */ |
| 30 | + 'elements.buttons.signIn': 'ログイン', |
| 31 | + 'elements.buttons.signOut': 'ログアウト', |
| 32 | + 'elements.buttons.signUp': 'サインアップ', |
| 33 | + 'elements.buttons.facebook': 'Facebookで続行', |
| 34 | + 'elements.buttons.google': 'Googleで続行', |
| 35 | + 'elements.buttons.github': 'GitHubで続行', |
| 36 | + 'elements.buttons.microsoft': 'Microsoftで続行', |
| 37 | + 'elements.buttons.linkedin': 'LinkedInで続行', |
| 38 | + 'elements.buttons.ethereum': 'Ethereumでサインイン', |
| 39 | + 'elements.buttons.multi.option': '{connection}で続行', |
| 40 | + 'elements.buttons.social': '{connection}で続行', |
| 41 | + |
| 42 | + /* Fields */ |
| 43 | + 'elements.fields.placeholder': '{field}を入力してください', |
| 44 | + |
| 45 | + /* |---------------------------------------------------------------| */ |
| 46 | + /* | Widgets | */ |
| 47 | + /* |---------------------------------------------------------------| */ |
| 48 | + |
| 49 | + /* Base Sign In */ |
| 50 | + 'signin.title': 'ログイン', |
| 51 | + 'signin.subtitle': '続行するには認証情報を入力してください。', |
| 52 | + |
| 53 | + /* Base Sign Up */ |
| 54 | + 'signup.title': 'サインアップ', |
| 55 | + 'signup.subtitle': 'はじめるには新しいアカウントを作成してください。', |
| 56 | + |
| 57 | + /* Email OTP */ |
| 58 | + 'email.otp.title': 'OTP認証', |
| 59 | + 'email.otp.subtitle': 'メールに送信されたコードを入力してください。', |
| 60 | + 'email.otp.submit.button': '続行', |
| 61 | + |
| 62 | + /* Identifier First */ |
| 63 | + 'identifier.first.title': 'ログイン', |
| 64 | + 'identifier.first.subtitle': 'ユーザー名またはメールアドレスを入力してください。', |
| 65 | + 'identifier.first.submit.button': '続行', |
| 66 | + |
| 67 | + /* SMS OTP */ |
| 68 | + 'sms.otp.title': 'OTP認証', |
| 69 | + 'sms.otp.subtitle': '電話番号に送信されたコードを入力してください。', |
| 70 | + 'sms.otp.submit.button': '続行', |
| 71 | + |
| 72 | + /* TOTP */ |
| 73 | + 'totp.title': '本人確認', |
| 74 | + 'totp.subtitle': '認証アプリのコードを入力してください。', |
| 75 | + 'totp.submit.button': '続行', |
| 76 | + |
| 77 | + /* Username Password */ |
| 78 | + 'username.password.submit.button': '続行', |
| 79 | + 'username.password.title': 'ログイン', |
| 80 | + 'username.password.subtitle': 'ユーザー名とパスワードを入力してください。', |
| 81 | + |
| 82 | + /* |---------------------------------------------------------------| */ |
| 83 | + /* | User Profile | */ |
| 84 | + /* |---------------------------------------------------------------| */ |
| 85 | + |
| 86 | + 'user.profile.title': 'プロフィール', |
| 87 | + 'user.profile.update.generic.error': 'プロフィール更新中にエラーが発生しました。もう一度お試しください。', |
| 88 | + |
| 89 | + /* |---------------------------------------------------------------| */ |
| 90 | + /* | Organization Switcher | */ |
| 91 | + /* |---------------------------------------------------------------| */ |
| 92 | + |
| 93 | + 'organization.switcher.select.organization': '組織を選択', |
| 94 | + 'organization.switcher.switch.organization': '組織を切り替え', |
| 95 | + 'organization.switcher.loading.organizations': '組織を読み込み中…', |
| 96 | + 'organization.switcher.members': 'メンバー', |
| 97 | + 'organization.switcher.member': 'メンバー', |
| 98 | + 'organization.switcher.create.organization': '組織を作成', |
| 99 | + 'organization.switcher.manage.organizations': '組織を管理', |
| 100 | + 'organization.switcher.manage.button': '管理', |
| 101 | + 'organization.switcher.organizations.title': '組織', |
| 102 | + 'organization.switcher.switch.button': '切り替え', |
| 103 | + 'organization.switcher.no.access': 'アクセス権がありません', |
| 104 | + 'organization.switcher.status.label': 'ステータス:', |
| 105 | + 'organization.switcher.showing.count': '全{total}件中{showing}件を表示', |
| 106 | + 'organization.switcher.refresh.button': '更新', |
| 107 | + 'organization.switcher.load.more': 'さらに読み込む', |
| 108 | + 'organization.switcher.loading.more': '読み込み中…', |
| 109 | + 'organization.switcher.no.organizations': '組織が見つかりません', |
| 110 | + 'organization.switcher.error.prefix': 'エラー:', |
| 111 | + 'organization.profile.title': '組織プロファイル', |
| 112 | + 'organization.profile.loading': '組織を読み込み中…', |
| 113 | + 'organization.profile.error': '組織の読み込みに失敗しました', |
| 114 | + |
| 115 | + 'organization.create.title': '組織の作成', |
| 116 | + 'organization.create.name.label': '組織名', |
| 117 | + 'organization.create.name.placeholder': '組織名を入力', |
| 118 | + 'organization.create.handle.label': '組織ハンドル', |
| 119 | + 'organization.create.handle.placeholder': 'my-organization', |
| 120 | + 'organization.create.description.label': '説明', |
| 121 | + 'organization.create.description.placeholder': '組織の説明を入力', |
| 122 | + 'organization.create.button': '組織を作成', |
| 123 | + 'organization.create.creating': '作成中…', |
| 124 | + 'organization.create.cancel': 'キャンセル', |
| 125 | + |
| 126 | + /* |---------------------------------------------------------------| */ |
| 127 | + /* | Messages | */ |
| 128 | + /* |---------------------------------------------------------------| */ |
| 129 | + |
| 130 | + 'messages.loading': '読み込み中…', |
| 131 | + |
| 132 | + /* |---------------------------------------------------------------| */ |
| 133 | + /* | Errors | */ |
| 134 | + /* |---------------------------------------------------------------| */ |
| 135 | + |
| 136 | + 'errors.title': 'エラー', |
| 137 | + 'errors.sign.in.initialization': '初期化中にエラーが発生しました。後でもう一度お試しください。', |
| 138 | + 'errors.sign.in.flow.failure': 'サインイン処理中にエラーが発生しました。後でもう一度お試しください。', |
| 139 | + 'errors.sign.in.flow.completion.failure': |
| 140 | + 'サインイン処理の完了中にエラーが発生しました。後でもう一度お試しください。', |
| 141 | + 'errors.sign.in.flow.passkeys.failure': 'パスキーでのサインイン中にエラーが発生しました。後でもう一度お試しください。', |
| 142 | + 'errors.sign.in.flow.passkeys.completion.failure': |
| 143 | + 'パスキーによるサインイン完了中にエラーが発生しました。後でもう一度お試しください。', |
| 144 | +}; |
| 145 | + |
| 146 | +const metadata: I18nMetadata = { |
| 147 | + localeCode: 'ja-JP', |
| 148 | + countryCode: 'JP', |
| 149 | + languageCode: 'ja', |
| 150 | + displayName: '日本語 (日本)', |
| 151 | + direction: 'ltr', |
| 152 | +}; |
| 153 | + |
| 154 | +const ja_JP: I18nBundle = { |
| 155 | + metadata, |
| 156 | + translations, |
| 157 | +}; |
| 158 | + |
| 159 | +export default ja_JP; |
0 commit comments