3 +--------------------------------------------------------------------+
4 | CiviCRM version 4.7 |
5 +--------------------------------------------------------------------+
6 | Copyright CiviCRM LLC (c) 2004-2016 |
7 +--------------------------------------------------------------------+
8 | This file is a part of CiviCRM. |
10 | CiviCRM is free software; you can copy, modify, and distribute it |
11 | under the terms of the GNU Affero General Public License |
12 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
14 | CiviCRM is distributed in the hope that it will be useful, but |
15 | WITHOUT ANY WARRANTY; without even the implied warranty of |
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
17 | See the GNU Affero General Public License for more details. |
19 | You should have received a copy of the GNU Affero General Public |
20 | License and the CiviCRM Licensing Exception along |
21 | with this program; if not, contact CiviCRM LLC |
22 | at info[AT]civicrm[DOT]org. If you have questions about the |
23 | GNU Affero General Public License or the licensing of CiviCRM, |
24 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
25 +--------------------------------------------------------------------+
31 * @copyright CiviCRM LLC (c) 2004-2016
36 * Settings metadata file
40 'customTranslateFunction' => array(
45 'group_name' => 'Localization Preferences',
46 'group' => 'localization',
47 'name' => 'customTranslateFunction',
49 'quick_form_type' => 'Element',
50 'html_type' => 'text',
51 'html_attributes' => array(
56 'title' => 'Custom Translate Function',
59 'monetaryThousandSeparator' => array(
60 'group_name' => 'Localization Preferences',
61 'group' => 'localization',
62 'name' => 'monetaryThousandSeparator',
64 'quick_form_type' => 'Element',
65 'html_type' => 'text',
66 'html_attributes' => array(
71 'title' => 'Thousands Separator',
74 'description' => NULL,
77 'monetaryDecimalPoint' => array(
78 'group_name' => 'Localization Preferences',
79 'group' => 'localization',
80 'name' => 'monetaryDecimalPoint',
82 'quick_form_type' => 'Element',
83 'html_type' => 'text',
84 'html_attributes' => array(
89 'title' => 'Decimal Delimiter',
92 'description' => NULL,
95 'moneyformat' => array(
96 'group_name' => 'Localization Preferences',
97 'group' => 'localization',
98 'name' => 'moneyformat',
100 'quick_form_type' => 'Element',
101 'html_type' => 'text',
102 'default' => '%c %a',
104 'title' => 'Monetary Amount Display',
107 'description' => NULL,
110 'moneyvalueformat' => array(
111 'group_name' => 'Localization Preferences',
112 'group' => 'localization',
113 'name' => 'moneyvalueformat',
115 'quick_form_type' => 'Element',
116 'html_type' => 'text',
119 'title' => 'Monetary Value Display',
122 'description' => NULL,
125 'defaultCurrency' => array(
126 'group_name' => 'Localization Preferences',
127 'group' => 'localization',
128 'name' => 'defaultCurrency',
130 'quick_form_type' => 'Select',
131 'html_type' => 'Select',
132 'html_attributes' => array(
133 'class' => 'crm-select2',
137 'title' => 'Default Currency',
140 'description' => 'Default currency assigned to contributions and other monetary transactions.',
142 'pseudoconstant' => array(
143 'callback' => 'CRM_Admin_Form_Setting_Localization::getCurrencySymbols',
146 'defaultContactCountry' => array(
147 'group_name' => 'Localization Preferences',
148 'group' => 'localization',
149 'name' => 'defaultContactCountry',
151 'quick_form_type' => 'Select',
152 'html_type' => 'Select',
153 'html_attributes' => array(
154 //'class' => 'crm-select2',
158 'title' => 'Default Country',
161 'description' => 'This value is selected by default when adding a new contact address.',
163 'pseudoconstant' => array(
164 'callback' => 'CRM_Admin_Form_Setting_Localization::getAvailableCountries',
167 'defaultContactStateProvince' => array(
172 'group_name' => 'Localization Preferences',
173 'group' => 'localization',
174 'name' => 'defaultContactStateProvince',
176 'quick_form_type' => 'ChainSelect',
177 'html_type' => 'ChainSelect',
178 //'pseudoconstant' => array(
179 // 'callback' => 'CRM_Core_PseudoConstant::stateProvince',
183 'title' => 'Default State/Province',
184 'description' => 'This value is selected by default when adding a new contact address.',
186 'countryLimit' => array(
187 'group_name' => 'Localization Preferences',
188 'group' => 'localization',
189 'name' => 'countryLimit',
191 'quick_form_type' => 'Element',
192 'html_type' => 'advmultiselect',
193 'html_attributes' => array(
195 'style' => 'width:150px',
196 'class' => 'advmultiselect',
198 'default' => array(),
200 'title' => 'Available Countries',
205 'pseudoconstant' => array(
206 'callback' => 'CRM_Admin_Form_Setting_Localization::getAvailableCountries',
209 'provinceLimit' => array(
210 'group_name' => 'Localization Preferences',
211 'group' => 'localization',
212 'name' => 'provinceLimit',
214 'quick_form_type' => 'Element',
215 'html_type' => 'advmultiselect',
216 'html_attributes' => array(
218 'style' => 'width:150px',
219 'class' => 'advmultiselect',
221 'default' => array(),
223 'title' => 'Available States and Provinces (by Country)',
228 'pseudoconstant' => array(
229 'callback' => 'CRM_Admin_Form_Setting_Localization::getAvailableCountries',
232 'inheritLocale' => array(
233 'group_name' => 'Localization Preferences',
234 'group' => 'localization',
235 'name' => 'inheritLocale',
237 'quick_form_type' => 'YesNo',
240 'title' => 'Inherit CMS Language',
246 'dateformatDatetime' => array(
247 'group_name' => 'Localization Preferences',
248 'group' => 'localization',
249 'name' => 'dateformatDatetime',
251 'quick_form_type' => 'Element',
252 'html_type' => 'text',
253 'default' => '%B %E%f, %Y %l:%M %P',
255 'title' => 'Date Format: Complete Date and Time',
261 'dateformatFull' => array(
262 'group_name' => 'Localization Preferences',
263 'group' => 'localization',
264 'name' => 'dateformatFull',
266 'quick_form_type' => 'Element',
267 'html_type' => 'text',
268 'default' => '%B %E%f, %Y',
270 'title' => 'Date Format: Complete Date',
276 'dateformatPartial' => array(
277 'group_name' => 'Localization Preferences',
278 'group' => 'localization',
279 'name' => 'dateformatPartial',
281 'quick_form_type' => 'Element',
282 'html_type' => 'text',
283 'default' => '%B %Y',
285 'title' => 'Date Format: Month and Year',
291 'dateformatTime' => array(
296 'group_name' => 'Localization Preferences',
297 'group' => 'localization',
298 'name' => 'dateformatTime',
300 'quick_form_type' => 'Element',
301 'html_type' => 'text',
302 'html_attributes' => array(
306 'default' => '%l:%M %P',
307 'title' => 'Date Format: Time Only',
310 'dateformatYear' => array(
315 'group_name' => 'Localization Preferences',
316 'group' => 'localization',
317 'name' => 'dateformatYear',
319 'quick_form_type' => 'Element',
320 'html_type' => 'text',
321 'html_attributes' => array(
326 'title' => 'Date Format: Year Only',
329 'dateformatFinancialBatch' => array(
334 'group_name' => 'Localization Preferences',
335 'group' => 'localization',
336 'name' => 'dateformatFinancialBatch',
338 'quick_form_type' => 'Element',
339 'html_type' => 'text',
340 'html_attributes' => array(
344 'default' => '%m/%d/%Y',
345 'title' => 'Date Format: Financial Batch',
348 'dateInputFormat' => array(
353 'group_name' => 'Localization Preferences',
354 'group' => 'localization',
355 'name' => 'dateInputFormat',
357 'quick_form_type' => 'Select',
358 'html_type' => 'Select',
359 'pseudoconstant' => array(
360 'callback' => 'CRM_Core_SelectValues::getDatePluginInputFormats',
362 'default' => 'mm/dd/yy',
363 'title' => 'Date Input Format',
366 'fieldSeparator' => array(
371 'group_name' => 'Localization Preferences',
372 'group' => 'localization',
373 'name' => 'fieldSeparator',
375 'quick_form_type' => 'Element',
376 'html_type' => 'text',
377 'html_attributes' => array(
382 'title' => 'Import / Export Field Separator',
383 'description' => 'Global CSV separator character. Modify this setting to enable import and export of different kinds of CSV files (for example: \',\' \';\' \':\' \'|\' ).',
385 'fiscalYearStart' => array(
390 'group_name' => 'Localization Preferences',
391 'group' => 'localization',
392 'name' => 'fiscalYearStart',
394 'quick_form_type' => 'MonthDay',
395 'html_type' => 'MonthDay',
396 'default' => array('M' => 1, 'd' => 1),
397 'title' => 'Fiscal Year Start',
400 'languageLimit' => array(
401 'group_name' => 'Localization Preferences',
402 'group' => 'localization',
403 'name' => 'languageLimit',
405 'quick_form_type' => 'Select',
406 'html_type' => 'Select',
407 'html_attributes' => array(
409 'class' => 'crm-select2',
413 'title' => 'Available Languages (Multi-lingual)',
418 'pseudoconstant' => array(
419 'callback' => 'CRM_Core_I18n::languages',
422 'lcMessages' => array(
423 'group_name' => 'Localization Preferences',
424 'group' => 'localization',
425 'name' => 'lcMessages',
427 'quick_form_type' => 'Select',
428 'html_type' => 'Select',
429 'html_attributes' => array(
430 'class' => 'crm-select2',
432 'default' => 'en_US',
434 'title' => 'Default Language',
439 'pseudoconstant' => array(
440 'callback' => 'CRM_Admin_Form_Setting_Localization::getDefaultLocaleOptions',
442 'on_change' => array(
443 'CRM_Admin_Form_Setting_Localization::onChangeLcMessages',
446 'legacyEncoding' => array(
451 'group_name' => 'Localization Preferences',
452 'group' => 'localization',
453 'name' => 'legacyEncoding',
455 'quick_form_type' => 'Element',
456 'html_type' => 'text',
457 'html_attributes' => array(
461 'default' => 'Windows-1252',
462 'title' => 'Legacy Encoding',
463 'description' => 'If import files are NOT encoded as UTF-8, specify an alternate character encoding for these files. The default of Windows-1252 will work for Excel-created .CSV files on many computers.',
465 'timeInputFormat' => array(
470 'group_name' => 'Localization Preferences',
471 'group' => 'localization',
472 'name' => 'timeInputFormat',
474 'quick_form_type' => 'Select',
475 'html_type' => 'Select',
476 'pseudoconstant' => array(
477 'callback' => 'CRM_Core_SelectValues::getTimeFormats',
480 'title' => 'Time Input Format',
482 'on_change' => array(
483 'CRM_Core_BAO_PreferencesDate::onChangeSetting',
486 'weekBegins' => array(
487 'group_name' => 'Localization Preferences',
488 'group' => 'localization',
489 'name' => 'weekBegins',
491 'quick_form_type' => 'Select',
492 'html_type' => 'Select',
493 'pseudoconstant' => array(
494 'callback' => 'CRM_Utils_Date::getFullWeekdayNames',
498 'title' => 'Week begins on',
504 'contact_default_language' => array(
505 'group_name' => 'Localization Preferences',
506 'group' => 'localization',
507 'name' => 'contact_default_language',
509 'quick_form_type' => 'Select',
510 'html_type' => 'Select',
511 'html_attributes' => array(
512 'class' => 'crm-select2',
514 'pseudoconstant' => array(
515 'callback' => 'CRM_Admin_Form_Setting_Localization::getDefaultLanguageOptions',
517 'default' => '*default*',
519 'title' => 'Default Language for contacts',
522 'description' => 'Default language (if any) for contact records',
523 'help_text' => 'If a contact is created with no language this setting will determine the language data (if any) to save.'
524 . 'You may or may not wish to make an assumption here about whether it matches the site language',