fat_free_crm 0.13.4 → 0.13.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of fat_free_crm might be problematic. Click here for more details.

Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.teatro.yml +3 -0
  4. data/.travis.yml +11 -4
  5. data/Capfile +25 -2
  6. data/Dockerfile +18 -0
  7. data/Gemfile +6 -2
  8. data/Gemfile.lock +108 -91
  9. data/README.md +6 -4
  10. data/app/assets/javascripts/crm.js.coffee +4 -1
  11. data/app/assets/javascripts/crm_select2.js.coffee +4 -2
  12. data/app/controllers/users_controller.rb +1 -1
  13. data/app/helpers/application_helper.rb +15 -6
  14. data/app/helpers/tags_helper.rb +3 -3
  15. data/app/mailers/user_mailer.rb +1 -1
  16. data/app/models/setting.rb +1 -1
  17. data/app/models/users/user.rb +1 -1
  18. data/app/views/authentications/new.html.haml +0 -12
  19. data/app/views/contacts/_index_full.html.haml +1 -1
  20. data/app/views/contacts/_section_general.html.haml +6 -3
  21. data/app/views/fields/_group_view.html.haml +2 -1
  22. data/app/views/home/_activity.html.haml +1 -1
  23. data/app/views/layouts/500.html.haml +0 -12
  24. data/config/database.postgres.docker.yml +25 -0
  25. data/config/deploy.example.rb +68 -41
  26. data/config/initializers/custom_field_ransack_translations.rb +6 -4
  27. data/config/locales/cz_fat_free_crm.yml +1 -1
  28. data/config/locales/de_fat_free_crm.yml +1 -1
  29. data/config/locales/en-GB_fat_free_crm.yml +201 -28
  30. data/config/locales/en-GB_ransack.yml +91 -0
  31. data/config/locales/en-US_fat_free_crm.yml +1 -1
  32. data/config/locales/es_fat_free_crm.yml +1 -1
  33. data/config/locales/fr-CA_fat_free_crm.yml +1 -1
  34. data/config/locales/fr_fat_free_crm.yml +1 -1
  35. data/config/locales/it_fat_free_crm.yml +1 -1
  36. data/config/locales/ja_fat_free_crm.yml +1 -1
  37. data/config/locales/ja_ransack.yml +91 -0
  38. data/config/locales/pl_fat_free_crm.yml +1 -1
  39. data/config/locales/pt-BR_fat_free_crm.yml +1 -1
  40. data/config/locales/ru_fat_free_crm.yml +1 -1
  41. data/config/locales/sv-SE_fat_free_crm.yml +1 -1
  42. data/config/locales/th_fat_free_crm.yml +1 -1
  43. data/config/locales/zh-CN_fat_free_crm.yml +430 -66
  44. data/config/locales/zh-CN_ransack.yml +91 -0
  45. data/config/settings.default.yml +9 -8
  46. data/db/demo/field_groups.yml +14 -0
  47. data/db/migrate/20140916011927_add_created_at_index_on_versions.rb +5 -0
  48. data/db/migrate/20140916012922_add_indexes_to_model_associations.rb +6 -0
  49. data/db/migrate/20141126031837_increase_email_to254_chars.rb +21 -0
  50. data/db/schema.rb +27 -22
  51. data/fig.yml +13 -0
  52. data/lib/fat_free_crm/callback.rb +9 -4
  53. data/lib/fat_free_crm/gem_dependencies.rb +1 -0
  54. data/lib/fat_free_crm/version.rb +1 -1
  55. data/spec/factories/user_factories.rb +4 -4
  56. data/spec/models/users/user_spec.rb +13 -0
  57. data/spec/views/admin/users/create.js.haml_spec.rb +0 -2
  58. metadata +14 -3
@@ -0,0 +1,91 @@
1
+ ---
2
+ en-US:
3
+ ransack:
4
+ search: search
5
+ predicate: predicate
6
+ and: and
7
+ or: or
8
+ any: any
9
+ all: all
10
+ combinator: combinator
11
+ attribute: attribute
12
+ value: value
13
+ condition: condition
14
+ sort: sort
15
+ asc: ascending
16
+ desc: descending
17
+ submit: Search
18
+ add_group: Add a group of filters
19
+ group_first: Show results where %{combinator} of the following match
20
+ group_rest: ! '...and where %{combinator} of the following match'
21
+ add_condition: Add a filter
22
+ remove_condition: Remove filter
23
+ predicates:
24
+ eq: is
25
+ eq_any: is any
26
+ eq_all: is all
27
+ not_eq: is not
28
+ not_eq_any: is not any
29
+ not_eq_all: is not all
30
+ matches: matches
31
+ matches_any: matches any
32
+ matches_all: matches all
33
+ does_not_match: doesn't match
34
+ does_not_match_any: doesn't match any
35
+ does_not_match_all: doesn't match all
36
+ lt: is less than
37
+ lt_any: is less than any
38
+ lt_all: is less than all
39
+ lteq: is less than or equal to
40
+ lteq_any: is less than or equal to any
41
+ lteq_all: is less than or equal to all
42
+ gt: is greater than
43
+ gt_any: is greater than any
44
+ gt_all: is greater than all
45
+ gteq: is greater than or equal to
46
+ gteq_any: is greater than or equal to any
47
+ gteq_all: is greater than or equal to all
48
+ in: is in
49
+ in_any: is in any
50
+ in_all: is in all
51
+ not_in: is not in
52
+ not_in_any: is not in any
53
+ not_in_all: is not in all
54
+ cont: contains
55
+ cont_any: contains any
56
+ cont_all: contains all
57
+ not_cont: doesn't contain
58
+ not_cont_any: doesn't contain any
59
+ not_cont_all: doesn't contain all
60
+ start: starts with
61
+ start_any: starts with any
62
+ start_all: starts with all
63
+ not_start: doesn't start with
64
+ not_start_any: doesn't start with any
65
+ not_start_all: doesn't start with all
66
+ end: ends with
67
+ end_any: ends with any
68
+ end_all: ends with all
69
+ not_end: doesn't end with
70
+ not_end_any: doesn't end with any
71
+ not_end_all: doesn't end with all
72
+ 'true': is true
73
+ 'false': is false
74
+ present: is present
75
+ blank: is blank
76
+ 'null': is null
77
+ not_null: is not null
78
+ alt:
79
+ date:
80
+ lt: is before
81
+ lt_any: is before any
82
+ lt_all: is before all
83
+ lteq: is before or on
84
+ lteq_any: is before or on any
85
+ lteq_all: is before or on all
86
+ gt: is after
87
+ gt_any: is after any
88
+ gt_all: is after all
89
+ gteq: is after or on
90
+ gteq_any: is after or on any
91
+ gteq_all: is after or on all
@@ -358,7 +358,7 @@ en-US:
358
358
  conversion: Conversion
