diff --git a/app/assets/images/logo_backup.svg b/app/assets/images/logo_backup.svg
new file mode 100644
index 00000000..88f99f48
--- /dev/null
+++ b/app/assets/images/logo_backup.svg
@@ -0,0 +1,589 @@
+
+
+
+
\ No newline at end of file
diff --git a/app/assets/images/svg_sources/facebook-1024.png b/app/assets/images/svg_sources/facebook-1024.png
new file mode 100644
index 00000000..7569d333
Binary files /dev/null and b/app/assets/images/svg_sources/facebook-1024.png differ
diff --git a/app/assets/images/svg_sources/logo-facebook.svg b/app/assets/images/svg_sources/logo-facebook.svg
index 7c6da868..93af1089 100644
--- a/app/assets/images/svg_sources/logo-facebook.svg
+++ b/app/assets/images/svg_sources/logo-facebook.svg
@@ -13,7 +13,7 @@
height="1052.3622047"
id="svg3010"
version="1.1"
- inkscape:version="0.48.5 r10040"
+ inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
sodipodi:docname="logo-facebook.svg"
inkscape:export-filename="/home/benjamin/development/rails/mozo/app/assets/images/svg_sources/logo-facebook.png"
inkscape:export-xdpi="90"
@@ -27,16 +27,16 @@
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
- inkscape:zoom="0.86377106"
- inkscape:cx="307.21525"
- inkscape:cy="854.14184"
+ inkscape:zoom="0.69753588"
+ inkscape:cx="148.19031"
+ inkscape:cy="880.89537"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
- inkscape:window-width="1869"
- inkscape:window-height="1056"
- inkscape:window-x="51"
- inkscape:window-y="24"
+ inkscape:window-width="1920"
+ inkscape:window-height="1016"
+ inkscape:window-x="0"
+ inkscape:window-y="27"
inkscape:window-maximized="1" />
@@ -46,7 +46,7 @@
image/svg+xml
-
+
@@ -83,12 +83,12 @@
cy="8.5"
cx="18.4"
transform="matrix(10.884424,0,0,10.884424,92.889593,64.537483)"
- sodipodi:cx="18.4"
- sodipodi:cy="8.5"
- sodipodi:rx="5.5359998"
- sodipodi:ry="5.5359998"
style="fill:#634227"
- d="m 23.935999,8.5 c 0,3.057448 -2.478551,5.536 -5.535999,5.536 -3.057449,0 -5.536,-2.478552 -5.536,-5.536 0,-3.0574483 2.478551,-5.5359998 5.536,-5.5359998 3.057448,0 5.535999,2.4785515 5.535999,5.5359998 z" />
+ d="m 23.935999,8.5 c 0,3.057448 -2.478551,5.536 -5.535999,5.536 -3.057449,0 -5.536,-2.478552 -5.536,-5.536 0,-3.0574483 2.478551,-5.5359998 5.536,-5.5359998 3.057448,0 5.535999,2.4785515 5.535999,5.5359998 z"
+ sodipodi:ry="5.5359998"
+ sodipodi:rx="5.5359998"
+ sodipodi:cy="8.5"
+ sodipodi:cx="18.4" />
+
+
+
diff --git a/app/controllers/supplier_controller.rb b/app/controllers/supplier_controller.rb
index aec81d9e..4c3c2376 100644
--- a/app/controllers/supplier_controller.rb
+++ b/app/controllers/supplier_controller.rb
@@ -1,7 +1,7 @@
class SupplierController < Suppliers::ApplicationController
def home
if Rails.env.development?
- redirect_to "http://localhost:4202/supplier/#{params[:other]}"
+ redirect_to "https://supplier.mozo.local/supplier/#{params[:other]}"
else
redirect_to "https://supplier.mozo.bar/supplier/#{params[:other]}"
end
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 60c63fcd..0fadd590 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -7,8 +7,8 @@ module ApplicationHelper
def user_root_path
case Rails.env
- when 'development' then 'http://localhost:4201/'
- else '/user/index.html'
+ when 'development' then 'https://user.mozo.local/'
+ else 'https://user.mozo.bar/'
end
end
diff --git a/app/views/dashboard/demo_both.html.slim b/app/views/dashboard/demo_both.html.slim
index e0b80369..83590aa8 100644
--- a/app/views/dashboard/demo_both.html.slim
+++ b/app/views/dashboard/demo_both.html.slim
@@ -1,11 +1,5 @@
.phone-wrapper
-- if Rails.env.development?
- iframe.phone-content-frame src="http://localhost:4201/"
-- else
- iframe.phone-content-frame src=user_root_path
+iframe.phone-content-frame src=user_root_path
.tablet-wrapper
-- if Rails.env.development?
- iframe.tablet-content-frame src="http://localhost:4202/supplier/"
-- else
- iframe.tablet-content-frame src=supplier_root_path
+iframe.tablet-content-frame src=supplier_root_path
diff --git a/app/views/new_suppliers/new.html.slim b/app/views/new_suppliers/new.html.slim
index d40a4e9b..89eab07a 100644
--- a/app/views/new_suppliers/new.html.slim
+++ b/app/views/new_suppliers/new.html.slim
@@ -15,7 +15,16 @@
- else
= f.email_field :email
.large-2.columns= f.error_message :email
- - if not @new_supplier.current_employee.present?
+ - if @new_supplier.current_employee.present?
+ .row
+ .large-12.columns
+ - new_supplier_button_text = t 'new_supplier.already_signed_in_new_restaurant_button_text', supplier: Supplier.model_name.human
+ p== t 'new_supplier.employee_already_signed_in', employee: Employee.model_name.human, new_supplier_button: capture(&->{f.submit class: 'button', value: new_supplier_button_text})
+ - else
+ = f.row :email
+ .large-4.columns= f.label :email
+ .large-6.columns= f.email_field :email
+ .large-2.columns= f.error_message :email
= f.row :password
.large-4.columns= f.label :password
.large-4.columns= f.password_field :password
@@ -24,9 +33,8 @@
.large-4.columns= f.label :password_confirmation
.large-4.columns= f.password_field :password_confirmation
.large-4.columns= f.error_message :password_confirmation
-
- .form-actions
- = f.submit class: 'button'
+ .form-actions
+ = f.submit class: 'button'
.row
.small-12.columns== @page.footer
diff --git a/config/environments/development.rb b/config/environments/development.rb
index 77bda002..29282e0c 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -24,16 +24,14 @@ Qwaiter::Application.configure do
#config.ember.variant = :development
- config.action_controller.asset_host = "http://#{ENV['MOZO_LOCAL_IP'] || 'localhost'}:3000"
+ config.action_controller.asset_host = "https://assets.mozo.local"
# config.web_console.automount = true
# Don't care if the mailer can't send
config.action_mailer.raise_delivery_errors = false
config.action_mailer.delivery_method = :letter_opener
- config.action_mailer.default_url_options = {
- host: ENV['MOZO_LOCAL_IP'] || 'localhost',
- port: 3000
- }
+ config.action_mailer.default_url_options = { host: 'https://www.mozo.local' }
+ config.action_controller.default_url_options = { host: 'https://www.mozo.local' }
# Print deprecation notices to the Rails logger
config.active_support.deprecation = :log
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 77c8d77a..22bb70ab 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -33,8 +33,6 @@ Qwaiter::Application.configure do
config.assets.css_compressor = :sass
- config.ember.variant = :production if defined?(Ember::Rails)
-
# Generate digests for assets URLs
config.assets.digest = true
# Don't fallback to assets pipeline if a precompiled asset is missed
@@ -48,7 +46,7 @@ Qwaiter::Application.configure do
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
+ config.force_ssl = true
# See everything in the log (default is :info)
# config.log_level = :debug
@@ -71,7 +69,7 @@ Qwaiter::Application.configure do
# Disable delivery errors, bad email addresses will be ignored
config.action_mailer.raise_delivery_errors = false
config.action_mailer.default_url_options = {
- host: 'www.mozo.bar'
+ host: 'mozo.bar'
}
config.action_mailer.delivery_method = :sendmail
diff --git a/config/locales/supplier.en.yml b/config/locales/supplier.en.yml
index 3ba52144..1153e07c 100644
--- a/config/locales/supplier.en.yml
+++ b/config/locales/supplier.en.yml
@@ -1,265 +1,273 @@
en:
- supplier:
- page:
- cannot_compile: There is an error in the page that prevented it from being displayed.
- confirm:
- title: Are you sure?
- cancel: "Cancel"
- confirm: "OK"
- general:
- destroy:
- text: 'Are you sure?'
- total: Total
- close: Close
- destroy_button: Delete
- sign_up:
- header: |
- Nice that you want to start using Mozo.
- After signing up a confirmation e-mail will be sent to you
- in order to confirm your email. After clicking the link in
- this e-mail you will be fully operational!
- Happy ordering!
- button: Sign up
- dashboard:
- title: Dashboard
- active_lists:
- no_lists: No active ${models.plural.list|downcase}
- active_orders:
- no_orders: No active ${models.plural.order|downcase}
- top_menu:
- menu: Menu
- schedule: Schedule
- active_lists:
- title: Active ${models.plural.list|downcase}
- price: Price
- active_orders:
- title: Active ${models.plural.order|downcase}
- price: Price
- supplier:
- close_for_orders: Close the shop
- close_for_orders_confirmation: If you close the shop, you cannot receive orders. Are you sure?
- open_for_orders: 'Open up the place!'
- you_are_currently_closed_alert: 'You are currently closed so cannot receive orders!'
- settings: Settings
- sign_out: Sign out
- table_number: Table
- table:
- needs_help:
- flash_message: ${models.table} %{number} needs help
- print_qr_codes: Print Qr codes
- add_tables_first:
- title: Add ${models.plural.table|downcase} first
- body: To be able to print QR-codes, you first need to add ${models.plural.table|downcase}. Each table has its own QR-code
- destroy:
- modal:
- title: Are you sure you want to delete ${models.table} %{number}
- modal:
- title: "Edit ${models.table|downcase}"
- body_header: ""
- close_button: Cancel
- save_button: OK
- destroy_button: Delete
- new_button: Add ${models.table|downcase}
- lists:
- index:
- show_all: Show all ${models.plural.list|downcase}
- show_active: Show active ${models.plural.list}
- show_list_on_day: ${models.list} on date
- total_sentence: Total amount
- show:
- title: Show %{list}
- users: Clients
- list:
- is_helped_button: Question answered!
- close_list: Close!
- none_found: 'No ${models.plural.list|downcase}'
- go_to_lists: Go to ${models.plural.list}
- close:
- modal:
- title: Are you sure yout want to close the ${models.list}
- message: After closing a list the customer can open a new one
- cancel: Cancel
- close_list: Close ${models.list}
- order:
- being_processed: 'In process!'
- being_served: 'Is delivered!'
- sections_header:
- all_sections: All
- section:
- first_section_title: Inside
- show:
- title: 'Show ${models.section|downcase}'
- manage_tables:
- link: 'Manage ${models.plural.table|downcase}'
- title: "Manage ${models.plural.table|downcase} for ${models.section|downcase}: %{title}"
- tables_view:
- link: '${models.plural.table} view'
- table_actions:
- title: '${models.table} actions'
- got_to_table: 'Go to ${models.table|downcase}'
- add_tables:
- button_label: Add ${models.plural.table|downcase}
- modal:
- title: Add ${models.plural.table|downcase}
- body_header: ""
- number_start: From number
- number_end: Till number
- close_button: Close
- add_button: Add
- too_many: "You can add maximal 10 ${models.plural.table|downcase} at once (you want to add %{count})"
- invalid_start_number: "Invalid start number"
- invalid_end_number: "Invalid end number"
- add_section:
- modal:
- title: 'New ${models.section}'
- close_button: Close
- add_button: Create
- arrange_tables:
- button_label: Arrange ${models.plural.table|downcase}
- by_row_no_row_count: 'Please fill in a positive number representing the number of ${models.plural.table|downcase} per row'
- by_column_no_column_count: 'Please fill in a positive number representing the number of ${models.plural.table|downcase} per column'
- modal:
- title: Arrange ${models.plural.table|downcase}
- body_header: ""
- distributed:
- title: Distributed
- explanation: Distribute ${models.plural.table|downcase} as good as possible in the ${models.section|downcase}
- by_row:
- title: By row
- before_field: 'make rows each having '
- after_field: ' ${models.plural.table}'
- by_column:
- title: By column
- before_field: 'make columns each having '
- after_field: ' ${models.plural.table}'
- close_button: Close
- arrange_button: Distribute
- cannot_arrange: 'The ${models.plural.table|downcase} could not be arranged. Does the ${models.section|downcase} have a width and a height?'
- settings:
- title: Settings
- save: Save settings
- reviews:
- title: Reviews
- explanation: Fill in your Iens id. You can find this id in the web location of your page
- product_category:
- # week days depricated
- week_days:
- abbreviation:
- sunday: S
- monday: M
- tuesday: T
- wednesday: W
- thursday: T
- friday: F
- saturday: S
- new_button: Add ${models.product_category}
- time_preview:
- title: Preview ${models.plural.product_category|downcase}
- active_at: Active at time
- activate_button: Activate preview
- deactivate_button: Stop preview
- modal:
- active_between:
- top: Active between
- middle: and
- destroy_confirm_text: 'Are you sure you want to delete ${models.product_category} %{name}?'
- new:
- title: New ${models.product_category}
- body_header: ''
- close_button: Cancel
- save_button: Save
- edit:
- title: Edit ${models.product_category}
- body_header: ''
- close_button: Cancel
- destroy_button: Delete
- save_button: Save
- move:
- title: Move ${models.product_category|downcase}
- body_header: ''
- move_to_top: Move to top
- move_below_label: "Place below ${models.product_category|downcase}"
- products:
- title: Sort ${models.plural.product|downcase}
- product:
- new: 'New ${model.product|downcase}'
- destroy_confirmation: Are you sure you want to delete ${models.product|downcase} %{name}
- code_filter:
- placeholder: Filter ${models.product|downcase} ${attributes.product.code|downcase}
- preview:
- header: 'Select moment to preview products'
- description: 'Products visible to customers at chosen moment:'
- product_variant:
- add_product_variant: "Add variant"
- state:
- list:
- active: 'Active'
- closed: 'Closed'
- datepicker:
- no_date: 'Pick a date'
- modal:
- info:
- close: OK
- change_list_table:
- title: Change the ${models.table} of the ${models.list}
- subtitle: 'The current ${model.table} number is # %{current_table_number}'
- close_button: Close
- user_info:
- title: ${models.user} info
- supplier_status_info:
- title: "%{name} info"
- header: The icons at the top right corner contain information about the current orders
- orders_placed_count_explanation: " means that there are %{count} orders placed and not yet processing or finished"
- orders_in_process_count_explanation: " means that there are %{count} orders currently processing"
- close: Got it
- employee:
- new_button: 'Add ${models.employee}'
- destroy:
- modal:
- title: 'Delete ${models.employee} %{name}?'
- modal:
- new_title: New ${models.employee}
- edit_title: Edit ${models.employee}
- body_header: ''
- close_button: Close
- save_button: Save
- select_modal:
- title: Select ${models.employee}
- close_button: Close
- employee_shift:
- time_window: From %{start} to %{end}
- modal:
- title: Edit ${models.employee_shift}
- body_header: ''
- close_button: Close
- save_button: Save
- destroy_button: Destroy
- destroy_confirmation: Are you sure?
- suppliers_switcher:
- switch_to_button: Switch to %{name}
- section_element:
- add_button: Add ${models.section_element}
- modal:
- title: Add ${models.section_element}
- section_area:
- add_button: Add ${models.section_area}
- modal:
- title: Add ${models.section_area}
- explanation: |
- A ${models.section_area} is a block in your ${models.section} to indicate elements to easily recognize your space.
- This can be a Bar or special area.
- save_button: OK
- close_button: Cancel
- destroy_button: Delete
- current_employee:
- my_account:
- link: My account
- title: My account
- my_schedule:
- title: My schedule
- link: My schedule
- schedule:
- title: Schedule for %{name}
- user:
- unknown_name: '?'
- number_of_lists_at_supplier: Number of ${models.plural.list} at your place
+ new_supplier:
+ already_signed_in_new_restaurant_button_text: "Add a new %{supplier} having you as the first manager"
+ employee_already_signed_in: |
+ You are already signed in as %{employee}, so there are some possible actions:
+
+
+
+# supplier:
+# page:
+# cannot_compile: There is an error in the page that prevented it from being displayed.
+# confirm:
+# title: Are you sure?
+# cancel: "Cancel"
+# confirm: "OK"
+# general:
+# destroy:
+# text: 'Are you sure?'
+# total: Total
+# close: Close
+# destroy_button: Delete
+# sign_up:
+# header: |
+# Nice that you want to start using Mozo.
+# After signing up a confirmation e-mail will be sent to you
+# in order to confirm your email. After clicking the link in
+# this e-mail you will be fully operational!
+# Happy ordering!
+# button: Sign up
+# dashboard:
+# title: Dashboard
+# active_lists:
+# no_lists: No active ${models.plural.list|downcase}
+# active_orders:
+# no_orders: No active ${models.plural.order|downcase}
+# top_menu:
+# menu: Menu
+# schedule: Schedule
+# active_lists:
+# title: Active ${models.plural.list|downcase}
+# price: Price
+# active_orders:
+# title: Active ${models.plural.order|downcase}
+# price: Price
+# supplier:
+# close_for_orders: Close the shop
+# close_for_orders_confirmation: If you close the shop, you cannot receive orders. Are you sure?
+# open_for_orders: 'Open up the place!'
+# you_are_currently_closed_alert: 'You are currently closed so cannot receive orders!'
+# settings: Settings
+# sign_out: Sign out
+# table_number: Table
+# table:
+# needs_help:
+# flash_message: ${models.table} %{number} needs help
+# print_qr_codes: Print Qr codes
+# add_tables_first:
+# title: Add ${models.plural.table|downcase} first
+# body: To be able to print QR-codes, you first need to add ${models.plural.table|downcase}. Each table has its own QR-code
+# destroy:
+# modal:
+# title: Are you sure you want to delete ${models.table} %{number}
+# modal:
+# title: "Edit ${models.table|downcase}"
+# body_header: ""
+# close_button: Cancel
+# save_button: OK
+# destroy_button: Delete
+# new_button: Add ${models.table|downcase}
+# lists:
+# index:
+# show_all: Show all ${models.plural.list|downcase}
+# show_active: Show active ${models.plural.list}
+# show_list_on_day: ${models.list} on date
+# total_sentence: Total amount
+# show:
+# title: Show %{list}
+# users: Clients
+# list:
+# is_helped_button: Question answered!
+# close_list: Close!
+# none_found: 'No ${models.plural.list|downcase}'
+# go_to_lists: Go to ${models.plural.list}
+# close:
+# modal:
+# title: Are you sure yout want to close the ${models.list}
+# message: After closing a list the customer can open a new one
+# cancel: Cancel
+# close_list: Close ${models.list}
+# order:
+# being_processed: 'In process!'
+# being_served: 'Is delivered!'
+# sections_header:
+# all_sections: All
+# section:
+# first_section_title: Inside
+# show:
+# title: 'Show ${models.section|downcase}'
+# manage_tables:
+# link: 'Manage ${models.plural.table|downcase}'
+# title: "Manage ${models.plural.table|downcase} for ${models.section|downcase}: %{title}"
+# tables_view:
+# link: '${models.plural.table} view'
+# table_actions:
+# title: '${models.table} actions'
+# got_to_table: 'Go to ${models.table|downcase}'
+# add_tables:
+# button_label: Add ${models.plural.table|downcase}
+# modal:
+# title: Add ${models.plural.table|downcase}
+# body_header: ""
+# number_start: From number
+# number_end: Till number
+# close_button: Close
+# add_button: Add
+# too_many: "You can add maximal 10 ${models.plural.table|downcase} at once (you want to add %{count})"
+# invalid_start_number: "Invalid start number"
+# invalid_end_number: "Invalid end number"
+# add_section:
+# modal:
+# title: 'New ${models.section}'
+# close_button: Close
+# add_button: Create
+# arrange_tables:
+# button_label: Arrange ${models.plural.table|downcase}
+# by_row_no_row_count: 'Please fill in a positive number representing the number of ${models.plural.table|downcase} per row'
+# by_column_no_column_count: 'Please fill in a positive number representing the number of ${models.plural.table|downcase} per column'
+# modal:
+# title: Arrange ${models.plural.table|downcase}
+# body_header: ""
+# distributed:
+# title: Distributed
+# explanation: Distribute ${models.plural.table|downcase} as good as possible in the ${models.section|downcase}
+# by_row:
+# title: By row
+# before_field: 'make rows each having '
+# after_field: ' ${models.plural.table}'
+# by_column:
+# title: By column
+# before_field: 'make columns each having '
+# after_field: ' ${models.plural.table}'
+# close_button: Close
+# arrange_button: Distribute
+# cannot_arrange: 'The ${models.plural.table|downcase} could not be arranged. Does the ${models.section|downcase} have a width and a height?'
+# settings:
+# title: Settings
+# save: Save settings
+# reviews:
+# title: Reviews
+# explanation: Fill in your Iens id. You can find this id in the web location of your page
+# product_category:
+# # week days depricated
+# week_days:
+# abbreviation:
+# sunday: S
+# monday: M
+# tuesday: T
+# wednesday: W
+# thursday: T
+# friday: F
+# saturday: S
+# new_button: Add ${models.product_category}
+# time_preview:
+# title: Preview ${models.plural.product_category|downcase}
+# active_at: Active at time
+# activate_button: Activate preview
+# deactivate_button: Stop preview
+# modal:
+# active_between:
+# top: Active between
+# middle: and
+# destroy_confirm_text: 'Are you sure you want to delete ${models.product_category} %{name}?'
+# new:
+# title: New ${models.product_category}
+# body_header: ''
+# close_button: Cancel
+# save_button: Save
+# edit:
+# title: Edit ${models.product_category}
+# body_header: ''
+# close_button: Cancel
+# destroy_button: Delete
+# save_button: Save
+# move:
+# title: Move ${models.product_category|downcase}
+# body_header: ''
+# move_to_top: Move to top
+# move_below_label: "Place below ${models.product_category|downcase}"
+# products:
+# title: Sort ${models.plural.product|downcase}
+# product:
+# new: 'New ${model.product|downcase}'
+# destroy_confirmation: Are you sure you want to delete ${models.product|downcase} %{name}
+# code_filter:
+# placeholder: Filter ${models.product|downcase} ${attributes.product.code|downcase}
+# preview:
+# header: 'Select moment to preview products'
+# description: 'Products visible to customers at chosen moment:'
+# product_variant:
+# add_product_variant: "Add variant"
+# state:
+# list:
+# active: 'Active'
+# closed: 'Closed'
+# datepicker:
+# no_date: 'Pick a date'
+# modal:
+# info:
+# close: OK
+# change_list_table:
+# title: Change the ${models.table} of the ${models.list}
+# subtitle: 'The current ${model.table} number is # %{current_table_number}'
+# close_button: Close
+# user_info:
+# title: ${models.user} info
+# supplier_status_info:
+# title: "%{name} info"
+# header: The icons at the top right corner contain information about the current orders
+# orders_placed_count_explanation: " means that there are %{count} orders placed and not yet processing or finished"
+# orders_in_process_count_explanation: " means that there are %{count} orders currently processing"
+# close: Got it
+# employee:
+# new_button: 'Add ${models.employee}'
+# destroy:
+# modal:
+# title: 'Delete ${models.employee} %{name}?'
+# modal:
+# new_title: New ${models.employee}
+# edit_title: Edit ${models.employee}
+# body_header: ''
+# close_button: Close
+# save_button: Save
+# select_modal:
+# title: Select ${models.employee}
+# close_button: Close
+# employee_shift:
+# time_window: From %{start} to %{end}
+# modal:
+# title: Edit ${models.employee_shift}
+# body_header: ''
+# close_button: Close
+# save_button: Save
+# destroy_button: Destroy
+# destroy_confirmation: Are you sure?
+# suppliers_switcher:
+# switch_to_button: Switch to %{name}
+# section_element:
+# add_button: Add ${models.section_element}
+# modal:
+# title: Add ${models.section_element}
+# section_area:
+# add_button: Add ${models.section_area}
+# modal:
+# title: Add ${models.section_area}
+# explanation: |
+# A ${models.section_area} is a block in your ${models.section} to indicate elements to easily recognize your space.
+# This can be a Bar or special area.
+# save_button: OK
+# close_button: Cancel
+# destroy_button: Delete
+# current_employee:
+# my_account:
+# link: My account
+# title: My account
+# my_schedule:
+# title: My schedule
+# link: My schedule
+# schedule:
+# title: Schedule for %{name}
+# user:
+# unknown_name: '?'
+# number_of_lists_at_supplier: Number of ${models.plural.list} at your place
diff --git a/config/locales/supplier.nl.yml b/config/locales/supplier.nl.yml
index 8a3afce8..abcf4b09 100644
--- a/config/locales/supplier.nl.yml
+++ b/config/locales/supplier.nl.yml
@@ -1,266 +1,274 @@
nl:
- supplier:
- page:
- cannot_compile: There is an error in the page that prevented it from being displayed.
- confirm:
- title: Weet je dit zeker?
- cancel: Cancel
- confirm: Ja
- general:
- destroy:
- text: 'Are you sure?'
- total: Total
- close: Sluiten
- destroy_button: Verwijder
- sign_up:
- header: |
- Leuk dat je je wilt aanmelden voor Mozo.
- Na de aanmelding zal er een bevestigings e-mail worden gestuurd
- om het e-mailadres te bevestigen.
- Hierna kan je aan de slag met mobiel bestellen!
- button: Aanmelden
- dashboard:
- title: Dashboard
- active_lists:
- no_lists: Geen actieve ${models.plural.list}
- active_orders:
- no_orders: Geen actieve ${models.plural.order}
- top_menu:
- menu: Menu
- schedule: Schema
- active_lists:
- title: Actieve ${models.plural.list|downcase}
- price: Prijs
- active_orders:
- title: Actieve orders
- price: Prijs
- supplier:
- close_for_orders: De zaak afsluiten voor bestellingen
- close_for_orders_confirmation: Als je de zaak afsluit kan je geen ${models.plural.order|downcase} meer ontvangen. Weet je dit zeker?
- open_for_orders: 'Open de zaak!'
- you_are_currently_closed_alert: 'Je bent momenteel gesloten en kan geen orders ontvangen'
- settings: Instellingen
- sign_out: Afmelden
- table_number: Tafel
- table:
- needs_help:
- flash_message: ${models.table} %{number} heeft een vraag
- print_qr_codes: Print Qr codes
- add_tables_first:
- title: Je moet eerst ${models.plural.table|downcase} toevoegen
- body: Om QR-codes te kunnen printen moet je eerst tafels toevoegen. Elke tafel heeft een unieke QR-code
- destroy:
- modal:
- title: Weet je zeker dat je ${models.table} %{number} wilt verwijderen
- modal:
- title: "Bewerk ${models.table|downcase}"
- body_header: ""
- close_button: Cancel
- save_button: OK
- destroy_button: Verwijderen
- new_button: ${models.table} toevoegen
- lists:
- index:
- show_all: Toon alle ${models.plural.list}
- show_active: Toon actieve ${models.plural.list}
- show_list_on_day: '${models.plural.list} op datum'
- total_sentence: Totaal bedrag
- show:
- title: "%{list} tonen"
- users: Klanten
- list:
- is_helped_button: Vraag beantwoord!
- close_list: Afsluiten!
- none_found: 'Geen ${models.plural.list|downcase}'
- go_to_lists: 'Naar ${models.plural.list|downcase}'
- close:
- modal:
- title: Wil je de ${models.list} afsluiten?
- message: Hierna kunnen gebruikers weer een nieuwe ${models.list|downcase} openen
- cancel: Nog niet
- close_list: ${models.list} afsluiten
- order:
- being_processed: 'Ben bezig!'
- being_served: 'Ik kom het brengen!'
- sections_header:
- all_sections: Alles
- section:
- first_section_title: Ruimte
- show:
- title: 'Toon ${models.section|downcase}'
- manage_tables:
- link: 'Tafels beheren'
- title: "Tafels beheren voor ${models.section|downcase}: %{title}"
- tables_view:
- link: Tafel overzicht
- table_actions:
- title: '${models.table} acties'
- got_to_table: 'Toon ${models.table|downcase}'
- add_tables:
- button_label: Voeg tafels toe
- modal:
- title: Voeg tafels toe
- body_header: ""
- number_start: Vanaf nummer
- number_end: Tot nummer
- close_button: Sluiten
- add_button: Voeg toe
- too_many: "Je kan manimaal 10 ${models.plural.table|downcase} per keer toevoegen (je hebt %{count})"
- invalid_start_number: "Ongeldig start nummer"
- invalid_end_number: "Ongeldig eind nummer"
- add_section:
- modal:
- title: '${models.section} toevoegen'
- close_button: Sluiten
- add_button: Aanmaken
- arrange_tables:
- button_label: Positioneer tafels
- by_row_no_row_count: 'Geef een positief getal voor het aantal ${models.plural.table|downcase} per rij'
- by_column_no_column_count: 'Geef een positief getal voor het aantal ${models.plural.table|downcase} per kolom'
- modal:
- title: Positioneer tafels
- body_header: ""
- distributed:
- title: Verspreid
- explanation: Versprijd de ${models.plural.table|downcase} zo goed mogelijk over de ${models.section|downcase}
- by_row:
- title: Per rij
- before_field: 'maak rijen met elk '
- after_field: ' ${models.plural.table}'
- by_column:
- title: Per kolom
- before_field: 'maak kolommen met elk '
- after_field: ' ${models.plural.table}'
- close_button: Sluiten
- arrange_button: Positioneer
- cannot_arrange: 'De ${models.plural.table} konden niet worden gepositioneerd. Heeft de ${models.section|downcase} een hoogte en breedte?'
- settings:
- title: Instellingen
- save: Instellingen opslaan
- reviews:
- title: Reviews
- explanation: Vul hier je iens id in. Deze kan je halen uit de url van je iens pagina
- product_category:
- week_days:
- abbreviation:
- sunday: Z
- monday: M
- tuesday: D
- wednesday: W
- thursday: D
- friday: V
- saturday: Z
- new_button: ${models.product_category} toevoegen
- time_preview:
- title: Preview ${models.plural.product_category|downcase}
- active_at: Actief op tijdstip
- activate_button: Activeer preview
- deactivate_button: Stop preview
- modal:
- active_between:
- top: Actief tussen
- middle: en
- destroy_confirm_text: 'Weet je zeker dat je ${models.product_category|downcase} %{name} wil verwijderen?'
- new:
- title: ${models.product_category} toevoegen
- body_header: ''
- close_button: Sluiten
- save_button: Opslaan
- edit:
- title: Bewerk ${models.product_category}
- body_header: ''
- active_between:
- top: Actief tussen
- middle: en
- close_button: Sluiten
- destroy_button: Verwijder
- save_button: Opslaan
- move:
- title: Verplaats ${models.product_category|downcase}
- body_header: ''
- move_to_top: Plaats bovenaan
- move_below_label: "Plaats onder ${models.product_category|downcase}"
- products:
- title: Sorteer ${models.plural.product|downcase}
- product:
- new: 'Nieuw ${model.product|downcase}'
- destroy_confirmation: Weet je zeker dat je ${models.product|downcase} %{name} wilt verwijderen
- code_filter:
- placeholder: Filter ${models.product|downcase} ${attributes.product.code|downcase}
- preview:
- header: 'Selecteer tijdstip voor voorbeeld'
- description: 'Producten op gekozen tijdstip:'
- product_variant:
- add_product_variant: "Variant toevoegen"
- state:
- list:
- active: 'Actief'
- closed: 'Afgesloten'
- datepicker:
- no_date: 'Selecteer een datum'
- modal:
- info:
- close: OK
- change_list_table:
- title: Verander de ${models.table} van de ${models.list}
- subtitle: 'De huidige ${model.table} is # %{current_table_number}'
- close_button: Sluiten
- user_info:
- title: ${models.user} informatie
- supplier_status_info:
- title: "%{name} info"
- header: The icons at the top right corner contain information about the current orders
- orders_placed_count_explanation: " means that there are %{count} orders placed and not yet processing or finished"
- orders_in_process_count_explanation: " means that there are %{count} orders currently processing"
- close: Got it
- employee:
- new_button: '${models.employee} toevoegen'
- destroy:
- modal:
- title: '${models.employee} %{name} verwijderen?'
- modal:
- new_title: ${models.employee} aanmaker
- edit_title: Bewerk ${models.employee}
- body_header: ''
- close_button: Cancel
- save_button: Save
- select_modal:
- title: Select ${models.employee}
- close_button: Close
- employee_shift:
- time_window: Van %{start} tot %{end}
- modal:
- title: ${models.employee_shift} bewerken
- body_header: ''
- close_button: Sluit
- save_button: Save
- destroy_button: Verwijder
- destroy_confirmation: 'Weet je zeker dat je de ${models.employee_shift} wilt verwijderen?'
- suppliers_switcher:
- switch_to_button: Switch to %{name}
- section_element:
- add_button: ${models.section_element} toevoegen
- modal:
- title: ${models.section_element} toevoegen
- section_area:
- add_button: ${models.section_area} toevoegen
- modal:
- title: ${models.section_area} toevoegen
- explanation: |
- A ${models.section_area} is a block in your ${models.section} to indicate elements to easily recognize your space.
- This can be a Bar or special area.
- save_button: OK
- close_button: Cancel
- destroy_button: Verwijderen
- current_employee:
- my_account:
- link: Mijn account
- title: Mijn account
- my_schedule:
- title: Mijn schema
- link: Mijn schema
- schedule:
- title: Schema voor %{name}
- user:
- unknown_name: '?'
- number_of_lists_at_supplier: Aantal ${models.plural.list} hier
+ new_supplier:
+ already_signed_in_new_restaurant_button_text: "Add a new %{supplier} having you as the first manager"
+ employee_already_signed_in: |
+ You are already signed in as %{employee}, so there are some possible actions:
+
+