INFRA-132 - settings/ - phpcbf
[civicrm-core.git] / settings / Localization.setting.php
CommitLineData
6a488035
TO
1<?php
2/*
3 +--------------------------------------------------------------------+
39de6fd5 4 | CiviCRM version 4.6 |
6a488035 5 +--------------------------------------------------------------------+
f5721b07 6 | Copyright CiviCRM LLC (c) 2004-2014 |
6a488035
TO
7 +--------------------------------------------------------------------+
8 | This file is a part of CiviCRM. |
9 | |
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. |
13 | |
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. |
18 | |
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 +--------------------------------------------------------------------+
26*/
27
28/**
29 *
30 * @package CRM
f5721b07 31 * @copyright CiviCRM LLC (c) 2004-2014
6a488035
TO
32 * $Id$
33 *
34 */
35/*
36 * Settings metadata file
37 */
38
39return array(
40 'monetaryThousandSeparator' => array(
41 'group_name' => 'Localization Preferences',
42 'group' => 'localization',
43 'name' => 'monetaryThousandSeparator',
08e57c58 44 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
e5f3a057 45 'config_only' => 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
46 'type' => 'String',
47 'quick_form_type' => 'Element',
48 'html_type' => 'text',
49 'html_attributes' => array(
50 'size' => 2,
51 ),
52 'default' => ',',
53 'add' => '4.3',
54 'title' => 'Thousands Separator',
55 'is_domain' => 1,
56 'is_contact' => 0,
08e57c58
TO
57 'description' => NULL,
58 'help_text' => NULL,
6a488035
TO
59 ),
60 'monetaryDecimalPoint' => array(
61 'group_name' => 'Localization Preferences',
62 'group' => 'localization',
63 'name' => 'monetaryDecimalPoint',
08e57c58 64 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
e5f3a057 65 'config_only' => 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
66 'type' => 'String',
67 'quick_form_type' => 'Element',
68 'html_type' => 'text',
69 'html_attributes' => array(
70 'size' => 2,
71 ),
72 'default' => '.',
73 'add' => '4.3',
74 'title' => 'Decimal Delimiter',
75 'is_domain' => 1,
76 'is_contact' => 0,
08e57c58
TO
77 'description' => NULL,
78 'help_text' => NULL,
6a488035
TO
79 ),
80 'moneyformat' => array(
81 'group_name' => 'Localization Preferences',
82 'group' => 'localization',
83 'name' => 'moneyformat',
08e57c58 84 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
e5f3a057 85 'config_only' => 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
86 'type' => 'String',
87 'quick_form_type' => 'Element',
88 'html_type' => 'text',
89 'default' => '%c %a',
90 'add' => '4.3',
91 'title' => 'Monetary Amount Display',
92 'is_domain' => 1,
93 'is_contact' => 0,
08e57c58
TO
94 'description' => NULL,
95 'help_text' => NULL,
6a488035
TO
96 ),
97 'moneyvalueformat' => array(
98 'group_name' => 'Localization Preferences',
99 'group' => 'localization',
100 'name' => 'moneyvalueformat',
08e57c58 101 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
e5f3a057 102 'config_only' => 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
103 'type' => 'String',
104 'quick_form_type' => 'Element',
105 'html_type' => 'text',
106 'default' => '%!i',
107 'add' => '4.3',
108 'title' => 'Monetary Amount Display',
109 'is_domain' => 1,
110 'is_contact' => 0,
08e57c58
TO
111 'description' => NULL,
112 'help_text' => NULL,
6a488035
TO
113 ),
114 'defaultCurrency' => array(
115 'group_name' => 'Localization Preferences',
116 'group' => 'localization',
117 'name' => 'defaultCurrency',
08e57c58 118 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
e5f3a057 119 'config_only' => 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
120 'type' => 'String',
121 'quick_form_type' => 'Element',
122 'html_type' => 'text',
123 'html_attributes' => array(
124 'size' => 2,
125 ),
126 'default' => 'USD',
127 'add' => '4.3',
128 'title' => 'Default Currency',
129 'is_domain' => 1,
130 'is_contact' => 0,
131 'description' => 'Default currency assigned to contributions and other monetary transactions.',
08e57c58 132 'help_text' => NULL,
6a488035 133 ),
f9f9f147
CW
134 'defaultContactCountry' => array(
135 'group_name' => 'Localization Preferences',
136 'group' => 'localization',
137 'name' => 'defaultContactCountry',
08e57c58 138 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
e5f3a057 139 'config_only' => 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
f9f9f147
CW
140 'type' => 'String',
141 'quick_form_type' => 'Element',
142 'html_type' => 'text',
143 'html_attributes' => array(
144 'size' => 4,
145 ),
146 'default' => '1228',
147 'add' => '4.4',
148 'title' => 'Default Country',
149 'is_domain' => 1,
150 'is_contact' => 0,
151 'description' => 'This value is selected by default when adding a new contact address.',
08e57c58 152 'help_text' => NULL,
f9f9f147 153 ),
6a488035
TO
154 'countryLimit' => array(
155 'group_name' => 'Localization Preferences',
156 'group' => 'localization',
157 'name' => 'countryLimit',
08e57c58 158 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
e5f3a057 159 'config_only' => 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
160 'type' => 'Array',
161 'quick_form_type' => 'Element',
162 'html_type' => 'advmultiselect',
163 'html_attributes' => array(
164 'size' => 5,
165 'style' => 'width:150px',
166 'class' => 'advmultiselect',
167 ),
168 'default' => 'null',
169 'add' => '4.3',
170 'title' => 'Available Countries',
171 'is_domain' => 1,
172 'is_contact' => 0,
173 'description' => '',
08e57c58 174 'help_text' => NULL,
6a488035
TO
175 ),
176 'provinceLimit' => array(
177 'group_name' => 'Localization Preferences',
178 'group' => 'localization',
179 'name' => 'provinceLimit',
08e57c58 180 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
e5f3a057 181 'config_only' => 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
182 'type' => 'Array',
183 'quick_form_type' => 'Element',
184 'html_type' => 'advmultiselect',
185 'html_attributes' => array(
186 'size' => 5,
187 'style' => 'width:150px',
188 'class' => 'advmultiselect',
189 ),
190 'default' => 'null',
191 'add' => '4.3',
192 'title' => 'Available States and Provinces',
193 'is_domain' => 1,
194 'is_contact' => 0,
195 'description' => '',
08e57c58 196 'help_text' => NULL,
6a488035
TO
197 ),
198 'inheritLocale' => array(
199 'group_name' => 'Localization Preferences',
200 'group' => 'localization',
201 'name' => 'inheritLocale',
08e57c58 202 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
e5f3a057 203 'config_only' => 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
204 'type' => 'Boolean',
205 'quick_form_type' => 'YesNo',
206 'default' => '0',
207 'add' => '4.3',
208 'title' => 'Inherit CMS Language',
209 'is_domain' => 1,
210 'is_contact' => 0,
211 'description' => '',
08e57c58 212 'help_text' => NULL,
6a488035
TO
213 ),
214 'dateformatDatetime' => array(
215 'group_name' => 'Localization Preferences',
216 'group' => 'localization',
217 'name' => 'dateformatDatetime',
08e57c58 218 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
e5f3a057 219 'config_only' => 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
220 'type' => 'String',
221 'default' => '%B %E%f, %Y %l:%M %P',
222 'add' => '4.3',
223 'title' => 'Complete Date and Time',
224 'is_domain' => 1,
225 'is_contact' => 0,
226 'description' => '',
08e57c58 227 'help_text' => NULL,
6a488035
TO
228 ),
229 'dateformatFull' => array(
230 'group_name' => 'Localization Preferences',
231 'group' => 'localization',
232 'name' => 'dateformatFull',
08e57c58 233 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
e5f3a057 234 'config_only' => 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
235 'type' => 'String',
236 'default' => '%B %E%f, %Y',
237 'add' => '4.3',
238 'title' => 'Complete Date',
239 'is_domain' => 1,
240 'is_contact' => 0,
241 'description' => '',
08e57c58 242 'help_text' => NULL,
6a488035
TO
243 ),
244 'dateformatPartial' => array(
245 'group_name' => 'Localization Preferences',
246 'group' => 'localization',
247 'name' => 'dateformatPartial',
08e57c58 248 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
e5f3a057 249 'config_only' => 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
250 'type' => 'String',
251 'default' => '%B %Y',
252 'add' => '4.3',
253 'title' => 'Month and Year',
254 'is_domain' => 1,
255 'is_contact' => 0,
256 'description' => '',
08e57c58 257 'help_text' => NULL,
6a488035
TO
258 ),
259 'lcMessages' => array(
260 'group_name' => 'Localization Preferences',
261 'group' => 'localization',
262 'name' => 'lcMessages',
08e57c58 263 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
e5f3a057 264 'config_only' => 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
265 'type' => 'String',
266 'default' => 'en_US',
267 'add' => '4.3',
268 'title' => 'Default Language',
269 'is_domain' => 1,
270 'is_contact' => 0,
271 'description' => '',
08e57c58 272 'help_text' => NULL,
6a488035 273 ),
232624b1 274);