359
359
  conversion_label: Conversion (%)
360
360
  conversion_number: ! '%{value} conversion'
361
- target_conversion: Targe conversion
361
+ target_conversion: Target conversion
362
362
  create_campaign: Create Campaign
363
363
  end_date: End date
364
364
  finished_on: completed on %{value}
@@ -202,7 +202,7 @@ es:
202
202
  option_target_revenue: ingresos planeados
203
203
  option_updated_at: fecha de modificación
204
204
  show_per_page: Mostrar %{number} %{models} por página utilizando el formato %{fmt}.
205
- sort_by: Ordenar %{models} por %{field}.
205
+ sort_by: Ordenar por %{field}.
206
206
  sort_by_displaying: Ordenar %{models} por %{field} mostrando el nombre %{position}
207
207
  los apellidos.
208
208
  aim: AOL IM
@@ -202,7 +202,7 @@ fr-CA:
202
202
  option_target_revenue: revenus cibles
203
203
  option_updated_at: date de modification
204
204
  show_per_page: Voir %{number} %{models} par page au format %{fmt}.
205
- sort_by: Trier %{models} par %{field}.
205
+ sort_by: Trier par %{field}.
206
206
  sort_by_displaying: Trier %{models} par %{field} afficher le prénom %{position}
207
207
  le nom.
208
208
  aim: AOL IM
@@ -204,7 +204,7 @@ fr:
204
204
  option_target_revenue: revenus cibles
205
205
  option_updated_at: date de modification
206
206
  show_per_page: Voir %{number} %{models} par page au format %{fmt}.
207
- sort_by: Trier les %{models} par %{field}.
207
+ sort_by: Trier par %{field}.
208
208
  sort_by_displaying: Trier les %{models} par %{field} et afficher le prénom %{position}
209
209
  le nom.
210
210
  aim: AOL IM
@@ -197,7 +197,7 @@ it:
197
197
  option_target_revenue: obiettivo gettito
198
198
  option_updated_at: data aggiornamento
199
199
  show_per_page: Mostra %{number} %{models} per pagina usando %{fmt} formato.
200
- sort_by: Ordina %{models} per %{field}.
200
+ sort_by: Ordina per %{field}.
201
201
  sort_by_displaying: Ordina %{models} per %{field} mostrando nome %{position} cognome
202
202
  aim: AOL IM
203
203
  already_signed_up: Gia' iscritto?
@@ -191,7 +191,7 @@ ja:
191
191
  option_target_revenue: target revenue
192
192
  option_updated_at: 更新日
193
193
  show_per_page: ! '%{fmt}書式で1ページ%{number}件ずつ%{models}を表示。'
194
- sort_by: ! '%{field}で%{models}を並べ替える。'
194
+ sort_by: ! '%{field}でを並べ替える。'
195
195
  sort_by_displaying: 姓を名の%{position}に表示にして、%{field}で%{models}を並べ替える。
196
196
  aim: AOL IM
197
197
  already_signed_up: サインアップ済みですか?
@@ -0,0 +1,91 @@
1
+ ---
2
+ ja:
3
+ ransack:
4
+ search: 検索
5
+ predicate: predicate
6
+ and: かつ
7
+ or: または
8
+ any: いずれか
9
+ all: すべて
10
+ combinator: 組み合わせ
11
+ attribute: 属性
12
+ value: 値
13
+ condition: 条件
14
+ sort: 並び替え
15
+ asc: 昇順
16
+ desc: 降順
17
+ submit: 検索
18
+ add_group: 検索条件グループを追加する
19
+ group_first: 下記の条件の %{combinator} に該当するものを検索します
20
+ group_rest: ! '...and where %{combinator} of the following match'
21
+ add_condition: 検索条件を追加する
22
+ remove_condition: 検索条件を削除する
23
+ predicates:
24
+ eq: 一致する
25
+ eq_any: 一致する|右記のいずれか
26
+ eq_all: 一致する|右記のすべて
27
+ not_eq: 異なる
28
+ not_eq_any: 異なる|右記のいずれか
29
+ not_eq_all: 異なる|右記のすべて
30
+ matches: 部分一致する
31
+ matches_any: 部分一致する|右記のいずれか
32
+ matches_all: 部分一致する|右記のすべて
33
+ does_not_match: 部分一致しない
34
+ does_not_match_any: 部分一致しない|右記のいずれか
35
+ does_not_match_all: 部分一致しない|右記のすべて
36
+ lt: 未満
37
+ lt_any: 未満|右記のいずれか
38
+ lt_all: 未満|右記のすべて
39
+ lteq: 以下
40
+ lteq_any: 以下|右記のいずれか
41
+ lteq_all: 以下|右記のすべて
42
+ gt: より大きい
43
+ gt_any: より大きい|右記のいずれか
44
+ gt_all: より大きい|右記のすべて
45
+ gteq: 以上
46
+ gteq_any: 以上|右記のいずれか
47
+ gteq_all: 以上|右記のすべて
48
+ in: 含まれる
49
+ in_any: 含まれる|右記のいずれか
50
+ in_all: 含まれる|右記のすべて
51
+ not_in: 含まれない
52
+ not_in_any: 含まれない|右記のいずれか
53
+ not_in_all: 含まれない|右記のすべて
54
+ cont: 含む
55
+ cont_any: 含む|右記のいずれか
56
+ cont_all: 含む|右記のすべて
57
+ not_cont: 含まない
58
+ not_cont_any: 含まない|右記のいずれか
59
+ not_cont_all: 含まない|右記のすべて
60
+ start: 最初の文字が
61
+ start_any: 最初の文字が|右記のいずれか
62
+ start_all: 最初の文字が|右記のすべて
63
+ not_start: 最初の文字が~でない
64
+ not_start_any: 最初の文字が~でない|右記のいずれか
65
+ not_start_all: 最初の文字が~でない|右記のすべて
66
+ end: 最後の文字が
67
+ end_any: 最後の文字が|右記のいずれか
68
+ end_all: 最後の文字が|右記のすべて
69
+ not_end: 最後の文字が~でない
70
+ not_end_any: 最後の文字が~でない|右記のいずれか
71
+ not_end_all: 最後の文字が~でない|右記のすべて
72
+ 'true': に該当
73
+ 'false': に該当しない
74
+ present: が空欄でない
75
+ blank: が空欄
76
+ 'null': が未設定
77
+ not_null: が未設定でない
78
+ alt:
79
+ date:
80
+ lt: より以前
81
+ lt_any: より以前|右記のいずれか
82
+ lt_all: より以前|右記のすべて
83
+ lteq: 以前
84
+ lteq_any: 以前|右記のいずれか
85
+ lteq_all: 以前|右記のすべて
86
+ gt: より以降
87
+ gt_any: より以降|右記のいずれか
88
+ gt_all: より以降|右記のすべて
89
+ gteq: 以降
90
+ gteq_any: 以降|右記のいずれか
91
+ gteq_all: 以降|右記のすべて
@@ -194,7 +194,7 @@ pl:
194
194
  option_target_revenue: zakładanej sprzedaży
