91 lines
		
	
	
	
		
			3.4 KiB
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			91 lines
		
	
	
	
		
			3.4 KiB
		
	
	
	
		
			Lua
		
	
	
	
	
	
| lang = {}
 | |
| --  lang:get("noti_stop_working")
 | |
| lang.translations = {
 | |
|     gg = "[WARN] Placeholder Text Form: %s", -- Placeholder Text Ignore
 | |
| 
 | |
|     noti_nomoney = 'You can not afford this',
 | |
|     noti_mark_loc = 'Mark Where you Want to Go on GPS',
 | |
|     noti_couldnt_afford = 'Could not afford rental.',
 | |
|     noti_route_started = 'Route Already Started',
 | |
|     noti_veh_desp = 'Vehicle despawned',
 | |
|     noti_loc_found = 'Rider has paid fare, go to location to recieve compensation',
 | |
|     noti_rider_nomoney = 'Rider cannot afford trip',
 | |
|     noti_rider_left = 'Rider left vehicle.',
 | |
|     noti_rider_not_mark_gps = 'Rider did not mark a location to go to.',
 | |
|     noti_rider_cancel = 'Rider left vehicle ride cancelled.',
 | |
|     noti_route_earned = 'Finshed Route Earned: $%s',
 | |
|     noti_stop_working = 'You are no longer working as a taxi driver.',
 | |
|     noti_vehicle_distance = 'Your vehicle is too far away to return.',
 | |
|     noti_error_jobstarted = 'You already started a route. Finish job to give ride to player.',
 | |
|     noti_error_cooldown = 'Slow Down You are on Cooldown',
 | |
| 
 | |
|     alert_ride_confirm_header = 'Taxi Fare Fee',
 | |
|     alert_ride_confirm_content = 'Cost Of this Ride will be $%s. Do you want to continue with ride?',
 | |
| 
 | |
|     nav_overview = 'Overview',
 | |
|     nav_progress = 'Progress',
 | |
|     nav_vehicles = 'Vehicles',
 | |
|     nav_challenges = 'Challenges',
 | |
| }
 | |
| 
 | |
| lang.ui_translations = {
 | |
|         -- Utility
 | |
|     util_close_btn = 'Close',
 | |
|     util_esc_btn = 'ESC',
 | |
|     util_xp = 'XP',
 | |
| 
 | |
|     -- Overview
 | |
|     overview_level_progress = 'Progress to Next Level',
 | |
|     overview_daily_earnings = 'Daily Earnings',
 | |
|     overview_total_rides = 'Total Rides Today',
 | |
|     overview_claim_reward_rides_title = 'Rides To Reward',
 | |
|     overview_claim_reward_title = 'Claim Reward',
 | |
|     overview_claim_reward_desc = 'Click The Present at Top Left',
 | |
|     overview_claim_reward_title2 = 'Reward Claimed',
 | |
|     overview_claim_reward_desc2 = 'Enjoy your reward!',
 | |
|     overview_working_title_start = 'Start Working',
 | |
|     overview_working_title_stop = 'Stop Working',
 | |
|     overview_working_desc_start = 'To start working, rent a vehicle from the vehicles page.',
 | |
|     overview_working_desc_stop = 'Return your vehicle to stop working.',
 | |
|     overview_working_btn_start = 'Rent Vehicle',
 | |
|     overview_working_btn_stop = 'Return Vehicle',
 | |
| 
 | |
|     -- Challenges
 | |
|     challenges_unlocks_at = 'Unlocks At Level',
 | |
|     challenges_maxed = 'Maxed Stage',
 | |
|     challenges_stage = 'Stage:',
 | |
|     challenges_claim_reward = 'Claim Rewards',
 | |
| 
 | |
|     -- Progress
 | |
|     progress_current_level = 'Current Level Progress',
 | |
|     progress_level = 'Level:',
 | |
|     progress_money_bonus = 'Experience Bonus',
 | |
|     progress_money_bonus2 = 'Bonus Experience',
 | |
|     progress_exp_bonus = 'Money Bonus',
 | |
|     progress_exp_bonus2 = 'Bonus Money',
 | |
|     progress_new_unlocks = 'New Unlocks',
 | |
| 
 | |
|     -- Vehicles
 | |
|     vehicles_rent = 'Rent',
 | |
|     vehicles_required_lvl = 'Requires Level:',
 | |
| 
 | |
|     -- Popup
 | |
|     popup_view_calls = 'to view Taxi Calls',
 | |
|     popup_countdown = 'seconds until vehicle despawns',
 | |
|     popup_meter_fare = 'Fare:',
 | |
|     popup_meter_distance = 'Distance:',
 | |
|     popup_meter_progress = 'Progress:',
 | |
| 
 | |
|     -- Side Menu
 | |
|     sidemenu_header = 'Taxi Calls',
 | |
|     sidemenu_start_route = 'Start Route',
 | |
| }
 | |
| 
 | |
| -- IGNORE CODE BELOW
 | |
| function lang:get(key, ...)
 | |
|     local translation = self.translations[key]
 | |
|     if not translation then
 | |
|         return "Translation not found for key: " .. key
 | |
|     end
 | |
|     return string.format(translation, ...)
 | |
| end
 | 
