on-codemerge
Version:
A WYSIWYG editor for on-codemerge is a user-friendly interface that allows users to edit and view their code in real time, exactly as it will appear in the final product
526 lines (525 loc) • 20.9 kB
JavaScript
/*! on-codemerge v1.3.1 @author Pavel Kuzmin @license MIT @homepage https://s00d.github.io/on-codemerge/ @repository git+https://github.com/s00d/on-codemerge.git Copyright (c) 2026 Pavel Kuzmin - Built on 2026-07-02T13:39:17.947Z */
const e = "1月", t = "2月", o = "3月", n = "4月", s = "5月", r = "6月", a = "7月", l = "8月", i = "9月", c = "10月", d = "11月", p = "12月", m = "タイポグラフィ", u = "段落", C = "ブロッククォート", g = "整形済み", T = "更新済み", y = "新規", S = "テンプレート", h = "名前", b = "内容", w = "太字", E = "下線", D = "取り消し線", L = "斜体", v = "レスポンシブ", A = "シリーズ", f = "合計", k = "ラベル", I = "値", F = "色", M = "フォーマット", R = "X", x = "Y", H = "サイズ", B = "URL", P = "アンカー", U = "タイトル", V = "コピー", z = "保存", N = "表示", Y = "複製", W = "キャンセル", G = "編集", O = "削除", X = "削除", q = "言語", J = "エクスポート", j = "本当によろしいですか?", _ = "参照", K = "アップロード中", Z = "単語", Q = "文字", $ = "文", ee = "段落", te = "元に戻す", oe = "やり直す", ne = "復元", se = "脚注", re = "挿入", ae = "分", le = "凡例", ie = "適用", ce = "テーマ", de = "サイズ", pe = "幅", me = "ボーダー", ue = "色", Ce = "エフェクト", ge = "ブレークポイント", Te = "配置", ye = "パディング", Se = "高さ", he = "分割", be = "水平に", we = "垂直に", Ee = "結合", De = "移動", Le = "上", ve = "下", Ae = "設定", fe = "切り取り", ke = "貼り付け", Ie = "並べ替え", Fe = "プロパティ", Me = "セル", Re = "モバイル", xe = "タブレット", He = "デスクトップ", Be = "大", Pe = "ウルトラ", Ue = "フルイド", Ve = "タイマー", ze = "一般", Ne = "日", Ye = "時間", We = "秒", Ge = "まで", Oe = "作成", Xe = "更新", qe = "アクション", Je = "昇順", je = "参加者", _e = "カレンダー", Ke = "カテゴリー", Ze = "クリア", Qe = "コラボレーション", $e = "データ", et = "降順", tt = "説明", ot = "イベント", nt = "高", st = "インポート", rt = "場所", at = "低", lt = "中", it = "向き", ct = "優先度", dt = "選択", pt = "タグ", mt = "時間", ut = "ヒント", Ct = {
"New Block": "新しいブロック",
"Split Horizontally": "水平に分割",
"Split Vertically": "垂直に分割",
"Move Up": "上に移動",
"Move Down": "下に移動",
"Block 1": "ブロック1",
"Block 2": "ブロック2",
"Series 1": "シリーズ1",
"No valid data points to display": "表示する有効なデータポイントがありません",
Jan: e,
Feb: t,
Mar: o,
Apr: n,
May: s,
Jun: r,
Jul: a,
Aug: l,
Sep: i,
Oct: c,
Nov: d,
Dec: p,
"Keyboard Shortcuts": "キーボードショートカット",
"Insert Table": "表を挿入",
"Add Row Above": "上に行を追加",
"Add Row Below": "下に行を追加",
"Add Column Left": "左に列を追加",
"Add Column Right": "右に列を追加",
"Delete Row": "行を削除",
"Delete Column": "列を削除",
"Delete Table": "表を削除",
"Merge Cells": "セルを結合",
"Split Cell": "セルを分割",
"Set Cell Border": "セルの枠線を設定",
"Include header row": "ヘッダー行を含める",
Typography: m,
"Typography Styles": "タイポグラフィスタイル",
"Clear Formatting": "書式をクリア",
"Heading 1": "見出し1",
"Heading 2": "見出し2",
"Heading 3": "見出し3",
"Heading 4": "見出し4",
Paragraph: u,
Blockquote: C,
Preformatted: g,
"Horizontal Line": "水平線",
Updated: T,
"Insert Video": "動画を挿入",
"Are you sure you want to delete this template?": "このテンプレートを削除してもよろしいですか?",
New: y,
Templates: S,
Name: h,
Content: b,
"Insert YouTube Video": "YouTube動画を挿入",
"YouTube Video URL": "YouTube動画URL",
Bold: w,
Underline: E,
Strikethrough: D,
Italic: L,
"Responsive View": "レスポンシブ表示",
"Mobile View": "モバイル表示",
"Tablet View": "タブレット表示",
"Desktop View": "デスクトップ表示",
"Large Desktop View": "大型デスクトップ表示",
"Ultra Wide View": "超ワイド表示",
Responsive: v,
"Select a viewport size to preview your content at different screen widths.<br>Use the resize handles in responsive mode to adjust the width manually.": "異なる画面幅でコンテンツをプレビューするためにビューポートサイズを選択してください。<br>レスポンシブモードでリサイズハンドルを使用して幅を手動で調整します。",
Series: A,
Total: f,
"Data Points": "データポイント",
"Add Point": "ポイントを追加",
Label: k,
Value: I,
Color: F,
Format: M,
"Delete Point": "ポイントを削除",
"Series Data": "シリーズデータ",
"Add Series": "シリーズを追加",
"Series name": "シリーズ名",
"Insert Code Block": "コードブロックを挿入",
"Copy to clipboard": "クリップボードにコピー",
"+ Add Data Point": "+ データポイントを追加",
X: R,
Y: x,
"Bullet List": "箇条書きリスト",
"Numbered List": "番号付きリスト",
Size: H,
URL: B,
Anchor: P,
Title: U,
'Open in new tab (target="_blank")': '新しいタブで開く (target="_blank")',
'Add rel="nofollow"': 'rel="nofollow"を追加',
"Insert Chart": "チャートを挿入",
"Enter your code here...": "ここにコードを入力してください...",
"Copied!": "コピーしました!",
Copy: V,
Save: z,
View: N,
Duplicate: Y,
Cancel: W,
Edit: G,
Delete: O,
Remove: X,
Language: q,
Export: J,
Error: "エラー",
"Insert Link": "リンクを挿入",
"Align Left": "左揃え",
"Align Center": "中央揃え",
"Align Right": "右揃え",
"Insert Image": "画像を挿入",
"Font Size": "フォントサイズ",
"Font Family": "フォントファミリー",
"Font Settings": "フォント設定",
"Upload File": "ファイルをアップロード",
"Plain Text": "プレーンテキスト",
"Markdown File": "Markdownファイル",
"HTML File": "HTMLファイル",
"Use comments to provide feedback or suggestions.": "フィードバックや提案を提供するためにコメントを使用してください。",
"Delete Comment": "コメントを削除",
"Please select some text to comment on": "コメントするテキストを選択してください",
"Failed to insert comment. Please try selecting a simpler text range.": "コメントの挿入に失敗しました。より単純なテキスト範囲を選択してください。",
"Insert Comment": "コメントを挿入",
"Recent Colors": "最近使用した色",
Confirm: j,
"Background Color": "背景色",
"Text Color": "文字色",
"Drag and drop your file here, or": "ファイルをここにドラッグ&ドロップするか、",
browse: _,
"Maximum file size: ": "最大ファイルサイズ: ",
Uploading: K,
"File size exceeds 10MB limit": "ファイルサイズが{{max}}制限を超えています",
"Upload failed. Please try again.": "アップロードに失敗しました。もう一度お試しください。",
Words: Z,
Characters: Q,
"Characters (without spaces)": "文字(スペースなし)",
Sentences: $,
Paragraphs: ee,
"HTML Source": "HTMLソース",
"View HTML": "HTMLを表示",
Undo: te,
Redo: oe,
Restore: ne,
"Initial version": "初期バージョン",
"Changes from previous version:": "前のバージョンからの変更:",
"Edit History": "編集履歴",
"View History": "履歴を表示",
"Reading time": "読了時間",
"Insert Footnote": "脚注を挿入",
Footnotes: se,
"Add Footnote": "脚注を追加",
"Add explanatory or reference text that will appear at the bottom of the document": "文書の下部に表示される説明テキストまたは参照テキストを追加",
Insert: re,
min: ae,
"Export PNG": "PNGをエクスポート",
"Select template...": "テンプレートを選択...",
"Bar: Sales": "棒グラフ:売上",
"Pie: Expenses": "円グラフ:支出",
"Doughnut: Browsers": "ドーナツ:ブラウザ",
"Line: Visitors": "折れ線:訪問者",
"Chart Title": "グラフタイトル",
"X Axis Label": "X軸ラベル",
"Y Axis Label": "Y軸ラベル",
Legend: le,
"Show Legend": "凡例を表示",
"Hide Legend": "凡例を非表示",
"Table Properties": "テーブルプロパティ",
Apply: ie,
"Style & Theme": "スタイルとテーマ",
"Table Style": "テーブルスタイル",
Theme: ce,
Dimensions: de,
Width: pe,
"Cell Padding": "セルパディング",
Borders: me,
"Border Style": "ボーダースタイル",
"Border Width": "ボーダー幅",
"Border Color": "ボーダー色",
Colors: ue,
"Header Background": "ヘッダー背景",
"Header Text Color": "ヘッダーテキスト色",
Effects: Ce,
"Zebra Stripe": "ゼブラストライプ",
"Hover Effect": "ホバーエフェクト",
"Responsive Settings": "レスポンシブ設定",
Breakpoint: ge,
"Enable Horizontal Scroll": "水平スクロールを有効化",
"Enable Touch Support": "タッチサポートを有効化",
"Enable Cards on Mobile": "モバイルでカードを有効化",
"Cell Formatting": "セルフォーマット",
"Text Formatting": "テキストフォーマット",
"Font Weight": "フォントウェイト",
"Font Style": "フォントスタイル",
"Text Decoration": "テキスト装飾",
Alignment: Te,
"Horizontal Alignment": "水平配置",
"Vertical Alignment": "垂直配置",
Padding: ye,
Height: Se,
"Insert Lazy Table": "遅延テーブルを挿入",
"Edit Lazy Table": "遅延テーブルを編集",
"Fill Table": "テーブルを埋める",
"Fill Table with Data": "データでテーブルを埋める",
"Update Table": "テーブルを更新",
"Text Block": "テキストブロック",
"Container Block": "コンテナブロック",
"Split Container": "コンテナを分割",
Split: he,
Horizontally: be,
Vertically: we,
Merge: Ee,
Move: De,
Up: Le,
Down: ve,
Settings: Ae,
"Make Editable": "編集可能にする",
"Make Read-only": "読み取り専用にする",
"Insert Block": "ブロックを挿入",
"Clear Cell": "セルをクリア",
"Delete Cell": "セルを削除",
"Select All": "すべて選択",
Cut: fe,
Paste: ke,
"Auto Size": "自動サイズ",
Sort: Ie,
"Sort Ascending": "昇順で並べ替え",
"Sort Descending": "降順で並べ替え",
"Export Table": "テーブルをエクスポート",
"Import Table": "テーブルをインポート",
Properties: Fe,
Cells: Me,
Mobile: Re,
Tablet: xe,
Desktop: He,
Large: Be,
Ultra: Pe,
Fluid: Ue,
"Resize editor width": "エディター幅をリサイズ",
Timer: Ve,
General: ze,
days: Ne,
hours: Ye,
sec: We,
"Time expired": "時間切れ",
Until: Ge,
"Edit Timer": "タイマーを編集",
"Copy Timer": "タイマーをコピー",
"Export Timer": "タイマーをエクスポート",
"Import Timer": "タイマーをインポート",
"Delete Timer": "タイマーを削除",
"Timer copied successfully": "タイマーが正常にコピーされました",
"Failed to copy timer": "タイマーのコピーに失敗しました",
"Export failed": "エクスポートに失敗しました",
"Timer imported successfully": "タイマーが正常にインポートされました",
"Import failed": "インポートに失敗しました",
"Title is required": "タイトルが必要です",
"Target date is required": "目標日が必要です",
"Target time is required": "目標時間が必要です",
"Invalid date/time format": "無効な日付/時刻形式",
"Enter timer title": "タイマーのタイトルを入力してください",
"Enter timer description": "タイマーの説明を入力してください",
"Enter category": "カテゴリを入力してください",
"Enter tags separated by commas": "カンマで区切られたタグを入力してください",
"New Timer": "新しいタイマー",
Create: Oe,
Update: Xe,
"No timers found": "タイマーが見つかりません",
"Create your first timer to get started": "開始するには最初のタイマーを作成してください",
"Are you sure you want to delete this timer?": "このタイマーを削除してもよろしいですか?",
Actions: qe,
"Add Column": "列を追加",
"Add Event": "イベントを追加",
"Add Row": "行を追加",
"All day event": "終日イベント",
"Are you sure you want to delete this calendar?": "このカレンダーを削除してもよろしいですか?",
Ascending: Je,
Attendees: je,
"Auto Fit": "自動調整",
"Bar/Area Mode": "棒グラフ/エリアモード",
"Block Style": "ブロックスタイル",
"Block Style Editor": "ブロックスタイルエディター",
"CSS Classes": "CSSクラス",
"CSS Selector (for HTML)": "CSSセレクター(HTML用)",
"CSV Delimiter": "CSV区切り文字",
Calendar: _e,
"Calendar Title": "カレンダータイトル",
"Calendar copied successfully": "カレンダーが正常にコピーされました",
"Calendar imported successfully": "カレンダーが正常にインポートされました",
Category: Ke,
"Cell Operations": "セル操作",
"Chart Type": "チャートタイプ",
Clear: Ze,
"Clear Table": "テーブルをクリア",
"Clipboard Operations": "クリップボード操作",
Collaboration: Qe,
"Copy Calendar": "カレンダーをコピー",
"Copy Cell": "セルをコピー",
"Copy Event": "イベントをコピー",
"Copy Table": "テーブルをコピー",
"Create your first calendar to get started": "最初のカレンダーを作成して開始",
"Current locale - Click to change": "現在のロケール - クリックして変更",
"Current viewport - Click to change": "現在のビューポート - クリックして変更",
"Cut Cell": "セルを切り取り",
Data: $e,
"Data URL": "データURL",
Date: "日付",
"Default Colors": "デフォルトカラー",
"Delete Calendar": "カレンダーを削除",
"Delete Elements": "要素を削除",
"Delete Event": "イベントを削除",
Descending: et,
Description: tt,
"Display Settings": "表示設定",
"Duplicated Block": "複製されたブロック",
"Duration (minutes)": "期間(分)",
"Edit Calendar": "カレンダーを編集",
"Edit Event": "イベントを編集",
"Enter X axis label...": "X軸ラベルを入力...",
"Enter Y axis label...": "Y軸ラベルを入力...",
"Enter attendees (comma separated)": "参加者を入力(カンマ区切り)",
"Enter calendar description": "カレンダーの説明を入力",
"Enter calendar title": "カレンダータイトルを入力",
"Enter chart title...": "チャートタイトルを入力...",
"Enter event description": "イベントの説明を入力",
"Enter event location": "イベントの場所を入力",
"Enter event title": "イベントタイトルを入力",
"Enter tags (comma separated)": "タグを入力(カンマ区切り)",
Event: ot,
"Event copied successfully": "イベントが正常にコピーされました",
"Export Calendar": "カレンダーをエクスポート",
"Export as PNG": "PNGとしてエクスポート",
"Failed to copy calendar": "カレンダーのコピーに失敗しました",
"Failed to copy event": "イベントのコピーに失敗しました",
"First row contains headers": "最初の行にヘッダーが含まれています",
"Fluid width": "フルード幅",
"Format Cell": "セルをフォーマット",
High: nt,
Import: st,
"Import Calendar": "カレンダーをインポート",
"Import Type": "インポートタイプ",
"Import/Export": "インポート/エクスポート",
"Inline Styles": "インラインスタイル",
"Insert Cell": "セルを挿入",
"Insert Cell Above": "上にセルを挿入",
"Insert Cell Below": "下にセルを挿入",
"Insert Cell Left": "左にセルを挿入",
"Insert Cell Right": "右にセルを挿入",
"Insert Math": "数式を挿入",
"Language Settings": "言語設定",
"Large Desktop": "大型デスクトップ",
"Large desktop view": "大型デスクトップビュー",
"Line Height": "行の高さ",
Location: rt,
Low: at,
Medium: lt,
"Merge Horizontally": "水平方向に結合",
"Merge Vertically": "垂直方向に結合",
"New Calendar": "新しいカレンダー",
"New Template": "新しいテンプレート",
"No calendars found": "カレンダーが見つかりません",
"No reminder": "リマインダーなし",
"Note: Width is disabled when Horizontal Scroll is enabled": "注意:水平スクロールが有効な場合、幅は無効になります",
Orientation: it,
"Paste Cell": "セルを貼り付け",
"Please enter a valid URL": "有効なURLを入力してください",
"Print / PDF File": "印刷 / PDFファイル",
Priority: ct,
"Reminder (minutes before)": "リマインダー(分前)",
"Resize Columns": "列のサイズを変更",
"Search shortcuts...": "ショートカットを検索...",
"Select Column": "列を選択",
"Select Elements": "要素を選択",
"Select Row": "行を選択",
"Select Viewport": "ビューポートを選択",
"Select category": "カテゴリーを選択",
Selection: dt,
"Show Grid": "グリッドを表示",
"Smartphone view": "スマートフォンビュー",
"Sort Table": "テーブルを並べ替え",
"Spell Check": "スペルチェック",
"Standard desktop": "標準デスクトップ",
"Table ID (optional)": "テーブルID(オプション)",
"Table Management": "テーブル管理",
"Table Operations": "テーブル操作",
"Table Tools": "テーブルツール",
"Tablet view": "タブレットビュー",
Tags: pt,
"Tags (comma separated)": "タグ(カンマ区切り)",
"Target Date": "目標日",
"Target Time": "目標時間",
Time: mt,
Tips: ut,
"Ultra Wide": "ウルトラワイド",
"Ultra wide screen": "ウルトラワイドスクリーン",
"• Responsive mode allows manual resizing": "• レスポンシブモードでは手動でサイズ変更が可能",
"• Tables adapt automatically to viewport size": "• テーブルはビューポートサイズに自動的に適応",
"• Use hotkeys for quick switching": "• ホットキーを使用して素早く切り替え",
"• Viewport state is saved automatically": "• ビューポート状態は自動的に保存されます"
};
export {
qe as Actions,
Te as Alignment,
P as Anchor,
ie as Apply,
n as Apr,
Je as Ascending,
je as Attendees,
l as Aug,
C as Blockquote,
w as Bold,
me as Borders,
ge as Breakpoint,
_e as Calendar,
W as Cancel,
Ke as Category,
Me as Cells,
Q as Characters,
Ze as Clear,
Qe as Collaboration,
F as Color,
ue as Colors,
j as Confirm,
b as Content,
V as Copy,
Oe as Create,
fe as Cut,
$e as Data,
p as Dec,
O as Delete,
et as Descending,
tt as Description,
He as Desktop,
de as Dimensions,
ve as Down,
Y as Duplicate,
G as Edit,
Ce as Effects,
ot as Event,
J as Export,
t as Feb,
Ue as Fluid,
se as Footnotes,
M as Format,
ze as General,
Se as Height,
nt as High,
be as Horizontally,
st as Import,
re as Insert,
L as Italic,
e as Jan,
a as Jul,
r as Jun,
k as Label,
q as Language,
Be as Large,
le as Legend,
rt as Location,
at as Low,
o as Mar,
s as May,
lt as Medium,
Ee as Merge,
Re as Mobile,
De as Move,
h as Name,
y as New,
d as Nov,
c as Oct,
it as Orientation,
ye as Padding,
u as Paragraph,
ee as Paragraphs,
ke as Paste,
g as Preformatted,
ct as Priority,
Fe as Properties,
oe as Redo,
X as Remove,
v as Responsive,
ne as Restore,
z as Save,
dt as Selection,
$ as Sentences,
i as Sep,
A as Series,
Ae as Settings,
H as Size,
Ie as Sort,
he as Split,
D as Strikethrough,
xe as Tablet,
pt as Tags,
S as Templates,
ce as Theme,
mt as Time,
Ve as Timer,
ut as Tips,
U as Title,
f as Total,
m as Typography,
B as URL,
Pe as Ultra,
E as Underline,
te as Undo,
Ge as Until,
Le as Up,
Xe as Update,
T as Updated,
K as Uploading,
I as Value,
we as Vertically,
N as View,
pe as Width,
Z as Words,
R as X,
x as Y,
_ as browse,
Ne as days,
Ct as default,
Ye as hours,
ae as min,
We as sec
};