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_4_7_31
{
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_membership_type' => [
117 'name' => "varchar(128)",
118 'description' => "varchar(255)",
120 'civicrm_membership_block' => [
121 'new_title' => "varchar(255)",
122 'new_text' => "text",
123 'renewal_title' => "varchar(255)",
124 'renewal_text' => "text",
126 'civicrm_price_set' => [
127 'title' => "varchar(255)",
128 'help_pre' => "text",
129 'help_post' => "text",
131 'civicrm_dashboard' => [
132 'label' => "varchar(255)",
134 'civicrm_uf_group' => [
135 'title' => "varchar(64)",
136 'frontend_title' => "varchar(64)",
137 'help_pre' => "text",
138 'help_post' => "text",
139 'cancel_button_text' => "varchar(64)",
140 'submit_button_text' => "varchar(64)",
142 'civicrm_uf_field' => [
143 'help_post' => "text",
144 'help_pre' => "text",
145 'label' => "varchar(255)",
147 'civicrm_price_field' => [
148 'label' => "varchar(255)",
149 'help_pre' => "text",
150 'help_post' => "text",
152 'civicrm_price_field_value' => [
153 'label' => "varchar(255)",
154 'description' => "text",
155 'help_pre' => "text",
156 'help_post' => "text",
158 'civicrm_pcp_block' => [
159 'link_text' => "varchar(255)",
162 'title' => "varchar(255)",
164 'description' => "text",
165 'registration_link_text' => "varchar(255)",
166 'event_full_text' => "text",
167 'fee_label' => "varchar(255)",
168 'intro_text' => "text",
169 'footer_text' => "text",
170 'confirm_title' => "varchar(255)",
171 'confirm_text' => "text",
172 'confirm_footer_text' => "text",
173 'confirm_email_text' => "text",
174 'confirm_from_name' => "varchar(255)",
175 'thankyou_title' => "varchar(255)",
176 'thankyou_text' => "text",
177 'thankyou_footer_text' => "text",
178 'pay_later_text' => "text",
179 'pay_later_receipt' => "text",
180 'initial_amount_label' => "varchar(255)",
181 'initial_amount_help_text' => "text",
182 'waitlist_text' => "text",
183 'approval_req_text' => "text",
184 'template_title' => "varchar(255)",
192 * Get a table indexed array of the indices for translatable fields.
195 * Indices for translatable fields.
197 public static function &indices() {
198 static $result = NULL;
201 'civicrm_custom_group' => [
202 'UI_title_extends' => [
203 'name' => 'UI_title_extends',
211 'civicrm_custom_field' => [
212 'UI_label_custom_group_id' => [
213 'name' => 'UI_label_custom_group_id',
223 'name' => 'UI_title',
236 * Get tables with translatable fields.
239 * Array of names of tables with fields that can be translated.
241 public static function &tables() {
242 static $result = NULL;
244 $result = array_keys(self
::columns());
250 * Get a list of widgets for editing translatable fields.
253 * Array of the widgets for editing translatable fields.
255 public static function &widgets() {
256 static $result = NULL;
259 'civicrm_location_type' => [
264 'civicrm_option_group' => [
272 'civicrm_relationship_type' => [
283 'civicrm_contact_type' => [
288 'type' => "TextArea",
298 'type' => "TextArea",
303 'civicrm_premiums' => [
304 'premiums_intro_title' => [
307 'premiums_intro_text' => [
310 'premiums_nothankyou_label' => [
314 'civicrm_membership_status' => [
319 'civicrm_survey' => [
322 'required' => "true",
325 'type' => "TextArea",
329 'thankyou_title' => [
333 'type' => "TextArea",
338 'civicrm_participant_status_type' => [
343 'civicrm_case_type' => [
346 'required' => "true",
352 'civicrm_tell_friend' => [
359 'suggested_message' => [
362 'thankyou_title' => [
369 'civicrm_custom_group' => [
372 'required' => "true",
375 'type' => "TextArea",
380 'type' => "TextArea",
385 'civicrm_custom_field' => [
388 'required' => "true",
397 'civicrm_option_value' => [
400 'required' => "true",
403 'type' => "TextArea",
413 'civicrm_contribution_page' => [
418 'type' => "RichTextEditor",
422 'pay_later_text' => [
425 'pay_later_receipt' => [
428 'initial_amount_label' => [
431 'initial_amount_help_text' => [
434 'thankyou_title' => [
438 'type' => "RichTextEditor",
442 'thankyou_footer' => [
443 'type' => "RichTextEditor",
447 'receipt_from_name' => [
451 'type' => "TextArea",
456 'type' => "RichTextEditor",
461 'civicrm_product' => [
464 'required' => "true",
473 'civicrm_membership_type' => [
478 'type' => "TextArea",
483 'civicrm_membership_block' => [
497 'civicrm_price_set' => [
500 'required' => "true",
503 'type' => "TextArea",
508 'type' => "TextArea",
513 'civicrm_dashboard' => [
518 'civicrm_uf_group' => [
521 'required' => "true",
523 'frontend_title' => [
527 'type' => "TextArea",
532 'type' => "TextArea",
536 'cancel_button_text' => [
539 'submit_button_text' => [
543 'civicrm_uf_field' => [
552 'required' => "true",
555 'civicrm_price_field' => [
558 'required' => "true",
561 'type' => "TextArea",
566 'type' => "TextArea",
571 'civicrm_price_field_value' => [
576 'type' => "TextArea",
581 'type' => "TextArea",
586 'type' => "TextArea",
591 'civicrm_pcp_block' => [
601 'type' => "TextArea",
606 'type' => "TextArea",
610 'registration_link_text' => [
613 'event_full_text' => [
614 'type' => "TextArea",
622 'type' => "TextArea",
627 'type' => "TextArea",
635 'type' => "TextArea",
639 'confirm_footer_text' => [
640 'type' => "TextArea",
644 'confirm_email_text' => [
645 'type' => "TextArea",
649 'confirm_from_name' => [
652 'thankyou_title' => [
656 'type' => "TextArea",
660 'thankyou_footer_text' => [
661 'type' => "TextArea",
665 'pay_later_text' => [
668 'pay_later_receipt' => [
671 'initial_amount_label' => [
674 'initial_amount_help_text' => [
678 'type' => "TextArea",
682 'approval_req_text' => [
683 'type' => "TextArea",
687 'template_title' => [