195
195
  option_updated_at: daty aktualizacji
196
196
  show_per_page: Pokaż %{number} %{models}/stronę w widoku %{fmt}.
197
- sort_by: Sortuj %{models} wg %{field}.
197
+ sort_by: Sortuj wg %{field}.
198
198
  sort_by_displaying: Sortuj %{models} wg %{field} wyświetlając imię %{position}.
199
199
  aim: AOL IM
200
200
  already_signed_up: Już zarejestrowany?
@@ -202,7 +202,7 @@ pt-BR:
202
202
  option_target_revenue: receita alvo
203
203
  option_updated_at: data de atualização
204
204
  show_per_page: Exibir %{number} %{models} por página usando o formato %{fmt}.
205
- sort_by: Sort %{models} by %{field}.
205
+ sort_by: Sort by %{field}.
206
206
  sort_by_displaying: Ordenar %{models} por %{field} exibindo o primeiro nome %{position}
207
207
  do último nome.
208
208
  aim: AOL IM
@@ -251,7 +251,7 @@ ru:
251
251
  option_target_revenue: планируемым доходам
252
252
  option_updated_at: дате обновления
253
253
  show_per_page: Показывать %{models} в %{fmt} формате по %{number} записей на странице.
254
- sort_by: Сортировать %{models} по %{field}.
254
+ sort_by: Сортировать по %{field}.
255
255
  sort_by_displaying: Сортировать %{models} по %{field} показывая имя %{position} фамилии.
256
256
  entities_per_page: ! '%{entity} на странице:'
257
257
  contacts_index_long: Длинный формат
@@ -187,7 +187,7 @@ sv-SE:
187
187
  option_target_revenue: uppskattning intäkter
188
188
  option_updated_at: datum uppdaterad
189
189
  show_per_page: Visa %{number} %{models} per sida med formatet %{format}.
190
- sort_by: Sortera %{models} på %{field}.
190
+ sort_by: Sortera på %{field}.
191
191
  sort_by_displaying: Sortera %{models} på %{field} och visa förnamn %{position} efternamn.
192
192
  aim: AOL IM
193
193
  already_signed_up: Är du redan registrerad?
@@ -190,7 +190,7 @@ th:
190
190
  option_target_revenue: เป้าหมายของผลตอนแทน
191
191
  option_updated_at: วันที่แก้ไข
192
192
  show_per_page: แสดง %{number} %{models} ต่อหนึ่งหน้า ในแบบ %{fmt}
193
- sort_by: เรียงลำดับ%{models} โดย %{field}.
193
+ sort_by: เรียงลำดับ% โดย {field}.
194
194
  sort_by_displaying: เรียงลำดับ%{models} โดย %{field} แสดงชื่อจริง %{position} นามสกุล.
195
195
  aim: AOL IM
196
196
  already_signed_up: เป็นสมาชิกอยู่แล้ว
@@ -1,6 +1,10 @@
1
1
  ---
2
2
  zh-CN:
3
3
  language: 中文(简体)
4
+
5
+ # Generic terms.
6
+ #----------------------------------------------------------------------------
7
+ id: ID
4
8
  all: 所有
5
9
  at: 在
6
10
  here: 这里
@@ -10,25 +14,35 @@ zh-CN:
10
14
  select_none: -- 无 --
11
15
  select_blank: -- 选择 --
12
16
  yes_button: 是
17
+
18
+
19
+ # Settings.
20
+ #----------------------------------------------------------------------------
13
21
  tab_dashboard: 摘要
14
22
  tab_tasks: 任务
15
23
  tab_campaigns: 促销
16
24
  tab_leads: 线索
17
- tab_accounts: 账号
25
+ tab_accounts: 客户
18
26
  tab_contacts: 联系人
19
27
  tab_opportunities: 商机
20
- admin_tab_users: 用户
21
- admin_tab_settings: 设置
22
- admin_tab_plugins: 插件
28
+ tab_team: 团队
23
29
  admin_tab_groups: 分组
24
- admin_tab_fields: 区域
30
+ admin_tab_fields: 字段
25
31
  admin_tab_tags: 标记
32
+ admin_tab_tags: Tags
33
+ admin_tab_settings: 设置
34
+ admin_tab_plugins: 插件
35
+ affiliate: 下属
36
+ competitor: 对手
37
+ customer: 客户
38
+ partner: 合伙人
39
+ reseller: 供销商
40
+ vendor: 工厂
26
41
  planned: 计划
27
42
  started: 已开始
28
43
  on_hold: 搁置
29
44
  completed: 完成
30
45
  called_off: 取消
31
- groups: 分组
32
46
  new: 新建
33
47
  contacted: 已联系
34
48
  converted: 已转换
@@ -69,12 +83,18 @@ zh-CN:
69
83
  completed_last_week: 上周
