mirror of
https://github.com/rickbarrette/redmine_qbo_vehicles.git
synced 2026-02-14 01:43:58 -05:00
feat(i18n): sort en.yml and fix typos
Alphabetized keys for better maintainability. Fixed spelling errors in customer and vehicle keys/values. Corrected "QuickBooks Online" branding.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<h4><%=t(:field_vehicles)%>:</h4>
|
||||
<%= render partial: 'vehicles/list', locals: { vehicles: customer.vehicles.paginate(page: params[:page]) } %>
|
||||
<div style="float: right;">
|
||||
<%= button_to t(:button_new_vehice), new_customer_vehicle_path(customer), method: :get %>
|
||||
<%= button_to t(:button_new_vehicle), new_customer_vehicle_path(customer), method: :get %>
|
||||
</div>
|
||||
@@ -1,4 +1,4 @@
|
||||
<h2><%=t(:label_cusomer_vehicles)%> <span style="float:right"> <%= render partial: 'vehicles/search' %> </span> </h2>
|
||||
<h2><%=t(:label_customer_vehicles)%> <span style="float:right"> <%= render partial: 'vehicles/search' %> </span> </h2>
|
||||
<br/>
|
||||
|
||||
<%= render partial: 'vehicles/list', locals: {vehicles: @vehicles} %>
|
||||
|
||||
@@ -10,27 +10,27 @@
|
||||
|
||||
# English strings go here for Rails i18n
|
||||
# Usage I18n.t(:label)
|
||||
|
||||
en:
|
||||
field_vehicles: "Vehicles"
|
||||
alert_no_customer: "Customer no longer exists, check for merged customers or deleted customers in QuickBooks Online."
|
||||
alert_vehicle_not_created: "Vehicle could not be created."
|
||||
alert_vehicle_not_deleted: "Vehicle could not be deleted."
|
||||
alert_vehicle_not_found: "Vehicle not found."
|
||||
alert_vehicle_not_updated: "Vehicle could not be updated."
|
||||
button_new_vehicle: "New Vehicle"
|
||||
field_vehicle: "Vehicle"
|
||||
field_vehicles: "Vehicles"
|
||||
field_vin: "VIN"
|
||||
label_customer_vehicles: "Customer Vehicles"
|
||||
label_edit: "Edit"
|
||||
label_year: "Year"
|
||||
label_edit_customer_vehicle: "Edit Customer Vehicle"
|
||||
label_make: "Make"
|
||||
label_model: "Model"
|
||||
label_new_vehicle: "New Customer Vehicle"
|
||||
label_no_vehicles: "There are no vehicles containing the term(s)"
|
||||
label_search_vin: "Search Vehicles by VIN"
|
||||
label_edit_customer_vehicle: "Edit Customer Vehicle"
|
||||
label_cusomer_vehicles: "Customer Vehicles"
|
||||
label_new_vehicle: "New Customer Vehicle"
|
||||
button_new_vehice: "New Vehicle"
|
||||
notice_vehicle_created: "Vehicle was successfully created."
|
||||
notice_vehicle_updated: "Vehicle was successfully updated."
|
||||
notice_vehicle_deleted: "Vehicle was successfully deleted."
|
||||
alert_vehicle_not_found: "Vehicle not found."
|
||||
alert_vehicle_not_deleted: "Vehicle could not be deleted."
|
||||
alert_vehicle_not_created: "Vehicle could not be created."
|
||||
alert_vehicle_not_updated: "Vehicle could not be updated."
|
||||
label_year: "Year"
|
||||
no_customer: "Customer no longer exists"
|
||||
alert_no_customer: "Customer no longer exists, check for merged customers or deleted customers in Quick Books Online."
|
||||
|
||||
notice_vehicle_created: "Vehicle was successfully created."
|
||||
notice_vehicle_deleted: "Vehicle was successfully deleted."
|
||||
notice_vehicle_updated: "Vehicle was successfully updated."
|
||||
Reference in New Issue
Block a user