3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
9 +--------------------------------------------------------------------+
15 * @copyright CiviCRM LLC https://civicrm.org/licensing
17 * Generated from schema_structure.tpl
18 * DO NOT EDIT. Generated by CRM_Core_CodeGen
20 class CRM_Core_I18n_SchemaStructure_5_13_alpha1
{
23 * Get translatable columns.
26 * A table-indexed array of translatable columns.
28 public static function &columns() {
29 static $result = NULL;
32 'civicrm_location_type' => [
33 'display_name' => "varchar(64)",
35 'civicrm_option_group' => [
36 'title' => "varchar(255)",
37 'description' => "varchar(255)",
39 'civicrm_relationship_type' => [
40 'label_a_b' => "varchar(64)",
41 'label_b_a' => "varchar(64)",
42 'description' => "varchar(255)",
44 'civicrm_contact_type' => [
45 'label' => "varchar(64)",
46 'description' => "text",
49 'title' => "varchar(255)",
50 'description' => "text",
52 'civicrm_premiums' => [
53 'premiums_intro_title' => "varchar(255)",
54 'premiums_intro_text' => "text",
55 'premiums_nothankyou_label' => "varchar(255)",
57 'civicrm_membership_status' => [
58 'label' => "varchar(128)",
61 'title' => "varchar(255)",
62 'instructions' => "text",
63 'thankyou_title' => "varchar(255)",
64 'thankyou_text' => "text",
66 'civicrm_participant_status_type' => [
67 'label' => "varchar(255)",
69 'civicrm_case_type' => [
70 'title' => "varchar(64)",
71 'description' => "varchar(255)",
73 'civicrm_tell_friend' => [
74 'title' => "varchar(255)",
76 'suggested_message' => "text",
77 'thankyou_title' => "varchar(255)",
78 'thankyou_text' => "text",
80 'civicrm_custom_group' => [
81 'title' => "varchar(64)",
83 'help_post' => "text",
85 'civicrm_custom_field' => [
86 'label' => "varchar(255)",
88 'help_post' => "text",
90 'civicrm_option_value' => [
91 'label' => "varchar(512)",
92 'description' => "text",
95 'title' => "varchar(64)",
97 'civicrm_contribution_page' => [
98 'title' => "varchar(255)",
99 'intro_text' => "text",
100 'pay_later_text' => "text",
101 'pay_later_receipt' => "text",
102 'initial_amount_label' => "varchar(255)",
103 'initial_amount_help_text' => "text",
104 'thankyou_title' => "varchar(255)",
105 'thankyou_text' => "text",
106 'thankyou_footer' => "text",
107 'receipt_from_name' => "varchar(255)",
108 'receipt_text' => "text",
109 'footer_text' => "text",
111 'civicrm_product' => [
112 'name' => "varchar(255)",
113 'description' => "text",
116 'civicrm_payment_processor' => [
117 'title' => "varchar(127)",
119 'civicrm_membership_type' => [
120 'name' => "varchar(128)",
121 'description' => "varchar(255)",
123 'civicrm_membership_block' => [
124 'new_title' => "varchar(255)",
125 'new_text' => "text",
126 'renewal_title' => "varchar(255)",
127 'renewal_text' => "text",
129 'civicrm_price_set' => [
130 'title' => "varchar(255)",
131 'help_pre' => "text",
132 'help_post' => "text",
134 'civicrm_dashboard' => [
135 'label' => "varchar(255)",
137 'civicrm_uf_group' => [
138 'title' => "varchar(64)",
139 'frontend_title' => "varchar(64)",
140 'help_pre' => "text",
141 'help_post' => "text",
142 'cancel_button_text' => "varchar(64)",
143 'submit_button_text' => "varchar(64)",
145 'civicrm_uf_field' => [
146 'help_post' => "text",
147 'help_pre' => "text",
148 'label' => "varchar(255)",
150 'civicrm_price_field' => [
151 'label' => "varchar(255)",
152 'help_pre' => "text",
153 'help_post' => "text",
155 'civicrm_price_field_value' => [
156 'label' => "varchar(255)",
157 'description' => "text",
158 'help_pre' => "text",
159 'help_post' => "text",
161 'civicrm_pcp_block' => [
162 'link_text' => "varchar(255)",
165 'title' => "varchar(255)",
167 'description' => "text",
168 'registration_link_text' => "varchar(255)",
169 'event_full_text' => "text",
170 'fee_label' => "varchar(255)",
171 'intro_text' => "text",
172 'footer_text' => "text",
173 'confirm_title' => "varchar(255)",
174 'confirm_text' => "text",
175 'confirm_footer_text' => "text",
176 'confirm_email_text' => "text",
177 'confirm_from_name' => "varchar(255)",
178 'thankyou_title' => "varchar(255)",
179 'thankyou_text' => "text",
180 'thankyou_footer_text' => "text",
181 'pay_later_text' => "text",
182 'pay_later_receipt' => "text",
183 'initial_amount_label' => "varchar(255)",
184 'initial_amount_help_text' => "text",
185 'waitlist_text' => "text",
186 'approval_req_text' => "text",
187 'template_title' => "varchar(255)",
195 * Get a table indexed array of the indices for translatable fields.
198 * Indices for translatable fields.
200 public static function &indices() {
201 static $result = NULL;
204 'civicrm_custom_group' => [
205 'UI_title_extends' => [
206 'name' => 'UI_title_extends',
214 'civicrm_custom_field' => [
215 'UI_label_custom_group_id' => [
216 'name' => 'UI_label_custom_group_id',
226 'name' => 'UI_title',
239 * Get tables with translatable fields.
242 * Array of names of tables with fields that can be translated.
244 public static function &tables() {
245 static $result = NULL;
247 $result = array_keys(self
::columns());
253 * Get a list of widgets for editing translatable fields.
256 * Array of the widgets for editing translatable fields.
258 public static function &widgets() {
259 static $result = NULL;
262 'civicrm_location_type' => [
267 'civicrm_option_group' => [
275 'civicrm_relationship_type' => [
286 'civicrm_contact_type' => [
291 'type' => "TextArea",
301 'type' => "TextArea",
306 'civicrm_premiums' => [
307 'premiums_intro_title' => [
310 'premiums_intro_text' => [
313 'premiums_nothankyou_label' => [
317 'civicrm_membership_status' => [
322 'civicrm_survey' => [
325 'required' => "true",
328 'type' => "TextArea",
332 'thankyou_title' => [
336 'type' => "TextArea",
341 'civicrm_participant_status_type' => [
346 'civicrm_case_type' => [
349 'required' => "true",
355 'civicrm_tell_friend' => [
362 'suggested_message' => [
365 'thankyou_title' => [
372 'civicrm_custom_group' => [
375 'required' => "true",
378 'type' => "TextArea",
383 'type' => "TextArea",
388 'civicrm_custom_field' => [
391 'required' => "true",
400 'civicrm_option_value' => [
403 'required' => "true",
406 'type' => "TextArea",
416 'civicrm_contribution_page' => [
421 'type' => "RichTextEditor",
425 'pay_later_text' => [
428 'pay_later_receipt' => [
431 'initial_amount_label' => [
434 'initial_amount_help_text' => [
437 'thankyou_title' => [
441 'type' => "RichTextEditor",
445 'thankyou_footer' => [
446 'type' => "RichTextEditor",
450 'receipt_from_name' => [
454 'type' => "TextArea",
459 'type' => "RichTextEditor",
464 'civicrm_product' => [
467 'required' => "true",
476 'civicrm_payment_processor' => [
481 'civicrm_membership_type' => [
487 'type' => "TextArea",
490 'label' => "Description",
493 'civicrm_membership_block' => [
507 'civicrm_price_set' => [
510 'required' => "true",
513 'type' => "TextArea",
518 'type' => "TextArea",
523 'civicrm_dashboard' => [
528 'civicrm_uf_group' => [
531 'required' => "true",
533 'frontend_title' => [
537 'type' => "TextArea",
542 'type' => "TextArea",
546 'cancel_button_text' => [
549 'submit_button_text' => [
553 'civicrm_uf_field' => [
562 'required' => "true",
565 'civicrm_price_field' => [
568 'required' => "true",
571 'type' => "TextArea",
576 'type' => "TextArea",
581 'civicrm_price_field_value' => [
586 'type' => "TextArea",
591 'type' => "TextArea",
596 'type' => "TextArea",
601 'civicrm_pcp_block' => [
611 'type' => "TextArea",
616 'type' => "TextArea",
620 'registration_link_text' => [
623 'event_full_text' => [
624 'type' => "TextArea",
632 'type' => "TextArea",
637 'type' => "TextArea",
645 'type' => "TextArea",
649 'confirm_footer_text' => [
650 'type' => "TextArea",
654 'confirm_email_text' => [
655 'type' => "TextArea",
659 'confirm_from_name' => [
662 'thankyou_title' => [
666 'type' => "TextArea",
670 'thankyou_footer_text' => [
671 'type' => "TextArea",
675 'pay_later_text' => [
678 'pay_later_receipt' => [
681 'initial_amount_label' => [
684 'initial_amount_help_text' => [
688 'type' => "TextArea",
692 'approval_req_text' => [
693 'type' => "TextArea",
697 'template_title' => [