70
84
  completed_this_month: 本月
71
85
  completed_last_month: 上月
86
+
87
+ # Models/Activity.
88
+ #----------------------------------------------------------------------------
72
89
  one_hour: 1小时
73
90
  one_day: 1天
74
91
  two_days: 2天
75
92
  one_week: 1周
76
93
  two_weeks: 2周
77
94
  one_month: 1月
95
+
96
+ # Model Validations.
97
+ #----------------------------------------------------------------------------
78
98
  activerecord:
79
99
  errors:
80
100
  models:
@@ -96,6 +116,7 @@ zh-CN:
96
116
  missing_campaign_name: ^请指定促销活动名称
97
117
  ends_on:
98
118
  dates_not_in_sequence: ^请确认促销活动开始日期在结束日期之前
119
+
99
120
  access:
100
121
  share_campaign: ^请指定可以共享促销活动的用户
101
122
  contact:
@@ -134,24 +155,48 @@ zh-CN:
134
155
  email:
135
156
  missing_email: ^请指定邮件地址
136
157
  email_in_use: ^此邮件地址已经有人使用
137
- errors:
138
- template:
139
- header:
140
- one: 有 1 个错误发生导致「%{model}」无法被保存。
141
- other: 有 %{count} 个错误发生导致「%{model}」无法被保存。
142
- body: 如下字段出现错误:
158
+ custom_field:
159
+ required: ^%{field} 必须
160
+ maxlength: ^%{field} 太长
161
+ endbeforestart: ^%{field} 结束不能早于开始.
162
+ attribute_options:
163
+ opportunity:
164
+ stage:
165
+ prospecting: 展望
166
+ analysis: 分析
167
+ presentation: 演示
168
+ proposal: 建议
169
+ negotiation: 谈判
170
+ final_review: 最后审查
171
+ won: 关闭/赢
172
+ lost: 关闭/输
173
+ account:
174
+ rating:
175
+ "0": "-"
176
+ "1": "★"
177
+ "2": "★★"
178
+ "3": "★★★"
179
+ "4": "★★★★"
180
+ "5": "★★★★★"
181
+
143
182
  msg_account_suspended: 用户账号已暂停
144
183
  password_reset_instruction: 密码重置方法
184
+
185
+ # Controllers.
186
+ #----------------------------------------------------------------------------
145
187
  msg_account_created: 你的账号已经创建,正在等待管理员审核
188
+
146
189
  msg_account_not_approved: 你的账号还未被批准
147
190
  msg_asset_deleted: ! '%{value} 已经被删除'
148
191
  msg_asset_not_available: 这个 %{value} 已不存在
149
- msg_asset_not_authorized: You are not authorized to view this %{value}.
192
+ msg_asset_not_authorized: 没有权限查看 %{value}.
150
193
  msg_assets_not_available: 这个 %{value} 不存在
151
194
  msg_asset_rejected: ! '%{value} 已被拒绝'
152
195
  msg_bad_image_file: ^^不能将此图片上传或改变大小
153
196
  msg_cant_create_related: 不能创建 %{asset} 因为 %{related} 已不存在
197
+
154
198
  msg_cant_delete_user: ^不能删除用户,因为 %{value} 有相关 assets 存在
199
+
155
200
  msg_cant_do: 不能 %{action} %{asset} 因为它已经不存在
156
201
  msg_email_not_found: 未找到用户使用此邮件地址
157
202
  msg_enter_new_password: 请输入新密码
@@ -165,11 +210,16 @@ zh-CN:
165
210
  msg_password_not_changed: 密码未更改
166
211
  msg_password_updated: 密码更新成功
167
212
  msg_pwd_instructions_sent: 重置密码方法已经发出,请检查您的邮件
213
+
168
214
  msg_require_admin: 必须是管理员才能使用本页
169
215
  msg_successful_signup: 成功申请,欢迎您使用 Fat Free CRM!
170
216
  msg_welcome: 欢迎使用 Fat Free CRM!
217
+
218
+ # Options.
219
+ #----------------------------------------------------------------------------
171
220
  option_amount*probability: weighted amount
172
221
  activity_options: 显示 %{models} 行业由 %{user} 在过去 %{period}.
222
+
173
223
  all_users: 所有用户
174
224
  option_after: 之后
175
225
  option_all: 全部
@@ -194,8 +244,20 @@ zh-CN:
194
244
  option_target_revenue: 目标收入
195
245
  option_updated_at: 更新日期
196
246
  show_per_page: 显示 %{number} %{models} 每页使用 %{fmt} 格式
197
- sort_by: 用 %{field} 排序 %{models}
247
+ sort_by: 用 %{field}
198
248
  sort_by_displaying: 用 %{field} 排序 %{models},显示名 %{position} 姓
249
+
250
+ entities_per_page: ! '%{entity} 每页:'
251
+ contacts_index_long: 长格式
252
+ contacts_index_brief: 简洁格式
253
+ contacts_index_full: 完整格式
254
+ opportunities_index_normal: 正常格式
255
+ accounts_index_normal: 正常格式
256
+ leads_index_normal: 正常格式
257
+ campaigns_index_normal: 正常格式
258
+
259
+ # Views -> Profile.
260
+ #----------------------------------------------------------------------------
199
261
  aim: AOL IM
200
262
  already_signed_up: 已申请?
201
263
  alt_email: 另一个 email
@@ -210,6 +272,7 @@ zh-CN:
210
272
  gravatar_help: 不熟悉 Gravatars? 了解 Gravatars
211
273
  image_file: 图片文件
212
274
  image_help: 你上传的图片将会被自动改为 75 x 75 像素,支持 GIF, JPG, 和 PNG.
275
+
213
276
  job_title: 职位
214
277
  last_name: 姓
215
278
  login_now_link: 现在登录!
@@ -230,38 +293,55 @@ zh-CN:
230
293
  user: 用户
231
294
  username: 用户名
232
295
  yahoo: Yahoo IM
296
+ born_on: 出生于
297
+ reports_to: 报告给
298
+ access: 访问
299
+
300
+ # Views -> Authenticate.
301
+ #----------------------------------------------------------------------------
233
302
  forgot_password: 忘记密码
234
303
  login: 登录
235
304
  no_account: 没有账号?
