]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - demoData.zh_cn.php
Add .gitignore
[Github/sugarcrm.git] / demoData.zh_cn.php
1 <?php
2 if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
3 /*********************************************************************************
4  * SugarCRM is a customer relationship management program developed by
5  * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
6  * 
7  * This program is free software; you can redistribute it and/or modify it under
8  * the terms of the GNU Affero General Public License version 3 as published by the
9  * Free Software Foundation with the addition of the following permission added
10  * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
11  * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
12  * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
13  * 
14  * This program is distributed in the hope that it will be useful, but WITHOUT
15  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
16  * FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
17  * details.
18  * 
19  * You should have received a copy of the GNU Affero General Public License along with
20  * this program; if not, see http://www.gnu.org/licenses or write to the Free
21  * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
22  * 02110-1301 USA.
23  * 
24  * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
25  * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
26  * 
27  * The interactive user interfaces in modified source and object code versions
28  * of this program must display Appropriate Legal Notices, as required under
29  * Section 5 of the GNU Affero General Public License version 3.
30  * 
31  * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
32  * these Appropriate Legal Notices must retain the display of the "Powered by
33  * SugarCRM" logo. If the display of the logo is not reasonably feasible for
34  * technical reasons, the Appropriate Legal Notices must display the words
35  * "Powered by SugarCRM".
36  ********************************************************************************/
37
38
39
40
41 //users demodata
42 //VP
43 global $sugar_demodata;
44 $sugar_demodata['users'][0] = array(
45   'id' => 'seed_jim_id',        
46   'last_name' => '金',
47   'first_name' => '丽',
48   'user_name' => 'jim',
49   'title'       => '销售副总',
50   'is_admin' => false,
51   'reports_to' => null,
52   'reports_to_name' => null,
53   'email' => 'jim@example.com'
54 );
55
56 //west team
57 $sugar_demodata['users'][] = array(
58   'id' => 'seed_sarah_id',      
59   'last_name' => '韩',
60   'first_name' => '云',
61   'user_name' => 'sarah',
62   'title'       => '西区销售经理',
63   'is_admin' => false,
64   'reports_to' => 'seed_jim_id',
65   'reports_to_name' => '金, 丽',
66   'email' => 'sarah@example.com'
67 );
68
69 $sugar_demodata['users'][] = array(
70   'id' => 'seed_sally_id',      
71   'last_name' => '王',
72   'first_name' => '欣',
73   'user_name' => 'sally',
74   'title'       => '资深销售代表',
75   'is_admin' => false,
76   'reports_to' => 'seed_sarah_id',
77   'reports_to_name' => '韩, 云',
78   'email' => 'sally@example.com'
79 );
80
81 $sugar_demodata['users'][] = array(
82   'id' => 'seed_max_id',        
83   'last_name' => '马',
84   'first_name' => '建军',
85   'user_name' => 'max',
86   'title'       => '资深销售代表',
87   'is_admin' => false,
88   'reports_to' => 'seed_sarah_id',
89   'reports_to_name' => '韩, 云',
90   'email' => 'tom@example.com'
91 );
92
93 //east team
94 $sugar_demodata['users'][] = array(
95   'id' => 'seed_will_id',       
96   'last_name' => '王',
97   'first_name' => '伟',
98   'user_name' => 'will',
99   'title'       => '东区销售经理',
100   'is_admin' => false,
101   'reports_to' => 'seed_jim_id',
102   'reports_to_name' => '金, 丽',
103   'email' => 'will@example.com'
104 );
105
106 $sugar_demodata['users'][] = array(
107   'id' => 'seed_chris_id',      
108   'last_name' => '徐',
109   'first_name' => '健',
110   'user_name' => 'chris',
111   'title'       => '资深销售代表',
112   'is_admin' => false,
113   'reports_to' => 'seed_will_id',
114   'reports_to_name' => '王, 伟',
115   'email' => 'chris@example.com'
116 );
117
118
119 //teams demodata
120 $sugar_demodata['teams'][] = array(
121   'name' => '东区',   
122   'description' => '东区团队',
123   'team_id' => 'East',
124 );
125
126 $sugar_demodata['teams'][] = array(
127   'name' => '西区',   
128   'description' => '西区团队',
129   'team_id' => 'West',
130 );
131
132 //contacts accounts
133 $sugar_demodata['first_name_array'] = array(
134         "伟",
135         "刚",
136         "勇",
137         "毅",
138         "俊",
139         "峰",
140         "强",
141         "军",
142         "平",
143         "保",
144         "东",
145         "文",
146         "辉",
147         "力",
148         "明",
149         "永",
150         "健",
151         "世",
152         "广",
153         "志",
154         "义",
155         "兴",
156         "良",
157         "海",
158         "山",
159         "仁",
160         "波",
161         "宁",
162         "贵",
163         "福",
164         "生",
165         "龙",
166         "元",
167         "全",
168         "国",
169         "胜",
170         "学",
171         "祥",
172         "才",
173         "发",
174         "武",
175         "新",
176         "利",
177         "清",
178         "飞",
179         "彬",
180         "富",
181         "顺",
182         "信",
183         "子",
184         "杰",
185         "涛",
186         "昌",
187         "成",
188         "康",
189         "星",
190         "光",
191         "天",
192         "达",
193         "安",
194         "岩",
195         "中",
196         "茂",
197         "进",
198         "林",
199         "有",
200         "坚",
201         "和",
202         "彪",
203         "博",
204         "诚",
205         "先",
206         "敬",
207         "震",
208         "振",
209         "壮",
210         "会",
211         "思",
212         "群",
213         "豪",
214         "心",
215         "邦",
216         "承",
217         "乐",
218         "绍",
219         "功",
220         "松",
221         "善",
222         "厚",
223         "庆",
224         "磊",
225         "民",
226         "友",
227         "裕",
228         "河",
229         "哲",
230         "江",
231         "超",
232         "浩",
233         "亮",
234         "政",
235         "谦",
236         "亨",
237         "奇",
238         "固",
239         "之",
240         "轮",
241         "翰",
242         "朗",
243         "伯",
244         "宏",
245         "言",
246         "若",
247         "鸣",
248         "朋",
249         "斌",
250         "梁",
251         "栋",
252         "维",
253         "启",
254         "克",
255         "伦",
256         "翔",
257         "旭",
258         "鹏",
259         "泽",
260         "晨",
261         "辰",
262         "士",
263         "以",
264         "建",
265         "家",
266         "致",
267         "树",
268         "炎",
269         "德",
270         "行",
271         "时",
272         "泰",
273         "盛",
274         "雄",
275         "琛",
276         "钧",
277         "冠",
278         "策",
279         "腾",
280         "楠",
281         "榕",
282         "风",
283         "航",
284         "弘",
285         "秀",
286         "娟",
287         "英",
288         "华",
289         "慧",
290         "巧",
291         "美",
292         "娜",
293         "静",
294         "淑",
295         "惠",
296         "珠",
297         "翠",
298         "雅",
299         "芝",
300         "玉",
301         "萍",
302         "红",
303         "娥",
304         "玲",
305         "芬",
306         "芳",
307         "燕",
308         "彩",
309         "春",
310         "菊",
311         "兰",
312         "凤",
313         "洁",
314         "梅",
315         "琳",
316         "素",
317         "云",
318         "莲",
319         "真",
320         "环",
321         "雪",
322         "荣",
323         "爱",
324         "妹",
325         "霞",
326         "香",
327         "月",
328         "莺",
329         "媛",
330         "艳",
331         "瑞",
332         "凡",
333         "佳",
334         "嘉",
335         "琼",
336         "勤",
337         "珍",
338         "贞",
339         "莉",
340         "桂",
341         "娣",
342         "叶",
343         "璧",
344         "璐",
345         "娅",
346         "琦",
347         "晶",
348         "妍",
349         "茜",
350         "秋",
351         "珊",
352         "莎",
353         "锦",
354         "黛",
355         "青",
356         "倩",
357         "婷",
358         "姣",
359         "婉",
360         "娴",
361         "瑾",
362         "颖",
363         "露",
364         "瑶",
365         "怡",
366         "婵",
367         "雁",
368         "蓓",
369         "纨",
370         "仪",
371         "荷",
372         "丹",
373         "蓉",
374         "眉",
375         "君",
376         "琴",
377         "蕊",
378         "薇",
379         "菁",
380         "梦",
381         "岚",
382         "苑",
383         "婕",
384         "馨",
385         "瑗",
386         "琰",
387         "韵",
388         "融",
389         "园",
390         "艺",
391         "咏",
392         "卿",
393         "聪",
394         "澜",
395         "纯",
396         "毓",
397         "悦",
398         "昭",
399         "冰",
400         "爽",
401         "琬",
402         "茗",
403         "羽",
404         "希",
405         "宁",
406         "欣",
407         "飘",
408         "育",
409         "滢",
410         "馥",
411         "筠",
412         "柔",
413         "竹",
414         "霭",
415         "凝",
416         "晓",
417         "欢",
418         "霄",
419         "枫",
420         "芸",
421         "菲",
422         "寒",
423         "伊",
424         "亚",
425         "宜",
426         "可",
427         "姬",
428         "舒",
429         "影",
430         "荔",
431         "枝",
432         "思",
433         "丽 ",
434 );
435
436 $sugar_demodata['last_name_array'] = array(
437         "李",
438         "王",
439         "张",
440         "刘",
441         "陈",
442         "杨",
443         "赵",
444         "黄",
445         "周",
446         "吴",
447         "徐",
448         "孙",
449         "胡",
450         "朱",
451         "高",
452         "林",
453         "何",
454         "郭",
455         "马",
456         "罗",
457         "梁",
458         "宋",
459         "郑",
460         "谢",
461         "韩",
462         "唐",
463         "冯",
464         "于",
465         "董",
466         "肖",
467         "程",
468         "曹",
469         "袁",
470         "邓",
471         "许",
472         "傅",
473         "沈",
474         "曾",
475         "彭",
476         "吕",
477         "苏",
478         "卢",
479         "蒋",
480         "蔡",
481         "贾",
482         "丁",
483         "魏",
484         "薛",
485         "叶",
486         "阎",
487         "余",
488         "潘",
489         "杜",
490         "戴",
491         "夏",
492         "钟",
493         "田",
494         "任",
495         "姜",
496         "范",
497         "方",
498         "石",
499         "姚",
500         "谭",
501         "廖",
502         "邹",
503         "熊",
504         "金",
505         "陆",
506         "郝",
507         "孔",
508         "白",
509         "崔",
510         "康",
511         "毛",
512         "邱",
513         "秦",
514         "江",
515         "史",
516         "顾",
517         "邵",
518         "候",
519         "孟",
520         "龙",
521         "万",
522         "段",
523         "雷",
524         "钱",
525         "汤",
526         "尹",
527         "黎",
528         "易",
529         "武",
530         "乔",
531         "贺",
532         "赖",
533         "龚",
534         "文",
535 );
536
537
538 $sugar_demodata['company_name_array'] = array(
539         "华新书局",
540         "北京阳光友谊商城",
541         "国际华侨大厦",
542         "上海联合汽车",
543         "出口信贷保险公司",
544         "中青宾馆",
545         "中国联合影业公司",
546         "中国糖果银行",
547         "世格软件",
548         "山东通用机械厂",
549         "青岛造船厂",
550         "东方科学仪器公司",
551         "海青航运公司",
552         "联合石油公司",
553         "长江集装箱海运公司",
554 );
555
556
557 $sugar_demodata['street_address_array'] = array(
558         "中山路75号",
559         "中山环路345号",
560         "湖南路99号",
561         "南京东路234号",
562         "淮海西路22号",
563         "居里路865号",
564         "北京东路789号",
565         "太平路827号",
566         "五棵松路324号",
567         "长寿路545",
568         "和平路659",
569         "永福路975",
570         "一德路3号2-5",
571         "珠江路54号6楼F",
572         "上海路46号7楼",
573         "中山二路1454号",
574         "连胜路47号8楼",
575         "文园路647号",
576 );
577
578
579 $sugar_demodata['city_array'] = array (
580         "上海",
581         "北京",
582         "西安",
583         "南昌",
584         "苏州",
585         "杭州",
586         "南京",
587         "天津",
588         "海口",
589         "青岛",
590         "大连",
591         "广州",
592         "济南",
593         "太原",
594         "长沙",
595         "武汉",
596         "厦门",
597 );
598
599
600 //cases demo data
601 $sugar_demodata['case_seed_names'] = array(
602         '集成的问题',
603         '系统太快了',
604         '很多地方需要定制',
605         '我要购买序列号',
606         '用Firefox时错误的消息提示'
607 );
608 $sugar_demodata['note_seed_names_and_Descriptions'] = array(
609         array('更多客户信息','300多个潜在客户'),
610         array('电话信息','我们有个电话,看上去不错'),
611         array('生日信息','出生于10月'),
612         array('节日礼物','节日礼物非常棒,放在列表中以备以后选择')
613 );
614 $sugar_demodata['call_seed_data_names'] = array(
615         '获得更多的信息',
616         '留个口信',
617         '感觉不好,继续联系',
618         '讨论工作流程'
619 );
620
621 //titles
622 $sugar_demodata['titles'] = array(
623         "董事长",
624         "业务副总裁",
625         "销售副总裁",
626         "业务总监",
627         "销售总监",
628         "业务经理",
629         "软件开发工程师",
630 "");
631
632 //tasks
633 $sugar_demodata['task_seed_data_names'] = array(
634         '整理产品目录', 
635         '安排行程', 
636         '发送邮件', 
637         '发送合同', 
638         '传真', 
639         '发送跟踪邮件', 
640         '发送资料', 
641         '投标', 
642         '发送报价', 
643         '安排会议', 
644         '评估', 
645         '获得样品反馈', 
646         '安排介绍', 
647         '提供技术支持', 
648         '结束技术支持', 
649         '海运产品', 
650         '安排培训', 
651         '发送本地用户组信息', 
652         '添加至邮件列表',
653 );
654
655 //meetings
656 $sugar_demodata['meeting_seed_data_names'] = array(
657         '报价的后续行动', 
658         '初次讨论', 
659         '审查需求', 
660         '讨论报价', 
661         '演示', 
662         '介绍成员', 
663 );
664 $sugar_demodata['meeting_seed_data_descriptions'] = '讨论项目的计划以及罗列实施的细节';
665
666
667 //emails
668 $sugar_demodata['email_seed_data_subjects'] = array(
669         '报价的后续行动', 
670         '初次讨论', 
671         '审查需求', 
672         '讨论报价', 
673         '演示', 
674         '介绍成员', 
675 );
676 $sugar_demodata['email_seed_data_descriptions'] = '讨论项目的计划以及罗列实施的细节';
677
678 //leads
679 $sugar_demodata['primary_address_state'] = '上海';
680 $sugar_demodata['billing_address_state']['east'] = '上海';
681 $sugar_demodata['billing_address_state']['west'] = '昆明';
682 $sugar_demodata['primary_address_country'] = '中国';
683
684 //manufacturers
685 $sugar_demodata['manufacturer_seed_data_names'] = array(
686         '塔奇克玩具有限公司',
687         '华仪配件制造有限公司',
688 );
689
690 //Shippers
691 $sugar_demodata['shipper_seed_data_names'] = array(
692         'FedEx', 
693         'USPS Ground'
694 );
695 //productcategories
696 $sugar_demodata['category_ext_name'] = '氏系列产品';
697 $sugar_demodata['product_ext_name'] = '氏小配件';
698
699 $sugar_demodata['productcategory_seed_data_names'] = array(
700         '台式机', 
701         '笔记本', 
702         '紧固件', 
703         '其他配件'
704 );
705
706 //producttype
707 $sugar_demodata['producttype_seed_data_names']= array(
708         '其他配件', 
709         '硬件', 
710         '技术支持合同'
711 );
712 //taxrate
713 $sugar_demodata['taxrate_seed_data'][] = array(
714         'name' => '增值税',
715         'value' => '17',
716 );
717
718 $sugar_demodata['currency_seed_data'][] = array(
719         'name' => 'USD',
720         'conversion_rate' => 0.146,
721         'iso4217' => 'USD',
722         'symbol' => '$',
723 );
724
725 //producttemplate
726 $sugar_demodata['producttemplate_seed_data'][] = array(
727         'name' => 'TK 1000 台式机',
728         'tax_class' => 'Taxable',
729         'cost_price' => 500.00,
730         'cost_usdollar' => 500.00,
731         'list_price' => 800.00,
732         'list_usdollar' => 800.00,
733         'discount_price' => 800.00,
734         'discount_usdollar' => 800.00,
735         'pricing_formula' => 'IsList',
736         'mft_part_num' => 'XYZ7890122222',
737         'pricing_factor' => '1',
738         'status' => 'Available',
739         'weight' => 20.0,
740         'date_available' => '2004-10-15',
741         'qty_in_stock' => '72',
742 ); 
743
744 $sugar_demodata['producttemplate_seed_data'][] = array(
745         'name' => 'TK 1000 台式机',
746         'tax_class' => 'Taxable',
747         'cost_price' => 600.00,
748         'cost_usdollar' => 600.00,
749         'list_price' => 900.00,
750         'list_usdollar' => 900.00,
751         'discount_price' => 900.00,
752         'discount_usdollar' => 900.00,
753         'pricing_formula' => 'IsList',
754         'mft_part_num' => 'XYZ7890123456',
755         'pricing_factor' => '1',
756         'status' => 'Available',
757         'weight' => 20.0,
758         'date_available' => '2004-10-15',
759         'qty_in_stock' => '65',
760 ); 
761
762 $sugar_demodata['producttemplate_seed_data'][] = array(
763         'name' => 'TK m30 台式机',
764         'tax_class' => 'Taxable',
765         'cost_price' => 1300.00,
766         'cost_usdollar' => 1300.00,
767         'list_price' => 1700.00,
768         'list_usdollar' => 1700.00,
769         'discount_price' => 1625.00,
770         'discount_usdollar' => 1625.00,
771         'pricing_formula' => 'ProfitMargin',
772         'mft_part_num' => 'ABCD123456890',
773         'pricing_factor' => '20',
774         'status' => 'Available',
775         'weight' => 5.0,
776         'date_available' => '2004-10-15',
777         'qty_in_stock' => '12',
778 ); 
779
780 $sugar_demodata['producttemplate_seed_data'][] = array(
781         'name' => '反射镜组件',
782         'tax_class' => 'Taxable',
783         'cost_price' => 200.00,
784         'cost_usdollar' => 200.00,
785         'list_price' => 325.00,
786         'list_usdollar' => 325.00,
787         'discount_price' => 266.50,
788         'discount_usdollar' => 266.50,
789         'pricing_formula' => 'PercentageDiscount',
790         'mft_part_num' => '2.0',
791         'pricing_factor' => '20',
792         'status' => 'Available',
793         'weight' => 20.0,
794         'date_available' => '2004-10-15',
795         'qty_in_stock' => '65',
796 ); 
797
798 $sugar_demodata['contract_seed_data'][] = array(
799         'name' => '给月球基地的IT技术支持',
800         'reference_code' => 'EMP-9802',
801         'total_contract_value' => '500600.01',
802         'start_date' => '2010-05-15',
803         'end_date' => '2020-05-15',
804         'company_signed_date' => '2010-03-15',
805         'customer_signed_date' => '2010-03-16',
806         'description' => '在月球基地上进行的秘密项目',
807 ); 
808
809 $sugar_demodata['contract_seed_data'][] = array(
810         'name' => '离子发动机',
811         'reference_code' => 'EMP-7277',
812         'total_contract_value' => '333444.34',
813         'start_date' => '2010-05-15',
814         'end_date' => '2020-05-15',
815         'company_signed_date' => '2010-03-15',
816         'customer_signed_date' => '2010-03-16',
817         'description' => '应用于深空973号探测器',
818 ); 
819
820 $sugar_demodata['project_seed_data']['audit'] = array(
821         'name' => '为审计所创建的项目',
822         'description' => '六月份的年审',
823         'estimated_start_date' => '2007-11-01',
824         'estimated_end_date' => '2007-12-31',
825         'status' => 'Draft',
826         'priority' => 'medium',
827 );
828
829 $sugar_demodata['project_seed_data']['audit']['project_tasks'][] = array(
830         'name' => '和股东进行沟通',
831         'date_start' => '2007/11/1',
832         'date_finish' => '2007/11/8',
833         'description' => '与马东和刘伟单独会面',
834         'duration' => '6',
835         'duration_unit' => 'Days',
836         'percent_complete' => 100,
837 );
838
839 $sugar_demodata['project_seed_data']['audit']['project_tasks'][] = array(
840         'name' => '创建计划草案',
841         'date_start' => '2007/11/5',
842         'date_finish' => '2007/11/20',
843         'description' => '与马东和刘伟单独会面',
844         'duration' => '12',
845         'duration_unit' => 'Days',
846         'percent_complete' => 38,
847 );
848
849 $sugar_demodata['project_seed_data']['audit']['project_tasks'][] = array(
850         'name' => '外勤工作收集数据',
851         'date_start' => '2007/11/5',
852         'date_finish' => '2007/11/13',
853         'description' => '我们需要获得股东的支持',
854         'duration' => '17',
855         'duration_unit' => 'Days',
856         'percent_complete' => 75,
857 );
858
859 $sugar_demodata['project_seed_data']['audit']['project_tasks'][] = array(
860         'name' => '创建计划草案',
861         'date_start' => '2007/11/12',
862         'date_finish' => '2007/11/19',
863         'description' => 'Schedule the meeting with the head of business units to solicit help.',
864         'duration' => '6',
865         'duration_unit' => 'Days',
866         'percent_complete' => 0,
867 );
868
869 $sugar_demodata['project_seed_data']['audit']['project_tasks'][] = array(
870         'name' => '收集会议资料',
871         'date_start' => '2007/11/20',
872         'date_finish' => '2007/11/20',
873         'description' => '收集组织会议资料并归档',
874         'duration' => '1',
875         'duration_unit' => 'Days',
876         'percent_complete' => 0,
877 );
878
879
880 ?>