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
3 changes: 2 additions & 1 deletion src/i18n/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import i18n from 'i18next';
import { initReactI18next } from 'react-i18next';
import LanguageDetector from 'i18next-browser-languagedetector';
import { en, zh, hi, id } from './locales';
import { en, zh, hi, id, ja } from './locales';

// NOTE: locale JSON is ingested into the i18next store once, here, at init().
// Adding keys to a locale file requires a full page reload (not just HMR) for
Expand All @@ -14,6 +14,7 @@ const resources = {
zh: { translation: zh },
hi: { translation: hi },
id: { translation: id },
ja: { translation: ja },
};

export const SUPPORTED_UI_LANGUAGES: readonly string[] = Object.keys(resources);
Expand Down
3 changes: 2 additions & 1 deletion src/i18n/locales/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ import en from './en';
import zh from './zh';
import hi from './hi';
import id from './id';
import ja from './ja';

export { en, zh, hi, id };
export { en, zh, hi, id, ja };
278 changes: 278 additions & 0 deletions src/i18n/locales/ja/chart.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,278 @@
{
"chart": {
"vegaLocale": {
"dateTime": "%Y年%-m月%-d日 %A %X",
"date": "%Y/%-m/%-d",
"time": "%H:%M:%S",
"periods": [
"午前",
"午後"
],
"days": [
"日曜日",
"月曜日",
"火曜日",
"水曜日",
"木曜日",
"金曜日",
"土曜日"
],
"shortDays": [
"日",
"月",
"火",
"水",
"木",
"金",
"土"
],
"months": [
"1月",
"2月",
"3月",
"4月",
"5月",
"6月",
"7月",
"8月",
"9月",
"10月",
"11月",
"12月"
],
"shortMonths": [
"1月",
"2月",
"3月",
"4月",
"5月",
"6月",
"7月",
"8月",
"9月",
"10月",
"11月",
"12月"
]
},
"derivedConcepts": "数式",
"dataTransformCode": "データ変換コード",
"dataTransformExplanation": "データ変換の説明",
"zoomIn": "拡大します",
"zoomOut": "縮小します",
"resizeSliderAria": "チャート表示スケール",
"saveCopy": "コピーを保存します",
"duplicate": "チャートを複製します",
"delete": "削除します",
"deleteChart": "チャートを削除します",
"deleteChartConfirm": "このチャートを削除しますか?",
"deleteChartCancel": "キャンセルします",
"deleteChartYes": "削除します",
"sampleSize": "サンプルサイズ",
"sampleSizeAria": "サンプルサイズ",
"sampleAgain": "もう一度サンプリングします!",
"chartType": "チャートの種類",
"chartPreview": "チャートプレビュー",
"noChart": "チャートが選択されていません",
"createChart": "チャートを作成して開始します",
"addChart": "チャートを追加します",
"chartSettings": "チャート設定",
"chartBuilder": "チャートビルダー",
"dataSource": "データソース",
"data": "データ",
"chat": "チャット",
"code": "コード",
"agentLog": "エージェントログ",
"explain": "説明します",
"concepts": "数式",
"orStartWithChartType": "新しいチャートを作成しますか?",
"orCreateYourself": "または自分で作成しますか?",
"emptyStateTitle": "データを探索する準備ができましたか?",
"emptyStateSubtitle": "チャットでエージェントに質問してください — アイデアの提案、データの説明、データ変換、チャート作成ができます。",
"emptyStateChatHint": "左下のチャット入力をお試しください",
"emptyStateOrPickType": "またはチャート種別を選んで手動で開始します",
"resample": "再サンプリングします",
"adjustSampleSize": "サンプルサイズを調整します: {{sampleSize}} / {{totalSize}} 行",
"log": "ログ",
"insight": "インサイト",
"openInVegaEditor": "Vega Editorで開きます",
"viewChartSpec": "チャート仕様を表示します",
"editChart": "チャートを編集します",
"chartInsight": "チャートインサイト",
"analyzingChart": "チャートを分析しています...",
"regenerate": "再生成します",
"noInsightAvailable": "利用可能なインサイトがありません。",
"generateInsight": "インサイトを生成します",
"iLikeIt": "気に入りました!",
"notAnymore": "もう気に入っていません",
"visualizing": "可視化しています",
"sampleRows": "サンプル行",
"msgTable": "可視化したい内容を教えてください!",
"msgAuto": "何か話しかけてチャートのおすすめを取得しましょう!",
"msgEncodingEmpty": "データフィールドをチャートビルダーに配置するか、希望を説明してください!",
"msgUnavailable": "データを定式化して可視化を作成しましょう!",
"msgSynthesizing": "合成しています...",
"msgWarning": "AIが生成した結果は不正確な場合があります。内容を確認してください!",
"templateGroups": {
"table": "テーブル",
"scatter": "散布図",
"bar": "棒グラフ",
"map": "地図",
"pie": "円グラフ",
"line": "折れ線グラフ",
"custom": "カスタム"
},
"templateNames": {
"auto": "自動",
"table": "テーブル",
"scatterPlot": "散布図",
"regression": "回帰",
"rangedDotPlot": "レンジドットプロット",
"boxplot": "箱ひげ図",
"stripPlot": "ストリッププロット",
"barChart": "棒グラフ",
"groupedBarChart": "グループ化棒グラフ",
"stackedBarChart": "積み上げ棒グラフ",
"histogram": "ヒストグラム",
"lollipopChart": "ロリポップチャート",
"pyramidChart": "ピラミッドチャート",
"lineChart": "折れ線グラフ",
"bumpChart": "バンプチャート",
"areaChart": "面グラフ",
"streamgraph": "ストリームグラフ",
"pieChart": "円グラフ",
"roseChart": "ローズチャート",
"heatmap": "ヒートマップ",
"waterfallChart": "ウォーターフォールチャート",
"densityPlot": "密度プロット",
"radarChart": "レーダーチャート",
"candlestickChart": "ローソク足チャート",
"usMap": "米国地図",
"worldMap": "世界地図",
"customPoint": "カスタムポイント",
"customLine": "カスタムライン",
"customBar": "カスタムバー",
"customRect": "カスタム長方形",
"customArea": "カスタムエリア"
},
"chartCategoryTip": {
"points": "ポイント系チャート(散布図、ドット、回帰)",
"bars": "棒グラフ・縦棒グラフ",
"distributions": "分布・統計チャート",
"linesAndAreas": "折れ線・エリアチャート",
"circular": "円グラフ・ローズチャート・レーダーチャート",
"tablesAndMaps": "タイル、テーブル、KPI・地図チャート",
"custom": "カスタムマークの種類"
},
"gallery": {
"inferredSize": "推定サイズ: {{size}}",
"warningLabel": "警告:",
"copySpecVL": "Spec + VLをコピーします",
"copyMarkdownAgentsInputHeading": "## agents-chart 入力仕様",
"copyMarkdownVegaLiteOutputHeading": "## vega-lite 出力仕様(最初の50行)",
"spec": "Spec",
"noTestCases": "「{{chartGroup}}」にテストケースが定義されていません",
"echartsLabel": "ECharts",
"echartsOption": "EChartsオプション",
"vegaLiteLabel": "Vega-Lite",
"vegaLiteSpec": "Vega-Lite仕様",
"chartJsLabel": "Chart.js",
"chartJsConfig": "Chart.js設定",
"noSpec": "{{assembler}} はspecを返しませんでした",
"noOption": "{{assembler}} はオプションを返しませんでした",
"noConfig": "{{assembler}} は設定を返しませんでした",
"noVLSpec": "VL仕様がありません",
"embedError": "{{backend}} 埋め込みエラー: {{message}}",
"assemblyError": "アセンブリエラー: {{message}}",
"backendError": "{{backend}} エラー: {{message}}",
"sectionLabels": {
"semanticContext": "セマンティックコンテキスト",
"vegaLite": "VegaLite",
"facets": "ファセット",
"stressTests": "ストレステスト",
"echartsBackend": "EChartsバックエンド",
"chartJsBackend": "Chart.jsバックエンド",
"goFishBasic": "GoFishベーシック"
},
"sectionDescriptions": {
"semanticContext": "セマンティック型アノテーションがチャート出力をどう改善するかを示します: 書式、ドメイン制約、軸反転、スケール種別、補間",
"vegaLite": "対応する全チャート種別のデモです",
"facets": "ファセットモードと機能の組み合わせです",
"stressTests": "オーバーフロー、弾力性、時間形式のストレステストです",
"echartsBackend": "同じ入力をEChartsバックエンドで処理 — シリーズベース出力とVLエンコーディングベース出力を比較します",
"chartJsBackend": "同じ入力をChart.jsバックエンドで処理 — データセットベース出力とVL/EC出力を比較します",
"goFishBasic": "すべてのGoFishチャート例を1ページにまとめています"
},
"entryLabels": {
"semanticContext": "セマンティックコンテキスト",
"snapToBound": "境界スナップ",
"scatterPlot": "散布図",
"regression": "回帰",
"barChart": "棒グラフ",
"stackedBarChart": "積み上げ棒グラフ",
"groupedBarChart": "グループ化棒グラフ",
"histogram": "ヒストグラム",
"heatmap": "ヒートマップ",
"lineChart": "折れ線グラフ",
"boxplot": "箱ひげ図",
"pieChart": "円グラフ",
"rangedDotPlot": "レンジドットプロット",
"areaChart": "面グラフ",
"streamgraph": "ストリームグラフ",
"lollipopChart": "ロリポップチャート",
"densityPlot": "密度プロット",
"bumpChart": "バンプチャート",
"candlestickChart": "ローソク足チャート",
"waterfallChart": "ウォーターフォールチャート",
"stripPlot": "ストリッププロット",
"radarChart": "レーダーチャート",
"pyramidChart": "ピラミッドチャート",
"roseChart": "ローズチャート",
"customCharts": "カスタムチャート",
"facetColumns": "ファセット: 列",
"facetRows": "ファセット: 行",
"facetColsRows": "ファセット: 列+行",
"facetSmall": "ファセット: 小",
"facetWrap": "ファセット: ラップ",
"facetClip": "ファセット: クリップ",
"facetOverflowedCol": "ファセット: オーバーフロー列",
"facetOverflowedColRow": "ファセット: オーバーフロー列+行",
"facetOverflowedRow": "ファセット: オーバーフロー行",
"facetDenseLine": "ファセット: 密な線",
"overflow": "オーバーフロー",
"elasticityStretch": "弾力性と伸縮",
"discreteAxisSizing": "離散軸サイズ",
"gasPressure": "ガス圧力 (§2)",
"lineAreaStretch": "線・面の伸縮",
"datesYear": "日付: 年",
"datesMonth": "日付: 月",
"datesYearMonth": "日付: 年月",
"datesDecade": "日付: 年代",
"datesDateTime": "日付: 日付/日時",
"datesHours": "日付: 時",
"echartsFacetSmall": "ECharts: ファセット小",
"echartsFacetWrap": "ECharts: ファセットラップ",
"echartsFacetClip": "ECharts: ファセットクリップ",
"echartsGauge": "ECharts: ゲージ",
"echartsFunnel": "ECharts: ファネル",
"echartsTreemap": "ECharts: ツリーマップ",
"echartsSunburst": "ECharts: サンバースト",
"echartsSankey": "ECharts: サンキー",
"echartsUniqueStress": "ECharts: 固有ストレステスト",
"echartsStressTests": "ECharts: ストレステスト",
"chartJsScatter": "Chart.js: 散布図",
"chartJsLine": "Chart.js: 折れ線",
"chartJsBar": "棒グラフ",
"chartJsStackedBar": "積み上げ棒グラフ",
"chartJsGroupedBar": "グループ化棒グラフ",
"chartJsArea": "面グラフ",
"chartJsPie": "円グラフ",
"chartJsHistogram": "Chart.js: ヒストグラム",
"chartJsRadar": "Chart.js: レーダー",
"chartJsRose": "Chart.js: ローズ",
"chartJsStressTests": "Chart.js: ストレステスト",
"goFishBasic": "GoFishベーシック"
}
}
}
}
Loading