236
305
  remember_me: 记住我
237
306
  sign_up_now: 现在申请!
238
- account: 账号
239
- account_small: 短账号
240
- accounts: 账号
241
- accounts_options: 账号选项
242
- accounts_small: 短账号
307
+
308
+ # Views -> Accounts.
309
+ #----------------------------------------------------------------------------
310
+ account: 客户
311
+ account_id: 客户
312
+ select_an_account: 选择客户
313
+ account_small: 客户
314
+ account_summary: 客户摘要
315
+ account_categories: 客户类别
316
+ accounts: 客户
317
+ accounts_options: 客户选项
318
+ accounts_small: 短客户
243
319
  assigned_to: 授予
244
320
  billing_address: 账单地址
245
- create_account: 创建账号
321
+ create_account: 创建客户
246
322
  date_created: 创建日期
247
323
  date_updated: 更新日期
248
324
  fax: 传真
249
325
  intro: 可稍后添加%{value}
326
+ keep_private: 保持私有,不与他人分享
327
+ mail_to: 发邮件给%{value}
328
+ make_public: 与所有人分享
250
329
  mobile_small: 手机
251
330
  open_in_window: 在一个新窗口打开%{value}
252
- mail_to: 发邮件给%{value}
253
331
  phone_small: 电话
254
332
  phone_toll_free: 免费电话
255
- keep_private: 保持私有,不与他人分享
256
- make_public: 与所有人分享
333
+ pipeline: 渠道
257
334
  same_as_billing: 与账单相同 
258
- save_account: 保存账号
335
+ save_account: 保存客户
259
336
  share_with: 与他人分享
260
337
  shipping_address: 送货地址
338
+ total_accounts: 客户总计
261
339
  website: 网站
262
- account_summary: 账号摘要
263
- pipeline: 渠道
264
- select_an_account: 选择账号
340
+ account_with_title_department: ! '%{title}, %{department} at %{account}'
341
+ account_with_title: ! '%{title} 在 %{account}'
342
+
343
+ # Views -> Campaigns.
344
+ #----------------------------------------------------------------------------
265
345
  actual: 实际
266
346
  actual_performance: 实际效益
267
347
  budget: 预算
@@ -271,12 +351,14 @@ zh-CN:
271
351
  campaign_small: 促销
272
352
  campaign_summary: 促销摘要
273
353
  campaign_targets: 促销目标
354
+ campaign_statuses: 促销状态
274
355
  campaigns: 促销
275
356
  campaigns_options: 促销选项
276
357
  campaigns_small: 促销
277
358
  conversion: 转换
278
359
  conversion_label: 转换比率(%)
279
360
  conversion_number: ! '%{value} 转换'
361
+ target_conversion: 目标转换
280
362
  create_campaign: 创建促销
281
363
  end_date: 结束日期
282
364
  finished_on: 完成于 %{value}
@@ -285,6 +367,8 @@ zh-CN:
285
367
  number_of_leads: 线索数
286
368
  objectives: 目标
287
369
  objectives_help: 请指定目标线索数、商机转换率、目标收入、战役预算,这些数据帮助跟踪实际战役产出。
370
+
371
+
288
372
  objectives_small: 战役目标
289
373
  revenue: 收入
290
374
  revenue_label: 收入(¥)
@@ -298,6 +382,11 @@ zh-CN:
298
382
  total_campaigns: 促销总数
299
383
  was_supposed_to_finish: 预计完成于 %{value}
300
384
  was_supposed_to_start: 预计开始于 %{time_ago} 之前,在 %{start_date}
385
+ was_supposed_to_start_in: was supposed to start in %{starts_in} on %{start_date}
386
+ select_a_campaign: 选择促销
387
+
388
+ # Views -> Contacts.
389
+ #----------------------------------------------------------------------------
301
390
  alt_email_small: 其它
302
391
  blog: Website/Blog
303
392
  contact: 联系人
@@ -305,6 +394,7 @@ zh-CN:
305
394
  contacts: 联系人
306
395
  contacts_options: 联系人选项
307
396
  contacts_small: 联系人
397
+ contact_summary: 联络人摘要
308
398
  create_contact: 创建联系人
309
399
  department: 部门
310
400
  department_small: ! '%{value} 部门'
@@ -312,42 +402,56 @@ zh-CN:
312
402
  extra_info: 更多信息
313
403
  extra_info_small: 更多信息
314
404
  facebook: Facebook
315
- linked_in: LinkedIn
405
+ linked_in: 领英
316
406
  myself: 自己
317
407
  permissions_intro_private: 默认只有你对 %{value} 有权限。以后可修改。
408
+
318
409
  permissions_intro_public: 默认所有用户都对 %{value} 有权限。以后可修改。
410
+
319
411
  permissions_intro_shared: 默认只有选定用户对 %{value} 有权限。以后可修改。
412
+
320
413
  referred_by: 引用
321
414
  referred_by_small: 引用
322
415
  save_contact: 保存联系人
323
416
  twitter: Twitter
417
+ unassigned: 未分配
324
418
  web_presence: web
325
419
  web_presence_small: web
326
420
  works_at: ! '%{job_title} 在 %{company}'
327
- affiliate: 下属
328
- competitor: 对手
329
- customer: 顾客
330
- partner: 合伙人
331
- reseller: 供销商
332
- vendor: 工厂
333
- total_accounts: 账号总计
334
- select_contact: 选择账号
335
- select_a_country: 选择国家
336
- comment_intro: 备注或简介
421
+ general_info: 一般信息
422
+ show_general_info_small: 显示联络人的一般信息
423
+ show_extra_info_small: 显示联络人的更多信息
424
+ tag_details: ! '%{tag} 细节'
425
+ show_tag_info_small: 显示联络人 %{tag} 信息
426
+ shared_with_everyone: 分享给所有人
427
+ title: 标题
428
+ subscriptions: 订阅
429
+
430
+ # Views -> Leads.
431
+ #----------------------------------------------------------------------------
337
432
  convert: 转换
338
433
  convert_lead: 转换线索
339
434
  convert_lead_permissions_intro: 联系人权限将会从被转换的线索中复制。以后可修改。
435
+
340
436
  convert_lead_text: 转换线索 %{value} 将会使其变成一个与现有或新建账号关联的联系人,线索状态自动设为已转换。
