Merge pull request #6450 from civicrm/4.6
[civicrm-core.git] / settings / Localization.setting.php
CommitLineData
6a488035
TO
1<?php
2/*
3 +--------------------------------------------------------------------+
39de6fd5 4 | CiviCRM version 4.6 |
6a488035 5 +--------------------------------------------------------------------+
e7112fa7 6 | Copyright CiviCRM LLC (c) 2004-2015 |
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 +--------------------------------------------------------------------+
d25dd0ee 26 */
6a488035
TO
27
28/**
29 *
30 * @package CRM
e7112fa7 31 * @copyright CiviCRM LLC (c) 2004-2015
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',
56fdfc52
TO
44 'prefetch' => 1,
45 // 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
46 'config_only' => 1,
47 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
48 'type' => 'String',
49 'quick_form_type' => 'Element',
50 'html_type' => 'text',
51 'html_attributes' => array(
52 'size' => 2,
53 ),
54 'default' => ',',
55 'add' => '4.3',
56 'title' => 'Thousands Separator',
57 'is_domain' => 1,
58 'is_contact' => 0,
08e57c58
TO
59 'description' => NULL,
60 'help_text' => NULL,
6a488035
TO
61 ),
62 'monetaryDecimalPoint' => array(
63 'group_name' => 'Localization Preferences',
64 'group' => 'localization',
65 'name' => 'monetaryDecimalPoint',
56fdfc52
TO
66 'prefetch' => 1,
67 // 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
68 'config_only' => 1,
69 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
70 'type' => 'String',
71 'quick_form_type' => 'Element',
72 'html_type' => 'text',
73 'html_attributes' => array(
74 'size' => 2,
75 ),
76 'default' => '.',
77 'add' => '4.3',
78 'title' => 'Decimal Delimiter',
79 'is_domain' => 1,
80 'is_contact' => 0,
08e57c58
TO
81 'description' => NULL,
82 'help_text' => NULL,
6a488035
TO
83 ),
84 'moneyformat' => array(
85 'group_name' => 'Localization Preferences',
86 'group' => 'localization',
87 'name' => 'moneyformat',
56fdfc52
TO
88 'prefetch' => 1,
89 // 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
90 'config_only' => 1,
91 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
92 'type' => 'String',
93 'quick_form_type' => 'Element',
94 'html_type' => 'text',
95 'default' => '%c %a',
96 'add' => '4.3',
97 'title' => 'Monetary Amount Display',
98 'is_domain' => 1,
99 'is_contact' => 0,
08e57c58
TO
100 'description' => NULL,
101 'help_text' => NULL,
6a488035
TO
102 ),
103 'moneyvalueformat' => array(
104 'group_name' => 'Localization Preferences',
105 'group' => 'localization',
106 'name' => 'moneyvalueformat',
56fdfc52
TO
107 'prefetch' => 1,
108 // 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
109 'config_only' => 1,
110 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
111 'type' => 'String',
112 'quick_form_type' => 'Element',
113 'html_type' => 'text',
114 'default' => '%!i',
115 'add' => '4.3',
116 'title' => 'Monetary Amount Display',
117 'is_domain' => 1,
118 'is_contact' => 0,
08e57c58
TO
119 'description' => NULL,
120 'help_text' => NULL,
6a488035
TO
121 ),
122 'defaultCurrency' => array(
123 'group_name' => 'Localization Preferences',
124 'group' => 'localization',
125 'name' => 'defaultCurrency',
56fdfc52
TO
126 'prefetch' => 1,
127 // 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
128 'config_only' => 1,
129 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
130 'type' => 'String',
131 'quick_form_type' => 'Element',
132 'html_type' => 'text',
133 'html_attributes' => array(
134 'size' => 2,
135 ),
136 'default' => 'USD',
137 'add' => '4.3',
138 'title' => 'Default Currency',
139 'is_domain' => 1,
140 'is_contact' => 0,
141 'description' => 'Default currency assigned to contributions and other monetary transactions.',
08e57c58 142 'help_text' => NULL,
6a488035 143 ),
f9f9f147
CW
144 'defaultContactCountry' => array(
145 'group_name' => 'Localization Preferences',
146 'group' => 'localization',
147 'name' => 'defaultContactCountry',
56fdfc52
TO
148 'prefetch' => 1,
149 // 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
150 'config_only' => 1,
151 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
f9f9f147
CW
152 'type' => 'String',
153 'quick_form_type' => 'Element',
154 'html_type' => 'text',
155 'html_attributes' => array(
156 'size' => 4,
157 ),
158 'default' => '1228',
159 'add' => '4.4',
160 'title' => 'Default Country',
161 'is_domain' => 1,
162 'is_contact' => 0,
163 'description' => 'This value is selected by default when adding a new contact address.',
08e57c58 164 'help_text' => NULL,
f9f9f147 165 ),
6a488035
TO
166 'countryLimit' => array(
167 'group_name' => 'Localization Preferences',
168 'group' => 'localization',
169 'name' => 'countryLimit',
56fdfc52
TO
170 'prefetch' => 1,
171 // 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
172 'config_only' => 1,
173 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
174 'type' => 'Array',
175 'quick_form_type' => 'Element',
176 'html_type' => 'advmultiselect',
177 'html_attributes' => array(
178 'size' => 5,
179 'style' => 'width:150px',
180 'class' => 'advmultiselect',
181 ),
182 'default' => 'null',
183 'add' => '4.3',
184 'title' => 'Available Countries',
185 'is_domain' => 1,
186 'is_contact' => 0,
187 'description' => '',
08e57c58 188 'help_text' => NULL,
6a488035
TO
189 ),
190 'provinceLimit' => array(
191 'group_name' => 'Localization Preferences',
192 'group' => 'localization',
193 'name' => 'provinceLimit',
56fdfc52
TO
194 'prefetch' => 1,
195 // 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
196 'config_only' => 1,
197 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
198 'type' => 'Array',
199 'quick_form_type' => 'Element',
200 'html_type' => 'advmultiselect',
201 'html_attributes' => array(
202 'size' => 5,
203 'style' => 'width:150px',
204 'class' => 'advmultiselect',
205 ),
206 'default' => 'null',
207 'add' => '4.3',
208 'title' => 'Available States and Provinces',
209 'is_domain' => 1,
210 'is_contact' => 0,
211 'description' => '',
08e57c58 212 'help_text' => NULL,
6a488035
TO
213 ),
214 'inheritLocale' => array(
215 'group_name' => 'Localization Preferences',
216 'group' => 'localization',
217 'name' => 'inheritLocale',
56fdfc52
TO
218 'prefetch' => 1,
219 // 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
220 'config_only' => 1,
221 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
222 'type' => 'Boolean',
223 'quick_form_type' => 'YesNo',
224 'default' => '0',
225 'add' => '4.3',
226 'title' => 'Inherit CMS Language',
227 'is_domain' => 1,
228 'is_contact' => 0,
229 'description' => '',
08e57c58 230 'help_text' => NULL,
6a488035
TO
231 ),
232 'dateformatDatetime' => array(
233 'group_name' => 'Localization Preferences',
234 'group' => 'localization',
235 'name' => 'dateformatDatetime',
56fdfc52
TO
236 'prefetch' => 1,
237 // 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
238 'config_only' => 1,
239 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
240 'type' => 'String',
241 'default' => '%B %E%f, %Y %l:%M %P',
242 'add' => '4.3',
243 'title' => 'Complete Date and Time',
244 'is_domain' => 1,
245 'is_contact' => 0,
246 'description' => '',
08e57c58 247 'help_text' => NULL,
6a488035
TO
248 ),
249 'dateformatFull' => array(
250 'group_name' => 'Localization Preferences',
251 'group' => 'localization',
252 'name' => 'dateformatFull',
56fdfc52
TO
253 'prefetch' => 1,
254 // 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
255 'config_only' => 1,
256 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
257 'type' => 'String',
258 'default' => '%B %E%f, %Y',
259 'add' => '4.3',
260 'title' => 'Complete Date',
261 'is_domain' => 1,
262 'is_contact' => 0,
263 'description' => '',
08e57c58 264 'help_text' => NULL,
6a488035
TO
265 ),
266 'dateformatPartial' => array(
267 'group_name' => 'Localization Preferences',
268 'group' => 'localization',
269 'name' => 'dateformatPartial',
56fdfc52
TO
270 'prefetch' => 1,
271 // 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
272 'config_only' => 1,
273 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
274 'type' => 'String',
275 'default' => '%B %Y',
276 'add' => '4.3',
277 'title' => 'Month and Year',
278 'is_domain' => 1,
279 'is_contact' => 0,
280 'description' => '',
08e57c58 281 'help_text' => NULL,
6a488035
TO
282 ),
283 'lcMessages' => array(
284 'group_name' => 'Localization Preferences',
285 'group' => 'localization',
286 'name' => 'lcMessages',
56fdfc52
TO
287 'prefetch' => 1,
288 // 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
289 'config_only' => 1,
290 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
291 'type' => 'String',
292 'default' => 'en_US',
293 'add' => '4.3',
294 'title' => 'Default Language',
295 'is_domain' => 1,
296 'is_contact' => 0,
297 'description' => '',
08e57c58 298 'help_text' => NULL,
6a488035 299 ),
6d9ac92c
CW
300 'weekBegins' => array(
301 'group_name' => 'Localization Preferences',
302 'group' => 'localization',
303 'name' => 'weekBegins',
304 'type' => 'String',
305 'quick_form_type' => 'Element',
306 'html_type' => 'select',
307 'option_values' => CRM_Utils_Date::getFullWeekdayNames(),
308 'default' => '0',
309 'add' => '4.7',
310 'title' => 'Week begins on',
311 'is_domain' => 1,
312 'is_contact' => 0,
313 'description' => "",
314 'help_text' => NULL,
315 ),
232624b1 316);