agilibox 1.0.0 → 1.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +321 -2
  3. data/Rakefile +4 -0
  4. data/app/assets/javascripts/agilibox/autocomplete.coffee +2 -0
  5. data/app/assets/javascripts/agilibox/checkboxes_dropdown.coffee +9 -0
  6. data/app/assets/javascripts/agilibox/modals.coffee +81 -55
  7. data/app/assets/stylesheets/agilibox/actions.sass +2 -0
  8. data/app/assets/stylesheets/agilibox/all.sass +5 -0
  9. data/app/assets/stylesheets/agilibox/buttons.sass +11 -0
  10. data/app/assets/stylesheets/agilibox/filters.sass +13 -3
  11. data/app/assets/stylesheets/agilibox/forms.sass +49 -0
  12. data/app/assets/stylesheets/agilibox/icons.sass +5 -0
  13. data/app/assets/stylesheets/agilibox/modals.sass +15 -7
  14. data/app/assets/stylesheets/agilibox/pagination.sass +7 -0
  15. data/app/assets/stylesheets/agilibox/print.sass +10 -0
  16. data/app/assets/stylesheets/agilibox/tables.sass +26 -0
  17. data/app/controllers/agilibox/application_controller.rb +2 -4
  18. data/app/controllers/agilibox/small_data/filters_controller.rb +8 -6
  19. data/app/controllers/concerns/agilibox/api_controller_concern.rb +69 -0
  20. data/app/controllers/concerns/agilibox/back_url_concern.rb +13 -5
  21. data/app/emails/agilibox/email.rb +113 -0
  22. data/app/filters/agilibox/small_data/filter.rb +19 -1
  23. data/app/filters/agilibox/small_data/filter_strategy.rb +1 -1
  24. data/app/filters/agilibox/small_data/filter_strategy_by_date_begin.rb +3 -2
  25. data/app/filters/agilibox/small_data/filter_strategy_by_date_end.rb +3 -2
  26. data/app/filters/agilibox/small_data/filter_strategy_by_date_or_datetime_period.rb +56 -0
  27. data/app/filters/agilibox/small_data/filter_strategy_by_date_period.rb +5 -0
  28. data/app/filters/agilibox/small_data/filter_strategy_by_datetime_period.rb +5 -0
  29. data/app/filters/agilibox/small_data/filter_strategy_by_key_value.rb +14 -3
  30. data/app/filters/agilibox/small_data/filter_strategy_by_key_values.rb +13 -0
  31. data/app/filters/agilibox/small_data/filter_strategy_by_tags.rb +1 -1
  32. data/app/forms/agilibox/mini_form_object.rb +29 -0
  33. data/app/helpers/agilibox/all_helpers.rb +2 -0
  34. data/app/helpers/agilibox/bootstrap_helper.rb +62 -3
  35. data/app/helpers/agilibox/button_helper.rb +22 -13
  36. data/app/helpers/agilibox/filters_helper.rb +7 -8
  37. data/app/helpers/agilibox/font_awesome_helper.rb +67 -0
  38. data/app/helpers/agilibox/form_helper.rb +37 -14
  39. data/app/helpers/agilibox/i18n_helper.rb +5 -0
  40. data/app/helpers/agilibox/link_helper.rb +1 -1
  41. data/app/helpers/agilibox/pagination_helper.rb +18 -2
  42. data/app/helpers/agilibox/routes_helper.rb +6 -2
  43. data/app/helpers/agilibox/sorting_helper.rb +9 -4
  44. data/app/helpers/agilibox/text_helper.rb +51 -26
  45. data/app/helpers/h.rb +3 -0
  46. data/app/jobs/concerns/agilibox/setup_job_concern.rb +35 -0
  47. data/app/libs/agilibox/collection_update.rb +32 -0
  48. data/app/libs/agilibox/fcm/notifier.rb +28 -0
  49. data/app/libs/agilibox/fcm/request.rb +48 -0
  50. data/app/libs/agilibox/initialize_with.rb +20 -0
  51. data/app/libs/agilibox/mini_model_serializer/serialize.rb +30 -0
  52. data/app/libs/agilibox/mini_model_serializer/serializer.rb +23 -0
  53. data/app/libs/agilibox/monkey.rb +39 -0
  54. data/app/libs/agilibox/phone_number_sanitizer.rb +15 -0
  55. data/app/libs/agilibox/sortable_uuid_generator.rb +1 -1
  56. data/app/libs/agilibox/token_generator.rb +37 -0
  57. data/app/mailers/agilibox/application_mailer.rb +2 -0
  58. data/app/mailers/agilibox/generic_mailer.rb +9 -0
  59. data/app/models/concerns/agilibox/active_record_uuid_concern.rb +4 -2
  60. data/app/models/concerns/agilibox/default_values_concern.rb +4 -3
  61. data/app/models/concerns/agilibox/model_i18n.rb +37 -6
  62. data/app/models/concerns/agilibox/pluck_distinct.rb +13 -0
  63. data/app/models/concerns/agilibox/pluck_to_hash.rb +9 -0
  64. data/app/models/concerns/agilibox/polymorphic_id.rb +5 -2
  65. data/app/models/concerns/agilibox/search.rb +11 -13
  66. data/app/models/concerns/agilibox/timestamp_helpers.rb +17 -0
  67. data/app/serializers/agilibox/serializers/base.rb +47 -1
  68. data/app/serializers/agilibox/serializers/xlsx.rb +25 -23
  69. data/app/services/agilibox/service.rb +17 -0
  70. data/app/sms/agilibox/sms/application_sms.rb +42 -0
  71. data/app/sms/agilibox/sms/message.rb +25 -0
  72. data/app/sms/agilibox/sms/strategies/amazon_sns.rb +48 -0
  73. data/app/sms/agilibox/sms/strategies/base.rb +15 -0
  74. data/app/sms/agilibox/sms/strategies/test.rb +10 -0
  75. data/app/sms/agilibox/sms.rb +35 -0
  76. data/app/sorters/agilibox/sorter.rb +26 -0
  77. data/app/views/agilibox/_flash.html.slim +9 -0
  78. data/app/views/agilibox/forms/_checkboxes_dropdown.html.slim +14 -0
  79. data/app/views/agilibox/search/_form.html.slim +1 -6
  80. data/app/views/agilibox/search/_form_bs3.html.slim +13 -0
  81. data/app/views/agilibox/search/_form_bs4.html.slim +9 -0
  82. data/app/views/agilibox/search/_form_bs5.html.slim +8 -0
  83. data/app/views/kaminari/bootstrap4/_first_page.html.slim +2 -0
  84. data/app/views/kaminari/bootstrap4/_gap.html.slim +2 -0
  85. data/app/views/kaminari/bootstrap4/_last_page.html.slim +2 -0
  86. data/app/views/kaminari/bootstrap4/_next_page.html.slim +2 -0
  87. data/app/views/kaminari/bootstrap4/_page.html.slim +6 -0
  88. data/app/views/kaminari/bootstrap4/_paginator.html.slim +12 -0
  89. data/app/views/kaminari/bootstrap4/_prev_page.html.slim +2 -0
  90. data/config/cucumber.yml +9 -0
  91. data/config/locales/actions.en.yml +76 -0
  92. data/config/locales/actions.fr.yml +76 -0
  93. data/config/locales/attributes.en.yml +108 -0
  94. data/config/locales/attributes.fr.yml +108 -0
  95. data/config/locales/common.en.yml +0 -160
  96. data/config/locales/common.fr.yml +0 -171
  97. data/config/locales/dates.fr.yml +8 -0
  98. data/config/locales/errors.en.yml +5 -0
  99. data/config/locales/errors.fr.yml +5 -0
  100. data/db/migrate/20000101000000_enable_agilibox_extensions.rb +7 -0
  101. data/lib/agilibox/active_model_custom_error_messages.rb +23 -0
  102. data/lib/agilibox/active_model_type_cast.rb +52 -0
  103. data/lib/agilibox/config.rb +19 -0
  104. data/lib/agilibox/core_and_rails_ext.rb +2 -1
  105. data/lib/agilibox/cucumber_config.rb +53 -0
  106. data/lib/agilibox/cucumber_helpers/agilibox.rb +2 -0
  107. data/lib/agilibox/cucumber_helpers/ajax.rb +18 -0
  108. data/lib/agilibox/cucumber_helpers/apparition.rb +18 -0
  109. data/lib/agilibox/cucumber_helpers/capybara.rb +12 -0
  110. data/lib/agilibox/cucumber_helpers/capybara_selectors.rb +7 -0
  111. data/lib/agilibox/cucumber_helpers/chrome_headless.rb +16 -0
  112. data/lib/agilibox/cucumber_helpers/common_steps.rb +139 -0
  113. data/lib/agilibox/cucumber_helpers/cuprite.rb +20 -0
  114. data/lib/agilibox/cucumber_helpers/database_cleaner.rb +8 -0
  115. data/lib/agilibox/cucumber_helpers/factory_bot.rb +1 -0
  116. data/lib/agilibox/cucumber_helpers/rails.rb +1 -0
  117. data/lib/agilibox/cucumber_helpers/rspec.rb +6 -0
  118. data/lib/agilibox/cucumber_helpers/screenshots.rb +3 -0
  119. data/lib/agilibox/cucumber_helpers/select2.rb +23 -0
  120. data/lib/agilibox/cucumber_helpers/sign_in.rb +17 -0
  121. data/lib/agilibox/cucumber_helpers/simplecov.rb +1 -0
  122. data/lib/agilibox/cucumber_helpers/timecop.rb +3 -0
  123. data/lib/agilibox/cucumber_helpers/turbolinks.rb +34 -0
  124. data/lib/agilibox/cucumber_helpers/zonebie.rb +4 -0
  125. data/lib/agilibox/engine.rb +15 -0
  126. data/lib/agilibox/engine_file.rb +10 -0
  127. data/lib/agilibox/errors_middleware.rb +50 -0
  128. data/lib/agilibox/form_back_url.rb +4 -4
  129. data/lib/agilibox/rspec.rb +29 -0
  130. data/lib/agilibox/test_helpers.rb +13 -0
  131. data/lib/agilibox/version.rb +1 -1
  132. data/lib/tasks/cucumber.rake +76 -0
  133. metadata +165 -9
  134. data/app/filters/agilibox/small_data/filter_strategy_by_time_period.rb +0 -37
  135. data/lib/agilibox/active_record_comma_type_cast.rb +0 -12