437
+
438
+
341
439
  create_lead: 创建线索
342
440
  create_opp_for_contact: 可以为 %{value} 联系人创建一个商机,需指定名称、当前阶段、预计结束日期、销售可能性、线索数量、折扣。
441
+
442
+
343
443
  lead: 线索
344
444
  lead_info_small: 线索联系人
345
445
  lead_permissions_intro_private: 默认从战役复制权限或设为私有。以后可修改。
446
+
346
447
  lead_permissions_intro_public: 默认从战役复制权限或设为公有。以后可修改。
448
+
347
449
  lead_permissions_intro_shared: 默认从战役复制权限或设为与特定用户分享。以后可修改。
450
+
348
451
  lead_small: 线索
349
452
  lead_status_small: 线索状态
350
453
  lead_summary: 线索摘要
454
+ lead_statuses: 线索状态
351
455
  leads: 线索
352
456
  leads_options: 线索选项
353
457
  leads_small: 线索
@@ -359,8 +463,14 @@ zh-CN:
359
463
  source: 源
360
464
  status: 状态
361
465
  total_leads: 线索总计
466
+ show_status_info_small: 显示线索的状态信息
467
+ show_contact_info_small: 显示线索的联络人信息
468
+
469
+ # Views -> Opportunities.
470
+ #----------------------------------------------------------------------------
362
471
  amount: 金额
363
472
  close_date: 结束日期
473
+ closes_on: 结束于
364
474
  closed_ago_on: 结束于 %{time_ago} 之前,在 %{date}
365
475
  closes_today: 预计今天结束!
366
476
  closing_date: 结束日期是 %{value}
@@ -379,8 +489,10 @@ zh-CN:
379
489
  opportunities_small: 商机
380
490
  opportunity: 商机
381
491
  opportunity_small: 商机
492
+ opportunity_stages: 商机阶段
382
493
  opportunity_summary: 商机摘要
383
494
  opportunity_summary_text: ! '%{amount} 有 %{discount} 折扣和 %{probability} 可能性'
495
+
384
496
  past_due: 超过预计, 预计结束于 %{value} 之前
385
497
  probability: 可能性
386
498
  probability_number: 有 %{value} 可能性
@@ -388,12 +500,16 @@ zh-CN:
388
500
  stage: 阶段
389
501
  total_opportunities: 商机总计
390
502
  weighted_amount: 权重数量
391
- select_opportunity: 选择商机
392
- Discard: 放弃
503
+
504
+ # Views -> Tasks.
505
+ #----------------------------------------------------------------------------
506
+ task: Task
507
+ task_small: 任务
508
+ tasks: 任务
509
+ tasks_small: 任务
393
510
  assign_to: 分配给
394
511
  assigned_tab: 已分配
395
512
  assigned_tasks: 已分配任务
396
- unassigned: 未分配
397
513
  category: 类别
398
514
  completed_tab: 已完成
399
515
  completed_tasks: 已完成任务
@@ -424,37 +540,57 @@ zh-CN:
424
540
  task_from: 从 %{value}
425
541
  task_overdue: 晚了,应到期于
426
542
  task_pending: 已被移动到进行中任务
427
- task_small: 任务
428
- tasks: 任务
429
543
  total_tasks: 总计 %{value}
430
544
  view_assigned_tasks: 查看已分配任务
431
545
  view_pending_tasks: 查看进行中任务
432
- my_tasks: 我的任务
433
- no_task_records: 暂无任务
434
- my_opportunities: 我的商机
435
- no_opportunity_records: 暂无商机
436
- my_accounts: 我的账号
437
- no_account_records: 暂无账号
438
- select_task: 选择任务
439
- action_commented: 评论于
546
+
547
+ # Views -> Team.
548
+ #----------------------------------------------------------------------------
549
+ unassigned_opportunities: 未分配商机
550
+ no_opportunities_found: 暂时没找到商机
551
+
552
+ # Views -> Home.
553
+ #----------------------------------------------------------------------------
440
554
  action_completed: 已完成
441
- action_created: 已创建
442
- action_deleted: 已删除
555
+ action_create: 已创建
556
+ action_destroy: 已删除
443
557
  action_reassigned: 已重新分配
444
558
  action_rejected: 已拒绝
445
559
  action_rescheduled: 已重定时间表
446
560
  action_updated: 已更新
447
561
  action_viewed: 已查看
448
562
  action_won: 赢
563
+ activities: 行为
449
564
  no_activity_records: 没有行为记录
450
565
  recent_activity: 最近行为
451
566
  recent_activity_options: 最近行为选项
452
- subject_account: 账号
567
+ subject_account: 客户
568
+ subject_address: address on
453
569
  subject_campaign: 促销
570
+ subject_comment: comment on
454
571
  subject_contact: 联系人
572
+ subject_email: email on
455
573
  subject_lead: 线索
456
574
  subject_opportunity: 商机
457
575
  subject_task: 任务
576
+ subject_user: user
577
+ tag_list: Tags
578
+ create_past_participle: Record Creations
579
+ view_past_participle: 查看
580
+ update_past_participle: 更新
581
+ destroy_past_participle: 删除
582
+ all_events_past_participle: 行为
583
+ action_create_comment: ! '- "%{comment}"'
584
+ my_tasks: 我的任务
585
+ no_task_records: 暂无任务
586
+ my_opportunities: 我的商机
587
+ no_opportunity_records: 暂无商机
588
+ my_accounts: 我的账号
589
+ no_account_records: 暂无账号
590
+ not_showing_hidden_entities: 未显示隐藏的 %{count} 个 %{entity}.
591
+
592
+ # Views -> Common.
593
+ #----------------------------------------------------------------------------
458
594
  add_note: 添加注释
459
595
  save_note: 保存注释
460
596
  add_note_help: 添加一个新注释...
@@ -464,17 +600,21 @@ zh-CN:
464
600
  back: 返回
465
601
  cancel: 取消
466
602
  close_form: 关闭,由
603
+ comment_intro: 晚点再添加评论
467
604
  confirm_delete: 确认删除 %{value}?
468
605
  copy_permissions: 复制 %{value} 权限
469
606
  could_not_find: 未找到 %{value}. 请
