|
24 | 24 | * |
25 | 25 | * @author Txmod Xoops http://www.txmodxoops.org |
26 | 26 | * |
27 | | - * @version $Id: LanguageModinfo.php 12258 2014-01-02 09:33:29Z timgno $ |
28 | 27 | */ |
29 | 28 |
|
30 | 29 | /** |
@@ -322,44 +321,46 @@ private function getLanguageNotifications($language, $tableSoleName) |
322 | 321 | $stuTableSoleName = mb_strtoupper($tableSoleName); |
323 | 322 | $ucfTableSoleName = ucfirst($tableSoleName); |
324 | 323 | $getDefinesNotif = [ |
325 | | - 'GLOBAL_NOTIFY' => 'Global notify', |
326 | | - 'GLOBAL_NOTIFY_DESC' => 'Global notify desc', |
327 | | - 'CATEGORY_NOTIFY' => 'Category notify', |
328 | | - 'CATEGORY_NOTIFY_DESC' => 'Category notify desc', |
329 | | - $stuTableSoleName . '_NOTIFY' => $ucfTableSoleName . ' notify', |
330 | | - $stuTableSoleName . '_NOTIFY_DESC' => $ucfTableSoleName . ' notify desc', |
331 | | - 'GLOBAL_NEWCATEGORY_NOTIFY' => 'Global newcategory notify', |
332 | | - 'GLOBAL_NEWCATEGORY_NOTIFY_CAPTION' => 'Global newcategory notify caption', |
333 | | - 'GLOBAL_NEWCATEGORY_NOTIFY_DESC' => 'Global newcategory notify desc', |
334 | | - 'GLOBAL_NEWCATEGORY_NOTIFY_SUBJECT' => 'Global newcategory notify subject', |
335 | | - 'GLOBAL_' . $stuTableSoleName . 'MODIFY_NOTIFY' => 'Global ' . $tableSoleName . 'modify notify', |
336 | | - 'GLOBAL_' . $stuTableSoleName . 'MODIFY_NOTIFY_CAPTION' => 'Global ' . $tableSoleName . ' modify notify caption', |
337 | | - 'GLOBAL_' . $stuTableSoleName . 'MODIFY_NOTIFY_DESC' => 'Global ' . $tableSoleName . 'modify notify desc', |
338 | | - 'GLOBAL_' . $stuTableSoleName . 'MODIFY_NOTIFY_SUBJECT' => 'Global ' . $tableSoleName . ' modify notify subject', |
339 | | - 'GLOBAL_' . $stuTableSoleName . 'BROKEN_NOTIFY' => 'Global ' . $tableSoleName . ' broken notify', |
340 | | - 'GLOBAL_' . $stuTableSoleName . 'BROKEN_NOTIFY_CAPTION' => 'Global ' . $tableSoleName . 'broken notify caption', |
341 | | - 'GLOBAL_' . $stuTableSoleName . 'BROKEN_NOTIFY_DESC' => 'Global ' . $tableSoleName . 'broken notify desc', |
342 | | - 'GLOBAL_' . $stuTableSoleName . 'BROKEN_NOTIFY_SUBJECT' => 'Global ' . $tableSoleName . 'broken notify subject', |
343 | | - 'GLOBAL_' . $stuTableSoleName . 'SUBMIT_NOTIFY' => 'Global ' . $tableSoleName . ' submit notify', |
344 | | - 'GLOBAL_' . $stuTableSoleName . 'SUBMIT_NOTIFY_CAPTION' => 'Global ' . $tableSoleName . ' submit notify caption', |
345 | | - 'GLOBAL_' . $stuTableSoleName . 'SUBMIT_NOTIFY_DESC' => 'Global ' . $tableSoleName . 'submit notify desc', |
346 | | - 'GLOBAL_' . $stuTableSoleName . 'SUBMIT_NOTIFY_SUBJECT' => 'Global ' . $tableSoleName . 'submit notify subject', |
347 | | - 'GLOBAL_NEW' . $stuTableSoleName . '_NOTIFY' => 'Global new' . $tableSoleName . ' notify', |
348 | | - 'GLOBAL_NEW' . $stuTableSoleName . '_NOTIFY_CAPTION' => 'Global new' . $tableSoleName . ' notify caption', |
349 | | - 'GLOBAL_NEW' . $stuTableSoleName . '_NOTIFY_DESC' => 'Global new' . $tableSoleName . ' notify desc', |
350 | | - 'GLOBAL_NEW' . $stuTableSoleName . '_NOTIFY_SUBJECT' => 'Global new' . $tableSoleName . ' notify subject', |
351 | | - 'CATEGORY_' . $stuTableSoleName . 'SUBMIT_NOTIFY' => 'Category ' . $tableSoleName . 'submit notify', |
352 | | - 'CATEGORY_' . $stuTableSoleName . 'SUBMIT_NOTIFY_CAPTION' => 'Category ' . $tableSoleName . ' submit notify caption', |
353 | | - 'CATEGORY_' . $stuTableSoleName . 'SUBMIT_NOTIFY_DESC' => 'Category ' . $tableSoleName . ' submit notify desc', |
354 | | - 'CATEGORY_' . $stuTableSoleName . 'SUBMIT_NOTIFY_SUBJECT' => 'Category ' . $tableSoleName . ' submit notify subject', |
355 | | - 'CATEGORY_NEW' . $stuTableSoleName . '_NOTIFY' => 'Category new' . $tableSoleName . ' notify', |
356 | | - 'CATEGORY_NEW' . $stuTableSoleName . '_NOTIFY_CAPTION' => 'Category new' . $tableSoleName . ' notify caption', |
357 | | - 'CATEGORY_NEW' . $stuTableSoleName . '_NOTIFY_DESC' => 'Category new' . $tableSoleName . ' notify desc', |
358 | | - 'CATEGORY_NEW' . $stuTableSoleName . '_NOTIFY_SUBJECT' => 'Category new' . $tableSoleName . ' notify subject', |
359 | | - $stuTableSoleName . '_APPROVE_NOTIFY' => $ucfTableSoleName . ' approve notify', |
360 | | - $stuTableSoleName . '_APPROVE_NOTIFY_CAPTION' => $ucfTableSoleName . ' approve notify caption', |
361 | | - $stuTableSoleName . '_APPROVE_NOTIFY_DESC' => $ucfTableSoleName . ' approve notify desc', |
362 | | - $stuTableSoleName . '_APPROVE_NOTIFY_SUBJECT' => $ucfTableSoleName . ' approve notify subject', |
| 324 | + 'GLOBAL_NOTIFY' => 'Global notify', |
| 325 | + 'GLOBAL_NOTIFY_DESC' => 'Global notify desc', |
| 326 | + 'CATEGORY_NOTIFY' => 'Category notify', |
| 327 | + 'CATEGORY_NOTIFY_DESC' => 'Category notify desc', |
| 328 | + 'CATEGORY_NOTIFY_CAPTION' => 'Category notify caption', |
| 329 | + 'CATEGORY_NOTIFY_SUBJECT' => 'Category notify Subject', |
| 330 | + 'NOTIFY' => $ucfTableSoleName . ' notify', |
| 331 | + 'NOTIFY_DESC' => $ucfTableSoleName . ' notify desc', |
| 332 | + 'GLOBAL_NEW_CATEGORY_NOTIFY' => 'Global newcategory notify', |
| 333 | + 'GLOBAL_NEW_CATEGORY_NOTIFY_CAPTION' => 'Global newcategory notify caption', |
| 334 | + 'GLOBAL_NEW_CATEGORY_NOTIFY_DESC' => 'Global newcategory notify desc', |
| 335 | + 'GLOBAL_NEW_CATEGORY_NOTIFY_SUBJECT' => 'Global newcategory notify subject', |
| 336 | + 'GLOBAL_' . 'MODIFY_NOTIFY' => 'Global ' . $tableSoleName . ' modify notify', |
| 337 | + 'GLOBAL_' . 'MODIFY_NOTIFY_CAPTION' => 'Global ' . $tableSoleName . ' modify notify caption', |
| 338 | + 'GLOBAL_' . 'MODIFY_NOTIFY_DESC' => 'Global ' . $tableSoleName . ' modify notify desc', |
| 339 | + 'GLOBAL_' . 'MODIFY_NOTIFY_SUBJECT' => 'Global ' . $tableSoleName . ' modify notify subject', |
| 340 | + 'GLOBAL_' . 'BROKEN_NOTIFY' => 'Global ' . $tableSoleName . ' broken notify', |
| 341 | + 'GLOBAL_' . 'BROKEN_NOTIFY_CAPTION' => 'Global ' . $tableSoleName . ' broken notify caption', |
| 342 | + 'GLOBAL_' . 'BROKEN_NOTIFY_DESC' => 'Global ' . $tableSoleName . ' broken notify desc', |
| 343 | + 'GLOBAL_' . 'BROKEN_NOTIFY_SUBJECT' => 'Global ' . $tableSoleName . ' broken notify subject', |
| 344 | + 'GLOBAL_' . 'SUBMIT_NOTIFY' => 'Global ' . $tableSoleName . ' submit notify', |
| 345 | + 'GLOBAL_' . 'SUBMIT_NOTIFY_CAPTION' => 'Global ' . $tableSoleName . ' submit notify caption', |
| 346 | + 'GLOBAL_' . 'SUBMIT_NOTIFY_DESC' => 'Global ' . $tableSoleName . ' submit notify desc', |
| 347 | + 'GLOBAL_' . 'SUBMIT_NOTIFY_SUBJECT' => 'Global ' . $tableSoleName . ' submit notify subject', |
| 348 | + 'GLOBAL_NEW_' . 'NOTIFY' => 'Global new' . $tableSoleName . ' notify', |
| 349 | + 'GLOBAL_NEW_' . 'NOTIFY_CAPTION' => 'Global new' . $tableSoleName . ' notify caption', |
| 350 | + 'GLOBAL_NEW_' . 'NOTIFY_DESC' => 'Global new' . $tableSoleName . ' notify desc', |
| 351 | + 'GLOBAL_NEW_' . 'NOTIFY_SUBJECT' => 'Global new' . $tableSoleName . ' notify subject', |
| 352 | + 'CATEGORY_' . 'SUBMIT_NOTIFY' => 'Category ' . $tableSoleName . ' submit notify', |
| 353 | + 'CATEGORY_' . 'SUBMIT_NOTIFY_CAPTION' => 'Category ' . $tableSoleName . ' submit notify caption', |
| 354 | + 'CATEGORY_' . 'SUBMIT_NOTIFY_DESC' => 'Category ' . $tableSoleName . ' submit notify desc', |
| 355 | + 'CATEGORY_' . 'SUBMIT_NOTIFY_SUBJECT' => 'Category ' . $tableSoleName . ' submit notify subject', |
| 356 | + 'CATEGORY_NEW_' . 'NOTIFY' => 'Category new' . $tableSoleName . ' notify', |
| 357 | + 'CATEGORY_NEW_' . 'NOTIFY_CAPTION' => 'Category new' . $tableSoleName . ' notify caption', |
| 358 | + 'CATEGORY_NEW_' . 'NOTIFY_DESC' => 'Category new' . $tableSoleName . ' notify desc', |
| 359 | + 'CATEGORY_NEW_' . 'NOTIFY_SUBJECT' => 'Category new' . $tableSoleName . ' notify subject', |
| 360 | + 'APPROVE_NOTIFY' => $ucfTableSoleName . ' approve notify', |
| 361 | + 'APPROVE_NOTIFY_CAPTION' => $ucfTableSoleName . ' approve notify caption', |
| 362 | + 'APPROVE_NOTIFY_DESC' => $ucfTableSoleName . ' approve notify desc', |
| 363 | + 'APPROVE_NOTIFY_SUBJECT' => $ucfTableSoleName . ' approve notify subject', |
363 | 364 | ]; |
364 | 365 | foreach ($getDefinesNotif as $defn => $descn) { |
365 | 366 | $ret .= $df->getDefine($language, $defn, $descn); |
|
0 commit comments