feat: add routes, lang, tests, stubs, docs, and docker configurations
This commit is contained in:
+45
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => '関連付ける',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => ':labelを関連付ける',
|
||||
|
||||
'fields' => [
|
||||
|
||||
'record_id' => [
|
||||
'label' => 'レコード',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'associate' => [
|
||||
'label' => '関連付ける',
|
||||
],
|
||||
|
||||
'associate_another' => [
|
||||
'label' => '保存して、続けて関連付ける',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'associated' => [
|
||||
'title' => '関連付けしました',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+45
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => '紐付ける',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => ':labelを紐付ける',
|
||||
|
||||
'fields' => [
|
||||
|
||||
'record_id' => [
|
||||
'label' => 'レコード',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'attach' => [
|
||||
'label' => '紐付ける',
|
||||
],
|
||||
|
||||
'attach_another' => [
|
||||
'label' => '紐付けして、続けて紐付ける',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'attached' => [
|
||||
'title' => '紐付けしました',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => '作成',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => ':label 作成',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'create' => [
|
||||
'label' => '作成',
|
||||
],
|
||||
|
||||
'create_another' => [
|
||||
'label' => '保存して、続けて作成',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'created' => [
|
||||
'title' => '作成しました',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+73
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => '削除',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => ':label 削除',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'delete' => [
|
||||
'label' => '削除',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'deleted' => [
|
||||
'title' => '削除しました',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => '選択中を削除',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => '選択中の:labelを削除',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'delete' => [
|
||||
'label' => '削除',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'deleted' => [
|
||||
'title' => '削除しました',
|
||||
],
|
||||
|
||||
'deleted_partial' => [
|
||||
'title' => ':total件中:count件を削除しました',
|
||||
'missing_authorization_failure_message' => ':count件を削除する権限がありません。',
|
||||
'missing_processing_failure_message' => ':count件を削除できませんでした。',
|
||||
],
|
||||
|
||||
'deleted_none' => [
|
||||
'title' => '削除に失敗しました',
|
||||
'missing_authorization_failure_message' => ':count件を削除する権限がありません。',
|
||||
'missing_processing_failure_message' => ':count件を削除できませんでした。',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+61
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => '解除',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => ':labelを解除',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'detach' => [
|
||||
'label' => '解除',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'detached' => [
|
||||
'title' => '解除しました',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => '選択中を解除',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => '選択中の:labelを解除',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'detach' => [
|
||||
'label' => '解除',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'detached' => [
|
||||
'title' => '解除しました',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+61
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => '関連付け解除',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => ':labelの関連付け解除',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'dissociate' => [
|
||||
'label' => '関連付け解除',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'dissociated' => [
|
||||
'title' => '関連付け解除しました',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => '選択中を関連付け解除',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => '選択中の:labelを関連付け解除',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'dissociate' => [
|
||||
'label' => '関連付け解除',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'dissociated' => [
|
||||
'title' => '関連付け解除しました',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => '編集',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => ':label 編集',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'save' => [
|
||||
'label' => '変更を保存',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'saved' => [
|
||||
'title' => '保存しました',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+94
@@ -0,0 +1,94 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => 'エクスポート',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'エクスポート :label',
|
||||
|
||||
'form' => [
|
||||
|
||||
'columns' => [
|
||||
|
||||
'label' => 'カラム',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'すべて選択',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'すべて解除',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'is_enabled' => [
|
||||
'label' => ':column が有効になりました',
|
||||
],
|
||||
|
||||
'label' => [
|
||||
'label' => ':column ラベル',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'export' => [
|
||||
'label' => 'エクスポート',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'no_columns' => [
|
||||
'title' => 'カラムが選択されていません',
|
||||
'body' => 'エクスポートするカラムを少なくとも1つ選択してください。',
|
||||
],
|
||||
|
||||
'completed' => [
|
||||
|
||||
'title' => 'エクスポート完了',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'download_csv' => [
|
||||
'label' => 'csv形式をダウンロード',
|
||||
],
|
||||
|
||||
'download_xlsx' => [
|
||||
'label' => 'xlsx形式をダウンロード',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'max_rows' => [
|
||||
'title' => 'エクスポートするデータが大きすぎます',
|
||||
'body' => '一度に:count行を超える行をエクスポートすることはできません。',
|
||||
],
|
||||
|
||||
'started' => [
|
||||
'title' => 'エクスポート開始',
|
||||
'body' => 'エクスポートが開始され、:count行がバックグラウンドで処理されます。',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'file_name' => 'export-:export_id-:model',
|
||||
|
||||
];
|
||||
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => '強制削除',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => ':label 強制削除',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'delete' => [
|
||||
'label' => '削除',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'deleted' => [
|
||||
'title' => '削除しました',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => '選択中を強制削除',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => '選択中の:labelを強制削除',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'delete' => [
|
||||
'label' => '削除',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'deleted' => [
|
||||
'title' => '削除しました',
|
||||
],
|
||||
|
||||
'deleted_partial' => [
|
||||
'title' => ':total件中:count件を削除しました',
|
||||
'missing_authorization_failure_message' => ':count件を削除する権限がありません。',
|
||||
'missing_processing_failure_message' => ':count件を削除できませんでした。',
|
||||
],
|
||||
|
||||
'deleted_none' => [
|
||||
'title' => '削除に失敗しました',
|
||||
'missing_authorization_failure_message' => ':count件を削除する権限がありません。',
|
||||
'missing_processing_failure_message' => ':count件を削除できませんでした。',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'trigger' => [
|
||||
'label' => 'アクション',
|
||||
],
|
||||
|
||||
];
|
||||
+83
@@ -0,0 +1,83 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => 'インポート',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'インポート :label',
|
||||
|
||||
'form' => [
|
||||
|
||||
'file' => [
|
||||
'label' => 'File',
|
||||
'placeholder' => 'CSVファイルをアップロード',
|
||||
|
||||
'rules' => [
|
||||
'duplicate_columns' => '{0} 空の列ヘッダーが複数存在してはいけません。|{1,*} 次の列ヘッダーが重複しています: :columns。',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
'label' => 'カラム',
|
||||
'placeholder' => '列を選択',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'download_example' => [
|
||||
'label' => 'サンプルCSVファイルをダウンロード',
|
||||
],
|
||||
|
||||
'import' => [
|
||||
'label' => 'インポート',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'completed' => [
|
||||
|
||||
'title' => 'インポート完了',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'download_failed_rows_csv' => [
|
||||
'label' => '失敗した行に関する情報のダウンロード',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'max_rows' => [
|
||||
'title' => 'CSVファイルが大きすぎます',
|
||||
'body' => '一度に:count行を超える行をインポートすることはできません。',
|
||||
],
|
||||
|
||||
'started' => [
|
||||
'title' => 'インポート開始',
|
||||
'body' => 'インポートが開始され、:count行がバックグラウンドで処理されます。',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'example_csv' => [
|
||||
'file_name' => ':importer-example',
|
||||
],
|
||||
|
||||
'failure_csv' => [
|
||||
'file_name' => 'import-:import_id-:csv_name-failed-rows',
|
||||
'error_header' => 'エラー',
|
||||
'system_error' => 'システムエラーです。サポートにお問い合わせください。',
|
||||
'column_mapping_required_for_new_record' => ':attribute 列がファイル内のどの列にも対応付けられていませんが、新規レコードの作成には必須です。',
|
||||
],
|
||||
|
||||
];
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'confirmation' => '本当に実行しますか?',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'cancel' => [
|
||||
'label' => 'キャンセル',
|
||||
],
|
||||
|
||||
'confirm' => [
|
||||
'label' => '確定',
|
||||
],
|
||||
|
||||
'submit' => [
|
||||
'label' => '完了',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'throttled' => [
|
||||
'title' => '試行回数が多すぎます',
|
||||
'body' => ':seconds 秒後に再試行してください。',
|
||||
],
|
||||
|
||||
];
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => '複製',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => ':label 複製',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'replicate' => [
|
||||
'label' => '複製',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'replicated' => [
|
||||
'title' => '複製しました',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+73
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => '復旧',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => ':label 復旧',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'restore' => [
|
||||
'label' => '復旧',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'restored' => [
|
||||
'title' => '復旧しました',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => '選択中を復旧',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => '選択中の:labelを復旧',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'restore' => [
|
||||
'label' => '復旧',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'restored' => [
|
||||
'title' => '復旧しました',
|
||||
],
|
||||
|
||||
'restored_partial' => [
|
||||
'title' => ':total件中:count件を復元しました',
|
||||
'missing_authorization_failure_message' => ':count件を復元する権限がありません。',
|
||||
'missing_processing_failure_message' => ':count件を復元できませんでした。',
|
||||
],
|
||||
|
||||
'restored_none' => [
|
||||
'title' => '復元に失敗しました',
|
||||
'missing_authorization_failure_message' => ':count件を復元する権限がありません。',
|
||||
'missing_processing_failure_message' => ':count件を復元できませんでした。',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => '表示',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => ':label 表示',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'close' => [
|
||||
'label' => '閉じる',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
Reference in New Issue
Block a user