-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #196 from fonsecadeline/language_in_csv
CSV output columns consistent with provided language [former PR32]
- Loading branch information
Showing
22 changed files
with
611 additions
and
190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,9 +56,6 @@ module OptimizerWrapper | |
OptimizerLogger.with_datetime = true | ||
OptimizerLogger.caller_location = :relative | ||
|
||
I18n.available_locales = [:en, :fr] | ||
I18n.default_locale = :en | ||
|
||
@@c = { | ||
product_title: 'Optimizers API', | ||
product_contact_email: '[email protected]', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,9 +53,6 @@ module OptimizerWrapper | |
OptimizerLogger.with_datetime = true | ||
# OptimizerLogger.caller_location = nil => nil is default | ||
|
||
I18n.available_locales = [:en, :fr] | ||
I18n.default_locale = :en | ||
|
||
@@c = { | ||
product_title: 'Optimizers API', | ||
product_contact_email: '[email protected]', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,9 +55,6 @@ module OptimizerWrapper | |
OptimizerLogger.with_datetime = true | ||
# OptimizerLogger.caller_location = nil => nil is default | ||
|
||
I18n.available_locales = [:en, :fr] | ||
I18n.default_locale = :en | ||
|
||
@@c = { | ||
product_title: 'Optimizers API', | ||
product_contact_email: '[email protected]', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Copyright © Mapotempo, 2021 | ||
# | ||
# This file is part of Mapotempo. | ||
# | ||
# Mapotempo is free software. You can redistribute it and/or | ||
# modify since you respect the terms of the GNU Affero General | ||
# Public License as published by the Free Software Foundation, | ||
# either version 3 of the License, or (at your option) any later version. | ||
# | ||
# Mapotempo is distributed in the hope that it will be useful, but WITHOUT | ||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | ||
# or FITNESS FOR A PARTICULAR PURPOSE. See the Licenses for more details. | ||
# | ||
# You should have received a copy of the GNU Affero General Public License | ||
# along with Mapotempo. If not, see: | ||
# <http://www.gnu.org/licenses/agpl.html> | ||
# | ||
|
||
es: | ||
export_file: | ||
comment: comentario | ||
plan: | ||
name: plan | ||
ref: referencia del plan | ||
route: | ||
day: día | ||
id: gira | ||
original_id: vehículo | ||
total_travel_distance: recorrido total | ||
total_travel_time: duración total | ||
total_wait_time: tiempo de espera total | ||
stop: | ||
additional_value: valor adicional | ||
duration: duración visita | ||
end_time: fin | ||
lat: lat | ||
lon: lng | ||
name: nombre | ||
point_id: referencia | ||
quantity: "cantidad[%{unit}]" | ||
reference: referencia visita | ||
setup: duración de preparación | ||
skills: etiquetas visita | ||
start_time: hora | ||
tw_end: "horario fin %{index}" | ||
tw_start: "horario inicio %{index}" | ||
type: tipo parada | ||
type_rest: descanso | ||
type_store: depósito | ||
type_visit: visita | ||
visit_index: índice de la visita | ||
wait_time: tiempo de espera | ||
tags: etiquetas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Copyright © Mapotempo, 2021 | ||
# | ||
# This file is part of Mapotempo. | ||
# | ||
# Mapotempo is free software. You can redistribute it and/or | ||
# modify since you respect the terms of the GNU Affero General | ||
# Public License as published by the Free Software Foundation, | ||
# either version 3 of the License, or (at your option) any later version. | ||
# | ||
# Mapotempo is distributed in the hope that it will be useful, but WITHOUT | ||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | ||
# or FITNESS FOR A PARTICULAR PURPOSE. See the Licenses for more details. | ||
# | ||
# You should have received a copy of the GNU Affero General Public License | ||
# along with Mapotempo. If not, see: | ||
# <http://www.gnu.org/licenses/agpl.html> | ||
# | ||
|
||
legacy: | ||
export_file: | ||
comment: unassigned_reason | ||
plan: | ||
name: day_week_num | ||
ref: day_week | ||
route: | ||
day: day | ||
id: vehicle_id | ||
original_id: original_vehicle_id | ||
total_travel_distance: total_travel_distance | ||
total_travel_time: total_travel_time | ||
total_wait_time: total_waiting_time | ||
stop: | ||
additional_value: additional_value | ||
duration: duration | ||
end_time: end_time | ||
lat: lat | ||
lon: lon | ||
name: original_id | ||
point_id: point_id | ||
quantity: "quantity_%{unit}" | ||
reference: id | ||
setup: setup_duration | ||
skills: skills | ||
start_time: begin_time | ||
tw_end: "timewindow_end_%{index}" | ||
tw_start: "timewindow_start_%{index}" | ||
type: type | ||
type_rest: rest | ||
type_store: store | ||
type_visit: visit | ||
visit_index: visit_index | ||
wait_time: waiting_time | ||
tags: tags |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.