3 +--------------------------------------------------------------------+
4 | CiviCRM version 4.7 |
5 +--------------------------------------------------------------------+
6 | Copyright CiviCRM LLC (c) 2004-2015 |
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-2015
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' => 'Select',
192 'html_type' => 'Select',
193 'html_attributes' => array(
195 'class' => 'crm-select2',
197 'default' => array('1228'),
199 'title' => 'Available Countries',
204 'pseudoconstant' => array(
205 'callback' => 'CRM_Admin_Form_Setting_Localization::getAvailableCountries',
208 'provinceLimit' => array(
209 'group_name' => 'Localization Preferences',
210 'group' => 'localization',
211 'name' => 'provinceLimit',
213 'quick_form_type' => 'Select',
214 'html_type' => 'Select',
215 'html_attributes' => array(
217 'class' => 'crm-select2',
219 'default' => array('1228'),
221 'title' => 'Available States and Provinces',
226 'pseudoconstant' => array(
227 'callback' => 'CRM_Admin_Form_Setting_Localization::getAvailableCountries',
230 'inheritLocale' => array(
231 'group_name' => 'Localization Preferences',
232 'group' => 'localization',
233 'name' => 'inheritLocale',
235 'quick_form_type' => 'YesNo',
238 'title' => 'Inherit CMS Language',
244 'dateformatDatetime' => array(
245 'group_name' => 'Localization Preferences',
246 'group' => 'localization',
247 'name' => 'dateformatDatetime',
249 'quick_form_type' => 'Element',
250 'html_type' => 'text',
251 'default' => '%B %E%f, %Y %l:%M %P',
253 'title' => 'Date Format: Complete Date and Time',
259 'dateformatFull' => array(
260 'group_name' => 'Localization Preferences',
261 'group' => 'localization',
262 'name' => 'dateformatFull',
264 'quick_form_type' => 'Element',
265 'html_type' => 'text',
266 'default' => '%B %E%f, %Y',
268 'title' => 'Date Format: Complete Date',
274 'dateformatPartial' => array(
275 'group_name' => 'Localization Preferences',
276 'group' => 'localization',
277 'name' => 'dateformatPartial',
279 'quick_form_type' => 'Element',
280 'html_type' => 'text',
281 'default' => '%B %Y',
283 'title' => 'Date Format: Month and Year',
289 'dateformatTime' => array(
294 'group_name' => 'Localization Preferences',
295 'group' => 'localization',
296 'name' => 'dateformatTime',
298 'quick_form_type' => 'Element',
299 'html_type' => 'text',
300 'html_attributes' => array(
304 'default' => '%l:%M %P',
305 'title' => 'Date Format: Time Only',
308 'dateformatYear' => array(
313 'group_name' => 'Localization Preferences',
314 'group' => 'localization',
315 'name' => 'dateformatYear',
317 'quick_form_type' => 'Element',
318 'html_type' => 'text',
319 'html_attributes' => array(
324 'title' => 'Date Format: Year Only',
327 'dateInputFormat' => array(
332 'group_name' => 'Localization Preferences',
333 'group' => 'localization',
334 'name' => 'dateInputFormat',
336 'quick_form_type' => 'Select',
337 'html_type' => 'Select',
338 'pseudoconstant' => array(
339 'callback' => 'CRM_Core_SelectValues::getDatePluginInputFormats',
341 'default' => 'mm/dd/yy',
342 'title' => 'Date Input Format',
345 'fieldSeparator' => array(
350 'group_name' => 'Localization Preferences',
351 'group' => 'localization',
352 'name' => 'fieldSeparator',
354 'quick_form_type' => 'Element',
355 'html_type' => 'text',
356 'html_attributes' => array(
361 'title' => 'Import / Export Field Separator',
362 'description' => 'Global CSV separator character. Modify this setting to enable import and export of different kinds of CSV files (for example: \',\' \';\' \':\' \'|\' ).',
364 'fiscalYearStart' => array(
369 'group_name' => 'Localization Preferences',
370 'group' => 'localization',
371 'name' => 'fiscalYearStart',
373 'quick_form_type' => 'MonthDay',
374 'html_type' => 'MonthDay',
375 'default' => array('M' => 1, 'd' => 1),
376 'title' => 'Fiscal Year Start',
379 'languageLimit' => array(
380 'group_name' => 'Localization Preferences',
381 'group' => 'localization',
382 'name' => 'languageLimit',
384 'quick_form_type' => 'Select',
385 'html_type' => 'Select',
386 'html_attributes' => array(
388 'class' => 'crm-select2',
392 'title' => 'Available Languages (Multi-lingual)',
397 'pseudoconstant' => array(
398 'callback' => 'CRM_Core_I18n::languages',
401 'lcMessages' => array(
402 'group_name' => 'Localization Preferences',
403 'group' => 'localization',
404 'name' => 'lcMessages',
406 'quick_form_type' => 'Select',
407 'html_type' => 'Select',
408 'html_attributes' => array(
409 'class' => 'crm-select2',
411 'default' => 'en_US',
413 'title' => 'Default Language',
418 'pseudoconstant' => array(
419 'callback' => 'CRM_Admin_Form_Setting_Localization::getDefaultLocaleOptions',
421 'on_change' => array(
422 'CRM_Admin_Form_Setting_Localization::onChangeLcMessages',
425 'legacyEncoding' => array(
430 'group_name' => 'Localization Preferences',
431 'group' => 'localization',
432 'name' => 'legacyEncoding',
434 'quick_form_type' => 'Element',
435 'html_type' => 'text',
436 'html_attributes' => array(
440 'default' => 'Windows-1252',
441 'title' => 'Legacy Encoding',
442 '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.',
444 'timeInputFormat' => array(
449 'group_name' => 'Localization Preferences',
450 'group' => 'localization',
451 'name' => 'timeInputFormat',
453 'quick_form_type' => 'Select',
454 'html_type' => 'Select',
455 'pseudoconstant' => array(
456 'callback' => 'CRM_Core_SelectValues::getTimeFormats',
459 'title' => 'Time Input Format',
461 'on_change' => array(
462 'CRM_Core_BAO_PreferencesDate::onChangeSetting',
465 'weekBegins' => array(
466 'group_name' => 'Localization Preferences',
467 'group' => 'localization',
468 'name' => 'weekBegins',
470 'quick_form_type' => 'Select',
471 'html_type' => 'Select',
472 'pseudoconstant' => array(
473 'callback' => 'CRM_Utils_Date::getFullWeekdayNames',
477 'title' => 'Week begins on',
483 'contact_default_language' => array(
484 'group_name' => 'Localization Preferences',
485 'group' => 'localization',
486 'name' => 'contact_default_language',
488 'quick_form_type' => 'Select',
489 'html_type' => 'Select',
490 'html_attributes' => array(
491 'class' => 'crm-select2',
493 'pseudoconstant' => array(
494 'callback' => 'CRM_Admin_Form_Setting_Localization::getDefaultLanguageOptions',
496 'default' => '*default*',
498 'title' => 'Default Language for contacts',
501 'description' => 'Default language (if any) for contact records',
502 'help_text' => 'If a contact is created with no language this setting will determine the language data (if any) to save.'
503 . 'You may or may not wish to make an assumption here about whether it matches the site language',