@@ -0,0 +1,48 @@
1
+ class Agilibox::SMS::Strategies::AmazonSNS < Agilibox::SMS::Strategies::Base
2
+ class << self
3
+ attr_writer :sns_region
4
+
5
+ def sns_region
6
+ @sns_region ||= (ENV["SNS_REGION"] || ENV["AWS_REGION"])
7
+ end
8
+
9
+ attr_writer :sns_access_key_id
10
+
11
+ def sns_access_key_id
12
+ @sns_access_key_id ||= (ENV["SNS_ACCESS_KEY_ID"] || ENV["AWS_ACCESS_KEY_ID"])
13
+ end
14
+
15
+ attr_writer :sns_secret_access_key
16
+
17
+ def sns_secret_access_key
18
+ @sns_secret_access_key ||= (ENV["SNS_SECRET_ACCESS_KEY"] || ENV["AWS_SECRET_ACCESS_KEY"])
19
+ end
20
+ end # class << self
21
+
22
+ def client
23
+ @client ||= Aws::SNS::Client.new(
24
+ :region => self.class.sns_region,
25
+ :access_key_id => self.class.sns_access_key_id,
26
+ :secret_access_key => self.class.sns_secret_access_key,
27
+ )
28
+ end
29
+
30
+ def call
31
+ from = data[:from] || Agilibox::SMS.default_from
32
+
33
+ client.publish(
34
+ :phone_number => data[:to],
35
+ :message => data[:body],
36
+ :message_attributes => {
37
+ "AWS.SNS.SMS.SenderID" => {
38
+ :data_type => "String",
39
+ :string_value => from,
40
+ },
41
+ "AWS.SNS.SMS.SMSType" => {
42
+ :data_type => "String",
43
+ :string_value => "Transactional",
44
+ },
45
+ },
46
+ )
47
+ end
48
+ end
@@ -0,0 +1,15 @@
1
+ class Agilibox::SMS::Strategies::Base
2
+ attr_reader :data
3
+
4
+ def initialize(data)
5
+ @data = data
6
+ end
7
+
8
+ def call
9
+ raise NotImplementedError
10
+ end
11
+
12
+ def self.call(*args)
13
+ new(*args).call
14
+ end
15
+ end
@@ -0,0 +1,10 @@
1
+ class Agilibox::SMS::Strategies::Test < Agilibox::SMS::Strategies::Base
2
+ def self.deliveries
3
+ @deliveries ||= []
4
+ end
5
+
6
+ def call
7
+ self.class.deliveries << data
8
+ Rails.logger.info "New SMS sent : #{data.inspect}"
9
+ end
10
+ end
@@ -0,0 +1,35 @@
1
+ module Agilibox::SMS
2
+ class << self
3
+ def strategy=(value)
4
+ @strategy = parse_strategy(value)
5
+ end
6
+
7
+ def strategy
8
+ @strategy ||= default_strategy
9
+ end
10
+
11
+ attr_writer :default_from
12
+
13
+ def default_from
14
+ @default_from ||= Rails.application.class.to_s.chomp("::Application")
15
+ end
16
+
17
+ def parse_strategy(value)
18
+ if value.is_a?(Symbol)
19
+ "Agilibox::SMS::Strategies::#{value.to_s.camelcase}".constantize
20
+ else
21
+ value
22
+ end
23
+ end
24
+
25
+ private
26
+
27
+ def default_strategy
28
+ if Rails.env.development? || Rails.env.test?
29
+ Agilibox::SMS::Strategies::Test
30
+ else
31
+ Agilibox::SMS::Strategies::AmazonSNS
32
+ end
33
+ end
34
+ end # class << self
35
+ end
@@ -0,0 +1,26 @@
1
+ class Agilibox::Sorter
2
+ include Agilibox::SortingHelper
3
+
4
+ attr_reader :collection, :sort_param, :column, :direction
5
+
6
+ def initialize(collection, sort_param = nil)
7
+ @collection = collection
8
+ @sort_param = sort_param
9
+ @column, @direction = sortable_column_order(sort_param.to_s)
10
+ end
11
+
12
+ def sort
13
+ raise NotImplementedError
14
+ end
15
+
16
+ def call
17
+ # Don't replace by `collection.reorder(sort)`
18
+ # #sort can change #collection and must be called before #collection
19
+ order = sort
20
+ collection.reorder(order)
21
+ end
22
+
23
+ def self.call(*args)
24
+ new(*args).call
25
+ end
26
+ end
@@ -0,0 +1,9 @@
1
+ #flash
2
+ - flash.map do |type, message|
3
+ - type = "success" if type == "notice"
4
+ - type = "danger" if type == "alert"
5
+
6
+ .alert class="alert-#{type}"
7
+ = message
8
+ button.close data-dismiss="alert" aria-label=ta(:close) title=ta(:close)
9
+ = "×"
@@ -0,0 +1,14 @@
1
+ .dropdown.checkboxes-dropdown
2
+ button(
3
+ class = "btn btn-default dropdown-toggle"
4
+ type = "button"
5
+ data-toggle = "dropdown"
6
+ )
7
+ = label
8
+ = " ("
9
+ span.number
10
+ = ") "
11
+ span.caret
12
+
13
+ .dropdown-menu: .container-fluid
14
+ = f.input input, collection: collection, as: :check_boxes, label: false
@@ -1,6 +1 @@
1
- form.search method="get" action=action
2
- p.input-group.search
3
- input.form-control name="q" placeholder=t("actions.search") size=25 value=params[:q]
4
- span.input-group-addon
5
- button.nostyle.search-submit type="submit"
6
- = icon :search
1
+ = render "agilibox/search/form_bs#{Bootstrap::VERSION[0]}", action: action
@@ -0,0 +1,13 @@
1
+ form.search.bs3 method="get" action=action
2
+ = hidden_inputs_for_get_form(action, except: [:q])
3
+ = form_hidden_submit
4
+
5
+ p.input-group.search
6
+ input.form-control name="q" placeholder=t("actions.search") size=25 value=params[:q]
7
+
8
+ span.input-group-btn
9
+ button.btn.btn-default.search-reset.reset type="submit"
10
+ = icon :times
11
+
12
+ button.btn.btn-default.search-submit type="submit"
13
+ = icon :search
@@ -0,0 +1,9 @@
1
+ form.search.bs4 method="get" action=action
2
+ = hidden_inputs_for_get_form(action, except: [:q])
3
+ = form_hidden_submit
4
+
5
+ .input-group.search
6
+ input.form-control.form-control-sm type="text" name="q" placeholder=ta(:search) value=params[:q]
7
+ span.input-group-append
8
+ button.btn.btn-sm.bg-light.border.search-reset.reset type="submit" = icon(:times)
9
+ button.btn.btn-sm.bg-light.border.search-submit type="submit" = icon(:search)
@@ -0,0 +1,8 @@
1
+ form.search.bs5.mb-3 method="get" action=action
2
+ = hidden_inputs_for_get_form(action, except: [:q])
3
+ = form_hidden_submit
4
+
5
+ .input-group.search
6
+ input.form-control.form-control-sm type="text" name="q" placeholder=ta(:search) value=params[:q]
7
+ button.btn.btn-sm.bg-light.border.search-reset.reset type="submit" = icon(:times)
8
+ button.btn.btn-sm.bg-light.border.search-submit type="submit" = icon(:search)
@@ -0,0 +1,2 @@
1
+ li.page-item
2
+ = link_to_unless current_page.first?, raw(t 'views.pagination.first'), url, remote: remote, class: 'page-link'
@@ -0,0 +1,2 @@
1
+ li.page-item.disabled
2
+ = link_to raw(t 'views.pagination.truncate'), '#', class: 'page-link'
@@ -0,0 +1,2 @@
1
+ li.page-item
2
+ = link_to_unless current_page.last?, raw(t 'views.pagination.last'), url, remote: remote, class: 'page-link'
@@ -0,0 +1,2 @@
1
+ li.page-item
2
+ = link_to_unless current_page.last?, raw(t 'views.pagination.next'), url, rel: 'next', remote: remote, class: 'page-link'
@@ -0,0 +1,6 @@
1
+ - if page.current?
2
+ li.page-item.active
3
+ = content_tag :a, page, data: { remote: remote }, rel: page.rel, class: 'page-link'
4
+ - else
5
+ li.page-item
6
+ = link_to page, url, remote: remote, rel: page.rel, class: 'page-link'
@@ -0,0 +1,12 @@
1
+ = paginator.render do
2
+ nav
3
+ ul.pagination
4
+ == first_page_tag unless current_page.first?
5
+ == prev_page_tag unless current_page.first?
6
+ - each_page do |page|
7
+ - if page.left_outer? || page.right_outer? || page.inside_window?
8
+ == page_tag page
9
+ - elsif !page.was_truncated?
10
+ == gap_tag
11
+ == next_page_tag unless current_page.last?
12
+ == last_page_tag unless current_page.last?
@@ -0,0 +1,2 @@
1
+ li.page-item
2
+ = link_to_unless current_page.first?, raw(t 'views.pagination.previous'), url, rel: 'prev', remote: remote, class: 'page-link'
@@ -0,0 +1,9 @@
1
+ <%
2
+ rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : ""
3
+ rerun = rerun.strip.gsub /\s/, ' '
4
+ rerun_opts = rerun.empty? ? "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}"
5
+ std_opts = "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} --strict --tags 'not @wip'"
6
+ %>
7
+ default: <%= std_opts %> features
8
+ wip: --tags @wip:3 --wip features
9
+ rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags 'not @wip'
@@ -0,0 +1,76 @@
1
+ en:
2
+ actions: &actions
3
+ actions : "Actions"
4
+ index : "Index"
5
+ list : "List"
6
+ new : "New"
7
+ create : "Create"
8
+ read : "Read"
9
+ show : "Show"
10
+ details : "Détails"
11
+ edit : "Edit"
12
+ update : "Update"
13
+ delete : "Delete"
14
+ destroy : "Destroy"
15
+ add : "Add"
16
+ filter : "Filter"
17
+ filter_by : "Filter by"
18
+ sort : "Sort"
19
+ sort_by : "Sort by"
20
+ reset : "Reset"
21
+ back : "Back"
22
+ save : "Save"
23
+ open : "Open"
24
+ close : "Close"
25
+ lock : "Lock"
26
+ unlock : "Unlock"
27
+ snooze : "Snooze"
28
+ alert : "Alert"
29
+ complete : "Complete"
30
+ done : "Done"
31
+ download : "Download"
32
+ upload : "Upload"
33
+ preview : "Preview"
34
+ confirm : "Confirm this action ?"
35
+ cancel : "Cancel"
36
+ search : "Search"
37
+ sign_in : "Sign in"
38
+ signin : "Sign in"
39
+ log_in : "Log in"
40
+ login : "Log in"
41
+ sign_out : "Sign out"
42
+ signout : "Sign out"
43
+ log_out : "Log out"
44
+ logout : "Log out"
45
+ sign_up : "Sign up"
46
+ signup : "Sign up"
47
+ browse : "Choose file..."
48
+ cut : "Cut"
49
+ copy : "Copy"
50
+ paste : "Paste"
51
+ duplicate : "Duplicate"
52
+ export : "Export"
53
+ export_csv : "Export CSV"
54
+ export_xls : "Export XLS"
55
+ export_xlsx: "Export XLSX"
56
+ export_pdf : "Export PDF"
57
+ import : "Import"
58
+ import_csv : "Import CSV"
59
+ import_xls : "Import XLS"
60
+ import_xlsx: "Import XLSX"
61
+ import_pdf : "Import PDF"
62
+ send : "Send"
63
+ comment : "Comment"
64
+ add_line : "Add line"
65
+ remove_line: "Remove line"
66
+ pay : "Pay"
67
+ paid : "Payd"
68
+ continue : "Continue"
69
+ rename : "Rename"
70
+ email : "Send by email"
71
+ print : "Print"
72
+ submit : "Submit"
73
+ accept : "Accept"
74
+ refuse : "Refuse"
75
+ show_more : "Show more"
76
+ select : "Select"
@@ -0,0 +1,76 @@
1
+ fr:
2
+ actions: &actions
3
+ actions : "Actions"
4
+ index : "Liste"
5
+ list : "Liste"
6
+ new : "Nouveau"
7
+ create : "Créer"
8
+ read : "Afficher"
9
+ show : "Afficher"
10
+ details : "Détails"
11
+ edit : "Modifier"
12
+ update : "Modifier"
13
+ delete : "Supprimer"
14
+ destroy : "Supprimer"
15
+ add : "Ajouter"
16
+ filter : "Filtrer"
17
+ filter_by : "Filtrer par"
18
+ sort : "Trier"
19
+ sort_by : "Trier par"
20
+ reset : "Mettre à zéro"
21
+ back : "Retour"
22
+ save : "Enregistrer"
23
+ open : "Ouvrir"
24
+ close : "Fermer"
25
+ lock : "Fermer"
26
+ unlock : "Ouvrir"
27
+ snooze : "Reporter"
28
+ alert : "Alerter"
29
+ complete : "Marquer terminé"
30
+ done : "Terminer"
31
+ download : "Télécharger"
32
+ upload : "Envoyer"
33
+ preview : "Aperçu"
34
+ confirm : "Confirmer cette action ?"
35
+ cancel : "Annuler"
36
+ search : "Rechercher"
37
+ sign_in : "Se connecter"
38
+ signin : "Se connecter"
39
+ log_in : "Se connecter"
40
+ login : "Se connecter"
41
+ sign_out : "Se déconnecter"
42
+ signout : "Se déconnecter"
43
+ log_out : "Se déconnecter"
44
+ logout : "Se déconnecter"
45
+ sign_up : "S'enregistrer"
46
+ signup : "S'enregistrer"
47
+ browse : "Sélectionner le fichier..."
48
+ cut : "Couper"
49
+ copy : "Copier"
50
+ paste : "Coller"
51
+ duplicate : "Dupliquer"
52
+ export : "Exporter"
53
+ export_csv : "Export CSV"
54
+ export_xls : "Export XLS"
55
+ export_xlsx: "Export XLSX"
56
+ export_pdf : "Export PDF"
57
+ import : "Importer"
58
+ import_csv : "Import CSV"
59
+ import_xls : "Import XLS"
60
+ import_xlsx: "Import XLSX"
61
+ import_pdf : "Import PDF"
62
+ send : "Envoyer"
63
+ comment : "Commenter"
64
+ add_line : "Ajouter une ligne"
65
+ remove_line: "Supprimer la ligne"
66
+ pay : "Payer"
67
+ paid : "Payée"
68
+ continue : "Continuer"
69
+ rename : "Renommer"
70
+ email : "Envoyer par email"
71
+ print : "Imprimer"
72
+ submit : "Soumettre"
73
+ accept : "Accepter"
74
+ refuse : "Refuser"
75
+ show_more : "Afficher plus"
76
+ select : "Sélectionner"
@@ -0,0 +1,108 @@
1
+ en:
2
+ attributes: &attributes
3
+ access : "Access"
4
+ actions : "Actions"
5
+ active : "Active ?"
6
+ address : "Address"
7
+ address1 : "Address"
8
+ address2 : "Address (rest)"
9
+ addressable : "Origin"
10
+ amount : "Amount"
11
+ attachable : "Origin"
12
+ attachment : "Attachment"
13
+ author : "Author"
14
+ avatar : "Avatar"
15
+ body : "Message"
16
+ budget : "Budget"
17
+ category : "Category"
18
+ city : "City"
19
+ code : "Code"
20
+ color : "Color"
21
+ comment : "Comment"
22
+ commentable : "Origin"
23
+ comments : "Comments"
24
+ corporation_name : "Name"
25
+ count : "Number"
26
+ country : "Country"
27
+ created_at : "Created at"
28
+ current_avatar : "Current avatar"
29
+ customer : "Customer"
30
+ customer_guid : "Customer"
31
+ data : "Data"
32
+ date : "Date"
33
+ date_begin : "Date begin"
34
+ date_end : "Date end"
35
+ date_start : "Date start"
36
+ day : "Day"
37
+ description : "Description"
38
+ details : "Datails"
39
+ due_date : "Due date"
40
+ email : "E-mail"
41
+ email_attachment : "Attachment"
42
+ email_body : "Message"
43
+ email_from : "Sender"
44
+ email_subject : "Subject"
45
+ email_to : "Recipient"
46
+ facebook : "Facebook"
47
+ fax : "Fax"
48
+ file : "File"
49
+ first_name : "First name"
50
+ id : "Id"
51
+ is_active : "Active ?"
52
+ label : "Label"
53
+ last_name : "Last name"
54
+ length : "Number"
55
+ linkedin : "Linkedin"
56
+ logo : "Logo"
57
+ message : "Message"
58
+ mobile : "Mobile"
59
+ month : "Month"
60
+ name : "Name"
61
+ number : "Number"
62
+ paid : "Paid ?"
63
+ password : "Password"
64
+ password_confirmation : "Password (confirm)"
65
+ phone : "Phone"
66
+ probability : "Probability"
67
+ quantity : "Quantity"
68
+ reference : "Réference"
69
+ sender : "Author"
70
+ short_name : "Short name"
71
+ skype : "Skype"
72
+ state : "State"
73
+ status : "Status"
74
+ street : "Address"
75
+ street_bis : "Address (rest)"
76
+ subject : "Subject"
77
+ tag_list : "Tags"
78
+ tags : "Tags"
79
+ text : "Text"
80
+ title : "Title"
81
+ total : "Total"
82
+ tracking : "Tracking ID"
83
+ tracking_id : "Tracking ID"
84
+ twitter : "Twitter"
85
+ type : "Type"
86
+ unique_index : "Tracking ID"
87
+ updated_at : "Updated at"
88
+ user : "User"
89
+ version : "Version"
90
+ viadeo : "Viadeo"
91
+ written_by : "Written by"
92
+ www : "Web site"
93
+ zip : "Zip"
94
+
95
+ labels:
96
+ <<: *attributes
97
+
98
+ activemodel:
99
+ attributes:
100
+ agilibox/email:
101
+ from: "From"
102
+ reply_to: "Reply to"
103
+ to: "To"
104
+ cc: "Copy"
105
+ subject: "Subject"
106
+ body: "Message"
107
+ attachments: "Attachments"
108
+ attachment_names: "Attachments"
@@ -0,0 +1,108 @@
1
+ fr:
2
+ attributes: &attributes
3
+ access : "Accès"
4
+ actions : "Actions"
5
+ active : "Actif ?"
6
+ address : "Adresse"
7
+ address1 : "Adresse"
8
+ address2 : "Adresse (suite)"
9
+ addressable : "Origine"
10
+ amount : "Montant"
11
+ attachable : "Origine"
12
+ attachment : "Pièce jointe"
13
+ author : "Auteur"
14
+ avatar : "Avatar"
15
+ body : "Message"
16
+ budget : "Budget"
17
+ category : "Catégorie"
18
+ city : "Ville"
19
+ code : "Code"
20
+ color : "Couleur"
21
+ comment : "Commentaire"
22
+ commentable : "Origine"
23
+ comments : "Commentaires"
24
+ corporation_name : "Nom"
25
+ count : "Nombre"
26
+ country : "Pays"
27
+ created_at : "Créé le"
28
+ current_avatar : "Avatar actuel"
29
+ customer : "Client"
30
+ customer_guid : "Client"
31
+ data : "Informations"
32
+ date : "Date"
33
+ date_begin : "Date de début"
34
+ date_end : "Date de fin"
35
+ date_start : "Date de début"
36
+ day : "Jour"
37
+ description : "Description"
38
+ details : "Détails"
39
+ due_date : "Échéance"
40
+ email : "E-mail"
41
+ email_attachment : "Pièce jointe"
42
+ email_body : "Message"
43
+ email_from : "Expéditeur"
44
+ email_subject : "Object"
45
+ email_to : "Destinataire"
46
+ facebook : "Facebook"
47
+ fax : "Fax"
48
+ file : "Fichier"
49
+ first_name : "Prénom"
50
+ id : "Id"
51
+ is_active : "Actif ?"
52
+ label : "Libellé"
53
+ last_name : "Nom"
54
+ length : "Nombre"
55
+ linkedin : "Linkedin"
56
+ logo : "Logo"
57
+ message : "Message"
58
+ mobile : "Mobile"
59
+ month : "Mois"
60
+ name : "Nom"
61
+ number : "Nombre"
62
+ paid : "Payée ?"
63
+ password : "Mot de passe"
64
+ password_confirmation : "Mot de passe (confirmer)"
65
+ phone : "Téléphone"
66
+ probability : "Probabilité"
67
+ quantity : "Quantité"
68
+ reference : "Référence"
69
+ sender : "Auteur"
70
+ short_name : "Initiales"
71
+ skype : "Skype"
72
+ state : "État"
73
+ status : "État"
74
+ street : "Adresse"
75
+ street_bis : "Adresse (suite)"
76
+ subject : "Objet"
77
+ tag_list : "Tags"
78
+ tags : "Tags"
79
+ text : "Description"
80
+ title : "Titre"
81
+ total : "Total"
82
+ tracking : "Numéro"
83
+ tracking_id : "Numéro"
84
+ twitter : "Twitter"
85
+ type : "Type"
86
+ unique_index : "Numéro"
87
+ updated_at : "Modifié le"
88
+ user : "Utilisateur"
89
+ version : "Version"
90
+ viadeo : "Viadeo"
91
+ written_by : "écrit par"
92
+ www : "Site web"
93
+ zip : "Code postal"
94
+
95
+ labels:
96
+ <<: *attributes
97
+
98
+ activemodel:
99
+ attributes:
100
+ agilibox/email:
101
+ from: "Expéditeur"
102
+ reply_to: "Répondre à"
103
+ to: "Destinataire"
104
+ cc: "Copie"
105
+ subject: "Objet"
106
+ body: "Message"
107
+ attachments: "Pièces jointes"
108
+ attachment_names: "Pièces jointes"