Changeset 3420570
- Timestamp:
- 12/16/2025 01:29:13 AM (4 weeks ago)
- Location:
- aurora-design-blocks/trunk
- Files:
-
- 6 added
- 5 deleted
- 4 edited
-
aurora-design-blocks.php (modified) (1 diff)
-
inc/aurora-design-blocks-auroraDesignBlocks.php (deleted)
-
inc/aurora-design-blocks-createSlug.php (deleted)
-
inc/aurora-design-blocks-customizer.php (deleted)
-
inc/aurora-design-blocks-outerAssets.php (deleted)
-
inc/aurora-design-blocks_helper.php (deleted)
-
inc/customizer.php (added)
-
inc/functions-auroraDesignBlocks.php (added)
-
inc/functions-createSlug.php (added)
-
inc/functions-helper-cmn.php (added)
-
inc/functions-outerAssets-cmn.php (added)
-
inc/functions-outerAssets.php (added)
-
languages/aurora-design-blocks-ja.po (modified) (5 diffs)
-
readme.txt (modified) (1 diff)
-
vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
aurora-design-blocks/trunk/aurora-design-blocks.php
r3418840 r3420570 28 28 define('ADB_PLUGIN_FILE', __FILE__); 29 29 30 require AURORA_DESIGN_BLOCKS_PATH . '/inc/admin.php';31 require AURORA_DESIGN_BLOCKS_PATH . '/inc/admin-front.php';32 require AURORA_DESIGN_BLOCKS_PATH . '/inc/admin-page-about.php';33 require AURORA_DESIGN_BLOCKS_PATH . '/inc/admin-page-featureFlags.php';34 require AURORA_DESIGN_BLOCKS_PATH . '/inc/admin-page-createSlug.php';35 require AURORA_DESIGN_BLOCKS_PATH . '/inc/aurora-design-blocks-outerAssets.php';36 require AURORA_DESIGN_BLOCKS_PATH . '/inc/aurora-design-blocks-customizer.php';37 require AURORA_DESIGN_BLOCKS_PATH . '/inc/aurora-design-blocks-auroraDesignBlocks.php';38 require AURORA_DESIGN_BLOCKS_PATH . '/inc/aurora-design-blocks_helper.php';39 require AURORA_DESIGN_BLOCKS_PATH . '/inc/aurora-design-blocks-createSlug.php';40 41 30 42 31 43 32 /** 44 * 指定したファイル群を存在チェック後に読み込む33 * 特定のディレクトリとそのサブディレクトリに含まれるPHPファイルをすべてロードする 45 34 * 46 * @param string[] $files ファイルパスの配列(相対パス) 47 * @param string $base_path ベースディレクトリパス 35 * @param string $directory_path ベースとなるディレクトリの絶対パス 48 36 */ 49 function auroraDesignBlocks_ load_files_if_exist(array $files, string $base_path)37 function auroraDesignBlocks_recursive_load_php_files(string $directory_path) 50 38 { 51 foreach ($files as $file) { 52 $full_path = $base_path . $file; 53 if (file_exists($full_path)) { 54 require $full_path; 39 40 // ディレクトリが存在しない場合は処理を終了 41 if (!is_dir($directory_path)) { 42 return; 43 } 44 45 try { 46 // 1. RecursiveDirectoryIteratorでディレクトリ構造を再帰的に読み込む 47 $iterator = new RecursiveDirectoryIterator($directory_path, FilesystemIterator::SKIP_DOTS); 48 49 // 2. RecursiveIteratorIteratorでイテレータをフラット化(単一リスト化) 50 $recursiveIterator = new RecursiveIteratorIterator($iterator); 51 52 // 3. 全てのファイルパスをループ処理 53 foreach ($recursiveIterator as $file) { 54 55 // ファイルの拡張子が .php であることを確認 56 if ($file->isFile() && $file->getExtension() === 'php') { 57 58 $full_path = $file->getRealPath(); 59 60 // require_once を使用してファイルをロード 61 // require_once を使うことで、ロード済みファイルの二重実行を防ぎます。 62 require_once $full_path; 63 } 55 64 } 65 } catch (Exception $e) { 66 // エラー処理(例: パーミッションエラーなど) 67 // WordPress環境では、開発時のみログ出力するなど適切に処理してください 56 68 } 57 69 } 58 70 59 // 使用例 60 $auroraDesignBlocks_files_to_load = [ 61 '/aurora-design-blocks-pro.php', 62 '/inc/aurora-design-blocks-textDomain.php', 63 '/inc/admin-page-relatedPosts.php', 64 '/inc/aurora-design-blocks-relatedPosts.php' 65 ]; 71 // incフォルダの絶対パスを定義 72 $inc_path = AURORA_DESIGN_BLOCKS_PATH . 'inc'; 66 73 67 auroraDesignBlocks_load_files_if_exist($auroraDesignBlocks_files_to_load, AURORA_DESIGN_BLOCKS_PATH); 68 69 70 // 条件付きで他のファイルをロード e 74 // incフォルダ以下の全PHPファイルを再帰的にロード 75 auroraDesignBlocks_recursive_load_php_files($inc_path); -
aurora-design-blocks/trunk/languages/aurora-design-blocks-ja.po
r3418840 r3420570 120 120 121 121 122 #: inc/ aurora-design-blocks-customizer.php:18122 #: inc/customizer.php:18 123 123 msgid "Select - Slider or Image" 124 124 msgstr "スライダーまたは画像を選択" 125 125 126 #: inc/ aurora-design-blocks-customizer.php:29126 #: inc/customizer.php:29 127 127 msgid "Display Slider or Image" 128 128 msgstr "スライダーまたは画像を表示" 129 129 130 #: inc/ aurora-design-blocks-customizer.php:34130 #: inc/customizer.php:34 131 131 msgid "Slider" 132 132 msgstr "スライダー" 133 133 134 #: inc/ aurora-design-blocks-customizer.php:35134 #: inc/customizer.php:35 135 135 msgid "Image" 136 136 msgstr "画像" 137 137 138 #: inc/ aurora-design-blocks-customizer.php:190138 #: inc/customizer.php:190 139 139 msgid "Effect" 140 140 msgstr "エフェクト" 141 141 142 #: inc/ aurora-design-blocks-customizer.php:194142 #: inc/customizer.php:194 143 143 msgid "Fade" 144 144 msgstr "フェード" 145 145 146 #: inc/ aurora-design-blocks-customizer.php:195146 #: inc/customizer.php:195 147 147 msgid "Slide" 148 148 msgstr "スライド" … … 150 150 151 151 152 #: inc/ aurora-design-blocks-customizer.php:260152 #: inc/customizer.php:260 153 153 msgid "Slider Fade Duration (seconds)" 154 154 msgstr "スライダーフェード時間(秒)" 155 155 156 #: inc/ aurora-design-blocks-customizer.php:299156 #: inc/customizer.php:299 157 157 msgid "Slider Text Font" 158 158 msgstr "スライダーテキストフォント" 159 159 160 #: inc/ aurora-design-blocks-customizer.php:303160 #: inc/customizer.php:303 161 161 msgid "yu gothic" 162 162 msgstr "游ゴシック" 163 163 164 #: inc/ aurora-design-blocks-customizer.php:304164 #: inc/customizer.php:304 165 165 msgid "yu mincho" 166 166 msgstr "游明朝" 167 167 168 #: inc/ aurora-design-blocks-customizer.php:336168 #: inc/customizer.php:336 169 169 msgid "Top Header Setting" 170 170 msgstr "トップヘッダー設定" 171 171 172 #: inc/ aurora-design-blocks-customizer.php:336172 #: inc/customizer.php:336 173 173 msgid "Please select whether to display a slider or an image in the top header. The settings button for the selected option will be displayed." 174 174 msgstr "トップヘッダーにスライダーまたは画像のどちらを表示するか選択してください。選択された方の設定ボタンが表示されます。" 175 175 176 176 177 #: inc/ aurora-design-blocks-customizer.php:336177 #: inc/customizer.php:336 178 178 msgid "Slider Settings" 179 179 msgstr "スライダー設定" 180 180 181 181 182 #: inc/ aurora-design-blocks-customizer.php:348182 #: inc/customizer.php:348 183 183 msgid "Slider Text" 184 184 msgstr "スライダーテキスト" 185 185 186 #: inc/ aurora-design-blocks-customizer.php:349186 #: inc/customizer.php:349 187 187 msgid "Slider Text Main" 188 188 msgstr "スライダーテキスト(メイン)" 189 189 190 #: inc/ aurora-design-blocks-customizer.php:350190 #: inc/customizer.php:350 191 191 msgid "Slider Text Sub" 192 192 msgstr "スライダーテキスト(サブ)" 193 193 194 #: inc/ aurora-design-blocks-customizer.php:351194 #: inc/customizer.php:351 195 195 msgid "Slider Text color" 196 196 msgstr "スライダーテキストカラー" 197 197 198 #: inc/ aurora-design-blocks-customizer.php:353198 #: inc/customizer.php:353 199 199 msgid "Slider Text Position" 200 200 msgstr "スライダーテキスト位置" 201 201 202 #: inc/ aurora-design-blocks-customizer.php:354202 #: inc/customizer.php:354 203 203 msgid "Slider Text Position Top (px)" 204 204 msgstr "スライダーテキスト位置(上)(px)" 205 205 206 #: inc/ aurora-design-blocks-customizer.php:355206 #: inc/customizer.php:355 207 207 msgid "Slider Text Position Left (px)" 208 208 msgstr "スライダーテキスト位置(左)(px)" … … 213 213 msgstr "横1920px ×縦1080pxを推奨" 214 214 215 #: inc/ aurora-design-blocks-customizer.php:342215 #: inc/customizer.php:342 216 216 msgid "Slider Image 1" 217 217 msgstr "スライダー画像1" 218 218 219 #: inc/ aurora-design-blocks-customizer.php:343219 #: inc/customizer.php:343 220 220 msgid "Slider Image 2" 221 221 msgstr "スライダー画像2" 222 222 223 #: inc/ aurora-design-blocks-customizer.php:344223 #: inc/customizer.php:344 224 224 msgid "Slider Image 3" 225 225 msgstr "スライダー画像3" … … 227 227 228 228 229 #: inc/ aurora-design-blocks-customizer.php:356229 #: inc/customizer.php:356 230 230 msgid "Slider Text Position Mobile" 231 231 msgstr "スライダーテキスト位置(モバイル)" 232 232 233 #: inc/ aurora-design-blocks-customizer.php:357233 #: inc/customizer.php:357 234 234 msgid "Slider Text Position Top Mobile (px)" 235 235 msgstr "スライダーテキスト位置(モバイル、上)(px)" 236 236 237 #: inc/ aurora-design-blocks-customizer.php:358237 #: inc/customizer.php:358 238 238 msgid "Slider Text Position Left Mobile (px)" 239 239 msgstr "スライダーテキスト位置(モバイル、左)(px)" … … 265 265 266 266 267 #: inc/ aurora-design-blocks-customizer.php:391267 #: inc/customizer.php:391 268 268 msgid "Sidebar" 269 269 msgstr "サイドバー" 270 270 271 271 272 #: inc/ aurora-design-blocks-customizer.php:391272 #: inc/customizer.php:391 273 273 msgid "Position" 274 274 msgstr "位置" 275 275 276 276 277 #: inc/ aurora-design-blocks-customizer.php:398277 #: inc/customizer.php:398 278 278 msgid "Bottom" 279 279 msgstr "下" 280 280 281 #: inc/ aurora-design-blocks-customizer.php:411281 #: inc/customizer.php:411 282 282 msgid "Sidebar Settings" 283 283 msgstr "サイドバー設定" 284 284 285 #: inc/ aurora-design-blocks-customizer.php:446285 #: inc/customizer.php:446 286 286 msgid "Accent color setting" 287 287 msgstr "アクセントカラー設定" 288 288 289 #: inc/ aurora-design-blocks-customizer.php:448289 #: inc/customizer.php:448 290 290 msgid "Select favorite accent color" 291 291 msgstr "サイト全体のアクセントカラーとして使用される色を変更できます" 292 292 293 #: inc/ aurora-design-blocks-customizer.php:448293 #: inc/customizer.php:448 294 294 msgid "Blue" 295 295 msgstr "青" 296 296 297 #: inc/ aurora-design-blocks-customizer.php:448297 #: inc/customizer.php:448 298 298 msgid "Green" 299 299 msgstr "緑" 300 300 301 #: inc/ aurora-design-blocks-customizer.php:448301 #: inc/customizer.php:448 302 302 msgid "Orange" 303 303 msgstr "オレンジ" 304 304 305 #: inc/ aurora-design-blocks-customizer.php:448305 #: inc/customizer.php:448 306 306 msgid "Red" 307 307 msgstr "赤" 308 308 309 #: inc/ aurora-design-blocks-customizer.php:448309 #: inc/customizer.php:448 310 310 msgid "Pink" 311 311 msgstr "ピンク" -
aurora-design-blocks/trunk/readme.txt
r3419211 r3420570 7 7 License: GPLv2 8 8 License URI: https://www.gnu.org/licenses/gpl-2.0.html 9 Short Description: Multi-functional plugin essential for website operation. Integrates GTM, AdSense, OGP, TOC, and AI-generated English slugs.10 9 11 10 == Description == -
aurora-design-blocks/trunk/vendor/composer/installed.php
r3419285 r3420570 4 4 'pretty_version' => 'dev-free', 5 5 'version' => 'dev-free', 6 'reference' => ' dcddccd575356e666f8594f9501ab2137eed8750',6 'reference' => '7fe18699fca03c1ced12e1b7425234e57c0c556e', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 14 14 'pretty_version' => 'dev-free', 15 15 'version' => 'dev-free', 16 'reference' => ' dcddccd575356e666f8594f9501ab2137eed8750',16 'reference' => '7fe18699fca03c1ced12e1b7425234e57c0c556e', 17 17 'type' => 'library', 18 18 'install_path' => __DIR__ . '/../../',
Note: See TracChangeset
for help on using the changeset viewer.