- Timestamp:
- 10/15/2026 07:29:29 PM (3 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roxyapi/trunk/src/Generated/Forms/CalculateTzolkinForm.php
r3747703 r3749195 19 19 20 20 public static function spec(): array { 21 $labels = \RoxyAPI\Generated\FormLabels::for_language( \RoxyAPI\Support\Language::from_locale( determine_locale() ) ); 21 22 return array( 22 23 'operation_id' => 'calculateTzolkin', 23 24 'title' => __( 'Mayan Day Sign for a Date', 'roxyapi' ), 24 25 'submit_label' => __( 'Get reading', 'roxyapi' ), 25 ' fold_optional' => true,26 'locations' => array( ), 26 27 'sections' => array( 27 28 … … 30 31 array( 31 32 'name' => 'date', 32 'label' => __( 'Date', 'roxyapi' ),33 'label' => $labels['fields']['date'] ?? 'Date', 33 34 'required' => true, 34 'help' => __( 'Date in YYYY-MM-DD format, in the PROLEPTIC GREGORIAN calendar, extended backwards unchanged through the 1582 reform', 'roxyapi' ),35 35 'type' => 'date', 36 'fold' => false, 36 37 ), 37 38 array( 38 39 'name' => 'correlation', 39 'label' => __( 'Correlation', 'roxyapi' ),40 'label' => $labels['fields']['correlation'] ?? 'Correlation constant', 40 41 'required' => false, 41 'help' => __( 'Which correlation constant ties the day count to a civil date', 'roxyapi' ),42 42 'type' => 'enum', 43 43 'enum' => array( 'gmt-584283', 'martinez-hernandez-584281', 'astronomical-584285', 'martin-skidmore-584286' ), 44 'default' => 'gmt-584283', 45 'enum_labels' => array( $labels['enums']['correlation.gmt-584283'] ?? 'Gmt 584283', $labels['enums']['correlation.martinez-hernandez-584281'] ?? 'Martinez hernandez 584281', $labels['enums']['correlation.astronomical-584285'] ?? 'Astronomical 584285', $labels['enums']['correlation.martin-skidmore-584286'] ?? 'Martin skidmore 584286' ), 46 'fold' => true, 44 47 ), 45 48 ),
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)