# Language

{% hint style="danger" %}
Follow the formatting specifications to avoid script startup errors
{% endhint %}

{% code title="/html/lang.js" %}

```javascript

//  ██████╗░██████╗░░█████╗░██╗░░░██╗███████╗   ████████╗██████╗░░█████╗░███╗░░██╗░██████╗██╗████████╗
//  ██╔══██╗██╔══██╗██╔══██╗██║░░░██║██╔════╝   ╚══██╔══╝██╔══██╗██╔══██╗████╗░██║██╔════╝██║╚══██╔══╝
//  ██████╦╝██████╔╝███████║╚██╗░██╔╝█████╗░░   ░░░██║░░░██████╔╝███████║██╔██╗██║╚█████╗░██║░░░██║░░░
//  ██╔══██╗██╔══██╗██╔══██║░╚████╔╝░██╔══╝░░   ░░░██║░░░██╔══██╗██╔══██║██║╚████║░╚═══██╗██║░░░██║░░░
//  ██████╦╝██║░░██║██║░░██║░░╚██╔╝░░███████╗   ░░░██║░░░██║░░██║██║░░██║██║░╚███║██████╔╝██║░░░██║░░░
//  ╚═════╝░╚═╝░░╚═╝╚═╝░░╚═╝░░░╚═╝░░░╚══════╝   ░░░╚═╝░░░╚═╝░░╚═╝╚═╝░░╚═╝╚═╝░░╚══╝╚═════╝░╚═╝░░░╚═╝░░░


//  ##############################################################################################
//  ##                                                                                          ##
//  ##   Driver UI                                                                              ##
//  ##                                                                                          ##
//  ##############################################################################################


const lang = {

	// Driver Info UI

	driverInfoTitle: "Routes",
	driverInfoOptions: "Options",
	driverInfoExitRoutes: "Stop active route/s",
	driverInfoExitRoutesButton: "Stop",
	driverInfoRouteAlreadyStartedTitle: "Attention",
	driverInfoRouteAlreadyStartedText: "You cannot start a route here because you have already started a route on another bus.",
	driverInfoRouteAlreadyOtherDriverTitle: "Attention",
	driverInfoRouteAlreadyOtherDriverText: "This bus is already being used by another employee, you cannot start your own route here.",

	// Driver Route selection UI

	driverRoutesTitle: "Routes",
	driverRoutesNoRoutes: "No routes available...",
	driverRoutesNumberStops: "Number of stops :",
	driverRoutesDuration: "Estimated duration :",
	driverRoutesStartRoute: "Start",

	// Driver Manage UI

	driverManageTitle: "Active routes",
	driverManageActiveRoute: "Active routes",
	driverManageNextRoute: "Next route",
	driverManageAddRoute: "Add",
	driverManageQuestionDriveBack: "Add the return route?",

	// Passenger Info UI

	passengerArrivalText: "Arrival :",
	passengerArrivalTextNow: "Now",
	passengerDistanceText: "Distance :",
	passengerDistanceDescription1: "Stop",
	passengerDistanceDescription2: "Stops",
	passengerNoRoutes: "No routes at the moment...",
};


//  ##############################################################################################
//  ##                                                                                          ##
//  ##   Passenger Information Site                                                             ##
//  ##                                                                                          ##
//  ##############################################################################################


const passengerInfos = [ // Add as many information as you want. Just copy and paste one block and change the text ^^
	[
		"Ride for free today",
		[
			"Thanks to generous government funding, passengers can use our buses and trains for free without having to buy a ticket.",
		],
	],
	[
		"Why is there such a big difference between the stated arrival times?",
		[
			"The arrival time in minutes is derived from the number of stops that still have to be travelled. The actual arrival time therefore depends heavily on the distance between the different stops.",
			"Therefore, a rather high arrival time is expected for the 701 and 702, which serve stops in very rural locations. All urban lines can therefore have shorter times.",
		],
	],
	[
		"Why can't I see all departures?",
		[
			"You can only see the departures that pass the exact stop at which you are viewing the departures.",
			"In order to see all exits in all directions, it is also necessary to check the exits on the opposite side of the street. At large bus stations it is therefore necessary to consider all departure points.",
		],
	],
	[
		"Contact",
		[
			"For more information you can contact us at the following number :",
			"Phone number : 000-000",
		],
	],
];
```

{% endcode %}