470
607
  could_not_find_matching: 未找到 %{value} 匹配
471
608
  create_new: 创建新
609
+ create_a_new: 创建一个新
472
610
  select_existing: 选择已有
473
611
  delete: 删除
474
- discard: Discard
612
+ Discard: 放弃
475
613
  edit: 编辑
476
614
  items_total: ! '%{count} 总计'
615
+ less: 较少...
477
616
  me: 自己
617
+ more: 较多...
478
618
  n_a: 无
479
619
  name: 名字
480
620
  no_match: 无 %{value} 匹配
@@ -482,7 +622,11 @@ zh-CN:
482
622
  options: 选项
483
623
  permissions: 权限
484
624
  please_retry: 请再试一次
485
- recent_items: 最近项目
625
+ recent_items: 浏览历史
626
+ select_contact: 选择客户
627
+ select_lead: 选择线索
628
+ select_task: 选择任务
629
+ select_opportunity: 选择商机
486
630
  search_assets: 查找 %{value}
487
631
  time_ago: ! '%{value} 以前'
488
632
  background_info: 背景
@@ -493,15 +637,14 @@ zh-CN:
493
637
  zipcode: 邮编
494
638
  state: 省
495
639
  country: 国家
496
- comment: 备注
497
- create: 创建
498
- view: 查看
499
- update: 更新
500
- destroy: 删除
640
+ select_a_country: 选择国家
501
641
  expand_all: 展开
502
642
  collapse_all: 收起
503
- select_or_create_tags: 选择标签
504
- tags: 标签
643
+ expanded: 展开
644
+ collapsed: 收起
645
+
646
+ # Views -> Layout.
647
+ #----------------------------------------------------------------------------
505
648
  about: 关于
506
649
  about_dev_group: 开发者讨论组
507
650
  about_features: 特性与bugs
@@ -511,23 +654,68 @@ zh-CN:
511
654
  about_home_page: 主页
512
655
  about_project_page: 项目页
513
656
  about_thank_you: 感谢使用Fat Free CRM! 希望使用愉快.
657
+
514
658
  about_twitter: Twitter 更新
515
659
  about_user_group: 用户讨论组
516
660
  admin: 管理
517
661
  logout: 退出
518
662
  quick_find: 快速查找
519
663
  welcome: 欢迎
664
+
665
+ # Advanced search
666
+ accounts_advanced_search: 账户高级搜索
667
+ advanced_search: 高级搜索
668
+ basic_search: 基本搜索
669
+ search_results_count:
670
+ one: 搜索找到 %{count} 条结果.
671
+ other: 搜索找到 %{count} 条结果.
672
+
673
+ # Views -> Comments.
674
+ #----------------------------------------------------------------------------
675
+ comment: 备注
520
676
  edit_comment: 编辑评论
521
677
  show: 显示
678
+ update: 更新
679
+ following_users_will_be_notified: 通过邮件通知下列用户
680
+ notifications_tooltip: 订阅者将通过邮件接收新评论
681
+ subscribe_via_email: 通过电子邮件订阅
682
+ disable_email_subscriptions: Disable email subscription
683
+ added_note: added note %{value}
684
+
685
+ # Views -> Emails.
686
+ #----------------------------------------------------------------------------
687
+
688
+ # Views -> Passwords.
689
+ #----------------------------------------------------------------------------
522
690
  confirm_password_intro: 请输入新密码并确认
523
691
  password_intro: 请输入邮件地址,重置密码邮件将发到您的邮箱
692
+
524
693
  reset_password: 重置密码
525
694
  update_password_and_login: 更新密码并登录
695
+
696
+ # Views -> Admin
697
+ #----------------------------------------------------------------------------
526
698
  back_to_crm: 返回 Fat Free CRM
527
699
  crm_admin_page: Fat Free CRM 管理
700
+
701
+ # Views -> Admin -> Groups
702
+ #----------------------------------------------------------------------------
703
+ create_group: 创建群组
704
+ save_group: 保存群组
705
+ group_members: 成员
706
+ groups: 群组
707
+ groups_small: 群组
708
+ group_small: 群组
709
+
710
+ # Views -> Admin -> Users
711
+ #----------------------------------------------------------------------------
712
+ confirm_group_delete: Are you sure you wish to delete this group? There are %{count}
713
+ items that still reference it.
528
714
  approve: 批准
529
715
  create_user: 创建用户
530
716
  last_seen: 上次 %{value} 之前见到
717
+ last_seen2: last seen %{value}
718
+ group_memberships: 群组成员关系
531
719
  personal_information: 个人信息
532
720
  reactivate: 重新激活
533
721
  save_user: 保存用户
@@ -545,10 +733,63 @@ zh-CN:
545
733
  user_suspended_on: 暂停于 %{value}
546
734
  users: 用户
547
735
  users_small: 用户
736
+
737
+ # Views -> Versions
738
+ #----------------------------------------------------------------------------
739
+ versions: History
740
+ version:
741
+ create: ! '%{item} %{by} 创建'
742
+ update: ! '%{item} %{by} 修改'
743
+ destroy: ! '%{item} %{by} 删除'
744
+ set_html: ! '%{attr} set to %{to}'
745
+ unset_html: ! '%{attr} unset'
746
+ change_html: ! '%{attr} 从 %{from} 修改成 %{to}'
747
+ anonymous: 匿名
748
+ account_contact_id: 账户id
749
+ account_contact_name: 账户姓名
750
+ user_id: 用户id
751
+ created_at: 创建于
752
+ updated_at: 更新于
753
+
754
+ # Export.
755
+ #----------------------------------------------------------------------------
756
+ to_xls: 导出到Excel
757
+ to_csv: Export to comma-delimited file format (including deleted records)
758
+ to_rss: RSS feed
759
+ to_atom: Atom feed
760
+ to_perm: Permalink
761
+
762
+ # Dropbox.
763
+ #----------------------------------------------------------------------------
764
+ dropbox_notification_subject: dropbox - Added email - %{subject}
765
+ dropbox_notification_intro: Succesfully added the email you sent to dropbox
766
+ dropbox_notification_to: Added to
767
+ subject: Subject
768
+ body: Body
769
+
770
+ # Comment Inbox
771
+ #----------------------------------------------------------------------------
772
+ comment_notification:
773
+ intro: ! '%{user_full_name} commented on %{entity_type}: %{entity_name}'
774
+ reply_instructions: 直接回复邮件添加评论或者
775
+ 在线浏览 %{entity}
776
+
777
+ # Lists
778
+ #----------------------------------------------------------------------------
779
+ global_lists: 全局列表
780
+ personal_lists: 我的列表
781
+ list: 列表
782
+ no_saved_lists: 没有保存的列表
783
+ make_current_view_list: Make current view a list
784
+ list_name_info: If you use the name of an existing list, you will overwrite that
785
+ list with your current settings
786
+
787
+ # Pluralizations.
788
+ #----------------------------------------------------------------------------
548
789
  pluralize:
