From 45f20e3f05cbbaa62a0689999a98529e09158bae Mon Sep 17 00:00:00 2001 From: koji Date: Sat, 17 Oct 2020 22:33:46 -0400 Subject: [PATCH 1/6] WIP translate translations.json --- client/components/Nav.jsx | 10 + client/i18n.js | 12 +- translations/locales/ja/translations.json | 591 ++++++++++++++++++++++ 3 files changed, 609 insertions(+), 4 deletions(-) create mode 100644 translations/locales/ja/translations.json diff --git a/client/components/Nav.jsx b/client/components/Nav.jsx index cd20a91522..64b2025faf 100644 --- a/client/components/Nav.jsx +++ b/client/components/Nav.jsx @@ -582,6 +582,16 @@ class Nav extends React.PureComponent { Español +
  • + +
  • diff --git a/client/i18n.js b/client/i18n.js index 6a20bc0e9a..991799d0d0 100644 --- a/client/i18n.js +++ b/client/i18n.js @@ -2,15 +2,16 @@ import i18n from 'i18next'; import { initReactI18next } from 'react-i18next'; import LanguageDetector from 'i18next-browser-languagedetector'; import Backend from 'i18next-http-backend'; -import { enUS, es } from 'date-fns/locale'; +import { enUS, es, ja } from 'date-fns/locale'; const fallbackLng = ['en-US']; -const availableLanguages = ['en-US', 'es-419']; +const availableLanguages = ['en-US', 'es-419', 'ja']; export function languageKeyToLabel(lang) { const languageMap = { 'en-US': 'English', - 'es-419': 'Español' + 'es-419': 'Español', + 'ja': 'Japanese' }; return languageMap[lang]; } @@ -18,7 +19,8 @@ export function languageKeyToLabel(lang) { export function languageKeyToDateLocale(lang) { const languageMap = { 'en-US': enUS, - 'es-419': es + 'es-419': es, + 'ja': ja }; return languageMap[lang]; } @@ -35,6 +37,8 @@ const options = { allowMultiLoading: false, // set loadPath: '/locales/resources.json?lng={{lng}}&ns={{ns}}' to adapt to multiLoading }; +console.log('options', options); + i18n .use(initReactI18next) // pass the i18n instance to react-i18next. // .use(LanguageDetector)// to detect the language from currentBrowser diff --git a/translations/locales/ja/translations.json b/translations/locales/ja/translations.json new file mode 100644 index 0000000000..03b8ad3405 --- /dev/null +++ b/translations/locales/ja/translations.json @@ -0,0 +1,591 @@ +{ + "Nav": { + "File": { + "Title": "ファイル", + "New": "新規作成", + "Share": "共有", + "Duplicate": "複製", + "Open": "開く", + "Download": "ダウンロード", + "AddToCollection": "Add to Collection", + "Examples": "サンプル" + }, + "Edit": { + "Title": "編集", + "TidyCode": "Tidy Code", + "Find": "Find", + "FindNext": "Find Next", + "FindPrevious": "Find Previous" + }, + "Sketch": { + "Title": "スケッチ", + "AddFile": "ファイル追加", + "AddFolder": "フォルダ追加", + "Run": "実行", + "Stop": "停止" + }, + "Help": { + "Title": "ヘルプ", + "KeyboardShortcuts": "キーボードショートカット", + "Reference": "リファレンス", + "About": "ウェブエディタについて" + }, + "Lang": "言語", + "BackEditor": "エディタに戻る", + "WarningUnsavedChanges": "このページを離れてもよろしいですか?未保存の変更があります。", + "Login": "ログイン", + "LoginOr": "or", + "SignUp": "サインアップ", + "Auth": { + "Welcome": "ようこそ", + "Hello": "こんにちは", + "MyAccount": "マイアカウント", + "My": "My", + "MySketches": "マイスケッチ", + "MyCollections": "マイコレクション", + "Asset": "アセット", + "MyAssets": "マイアセット", + "LogOut": "ログアウト" + } + }, + "LoginForm": { + "UsernameOrEmail": "eメールもしくはユーザ名", + "UsernameOrEmailARIA": "eメールもしくはユーザ名", + "Password": "パスワード", + "PasswordARIA": "パスワード", + "Submit": "ログイン" + }, + "LoginView": { + "Title": "p5.js ウェブエディタ | ログイン", + "Login": "ログイン", + "LoginOr": "or", + "SignUp": "サインアップ", + "Email": "eメール", + "Username": "ユーザ名", + "DontHaveAccount": "ユーザー登録してない場合", + "ForgotPassword": "パスワードを忘れた場合", + "ResetPassword": "パスワードの再設定" + }, + "SocialAuthButton": { + "Connect": "Connect {{serviceauth}} Account", + "Unlink": "Unlink {{serviceauth}} Account", + "Login": "Login with {{serviceauth}}", + "LogoARIA": "{{serviceauth}} logo" + }, + "About": { + "Title": "ウェブエディタについて", + "TitleHelmet": "p5.js ウェブエディタ | ウェブエディタについて", + "Contribute": "コントリビュート", + "NewP5": "p5.jsは初めて?", + "Report": "バグ報告", + "Learn": "学ぶ", + "Resources": "リソース", + "Libraries": "ライブラリ", + "Forum": "フォーラム", + "Examples": "サンプル" + }, + "Toast": { + "OpenedNewSketch": "新しいスケッチを開きました", + "SketchSaved": "スケッチを保存しました", + "SketchFailedSave": "スケッチの保存に失敗しました", + "AutosaveEnabled": "自動保存を有効にしました", + "LangChange": "言語を変更しました", + "SettingsSaved": "設定を保存しました" + }, + "Toolbar": { + "Preview": "プレビュー", + "Auto-refresh": "オートリフレッシュ", + "OpenPreferencesARIA": "設定を開く", + "PlaySketchARIA": "スケッチを実行", + "PlayOnlyVisualSketchARIA": "Play only visual sketch", + "StopSketchARIA": "スケッチを停止", + "EditSketchARIA": "スケッチ名を編集", + "NewSketchNameARIA": "新しいスケッチ名", + "By": " by " + }, + "Console": { + "Title": "コンソール", + "Clear": "クリア", + "ClearARIA": "コンソールをクリア", + "Close": "Close", + "CloseARIA": "コンソールを閉じる", + "Open": "開く", + "OpenARIA": "コンソールを開く" + }, + "Preferences": { + "Settings": "設定", + "GeneralSettings": "一般設定", + "Accessibility": "アクセシビリティ", + "Theme": "テーマ", + "LightTheme": "ライト", + "LightThemeARIA": "ライトテーマ 有効", + "DarkTheme": "ダーク", + "DarkThemeARIA": "ダークテーマ 有効", + "HighContrastTheme": "ハイコントラスト", + "HighContrastThemeARIA": "ハイコントラストテーマ 有効", + "TextSize": "テキストサイズ", + "DecreaseFont": "小さくする", + "DecreaseFontARIA": "フォントサイズを小さくする", + "IncreaseFont": "大きくする", + "IncreaseFontARIA": "フォントサイズを大きくする", + "Autosave": "自動保存", + "On": "オン", + "AutosaveOnARIA": "自動保存 オン", + "Off": "オフ", + "AutosaveOffARIA": "自動保存 オフ", + "AutocloseBracketsQuotes": "Autoclose Brackets and Quotes", + "AutocloseBracketsQuotesOnARIA": "autoclose brackets and quotes on", + "AutocloseBracketsQuotesOffARIA": "autoclose brackets and quotes off", + "WordWrap": "ワードラップ", + "LineWrapOnARIA": "ラインラップ 有効", + "LineWrapOffARIA": "ラインラップ 無効", + "LineNumbers": "行番号", + "LineNumbersOnARIA": "行番号 表示", + "LineNumbersOffARIA": "行番号 非表示", + "LintWarningSound": "Lint warning sound", + "LintWarningOnARIA": "lint warning on", + "LintWarningOffARIA": "lint warning off", + "PreviewSound": "Preview sound", + "PreviewSoundARIA": "preview sound", + "AccessibleTextBasedCanvas": "Accessible text-based canvas", + "UsedScreenReader": "Used with screen reader", + "PlainText": "Plain-text", + "TextOutputARIA": "text output on", + "TableText": "Table-text", + "TableOutputARIA": "table output on", + "Sound": "Sound", + "SoundOutputARIA": "sound output on" + }, + "KeyboardShortcuts": { + "Title": " キーボードショートカット", + "ShortcutsFollow": "Code editing keyboard shortcuts follow", + "SublimeText": "Sublime Text shortcuts", + "CodeEditing": { + "Tidy": "Tidy", + "FindText": "Find Text", + "FindNextMatch": "Find Next Match", + "FindPrevMatch": "Find Previous Match", + "IndentCodeLeft": "Indent Code Left", + "IndentCodeRight": "Indent Code Right", + "CommentLine": "Comment Line", + "FindNextTextMatch": "Find Next Text Match", + "FindPreviousTextMatch": "Find Previous Text Match", + "CodeEditing": "Code Editing" + }, + "General": { + "StartSketch": "Start Sketch", + "StopSketch": "Stop Sketch", + "TurnOnAccessibleOutput": "Turn On Accessible Output", + "TurnOffAccessibleOutput": "Turn Off Accessible Output" + } + }, + "Sidebar": { + "Title": "Sketch Files", + "ToggleARIA": "Toggle open/close sketch file options", + "AddFolder": "Create folder", + "AddFolderARIA": "add folder", + "AddFile": "Create file", + "AddFileARIA": "add file", + "UploadFile": "Upload file", + "UploadFileARIA": "upload file" + }, + "FileNode": { + "OpenFolderARIA": "フォルダのコンテンツを開く", + "CloseFolderARIA": "フォルダのコンテンツを閉じる", + "ToggleFileOptionsARIA": "Toggle open/close file options", + "AddFolder": "フォルダ作成", + "AddFolderARIA": "フォルダ追加", + "AddFile": "ファイル作成", + "AddFileARIA": "ファイル追加", + "UploadFile": "ファイルアップロード", + "UploadFileARIA": "ファイルアップロード", + "Rename": "名称変更", + "Delete": "削除" + }, + "Common": { + "Error": "エラー", + "ErrorARIA": "エラー", + "Save": "保存", + "p5logoARIA": "p5.js ロゴ", + "DeleteConfirmation": "{{name}}を削除してもよろしいですか?" + }, + "IDEView": { + "SubmitFeedback": "フィードバック送信", + "SubmitFeedbackARIA": "フィードバックを送信", + "AddCollectionTitle": "コレクション追加", + "AddCollectionARIA":"コレクションに追加する", + "ShareTitle": "共有", + "ShareARIA":"共有する" + }, + "NewFileModal": { + "Title": "ファイル作成", + "CloseButtonARIA": "Close New File Modal", + "EnterName": "ファイル名を入力してください", + "InvalidType": "ファイルタイプが無効です。有効な拡張子は、.js、.css、.json、.txt、.csv、.tsv、.frag、.vertです。" + }, + "NewFileForm": { + "AddFileSubmit": "ファイル追加", + "Placeholder": "ファイル名" + }, + "NewFolderModal": { + "Title": "フォルダ作成", + "CloseButtonARIA": "Close New Folder Modal", + "EnterName": "フォルダ名を入力してください", + "EmptyName": "フォルダ名にはスペースのみを含めることはできません", + "InvalidExtension": "フォルダ名に拡張子を含めることはできません" + }, + "NewFolderForm": { + "AddFolderSubmit": "フォルダ追加", + "Placeholder": "フォルダ名" + }, + "ResetPasswordForm": { + "Email": "登録に使用したメール", + "EmailARIA": "eメール", + "Submit": "パスワードリセットのメールを送信する" + }, + "ResetPasswordView": { + "Title": "p5.js Web Editor | パスワードリセット", + "Reset": "パスワードをリセットする", + "Submitted": "Your password reset email should arrive shortly. If you don't see it, check\n in your spam folder as sometimes it can end up there.", + "Login": "ログイン", + "LoginOr": "or", + "SignUp": "サインアップ" + }, + "ReduxFormUtils": { + "errorInvalidEmail": "Please enter a valid email address", + "errorEmptyEmail": "Please enter an email", + "errorPasswordMismatch": "Passwords must match", + "errorEmptyPassword": "Please enter a password", + "errorShortPassword": "Password must be at least 6 characters", + "errorConfirmPassword": "Please enter a password confirmation", + "errorNewPassword": "Please enter a new password or leave the current password empty.", + "errorEmptyUsername": "Please enter a username.", + "errorLongUsername": "Username must be less than 20 characters.", + "errorValidUsername": "Username must only consist of numbers, letters, periods, dashes, and underscores." + }, + "NewPasswordView": { + "Title": "p5.js Web Editor | New Password", + "Description": "Set a New Password", + "TokenInvalidOrExpired": "The password reset token is invalid or has expired.", + "EmptyPassword": "Please enter a password", + "PasswordConfirmation": "Please enter a password confirmation", + "PasswordMismatch": "Passwords must match" + }, + "AccountForm": { + "Email": "Email", + "EmailARIA": "email", + "Unconfirmed": "Unconfirmed.", + "EmailSent": "Confirmation sent, check your email.", + "Resend": "Resend confirmation email", + "UserName": "User Name", + "UserNameARIA": "Username", + "CurrentPassword": "Current Password", + "CurrentPasswordARIA": "Current Password", + "NewPassword": "New Password", + "NewPasswordARIA": "New Password", + "SubmitSaveAllSettings": "Save All Settings" + }, + "AccountView": { + "SocialLogin": "Social Login", + "SocialLoginDescription": "Use your GitHub or Google account to log into the p5.js Web Editor.", + "Title": "p5.js Web Editor | Account Settings", + "Settings": "Account Settings", + "AccountTab": "Account", + "AccessTokensTab": "Access Tokens" + }, + "APIKeyForm": { + "ConfirmDelete": "Are you sure you want to delete {{key_label}}?", + "Summary": "Personal Access Tokens act like your password to allow automated\n scripts to access the Editor API. Create a token for each script\n that needs access.", + "CreateToken": "Create new token", + "TokenLabel": "What is this token for?", + "TokenPlaceholder": "What is this token for? e.g. Example import script", + "CreateTokenSubmit": "Create", + "NoTokens": "You have no existing tokens.", + "NewTokenTitle": "Your new access token", + "NewTokenInfo": "Make sure to copy your new personal access token now.\n You won’t be able to see it again!", + "ExistingTokensTitle": "Existing tokens" + }, + "APIKeyList": { + "Name": "Name", + "Created": "Created on", + "LastUsed": "Last used", + "Actions": "Actions", + "Never": "Never", + "DeleteARIA": "Delete API Key" + }, + "NewPasswordForm": { + "Title": "Password", + "TitleARIA": "Password", + "ConfirmPassword": "Confirm Password", + "ConfirmPasswordARIA": "Confirm Password", + "SubmitSetNewPassword": "Set New Password" + }, + "SignupForm": { + "Title": "User Name", + "TitleARIA": "username", + "Email": "Email", + "EmailARIA": "email", + "Password": "Password", + "PasswordARIA": "password", + "ConfirmPassword": "Confirm Password", + "ConfirmPasswordARIA": "Confirm password", + "SubmitSignup": "Sign Up" + }, + "SignupView": { + "Title": "p5.js Web Editor | Signup", + "Description": "Sign Up", + "Or": "Or", + "AlreadyHave": "Already have an account?", + "Login": "Log In" + }, + "EmailVerificationView": { + "Title": "p5.js Web Editor | Email Verification", + "Verify": "Verify your email", + "InvalidTokenNull": "That link is invalid.", + "Checking": "Validating token, please wait...", + "Verified": "All done, your email address has been verified.", + "InvalidState": "Something went wrong." + }, + "AssetList": { + "Title": "p5.js Web Editor | My assets", + "ToggleOpenCloseARIA": "Toggle Open/Close Asset Options", + "Delete": "Delete", + "OpenNewTab": "Open in New Tab", + "NoUploadedAssets": "No uploaded assets.", + "HeaderName": "Name", + "HeaderSize": "Size", + "HeaderSketch": "Sketch" + }, + "Feedback": { + "Title": "p5.js Web Editor | Feedback", + "ViaGithubHeader": "Via Github Issues", + "ViaGithubDescription": "If you're familiar with Github, this is our preferred method for receiving bug reports and feedback.", + "GoToGithub": "Go to Github", + "ViaGoogleHeader": "Via Google Form", + "ViaGoogleDescription": "You can also submit this quick form.", + "GoToForm": "Go to Form" + }, + "Searchbar": { + "SearchSketch": "Search sketches...", + "SearchCollection": "Search collections...", + "ClearTerm": "clear" + }, + "UploadFileModal": { + "Title": "Upload File", + "CloseButtonARIA": "Close upload file modal", + "SizeLimitError": "Error: You cannot upload any more files. You have reached the total size limit of {{sizeLimit}}.\n If you would like to upload more, please remove the ones you aren't using anymore by\n in your " + }, + "FileUploader": { + "DictDefaultMessage": "Drop files here or click to use the file browser" + }, + "ErrorModal": { + "MessageLogin": "In order to save sketches, you must be logged in. Please ", + "Login": "Login", + "LoginOr": " or ", + "SignUp": "Sign Up", + "MessageLoggedOut": "It looks like you've been logged out. Please ", + "LogIn": "log in", + "SavedDifferentWindow": "The project you have attempted to save has been saved from another window.\n Please refresh the page to see the latest version.", + "LinkTitle": "Error Linking Account", + "LinkMessage": "There was a problem linking your {{serviceauth}} account to your p5.js Web Editor account. Your {{serviceauth}} account has already been linked to another p5.js Web Editor account." + }, + "ShareModal": { + "Embed": "Embed", + "Present": "Present", + "Fullscreen": "Fullscreen", + "Edit": "Edit" + }, + "CollectionView": { + "TitleCreate": "Create collection", + "TitleDefault": "collection" + }, + "Collection": { + "Title": "p5.js Web Editor | My collections", + "AnothersTitle": "p5.js Web Editor | {{anotheruser}}'s collections", + "Share": "Share", + "URLLink": "Link to Collection", + "AddSketch": "Add Sketch", + "DeleteFromCollection": "Are you sure you want to remove {{name_sketch}} from this collection?", + "SketchDeleted": "Sketch deleted", + "SketchRemoveARIA": "Remove sketch from collection", + "DescriptionPlaceholder": "Add description", + "Description": "description", + "NumSketches": "{{count}} sketch", + "NumSketches_plural": "{{count}} sketches", + "By":"Collection by ", + "NoSketches": "No sketches in collection", + "TableSummary": "table containing all collections", + "HeaderName": "Name", + "HeaderCreatedAt": "Date Added", + "HeaderUser": "Owner", + "DirectionAscendingARIA": "Ascending", + "DirectionDescendingARIA": "Descending", + "ButtonLabelAscendingARIA": "Sort by {{displayName}} ascending.", + "ButtonLabelDescendingARIA": "Sort by {{displayName}} descending." + }, + "AddToCollectionList": { + "Title": "p5.js Web Editor | My collections", + "AnothersTitle": "p5.js Web Editor | {{anotheruser}}'s collections", + "Empty": "No collections" + }, + "CollectionCreate": { + "Title": "p5.js Web Editor | Create collection", + "FormError": "Couldn't create collection", + "FormLabel": "Collection name", + "FormLabelARIA": "name", + "NameRequired": "Collection name is required", + "Description": "Description (optional)", + "DescriptionARIA": "description", + "DescriptionPlaceholder": "My fave sketches", + "SubmitCollectionCreate": "Create collection" + }, + "DashboardView": { + "CreateCollection": "Create collection", + "NewSketch": "New sketch", + "CreateCollectionOverlay": "Create collection" + }, + "DashboardTabSwitcher": { + "Sketches": "Sketches", + "Collections": "Collections", + "Assets": "Assets" + }, + "CollectionList": { + "Title": "p5.js Web Editor | My collections", + "AnothersTitle": "p5.js Web Editor | {{anotheruser}}'s collections", + "NoCollections": "No collections.", + "TableSummary": "table containing all collections", + "HeaderName": "Name", + "HeaderCreatedAt": "Date Created", + "HeaderCreatedAt_mobile": "Created", + "HeaderUpdatedAt": "Date Updated", + "HeaderUpdatedAt_mobile": "Updated", + "HeaderNumItems": "# sketches", + "HeaderNumItems_mobile": "# sketches", + "DirectionAscendingARIA": "Ascending", + "DirectionDescendingARIA": "Descending", + "ButtonLabelAscendingARIA": "Sort by {{displayName}} ascending.", + "ButtonLabelDescendingARIA": "Sort by {{displayName}} descending.", + "AddSketch": "Add Sketch" + }, + "CollectionListRow": { + "ToggleCollectionOptionsARIA": "Toggle Open/Close collection options", + "AddSketch": "Add sketch", + "Delete": "Delete", + "Rename": "Rename" + }, + "Overlay": { + "AriaLabel": "Close {{title}} overlay" + }, + "QuickAddList":{ + "ButtonRemoveARIA": "Remove from collection", + "ButtonAddToCollectionARIA": "Add to collection", + "View": "View" + }, + "SketchList": { + "View": "View", + "Title": "p5.js Web Editor | My sketches", + "AnothersTitle": "p5.js Web Editor | {{anotheruser}}'s sketches", + "ToggleLabelARIA": "Toggle Open/Close Sketch Options", + "DropdownRename": "Rename", + "DropdownDownload": "Download", + "DropdownDuplicate": "Duplicate", + "DropdownAddToCollection": "Add to collection", + "DropdownDelete": "Delete", + "DirectionAscendingARIA": "Ascending", + "DirectionDescendingARIA": "Descending", + "ButtonLabelAscendingARIA": "Sort by {{displayName}} ascending.", + "ButtonLabelDescendingARIA": "Sort by {{displayName}} descending.", + "AddToCollectionOverlayTitle": "Add to collection", + "TableSummary": "table containing all saved projects", + "HeaderName": "Sketch", + "HeaderCreatedAt": "Date Created", + "HeaderCreatedAt_mobile": "Created", + "HeaderUpdatedAt": "Date Updated", + "HeaderUpdatedAt_mobile": "Updated", + "NoSketches": "No sketches." + }, + "AddToCollectionSketchList": { + "Title": "p5.js Web Editor | My sketches", + "AnothersTitle": "p5.js Web Editor | {{anotheruser}}'s sketches", + "NoCollections": "No collections." + }, + "Editor": { + "OpenSketchARIA": "Open Sketch files navigation", + "CloseSketchARIA": "Close Sketch files navigation", + "UnsavedChangesARIA": "Sketch has unsaved changes", + "KeyUpLineNumber": "line {{lineNumber}}" + }, + "EditorAccessibility": { + "NoLintMessages": "There are no lint messages ", + "CurrentLine": " Current line" + }, + "Timer": { + "SavedAgo": "Saved: {{timeAgo}}" + }, + "formatDate": { + "JustNow": "just now", + "15Seconds": "15秒前", + "25Seconds": "25秒前", + "35Seconds": "35秒前", + "Ago": "{{timeAgo}}前" + }, + "AddRemoveButton": { + "AltAddARIA": "Add to collection", + "AltRemoveARIA": "コレクションから削除する" + }, + "CopyableInput": { + "CopiedARIA": "クリップボードへコピーしました!", + "OpenViewTabARIA": "Open {{label}} view in new tab" + }, + "EditableInput": { + "EditValue": "Edit {{display}} value", + "EmptyPlaceholder": "No value" + }, + "PreviewNav": { + "EditSketchARIA": "スケッチを編集する", + "ByUser": "by" + }, + "MobilePreferences": { + "Settings": "設定", + "GeneralSettings": "一般設定", + "Accessibility": "アクセシビリティ", + "AccessibleOutput": "Accessible Output", + "Theme": "テーマ", + "LightTheme": "ライト", + "DarkTheme": "ダーク", + "HighContrastTheme": "ハイコントラスト", + "Autosave": "自動保存", + "WordWrap": "Word Wrap", + "LineNumbers": "行番号", + "LintWarningSound": "Lint warning sound", + "UsedScreenReader": "Used with screen reader", + "PlainText": "Plain-text", + "TableText": "Table-text", + "Sound": "Sound" + }, + "PreferenceCreators": { + "On": "On", + "Off": "Off" + }, + "MobileIDEView":{ + "Preferences": "設定", + "MyStuff": "My Stuff", + "Examples": "サンプル", + "OriginalEditor": "Original Editor", + "Login": "ログイン", + "Logout": "ログアウト" + }, + "MobileDashboardView": { + "Examples": "サンプル", + "Sketches": "スケッチ", + "Collections": "コレクション", + "Assets": "アセット", + "MyStuff": "My Stuff", + "CreateSketch": "Create Sketch", + "CreateCollection": "Create Collection" + }, + "Explorer": { + "Files": "ファイル" + } + } + \ No newline at end of file From c6debb46822f613d34badb14740986983dbb17d5 Mon Sep 17 00:00:00 2001 From: koji Date: Wed, 21 Oct 2020 03:31:05 -0400 Subject: [PATCH 2/6] WIP 60% --- translations/locales/ja/translations.json | 286 +++++++++++----------- 1 file changed, 143 insertions(+), 143 deletions(-) diff --git a/translations/locales/ja/translations.json b/translations/locales/ja/translations.json index 03b8ad3405..d6d89a2a56 100644 --- a/translations/locales/ja/translations.json +++ b/translations/locales/ja/translations.json @@ -7,15 +7,15 @@ "Duplicate": "複製", "Open": "開く", "Download": "ダウンロード", - "AddToCollection": "Add to Collection", + "AddToCollection": "コレクションへ追加", "Examples": "サンプル" }, "Edit": { "Title": "編集", - "TidyCode": "Tidy Code", - "Find": "Find", - "FindNext": "Find Next", - "FindPrevious": "Find Previous" + "TidyCode": "コード整形", + "Find": "検索", + "FindNext": "次を検索", + "FindPrevious": "前を検索" }, "Sketch": { "Title": "スケッチ", @@ -67,14 +67,14 @@ "ResetPassword": "パスワードの再設定" }, "SocialAuthButton": { - "Connect": "Connect {{serviceauth}} Account", - "Unlink": "Unlink {{serviceauth}} Account", - "Login": "Login with {{serviceauth}}", - "LogoARIA": "{{serviceauth}} logo" + "Connect": "{{serviceauth}} アカウントへ接続", + "Unlink": "Unlink {{serviceauth}} アカウントへの接続解除", + "Login": "{{serviceauth}}でログイン", + "LogoARIA": "{{serviceauth}} ロゴ" }, "About": { "Title": "ウェブエディタについて", - "TitleHelmet": "p5.js ウェブエディタ | ウェブエディタについて", + "TitleHelmet": "p5.js Web Editor | ウェブエディタについて", "Contribute": "コントリビュート", "NewP5": "p5.jsは初めて?", "Report": "バグ報告", @@ -97,7 +97,7 @@ "Auto-refresh": "オートリフレッシュ", "OpenPreferencesARIA": "設定を開く", "PlaySketchARIA": "スケッチを実行", - "PlayOnlyVisualSketchARIA": "Play only visual sketch", + "PlayOnlyVisualSketchARIA": "ビジュアルスケッチのみ実行", "StopSketchARIA": "スケッチを停止", "EditSketchARIA": "スケッチ名を編集", "NewSketchNameARIA": "新しいスケッチ名", @@ -118,81 +118,81 @@ "Accessibility": "アクセシビリティ", "Theme": "テーマ", "LightTheme": "ライト", - "LightThemeARIA": "ライトテーマ 有効", + "LightThemeARIA": "ライトテーマ オン", "DarkTheme": "ダーク", - "DarkThemeARIA": "ダークテーマ 有効", + "DarkThemeARIA": "ダークテーマ オン", "HighContrastTheme": "ハイコントラスト", - "HighContrastThemeARIA": "ハイコントラストテーマ 有効", + "HighContrastThemeARIA": "ハイコントラストテーマ オン", "TextSize": "テキストサイズ", - "DecreaseFont": "小さくする", + "DecreaseFont": "縮小する", "DecreaseFontARIA": "フォントサイズを小さくする", - "IncreaseFont": "大きくする", + "IncreaseFont": "拡大する", "IncreaseFontARIA": "フォントサイズを大きくする", "Autosave": "自動保存", "On": "オン", "AutosaveOnARIA": "自動保存 オン", "Off": "オフ", "AutosaveOffARIA": "自動保存 オフ", - "AutocloseBracketsQuotes": "Autoclose Brackets and Quotes", - "AutocloseBracketsQuotesOnARIA": "autoclose brackets and quotes on", - "AutocloseBracketsQuotesOffARIA": "autoclose brackets and quotes off", + "AutocloseBracketsQuotes": "ブラケットとクウォートをオートクローズ", + "AutocloseBracketsQuotesOnARIA": "ブラケットとクウォートをオートクローズ オン", + "AutocloseBracketsQuotesOffARIA": "ブラケットとクウォートをオートクローズ オフ", "WordWrap": "ワードラップ", - "LineWrapOnARIA": "ラインラップ 有効", - "LineWrapOffARIA": "ラインラップ 無効", + "LineWrapOnARIA": "ラインラップ オン", + "LineWrapOffARIA": "ラインラップ オフ", "LineNumbers": "行番号", "LineNumbersOnARIA": "行番号 表示", "LineNumbersOffARIA": "行番号 非表示", - "LintWarningSound": "Lint warning sound", - "LintWarningOnARIA": "lint warning on", - "LintWarningOffARIA": "lint warning off", - "PreviewSound": "Preview sound", - "PreviewSoundARIA": "preview sound", - "AccessibleTextBasedCanvas": "Accessible text-based canvas", + "LintWarningSound": "リントワーニング音", + "LintWarningOnARIA": "リント オン", + "LintWarningOffARIA": "リント オフ", + "PreviewSound": "プレビューサウンド", + "PreviewSoundARIA": "プレビューサウンド", + "AccessibleTextBasedCanvas": "アクセスしやすいテキストベースのキャンバス", "UsedScreenReader": "Used with screen reader", - "PlainText": "Plain-text", - "TextOutputARIA": "text output on", - "TableText": "Table-text", - "TableOutputARIA": "table output on", - "Sound": "Sound", - "SoundOutputARIA": "sound output on" + "PlainText": "プレーンテキスト", + "TextOutputARIA": "テキスト出力 オン", + "TableText": "テーブルテキスト", + "TableOutputARIA": "テーブルテキスト出力 オン", + "Sound": "サウンド", + "SoundOutputARIA": "サウンド出力 オン" }, "KeyboardShortcuts": { "Title": " キーボードショートカット", "ShortcutsFollow": "Code editing keyboard shortcuts follow", - "SublimeText": "Sublime Text shortcuts", + "SublimeText": "Sublime Text ショートカット", "CodeEditing": { - "Tidy": "Tidy", - "FindText": "Find Text", - "FindNextMatch": "Find Next Match", - "FindPrevMatch": "Find Previous Match", + "Tidy": "整形", + "FindText": "テキスト検索", + "FindNextMatch": "次の一致を検索", + "FindPrevMatch": "前の一致を検索", "IndentCodeLeft": "Indent Code Left", "IndentCodeRight": "Indent Code Right", - "CommentLine": "Comment Line", - "FindNextTextMatch": "Find Next Text Match", - "FindPreviousTextMatch": "Find Previous Text Match", - "CodeEditing": "Code Editing" + "CommentLine": "コメントライン", + "FindNextTextMatch": "次の一致するテキストを検索", + "FindPreviousTextMatch": "前の一致するテキストを検索", + "CodeEditing": "コード編集" }, "General": { - "StartSketch": "Start Sketch", - "StopSketch": "Stop Sketch", - "TurnOnAccessibleOutput": "Turn On Accessible Output", - "TurnOffAccessibleOutput": "Turn Off Accessible Output" + "StartSketch": "スケッチを開始", + "StopSketch": "スケッチを停止", + "TurnOnAccessibleOutput": "アクセス可能な出力を有効にする", + "TurnOffAccessibleOutput": "アクセス可能な出力を無効にする" } }, "Sidebar": { - "Title": "Sketch Files", - "ToggleARIA": "Toggle open/close sketch file options", - "AddFolder": "Create folder", - "AddFolderARIA": "add folder", - "AddFile": "Create file", - "AddFileARIA": "add file", - "UploadFile": "Upload file", - "UploadFileARIA": "upload file" + "Title": "スケッチファイル", + "ToggleARIA": "スケッチファイルオプションの開く/閉じるを切り替える", + "AddFolder": "フォルダ作成", + "AddFolderARIA": "フォルダ追加", + "AddFile": "ファイル作成", + "AddFileARIA": "ファイル追加", + "UploadFile": "ファイルアップロード", + "UploadFileARIA": "ファイルアップロード" }, "FileNode": { - "OpenFolderARIA": "フォルダのコンテンツを開く", - "CloseFolderARIA": "フォルダのコンテンツを閉じる", - "ToggleFileOptionsARIA": "Toggle open/close file options", + "OpenFolderARIA": "フォルダ内のコンテンツを開く", + "CloseFolderARIA": "フォルダ内のコンテンツを閉じる", + "ToggleFileOptionsARIA": "ファイルオプションの開く/閉じるを切り替える", "AddFolder": "フォルダ作成", "AddFolderARIA": "フォルダ追加", "AddFile": "ファイル作成", @@ -219,7 +219,7 @@ }, "NewFileModal": { "Title": "ファイル作成", - "CloseButtonARIA": "Close New File Modal", + "CloseButtonARIA": "新規ファイルモーダルを閉じる", "EnterName": "ファイル名を入力してください", "InvalidType": "ファイルタイプが無効です。有効な拡張子は、.js、.css、.json、.txt、.csv、.tsv、.frag、.vertです。" }, @@ -229,7 +229,7 @@ }, "NewFolderModal": { "Title": "フォルダ作成", - "CloseButtonARIA": "Close New Folder Modal", + "CloseButtonARIA": "新しいフォルダモーダルを閉じる", "EnterName": "フォルダ名を入力してください", "EmptyName": "フォルダ名にはスペースのみを含めることはできません", "InvalidExtension": "フォルダ名に拡張子を含めることはできません" @@ -246,97 +246,97 @@ "ResetPasswordView": { "Title": "p5.js Web Editor | パスワードリセット", "Reset": "パスワードをリセットする", - "Submitted": "Your password reset email should arrive shortly. If you don't see it, check\n in your spam folder as sometimes it can end up there.", + "Submitted": "パスワードリセットのeメールを送信しました。もし、見当たらない場合は\n 迷惑メールフォルダに入っている可能性がありますので、確認してください。", "Login": "ログイン", "LoginOr": "or", "SignUp": "サインアップ" }, "ReduxFormUtils": { - "errorInvalidEmail": "Please enter a valid email address", - "errorEmptyEmail": "Please enter an email", - "errorPasswordMismatch": "Passwords must match", - "errorEmptyPassword": "Please enter a password", - "errorShortPassword": "Password must be at least 6 characters", - "errorConfirmPassword": "Please enter a password confirmation", - "errorNewPassword": "Please enter a new password or leave the current password empty.", - "errorEmptyUsername": "Please enter a username.", - "errorLongUsername": "Username must be less than 20 characters.", - "errorValidUsername": "Username must only consist of numbers, letters, periods, dashes, and underscores." + "errorInvalidEmail": "有効なeメールアドレスを入力して下さい", + "errorEmptyEmail": "eメールを入力して下さい", + "errorPasswordMismatch": "パスワードは一致している必要があります", + "errorEmptyPassword": "パスワードを入力して下さい", + "errorShortPassword": "パスワードは6文字以上にして下さい", + "errorConfirmPassword": "確認用のパスワードを入力して下さい", + "errorNewPassword": "新しいパスワードを入力するか、現在のパスワードを空欄のままにして下さい。", + "errorEmptyUsername": "ユーザー名を入力して下さい。", + "errorLongUsername": "ユーザー名は20文字以内にして下さい。", + "errorValidUsername": "ユーザー名は、数字、文字、ピリオド、ダッシュ、アンダースコアのみで構成されている必要があります。" }, "NewPasswordView": { - "Title": "p5.js Web Editor | New Password", - "Description": "Set a New Password", - "TokenInvalidOrExpired": "The password reset token is invalid or has expired.", - "EmptyPassword": "Please enter a password", - "PasswordConfirmation": "Please enter a password confirmation", - "PasswordMismatch": "Passwords must match" + "Title": "p5.js Web Editor | 新しいパスワード", + "Description": "新しいパスワードの設定", + "TokenInvalidOrExpired": "パスワードリセットトークンが無効か、有効期限が切れています。", + "EmptyPassword": "パスワードを入力して下さい", + "PasswordConfirmation": "確認用のパスワードを入力して下さい", + "PasswordMismatch": "パスワードは一致している必要があります" }, "AccountForm": { - "Email": "Email", - "EmailARIA": "email", - "Unconfirmed": "Unconfirmed.", - "EmailSent": "Confirmation sent, check your email.", - "Resend": "Resend confirmation email", - "UserName": "User Name", - "UserNameARIA": "Username", - "CurrentPassword": "Current Password", - "CurrentPasswordARIA": "Current Password", - "NewPassword": "New Password", - "NewPasswordARIA": "New Password", - "SubmitSaveAllSettings": "Save All Settings" + "Email": "eメール", + "EmailARIA": "eメール", + "Unconfirmed": "未確認。", + "EmailSent": "確認メールが送信されましたので、eメールを確認してください。", + "Resend": "確認メールを再送する", + "UserName": "ユーザー名", + "UserNameARIA": "ユーザー名", + "CurrentPassword": "現在のパスワード", + "CurrentPasswordARIA": "現在のパスワード", + "NewPassword": "新しいパスワード", + "NewPasswordARIA": "新しいパスワード", + "SubmitSaveAllSettings": "すべての設定を保存" }, "AccountView": { - "SocialLogin": "Social Login", - "SocialLoginDescription": "Use your GitHub or Google account to log into the p5.js Web Editor.", - "Title": "p5.js Web Editor | Account Settings", - "Settings": "Account Settings", - "AccountTab": "Account", - "AccessTokensTab": "Access Tokens" + "SocialLogin": "ソーシャルログイン", + "SocialLoginDescription": "GitHubやGoogleアカウントを使って、p5.js Web Editorにログインできます。", + "Title": "p5.js Web Editor | アカウント設定", + "Settings": "アカウント設定", + "AccountTab": "アカウント", + "AccessTokensTab": "アクセストークン" }, "APIKeyForm": { - "ConfirmDelete": "Are you sure you want to delete {{key_label}}?", + "ConfirmDelete": "本当に{{key_label}}を削除しますか?", "Summary": "Personal Access Tokens act like your password to allow automated\n scripts to access the Editor API. Create a token for each script\n that needs access.", - "CreateToken": "Create new token", - "TokenLabel": "What is this token for?", + "CreateToken": "新しいトークンを作成", + "TokenLabel": "このトークンはなんのため?", "TokenPlaceholder": "What is this token for? e.g. Example import script", - "CreateTokenSubmit": "Create", - "NoTokens": "You have no existing tokens.", - "NewTokenTitle": "Your new access token", + "CreateTokenSubmit": "作成", + "NoTokens": "既存のトークンはありません。", + "NewTokenTitle": "新しいアクセストークン", "NewTokenInfo": "Make sure to copy your new personal access token now.\n You won’t be able to see it again!", "ExistingTokensTitle": "Existing tokens" }, "APIKeyList": { - "Name": "Name", + "Name": "名前", "Created": "Created on", "LastUsed": "Last used", "Actions": "Actions", "Never": "Never", - "DeleteARIA": "Delete API Key" + "DeleteARIA": "APIキーを削除" }, "NewPasswordForm": { - "Title": "Password", - "TitleARIA": "Password", - "ConfirmPassword": "Confirm Password", - "ConfirmPasswordARIA": "Confirm Password", - "SubmitSetNewPassword": "Set New Password" + "Title": "パスワード", + "TitleARIA": "パスワード", + "ConfirmPassword": "確認用パスワード", + "ConfirmPasswordARIA": "確認用パスワード", + "SubmitSetNewPassword": "新しいパスワードを設定" }, "SignupForm": { - "Title": "User Name", - "TitleARIA": "username", - "Email": "Email", - "EmailARIA": "email", - "Password": "Password", - "PasswordARIA": "password", - "ConfirmPassword": "Confirm Password", - "ConfirmPasswordARIA": "Confirm password", + "Title": "ユーザ名", + "TitleARIA": "ユーザ名", + "Email": "Eメール", + "EmailARIA": "eメール", + "Password": "パスワード", + "PasswordARIA": "パスワード", + "ConfirmPassword": "確認用パスワード", + "ConfirmPasswordARIA": "確認用パスワード", "SubmitSignup": "Sign Up" }, "SignupView": { - "Title": "p5.js Web Editor | Signup", - "Description": "Sign Up", + "Title": "p5.js Web Editor | サインアップ", + "Description": "サインアップ", "Or": "Or", - "AlreadyHave": "Already have an account?", - "Login": "Log In" + "AlreadyHave": "既にアカウントをお持ちですか?", + "Login": "ログイン" }, "EmailVerificationView": { "Title": "p5.js Web Editor | Email Verification", @@ -347,7 +347,7 @@ "InvalidState": "Something went wrong." }, "AssetList": { - "Title": "p5.js Web Editor | My assets", + "Title": "p5.js Web Editor | マイアセット", "ToggleOpenCloseARIA": "Toggle Open/Close Asset Options", "Delete": "Delete", "OpenNewTab": "Open in New Tab", @@ -357,7 +357,7 @@ "HeaderSketch": "Sketch" }, "Feedback": { - "Title": "p5.js Web Editor | Feedback", + "Title": "p5.js Web Editor | フィードバック", "ViaGithubHeader": "Via Github Issues", "ViaGithubDescription": "If you're familiar with Github, this is our preferred method for receiving bug reports and feedback.", "GoToGithub": "Go to Github", @@ -396,11 +396,11 @@ "Edit": "Edit" }, "CollectionView": { - "TitleCreate": "Create collection", - "TitleDefault": "collection" + "TitleCreate": "コレクション作成", + "TitleDefault": "コレクション" }, "Collection": { - "Title": "p5.js Web Editor | My collections", + "Title": "p5.js Web Editor | マイコレクション", "AnothersTitle": "p5.js Web Editor | {{anotheruser}}'s collections", "Share": "Share", "URLLink": "Link to Collection", @@ -413,23 +413,23 @@ "NumSketches": "{{count}} sketch", "NumSketches_plural": "{{count}} sketches", "By":"Collection by ", - "NoSketches": "No sketches in collection", + "NoSketches": "コレクション内にスケッチがありません", "TableSummary": "table containing all collections", - "HeaderName": "Name", + "HeaderName": "名前", "HeaderCreatedAt": "Date Added", - "HeaderUser": "Owner", + "HeaderUser": "所有者", "DirectionAscendingARIA": "Ascending", "DirectionDescendingARIA": "Descending", "ButtonLabelAscendingARIA": "Sort by {{displayName}} ascending.", "ButtonLabelDescendingARIA": "Sort by {{displayName}} descending." }, "AddToCollectionList": { - "Title": "p5.js Web Editor | My collections", + "Title": "p5.js Web Editor | マイコレクション", "AnothersTitle": "p5.js Web Editor | {{anotheruser}}'s collections", - "Empty": "No collections" + "Empty": "コレクション無し" }, "CollectionCreate": { - "Title": "p5.js Web Editor | Create collection", + "Title": "p5.js Web Editor | コレクション作成", "FormError": "Couldn't create collection", "FormLabel": "Collection name", "FormLabelARIA": "name", @@ -445,12 +445,12 @@ "CreateCollectionOverlay": "Create collection" }, "DashboardTabSwitcher": { - "Sketches": "Sketches", - "Collections": "Collections", - "Assets": "Assets" + "Sketches": "スケッチ", + "Collections": "コレクション", + "Assets": "アセット" }, "CollectionList": { - "Title": "p5.js Web Editor | My collections", + "Title": "p5.js Web Editor | マイコレクション", "AnothersTitle": "p5.js Web Editor | {{anotheruser}}'s collections", "NoCollections": "No collections.", "TableSummary": "table containing all collections", @@ -470,8 +470,8 @@ "CollectionListRow": { "ToggleCollectionOptionsARIA": "Toggle Open/Close collection options", "AddSketch": "Add sketch", - "Delete": "Delete", - "Rename": "Rename" + "Delete": "削除", + "Rename": "名称変更" }, "Overlay": { "AriaLabel": "Close {{title}} overlay" @@ -487,8 +487,8 @@ "AnothersTitle": "p5.js Web Editor | {{anotheruser}}'s sketches", "ToggleLabelARIA": "Toggle Open/Close Sketch Options", "DropdownRename": "Rename", - "DropdownDownload": "Download", - "DropdownDuplicate": "Duplicate", + "DropdownDownload": "ダウンロード", + "DropdownDuplicate": "複製", "DropdownAddToCollection": "Add to collection", "DropdownDelete": "Delete", "DirectionAscendingARIA": "Ascending", @@ -497,7 +497,7 @@ "ButtonLabelDescendingARIA": "Sort by {{displayName}} descending.", "AddToCollectionOverlayTitle": "Add to collection", "TableSummary": "table containing all saved projects", - "HeaderName": "Sketch", + "HeaderName": "スケッチ", "HeaderCreatedAt": "Date Created", "HeaderCreatedAt_mobile": "Created", "HeaderUpdatedAt": "Date Updated", @@ -505,7 +505,7 @@ "NoSketches": "No sketches." }, "AddToCollectionSketchList": { - "Title": "p5.js Web Editor | My sketches", + "Title": "p5.js Web Editor | マイスケッチ", "AnothersTitle": "p5.js Web Editor | {{anotheruser}}'s sketches", "NoCollections": "No collections." }, @@ -580,9 +580,9 @@ "Sketches": "スケッチ", "Collections": "コレクション", "Assets": "アセット", - "MyStuff": "My Stuff", - "CreateSketch": "Create Sketch", - "CreateCollection": "Create Collection" + "MyStuff": "マイスタッフ", + "CreateSketch": "スケッチ作成", + "CreateCollection": "コレクション作成" }, "Explorer": { "Files": "ファイル" From 5395f10914b775387645ee6605e1c73a931f088d Mon Sep 17 00:00:00 2001 From: koji Date: Thu, 22 Oct 2020 02:03:51 -0400 Subject: [PATCH 3/6] WIP 75% --- translations/locales/ja/translations.json | 50 +++++++++++------------ 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/translations/locales/ja/translations.json b/translations/locales/ja/translations.json index d6d89a2a56..eb41227e7d 100644 --- a/translations/locales/ja/translations.json +++ b/translations/locales/ja/translations.json @@ -295,15 +295,15 @@ }, "APIKeyForm": { "ConfirmDelete": "本当に{{key_label}}を削除しますか?", - "Summary": "Personal Access Tokens act like your password to allow automated\n scripts to access the Editor API. Create a token for each script\n that needs access.", + "Summary": "パーソナルアクセストークンは、自動スクリプトがエディタAPIにアクセスできるようにするための\n パスワードのような役割を果たします。\n アクセスを必要とするスクリプトごとにトークンを作成します。", "CreateToken": "新しいトークンを作成", "TokenLabel": "このトークンはなんのため?", - "TokenPlaceholder": "What is this token for? e.g. Example import script", + "TokenPlaceholder": "このトークンはなんのため? 例:インポートスクリプト", "CreateTokenSubmit": "作成", "NoTokens": "既存のトークンはありません。", "NewTokenTitle": "新しいアクセストークン", - "NewTokenInfo": "Make sure to copy your new personal access token now.\n You won’t be able to see it again!", - "ExistingTokensTitle": "Existing tokens" + "NewTokenInfo": "新しいパーソナルアクセストークンをコピーしてください。\n トークンをもう1度と見ることはできません!", + "ExistingTokensTitle": "既存のトークン" }, "APIKeyList": { "Name": "名前", @@ -329,7 +329,7 @@ "PasswordARIA": "パスワード", "ConfirmPassword": "確認用パスワード", "ConfirmPasswordARIA": "確認用パスワード", - "SubmitSignup": "Sign Up" + "SubmitSignup": "サインアップ" }, "SignupView": { "Title": "p5.js Web Editor | サインアップ", @@ -358,16 +358,16 @@ }, "Feedback": { "Title": "p5.js Web Editor | フィードバック", - "ViaGithubHeader": "Via Github Issues", - "ViaGithubDescription": "If you're familiar with Github, this is our preferred method for receiving bug reports and feedback.", - "GoToGithub": "Go to Github", - "ViaGoogleHeader": "Via Google Form", - "ViaGoogleDescription": "You can also submit this quick form.", - "GoToForm": "Go to Form" + "ViaGithubHeader": "Github Issuesを利用", + "ViaGithubDescription": "Githubに詳しい方は、バグレポートやフィードバックのために、この方法の利用をお願いします。", + "GoToGithub": "Githubへアクセスする", + "ViaGoogleHeader": "Google Formを利用", + "ViaGoogleDescription": "このクイックフォームを提出することもできます。", + "GoToForm": "フォームへアクセスする" }, "Searchbar": { - "SearchSketch": "Search sketches...", - "SearchCollection": "Search collections...", + "SearchSketch": "スケッチを検索...", + "SearchCollection": "コレクションを検索...", "ClearTerm": "clear" }, "UploadFileModal": { @@ -382,18 +382,18 @@ "MessageLogin": "In order to save sketches, you must be logged in. Please ", "Login": "Login", "LoginOr": " or ", - "SignUp": "Sign Up", + "SignUp": "サインアップ", "MessageLoggedOut": "It looks like you've been logged out. Please ", - "LogIn": "log in", + "LogIn": "ログイン", "SavedDifferentWindow": "The project you have attempted to save has been saved from another window.\n Please refresh the page to see the latest version.", "LinkTitle": "Error Linking Account", "LinkMessage": "There was a problem linking your {{serviceauth}} account to your p5.js Web Editor account. Your {{serviceauth}} account has already been linked to another p5.js Web Editor account." }, "ShareModal": { - "Embed": "Embed", + "Embed": "埋め込み", "Present": "Present", - "Fullscreen": "Fullscreen", - "Edit": "Edit" + "Fullscreen": "フルスクリーン", + "Edit": "編集" }, "CollectionView": { "TitleCreate": "コレクション作成", @@ -401,12 +401,12 @@ }, "Collection": { "Title": "p5.js Web Editor | マイコレクション", - "AnothersTitle": "p5.js Web Editor | {{anotheruser}}'s collections", - "Share": "Share", - "URLLink": "Link to Collection", - "AddSketch": "Add Sketch", + "AnothersTitle": "p5.js Web Editor | {{anotheruser}}のコレクション", + "Share": "共有", + "URLLink": "コレクションにリンクさせる", + "AddSketch": "スケッチを追加する", "DeleteFromCollection": "Are you sure you want to remove {{name_sketch}} from this collection?", - "SketchDeleted": "Sketch deleted", + "SketchDeleted": "スケッチが削除されました", "SketchRemoveARIA": "Remove sketch from collection", "DescriptionPlaceholder": "Add description", "Description": "description", @@ -425,12 +425,12 @@ }, "AddToCollectionList": { "Title": "p5.js Web Editor | マイコレクション", - "AnothersTitle": "p5.js Web Editor | {{anotheruser}}'s collections", + "AnothersTitle": "p5.js Web Editor | {{anotheruser}}のコレクション", "Empty": "コレクション無し" }, "CollectionCreate": { "Title": "p5.js Web Editor | コレクション作成", - "FormError": "Couldn't create collection", + "FormError": "コレクションを作成することが出来ませんでした", "FormLabel": "Collection name", "FormLabelARIA": "name", "NameRequired": "Collection name is required", From 4842f04442f92b331cb614a43e5f12425770398f Mon Sep 17 00:00:00 2001 From: koji Date: Mon, 26 Oct 2020 15:50:00 -0400 Subject: [PATCH 4/6] WIP update translation --- translations/locales/ja/translations.json | 78 +++++++++++------------ 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/translations/locales/ja/translations.json b/translations/locales/ja/translations.json index eb41227e7d..28d9e35542 100644 --- a/translations/locales/ja/translations.json +++ b/translations/locales/ja/translations.json @@ -339,9 +339,9 @@ "Login": "ログイン" }, "EmailVerificationView": { - "Title": "p5.js Web Editor | Email Verification", - "Verify": "Verify your email", - "InvalidTokenNull": "That link is invalid.", + "Title": "p5.js Web Editor | Eメール認証", + "Verify": "メールアドレスを確認してください", + "InvalidTokenNull": "そのリンクは無効です。", "Checking": "Validating token, please wait...", "Verified": "All done, your email address has been verified.", "InvalidState": "Something went wrong." @@ -349,12 +349,12 @@ "AssetList": { "Title": "p5.js Web Editor | マイアセット", "ToggleOpenCloseARIA": "Toggle Open/Close Asset Options", - "Delete": "Delete", - "OpenNewTab": "Open in New Tab", - "NoUploadedAssets": "No uploaded assets.", + "Delete": "削除", + "OpenNewTab": "新しいタブで開く", + "NoUploadedAssets": "アップロードされたアセットはありません。", "HeaderName": "Name", - "HeaderSize": "Size", - "HeaderSketch": "Sketch" + "HeaderSize": "サイズ", + "HeaderSketch": "スケッチ" }, "Feedback": { "Title": "p5.js Web Editor | フィードバック", @@ -371,22 +371,22 @@ "ClearTerm": "clear" }, "UploadFileModal": { - "Title": "Upload File", + "Title": "アップロードファイル", "CloseButtonARIA": "Close upload file modal", - "SizeLimitError": "Error: You cannot upload any more files. You have reached the total size limit of {{sizeLimit}}.\n If you would like to upload more, please remove the ones you aren't using anymore by\n in your " + "SizeLimitError": "エラー: You cannot upload any more files. You have reached the total size limit of {{sizeLimit}}.\n If you would like to upload more, please remove the ones you aren't using anymore by\n in your " }, "FileUploader": { - "DictDefaultMessage": "Drop files here or click to use the file browser" + "DictDefaultMessage": "ここにファイルをドロップするか、クリックしてファイルブラウザを使用してください" }, "ErrorModal": { "MessageLogin": "In order to save sketches, you must be logged in. Please ", - "Login": "Login", + "Login": "ログイン", "LoginOr": " or ", "SignUp": "サインアップ", "MessageLoggedOut": "It looks like you've been logged out. Please ", "LogIn": "ログイン", "SavedDifferentWindow": "The project you have attempted to save has been saved from another window.\n Please refresh the page to see the latest version.", - "LinkTitle": "Error Linking Account", + "LinkTitle": "アカウントリンクエラー", "LinkMessage": "There was a problem linking your {{serviceauth}} account to your p5.js Web Editor account. Your {{serviceauth}} account has already been linked to another p5.js Web Editor account." }, "ShareModal": { @@ -431,9 +431,9 @@ "CollectionCreate": { "Title": "p5.js Web Editor | コレクション作成", "FormError": "コレクションを作成することが出来ませんでした", - "FormLabel": "Collection name", + "FormLabel": "コレクション名", "FormLabelARIA": "name", - "NameRequired": "Collection name is required", + "NameRequired": "コレクション名は必須です", "Description": "Description (optional)", "DescriptionARIA": "description", "DescriptionPlaceholder": "My fave sketches", @@ -441,7 +441,7 @@ }, "DashboardView": { "CreateCollection": "Create collection", - "NewSketch": "New sketch", + "NewSketch": "新しいスケッチ", "CreateCollectionOverlay": "Create collection" }, "DashboardTabSwitcher": { @@ -451,25 +451,25 @@ }, "CollectionList": { "Title": "p5.js Web Editor | マイコレクション", - "AnothersTitle": "p5.js Web Editor | {{anotheruser}}'s collections", + "AnothersTitle": "p5.js Web Editor | {{anotheruser}}のコレクション", "NoCollections": "No collections.", "TableSummary": "table containing all collections", - "HeaderName": "Name", - "HeaderCreatedAt": "Date Created", - "HeaderCreatedAt_mobile": "Created", - "HeaderUpdatedAt": "Date Updated", - "HeaderUpdatedAt_mobile": "Updated", - "HeaderNumItems": "# sketches", - "HeaderNumItems_mobile": "# sketches", - "DirectionAscendingARIA": "Ascending", - "DirectionDescendingARIA": "Descending", + "HeaderName": "名前", + "HeaderCreatedAt": "作成日", + "HeaderCreatedAt_mobile": "作成されました", + "HeaderUpdatedAt": "更新日", + "HeaderUpdatedAt_mobile": "更新されました", + "HeaderNumItems": "# スケッチ", + "HeaderNumItems_mobile": "# スケッチ", + "DirectionAscendingARIA": "昇順", + "DirectionDescendingARIA": "降順", "ButtonLabelAscendingARIA": "Sort by {{displayName}} ascending.", "ButtonLabelDescendingARIA": "Sort by {{displayName}} descending.", - "AddSketch": "Add Sketch" + "AddSketch": "スケッチを追加" }, "CollectionListRow": { "ToggleCollectionOptionsARIA": "Toggle Open/Close collection options", - "AddSketch": "Add sketch", + "AddSketch": "スケッチを追加", "Delete": "削除", "Rename": "名称変更" }, @@ -477,8 +477,8 @@ "AriaLabel": "Close {{title}} overlay" }, "QuickAddList":{ - "ButtonRemoveARIA": "Remove from collection", - "ButtonAddToCollectionARIA": "Add to collection", + "ButtonRemoveARIA": "コレクションから削除", + "ButtonAddToCollectionARIA": "コレクションへ追加", "View": "View" }, "SketchList": { @@ -489,20 +489,20 @@ "DropdownRename": "Rename", "DropdownDownload": "ダウンロード", "DropdownDuplicate": "複製", - "DropdownAddToCollection": "Add to collection", - "DropdownDelete": "Delete", - "DirectionAscendingARIA": "Ascending", - "DirectionDescendingARIA": "Descending", + "DropdownAddToCollection": "コレクションへ追加", + "DropdownDelete": "削除", + "DirectionAscendingARIA": "昇順", + "DirectionDescendingARIA": "降順", "ButtonLabelAscendingARIA": "Sort by {{displayName}} ascending.", "ButtonLabelDescendingARIA": "Sort by {{displayName}} descending.", "AddToCollectionOverlayTitle": "Add to collection", "TableSummary": "table containing all saved projects", "HeaderName": "スケッチ", - "HeaderCreatedAt": "Date Created", - "HeaderCreatedAt_mobile": "Created", - "HeaderUpdatedAt": "Date Updated", - "HeaderUpdatedAt_mobile": "Updated", - "NoSketches": "No sketches." + "HeaderCreatedAt": "作成日", + "HeaderCreatedAt_mobile": "作成されました", + "HeaderUpdatedAt": "更新日", + "HeaderUpdatedAt_mobile": "更新されました", + "NoSketches": "スケッチはありません" }, "AddToCollectionSketchList": { "Title": "p5.js Web Editor | マイスケッチ", From d7aa14d51c39d0c59077bf4935a685488d9bd7d0 Mon Sep 17 00:00:00 2001 From: koji Date: Mon, 2 Nov 2020 03:22:25 -0500 Subject: [PATCH 5/6] Initial translation - Japanese --- translations/locales/ja/translations.json | 165 +++++++++++----------- 1 file changed, 82 insertions(+), 83 deletions(-) diff --git a/translations/locales/ja/translations.json b/translations/locales/ja/translations.json index 28d9e35542..293ee0b8be 100644 --- a/translations/locales/ja/translations.json +++ b/translations/locales/ja/translations.json @@ -148,7 +148,7 @@ "PreviewSound": "プレビューサウンド", "PreviewSoundARIA": "プレビューサウンド", "AccessibleTextBasedCanvas": "アクセスしやすいテキストベースのキャンバス", - "UsedScreenReader": "Used with screen reader", + "UsedScreenReader": "スクリーンリーダーと併用", "PlainText": "プレーンテキスト", "TextOutputARIA": "テキスト出力 オン", "TableText": "テーブルテキスト", @@ -158,15 +158,15 @@ }, "KeyboardShortcuts": { "Title": " キーボードショートカット", - "ShortcutsFollow": "Code editing keyboard shortcuts follow", + "ShortcutsFollow": "コード編集のキーボードショートカットは以下の通りです", "SublimeText": "Sublime Text ショートカット", "CodeEditing": { "Tidy": "整形", "FindText": "テキスト検索", "FindNextMatch": "次の一致を検索", "FindPrevMatch": "前の一致を検索", - "IndentCodeLeft": "Indent Code Left", - "IndentCodeRight": "Indent Code Right", + "IndentCodeLeft": "インデント左揃え", + "IndentCodeRight": "インデント右揃え", "CommentLine": "コメントライン", "FindNextTextMatch": "次の一致するテキストを検索", "FindPreviousTextMatch": "前の一致するテキストを検索", @@ -307,10 +307,10 @@ }, "APIKeyList": { "Name": "名前", - "Created": "Created on", - "LastUsed": "Last used", - "Actions": "Actions", - "Never": "Never", + "Created": "作成された", + "LastUsed": "最後に使用した", + "Actions": "アクション", + "Never": "一度も", "DeleteARIA": "APIキーを削除" }, "NewPasswordForm": { @@ -342,13 +342,13 @@ "Title": "p5.js Web Editor | Eメール認証", "Verify": "メールアドレスを確認してください", "InvalidTokenNull": "そのリンクは無効です。", - "Checking": "Validating token, please wait...", - "Verified": "All done, your email address has been verified.", - "InvalidState": "Something went wrong." + "Checking": "トークンを検証中です、お待ちください...", + "Verified": "すべて完了しました、あなたのメールアドレスは確認されました。", + "InvalidState": "何か問題が発生しました。" }, "AssetList": { "Title": "p5.js Web Editor | マイアセット", - "ToggleOpenCloseARIA": "Toggle Open/Close Asset Options", + "ToggleOpenCloseARIA": "アセットオプションの開閉を切り替え", "Delete": "削除", "OpenNewTab": "新しいタブで開く", "NoUploadedAssets": "アップロードされたアセットはありません。", @@ -372,28 +372,28 @@ }, "UploadFileModal": { "Title": "アップロードファイル", - "CloseButtonARIA": "Close upload file modal", - "SizeLimitError": "エラー: You cannot upload any more files. You have reached the total size limit of {{sizeLimit}}.\n If you would like to upload more, please remove the ones you aren't using anymore by\n in your " + "CloseButtonARIA": "アップロードファイルモーダルを閉じる", + "SizeLimitError": "エラー: これ以上ファイルをアップロードすることはできません。{{sizeLimit}}の合計サイズの上限に達しました。\n もっとアップロードしたい場合は、もう使っていないものを削除してください。 " }, "FileUploader": { "DictDefaultMessage": "ここにファイルをドロップするか、クリックしてファイルブラウザを使用してください" }, "ErrorModal": { - "MessageLogin": "In order to save sketches, you must be logged in. Please ", + "MessageLogin": "スケッチを保存するにはログインが必要です。ログインしてください。 ", "Login": "ログイン", "LoginOr": " or ", "SignUp": "サインアップ", - "MessageLoggedOut": "It looks like you've been logged out. Please ", + "MessageLoggedOut": "ログアウトされたようです。ログインしてください。 ", "LogIn": "ログイン", - "SavedDifferentWindow": "The project you have attempted to save has been saved from another window.\n Please refresh the page to see the latest version.", - "LinkTitle": "アカウントリンクエラー", - "LinkMessage": "There was a problem linking your {{serviceauth}} account to your p5.js Web Editor account. Your {{serviceauth}} account has already been linked to another p5.js Web Editor account." + "SavedDifferentWindow": "保存しようとしたプロジェクトが別のウィンドウから保存されました。\n 最新版をご覧になるにはページを更新してください。", + "LinkTitle": "アカウント接続エラー", + "LinkMessage": "あなたの {{serviceauth}} アカウントとp5.js Web Editorアカウントの接続に問題がありました。 あなたの {{serviceauth}} アカウントは、すでに別のp5.js Web Editorアカウントに接続されています。" }, "ShareModal": { "Embed": "埋め込み", - "Present": "Present", + "Present": "プレゼンモード", "Fullscreen": "フルスクリーン", - "Edit": "編集" + "Edit": "共同編集" }, "CollectionView": { "TitleCreate": "コレクション作成", @@ -401,27 +401,27 @@ }, "Collection": { "Title": "p5.js Web Editor | マイコレクション", - "AnothersTitle": "p5.js Web Editor | {{anotheruser}}のコレクション", + "AnothersTitle": "p5.js Web Editor | {{anotheruser}} のコレクション", "Share": "共有", "URLLink": "コレクションにリンクさせる", "AddSketch": "スケッチを追加する", - "DeleteFromCollection": "Are you sure you want to remove {{name_sketch}} from this collection?", + "DeleteFromCollection": "このコレクションから {{name_sketch}} を削除してもよろしいですか?", "SketchDeleted": "スケッチが削除されました", - "SketchRemoveARIA": "Remove sketch from collection", - "DescriptionPlaceholder": "Add description", - "Description": "description", - "NumSketches": "{{count}} sketch", - "NumSketches_plural": "{{count}} sketches", - "By":"Collection by ", + "SketchRemoveARIA": "コレクションからスケッチを削除する", + "DescriptionPlaceholder": "スケッチについて記述する", + "Description": "スケッチについて", + "NumSketches": "{{count}} スケッチ", + "NumSketches_plural": "{{count}} スケッチ", + "By":"コレクション ", "NoSketches": "コレクション内にスケッチがありません", - "TableSummary": "table containing all collections", + "TableSummary": "全コレクションのテーブル", "HeaderName": "名前", - "HeaderCreatedAt": "Date Added", + "HeaderCreatedAt": "追加された日付", "HeaderUser": "所有者", - "DirectionAscendingARIA": "Ascending", - "DirectionDescendingARIA": "Descending", - "ButtonLabelAscendingARIA": "Sort by {{displayName}} ascending.", - "ButtonLabelDescendingARIA": "Sort by {{displayName}} descending." + "DirectionAscendingARIA": "昇順", + "DirectionDescendingARIA": "降順", + "ButtonLabelAscendingARIA": "昇順に{{displayName}}で並び替えます。", + "ButtonLabelDescendingARIA": "降順に{{displayName}}で並び替えます。" }, "AddToCollectionList": { "Title": "p5.js Web Editor | マイコレクション", @@ -432,17 +432,17 @@ "Title": "p5.js Web Editor | コレクション作成", "FormError": "コレクションを作成することが出来ませんでした", "FormLabel": "コレクション名", - "FormLabelARIA": "name", + "FormLabelARIA": "名前", "NameRequired": "コレクション名は必須です", - "Description": "Description (optional)", - "DescriptionARIA": "description", - "DescriptionPlaceholder": "My fave sketches", - "SubmitCollectionCreate": "Create collection" + "Description": "スケッチについて (任意)", + "DescriptionARIA": "スケッチについて", + "DescriptionPlaceholder": "お気に入りスケッチ", + "SubmitCollectionCreate": "コレクションを作成" }, "DashboardView": { - "CreateCollection": "Create collection", + "CreateCollection": "コレクションを作成", "NewSketch": "新しいスケッチ", - "CreateCollectionOverlay": "Create collection" + "CreateCollectionOverlay": "コレクションを作成" }, "DashboardTabSwitcher": { "Sketches": "スケッチ", @@ -452,8 +452,8 @@ "CollectionList": { "Title": "p5.js Web Editor | マイコレクション", "AnothersTitle": "p5.js Web Editor | {{anotheruser}}のコレクション", - "NoCollections": "No collections.", - "TableSummary": "table containing all collections", + "NoCollections": "コレクションがありません。", + "TableSummary": "全コレクションのテーブル", "HeaderName": "名前", "HeaderCreatedAt": "作成日", "HeaderCreatedAt_mobile": "作成されました", @@ -463,18 +463,18 @@ "HeaderNumItems_mobile": "# スケッチ", "DirectionAscendingARIA": "昇順", "DirectionDescendingARIA": "降順", - "ButtonLabelAscendingARIA": "Sort by {{displayName}} ascending.", - "ButtonLabelDescendingARIA": "Sort by {{displayName}} descending.", + "ButtonLabelAscendingARIA": "昇順に{{displayName}}で並び替えます。", + "ButtonLabelDescendingARIA": "降順に{{displayName}}で並び替えます。", "AddSketch": "スケッチを追加" }, "CollectionListRow": { - "ToggleCollectionOptionsARIA": "Toggle Open/Close collection options", + "ToggleCollectionOptionsARIA": "開く/閉じるコレクションのオプションを切り替え", "AddSketch": "スケッチを追加", "Delete": "削除", "Rename": "名称変更" }, "Overlay": { - "AriaLabel": "Close {{title}} overlay" + "AriaLabel": "{{title}} オーバーレイを閉じる" }, "QuickAddList":{ "ButtonRemoveARIA": "コレクションから削除", @@ -483,20 +483,20 @@ }, "SketchList": { "View": "View", - "Title": "p5.js Web Editor | My sketches", - "AnothersTitle": "p5.js Web Editor | {{anotheruser}}'s sketches", - "ToggleLabelARIA": "Toggle Open/Close Sketch Options", - "DropdownRename": "Rename", + "Title": "p5.js Web Editor | マイスケッチ", + "AnothersTitle": "p5.js Web Editor | {{anotheruser}} のスケッチ", + "ToggleLabelARIA": "開く/閉じるスケッチ オプションの切り替え", + "DropdownRename": "名前変更", "DropdownDownload": "ダウンロード", "DropdownDuplicate": "複製", "DropdownAddToCollection": "コレクションへ追加", "DropdownDelete": "削除", "DirectionAscendingARIA": "昇順", "DirectionDescendingARIA": "降順", - "ButtonLabelAscendingARIA": "Sort by {{displayName}} ascending.", - "ButtonLabelDescendingARIA": "Sort by {{displayName}} descending.", - "AddToCollectionOverlayTitle": "Add to collection", - "TableSummary": "table containing all saved projects", + "ButtonLabelAscendingARIA": "昇順に{{displayName}}で並び替えます。", + "ButtonLabelDescendingARIA": "降順に{{displayName}}で並び替えます。", + "AddToCollectionOverlayTitle": "コレクションへ追加", + "TableSummary": "保存されたすべてのプロジェクトを含むテーブル", "HeaderName": "スケッチ", "HeaderCreatedAt": "作成日", "HeaderCreatedAt_mobile": "作成されました", @@ -506,21 +506,21 @@ }, "AddToCollectionSketchList": { "Title": "p5.js Web Editor | マイスケッチ", - "AnothersTitle": "p5.js Web Editor | {{anotheruser}}'s sketches", - "NoCollections": "No collections." + "AnothersTitle": "p5.js Web Editor | {{anotheruser}} のスケッチ", + "NoCollections": "コレクションがありません。" }, "Editor": { - "OpenSketchARIA": "Open Sketch files navigation", - "CloseSketchARIA": "Close Sketch files navigation", - "UnsavedChangesARIA": "Sketch has unsaved changes", - "KeyUpLineNumber": "line {{lineNumber}}" + "OpenSketchARIA": "スケッチファイルのナビゲーションを開く", + "CloseSketchARIA": "スケッチファイルのナビゲーションを閉じる", + "UnsavedChangesARIA": "スケッチに未保存の変更があります", + "KeyUpLineNumber": "{{lineNumber}} 行" }, "EditorAccessibility": { - "NoLintMessages": "There are no lint messages ", - "CurrentLine": " Current line" + "NoLintMessages": "リントメッセージはありません ", + "CurrentLine": " 現在の行" }, "Timer": { - "SavedAgo": "Saved: {{timeAgo}}" + "SavedAgo": "保存されました: {{timeAgo}}" }, "formatDate": { "JustNow": "just now", @@ -530,48 +530,48 @@ "Ago": "{{timeAgo}}前" }, "AddRemoveButton": { - "AltAddARIA": "Add to collection", - "AltRemoveARIA": "コレクションから削除する" + "AltAddARIA": "コレクションへ追加", + "AltRemoveARIA": "コレクションから削除" }, "CopyableInput": { "CopiedARIA": "クリップボードへコピーしました!", - "OpenViewTabARIA": "Open {{label}} view in new tab" + "OpenViewTabARIA": "新しいタブで {{label}} ビューを開く" }, "EditableInput": { - "EditValue": "Edit {{display}} value", - "EmptyPlaceholder": "No value" + "EditValue": "{{display}} 値を編集", + "EmptyPlaceholder": "値がありません" }, "PreviewNav": { "EditSketchARIA": "スケッチを編集する", - "ByUser": "by" + "ByUser": "によって" }, "MobilePreferences": { "Settings": "設定", "GeneralSettings": "一般設定", "Accessibility": "アクセシビリティ", - "AccessibleOutput": "Accessible Output", + "AccessibleOutput": "アクセス可能な出力", "Theme": "テーマ", "LightTheme": "ライト", "DarkTheme": "ダーク", "HighContrastTheme": "ハイコントラスト", "Autosave": "自動保存", - "WordWrap": "Word Wrap", + "WordWrap": "ワードラップ", "LineNumbers": "行番号", - "LintWarningSound": "Lint warning sound", - "UsedScreenReader": "Used with screen reader", - "PlainText": "Plain-text", - "TableText": "Table-text", - "Sound": "Sound" + "LintWarningSound": "リント警告音", + "UsedScreenReader": "スクリーンリーダーと併用", + "PlainText": "プレインテキスト", + "TableText": "テーブルテキスト", + "Sound": "サウンド" }, "PreferenceCreators": { - "On": "On", - "Off": "Off" + "On": "オン", + "Off": "オフ" }, "MobileIDEView":{ "Preferences": "設定", - "MyStuff": "My Stuff", + "MyStuff": "マイスタッフ", "Examples": "サンプル", - "OriginalEditor": "Original Editor", + "OriginalEditor": "オリジナルエディター", "Login": "ログイン", "Logout": "ログアウト" }, @@ -588,4 +588,3 @@ "Files": "ファイル" } } - \ No newline at end of file From 269b9a380bd2651f9d36e4f434d1418a1b50f1d6 Mon Sep 17 00:00:00 2001 From: koji Date: Sat, 7 Nov 2020 04:02:26 -0500 Subject: [PATCH 6/6] Respond to the feedback. - modify the translation in i18n.js - merged #1552 and translated new items --- client/i18n.js | 2 +- translations/locales/ja/translations.json | 18 +++++++++++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/client/i18n.js b/client/i18n.js index 991799d0d0..d3dcaf9d1d 100644 --- a/client/i18n.js +++ b/client/i18n.js @@ -11,7 +11,7 @@ export function languageKeyToLabel(lang) { const languageMap = { 'en-US': 'English', 'es-419': 'Español', - 'ja': 'Japanese' + 'ja': '日本語' }; return languageMap[lang]; } diff --git a/translations/locales/ja/translations.json b/translations/locales/ja/translations.json index 293ee0b8be..d909687e67 100644 --- a/translations/locales/ja/translations.json +++ b/translations/locales/ja/translations.json @@ -15,7 +15,8 @@ "TidyCode": "コード整形", "Find": "検索", "FindNext": "次を検索", - "FindPrevious": "前を検索" + "FindPrevious": "前を検索", + "Replace": "置換" }, "Sketch": { "Title": "スケッチ", @@ -48,6 +49,20 @@ "LogOut": "ログアウト" } }, + "CodemirrorFindAndReplace": { + "Find": "検索", + "FindPlaceholder": "ファイル内検索", + "Replace": "置換", + "ReplaceAll": "全て置換", + "ReplacePlaceholder": "置換するテキスト", + "Regex": "正規表現", + "CaseSensitive": "大文字小文字を区別する", + "WholeWords": "全単語", + "Previous": "前", + "Next": "次", + "NoResults": "該当なし", + "Close": "閉じる" + }, "LoginForm": { "UsernameOrEmail": "eメールもしくはユーザ名", "UsernameOrEmailARIA": "eメールもしくはユーザ名", @@ -165,6 +180,7 @@ "FindText": "テキスト検索", "FindNextMatch": "次の一致を検索", "FindPrevMatch": "前の一致を検索", + "ReplaceTextMatch": "一致するテキストの置換", "IndentCodeLeft": "インデント左揃え", "IndentCodeRight": "インデント右揃え", "CommentLine": "コメントライン",