549
790
  comment:
550
- one: 1 comment
551
- other: ! '%{count} comments'
791
+ one: 1 条评论
792
+ other: ! '%{count} 条评论'
552
793
  contact:
553
794
  one: 1 个联系人
554
795
  other: ! '%{count} 个联系人'
@@ -564,11 +805,134 @@ zh-CN:
564
805
  login:
565
806
  one: 1 个登录
566
807
  other: ! '%{count} 个登录'
808
+
809
+ # Custom date/time formats.
810
+ #----------------------------------------------------------------------------
567
811
  date:
568
812
  formats:
569
- mmddyyyy: ! '%Y-%m-%d'
813
+ mmddyyyy: ! '%m/%d/%Y'
570
814
  mmdd: ! '%b %e'
571
815
  mmddyy: ! '%b %e, %Y'
572
816
  time:
573
817
  formats:
574
818
  mmddhhss: ! '%b %e at %l:%M%p'
819
+ mmddyyyy_hhmm: ! '%e %b %Y at %l:%M%p'
820
+
821
+ # will_paginate translations copied for 'zh-CN'
822
+ #----------------------------------------------------------------------------
823
+ will_paginate:
824
+ previous_label: ! '← Previous'
825
+ next_label: 下一页 →
826
+ page_gap: ! '…'
827
+ page_entries_info:
828
+ single_page:
829
+ zero: 找不到 %{plural}
830
+ one: 显示 1 %{name}
831
+ other: 显示所有 %{count} %{plural}
832
+ multi_page: 显示所有 %{plural} %{from} - %{to} 中 %{total}
833
+
834
+ # Views -> Admin -> Custom Fields
835
+ #----------------------------------------------------------------------------
836
+ label: Label
837
+ custom_fields: 自定义字段
838
+ custom_field_options: 自定义字段选项
839
+ create_field: 创建字段
840
+ save_field: 保存字段
841
+ create_field_group: 创建字段群组
842
+ edit_field_group: 编辑字段群组
843
+ save_field_group: 保存字段群组
844
+ field_group_empty: 这个群组没有字段
845
+ select_or_create_tags: 选择一些标签,或者通过按回车键新建标签
846
+ restrict_by_tag: ! 'Restrict by Tag:'
847
+ restrict_by_tag_info: (Only show fields for %{assets} that are tagged with the following)
848
+ field_group_tag_restriction: This field group applies to %{assets} tagged with "%{tag}"
849
+ field_group_unrestricted: This field group applies to all %{assets}
850
+ field_group_confirm_delete: If a field group is deleted, any fields will be moved
851
+ to the default field group.
852
+ msg_cant_delete_field_group: 不能删除该字段群组
853
+ admin_fields_info: ! '显示在群组中的自定义字段.
854
+ 创建新的字段群组, 或者在下面的群组中添加字段.
855
+ 可以通过拖拉来改变字段的显示顺序,也可以在不同群组间移动
856
+ '
857
+ # Views -> Admin -> Tags
858
+ #----------------------------------------------------------------------------
859
+ admin_fields_info2: ! '添加或移除自定义字段后,强烈建议重启服务器.
860
+
861
+
862
+ '
863
+ tags: 标签
864
+ tag_small: 标签
865
+ tagged: 打标签
866
+ create_tag: 创建标签
867
+ save_tag: 保存标签
868
+ field_group_tags: Field Groups shown for this Tag
869
+
870
+ # Views -> Admin -> Plugins
871
+ #----------------------------------------------------------------------------
872
+ tag_with_taggings_confirm_delete: If this tag is deleted, it will be removed from
873
+ %{value} records.
874
+ msg_cant_delete_tag: Couldn't delete '%{value}' since it has associated Field Groups.
875
+ views:
876
+ admin:
877
+ plugins:
878
+ author: 作者
879
+ version: 版本
880
+ description: 描述
881
+
882
+ # Simple Form translations
883
+ #----------------------------------------------------------------------------
884
+ simple_form:
885
+ yes: '是'
886
+ no: '否'
887
+ required:
888
+ text: 必须
889
+ mark: ! '*'
890
+ # You can uncomment the line below if you need to overwrite the whole required html.
891
+ # When using html, text and mark won't be used.
892
+ # html: '<abbr title="required">*</abbr>'
893
+ error_notification:
894
+ default_message: ! '出错了, 请查看:'
895
+
896
+ # Form field types
897
+ #----------------------------------------------------------------------------
898
+ field_types:
899
+ string:
900
+ title: Short Answer
901
+ text:
902
+ title: Long Answer
903
+ select:
904
+ title: Select List
905
+ multiselect:
906
+ title: Multi Select
907
+ radio:
908
+ title: Radio Buttons
909
+ boolean:
910
+ title: Checkbox
911
+ check_boxes:
912
+ title: Checkbox List
913
+ date:
914
+ title: Date
915
+ date_pair:
916
+ title: Date Pair
917
+ datetime:
918
+ title: Date & Time
919
+ datetime_pair:
920
+ title: Date & Time Pair
921
+ email:
922
+ title: Email Address
923
+ url:
924
+ title: URL
925
+ tel:
926
+ title: Phone Number
927
+ decimal:
928
+ title: Number (Decimal)
929
+ integer:
930
+ title: Number (Integer)
931
+ float:
932
+ title: Number (Floating Point)
933
+ pair:
934
+ start: 开始
935
+ end: 结束
936
+ from_to: 从 %{from} 到 %{to}
937
+ from_only: 从 %{from}
938
+ to_only: 直到 %{to}