Lots of new strings for locale
This commit is contained in:
@@ -66,6 +66,7 @@
|
|||||||
"InvalidItem": "Item not found!",
|
"InvalidItem": "Item not found!",
|
||||||
"InvalidItemType": "Item type not found!",
|
"InvalidItemType": "Item type not found!",
|
||||||
"InvalidRadioStation": "Radio station not found!",
|
"InvalidRadioStation": "Radio station not found!",
|
||||||
|
"InvalidGate": "Gate not found!",
|
||||||
"EntersProperty": "opens the door and enters the {1}",
|
"EntersProperty": "opens the door and enters the {1}",
|
||||||
"ExitsProperty": "opens the door and exits the {1}",
|
"ExitsProperty": "opens the door and exits the {1}",
|
||||||
"EnterExitPropertyDoorLocked": "tries to open the {1} door but fails because it's locked",
|
"EnterExitPropertyDoorLocked": "tries to open the {1} door but fails because it's locked",
|
||||||
@@ -131,6 +132,17 @@
|
|||||||
"CantTakeItemInSkinChange": "You can't take an item while customizing your appearance",
|
"CantTakeItemInSkinChange": "You can't take an item while customizing your appearance",
|
||||||
"ItemUnequippableNoAmmo": "The {1} in slot {2} has no ammo, and can't be equipped!",
|
"ItemUnequippableNoAmmo": "The {1} in slot {2} has no ammo, and can't be equipped!",
|
||||||
"NoSpaceSelfInventory": "You don't have any more space in your inventory",
|
"NoSpaceSelfInventory": "You don't have any more space in your inventory",
|
||||||
|
"Business": "business",
|
||||||
|
"House": "house",
|
||||||
|
"Clan": "clan",
|
||||||
|
"Vehicle": "vehicle",
|
||||||
|
"Item": "item",
|
||||||
|
"ItemType": "item type",
|
||||||
|
"Gate": "gate",
|
||||||
|
"Door": "door",
|
||||||
|
"ClanRank": "clan rank",
|
||||||
|
"JobRank": "job rank",
|
||||||
|
"RadioStation": "radio station",
|
||||||
"Months": [
|
"Months": [
|
||||||
"January",
|
"January",
|
||||||
"February",
|
"February",
|
||||||
@@ -199,5 +211,117 @@
|
|||||||
"TakeItemFromVehicleTrunk": "takes a {1} from the trunk",
|
"TakeItemFromVehicleTrunk": "takes a {1} from the trunk",
|
||||||
"TakeItemFromVehicleDash": "takes a {1} from the glove compartment",
|
"TakeItemFromVehicleDash": "takes a {1} from the glove compartment",
|
||||||
"JobEquipmentInventoryKeyBindTip": "The job equipment is in your inventory. Press {1} to see them.",
|
"JobEquipmentInventoryKeyBindTip": "The job equipment is in your inventory. Press {1} to see them.",
|
||||||
"JobEquipmentInventoryCommandTip": "The job equipment is in your inventory. Use {1} to see them."
|
"JobEquipmentInventoryCommandTip": "The job equipment is in your inventory. Use {1} to see them.",
|
||||||
|
"AccountHelp": [
|
||||||
|
"Do NOT share your password with anybody else. {1} staff will never ask you for your password",
|
||||||
|
"Use {1} to change your password, and {2} if you forgot it",
|
||||||
|
"Some settings you can use: {1}"
|
||||||
|
],
|
||||||
|
"VehicleHelp": [
|
||||||
|
"Your personal vehicles will save wherever you or somebody else leaves them!",
|
||||||
|
"Visit dealerships to buy new vehicles (Use {1} for more information)",
|
||||||
|
"Some commands: {1}",
|
||||||
|
"Visit a mechanic garage to repair, colour, and tune up your car! {1} for info"
|
||||||
|
],
|
||||||
|
"VehicleDealershipHelp": [
|
||||||
|
"Visit a vehicle dealer to buy new vehicles. Use {1} to find one.",
|
||||||
|
"At the dealer, enter a car you want to buy, and the price will be shown to you",
|
||||||
|
"If you want to buy the vehicle, use {1} and you will be given keys to test drive it around the parking lot.",
|
||||||
|
"Drive away from the dealership with the new vehicle to confirm the purchase."
|
||||||
|
],
|
||||||
|
"JobHelp": [
|
||||||
|
"Visit job locations get a job and earn money. Look for yellow spots on the map",
|
||||||
|
"At a job location, use {1} to get the job. Use {2} to quit your job",
|
||||||
|
"Use {1} to begin working. You can also get a job {2} and {3}",
|
||||||
|
"Most job vehicles are locked. Use {1} near one to enter it.",
|
||||||
|
"When entering a job vehicle, information on how to do the job will be shown to you."
|
||||||
|
],
|
||||||
|
"ChatHelp": [
|
||||||
|
"There are two main types of chat: out-of-character (OOC) and in-character (IC)",
|
||||||
|
"Mixing these two types is not proper roleplay. See {1} for info.",
|
||||||
|
"Some chat commands: {1}",
|
||||||
|
"Some have shorter names available ({1} to talk, {2} to shout, etc)"
|
||||||
|
],
|
||||||
|
"ServerRulesHelp": [
|
||||||
|
"Unrealistic actions (powergaming) are not allowed. You aren't superman.",
|
||||||
|
"No terrorist or terrorism roleplay is allowed.",
|
||||||
|
"Always follow instructions given by moderators and admins.",
|
||||||
|
"Do not mix the chats (metagaming). You can't use info in IC that was received OOC",
|
||||||
|
"Keep English in main chats. If you aren't good at English, use {1}"
|
||||||
|
],
|
||||||
|
"AnimationHelp": [
|
||||||
|
"Animations allow you to enhance roleplay with visual actions",
|
||||||
|
"Use {1} or {2} with a name to use an animation.",
|
||||||
|
"To see a list of animations, use {1}"
|
||||||
|
],
|
||||||
|
"WeaponHelp": [
|
||||||
|
"Visit an gun store to buy weapons. Use {1} to find one.",
|
||||||
|
"Buying a weapon requires a weapon license.",
|
||||||
|
"Weapon licenses are managed by the police department. Apply there to get one.",
|
||||||
|
"Weapons can also be purchased illegally from some businesses, weapon dealers, and clans."
|
||||||
|
],
|
||||||
|
"SkinHelp": [
|
||||||
|
"At a clothing store, use {1} to purchase clothes",
|
||||||
|
"When you have a clothing item, equip and use it like any other item to show the skin selection (check {1} to learn how to use items)",
|
||||||
|
"Some skins are restricted to jobs, clans, or for other reasons."
|
||||||
|
],
|
||||||
|
"KeyBindHelp": [
|
||||||
|
"You can set your own key binds. Use {1} to see your binded keys.",
|
||||||
|
"Use {1} to add a new keybind and /unbindkey to remove one.",
|
||||||
|
"Default keys are: {1} for vehicle engine, {1} for lights, and {3} for lock/unlock",
|
||||||
|
"Press {1} to see your items and {2} to equip an item or {3} to equip none.",
|
||||||
|
"Press {1}U {MAINCOLOUR}to use the item you're holding, press {2} to drop it, or press {3}to pickup an item from the ground."
|
||||||
|
],
|
||||||
|
"BusinessHelp": [
|
||||||
|
"Use {1} to purchase items or {2} to see a list of what's for sale at any business",
|
||||||
|
"Businesses are shown with blue names above the icon at their entrance.",
|
||||||
|
"Business owner commands: {1}",
|
||||||
|
"A new car for sale will appear when you drive away from the dealer."
|
||||||
|
],
|
||||||
|
"ClanHelp": [
|
||||||
|
"Ask an administrator to create a clan (Similar to factions/groups/families)",
|
||||||
|
"Clan owners have full control over their clan once it's created",
|
||||||
|
"Clan commands: {1}",
|
||||||
|
"More clan commands: {1}"
|
||||||
|
],
|
||||||
|
"RadioStationHelp": [
|
||||||
|
"Use {1} to set the station for your vehicle, house, or business",
|
||||||
|
"Use {2} to see a list of stations",
|
||||||
|
"You can change your radio streaming volume using {1} with 0-100 as the percent"
|
||||||
|
],
|
||||||
|
"WealthAndTaxHelp": [
|
||||||
|
"Your taxes on payday are {1} percent of your calculated wealth.",
|
||||||
|
"Your calculated wealth is a total sum based on how many vehicles, houses, and businesses you have.",
|
||||||
|
"Each vehicle is {1}, each house is {2}, and each business is {3}",
|
||||||
|
"Use {1} to see your current wealth, and {2} to see how much you'll pay in tax each payday"
|
||||||
|
],
|
||||||
|
"MustBeInAVehicle": "You need to be in a vehicle!",
|
||||||
|
"MustBeInOrNearVehicle": "You need to be in or near a vehicle!",
|
||||||
|
"MustBeInVehicleFrontSeat": "You need to be in the vehicle front seats!",
|
||||||
|
"MustBeInVehicleDriverSeat": "You need to be the driver!",
|
||||||
|
"DontHaveVehicleKey": "You don't have a key for this vehicle!",
|
||||||
|
"NoGateAccess": "You don't have access to this gate!",
|
||||||
|
"GateBroken": "This gate is broken!",
|
||||||
|
"GateHacked": "The gate does not respond!",
|
||||||
|
"RadioJammed": "You hear only static from the radio.",
|
||||||
|
"VehicleNotForSale": "This vehicle is not for sale!",
|
||||||
|
"VehicleNotForRent": "This vehicle is not for rent!",
|
||||||
|
"BusinessNotForSale": "This business is not for sale!",
|
||||||
|
"BusinessNotForRent": "This business is not for rent!",
|
||||||
|
"HouseNotForSale": "This house is not for sale!",
|
||||||
|
"HouseNotForRent": "This house is not for rent!",
|
||||||
|
"DealershipPurchaseTestDrive": "Drive the vehicle away from the dealership to buy it, or get out to cancel.",
|
||||||
|
"DealershipPurchaseExitedVehicle": "You canceled the vehicle purchase by exiting the vehicle!",
|
||||||
|
"VehiclePurchaseComplete": "This vehicle is now yours! It will save wherever you leave it.",
|
||||||
|
"VehiclePurchaseNotEnoughMoney": "You don't have enough money to buy this vehicle!",
|
||||||
|
"HousePurchaseNotEnoughMoney": "You don't have enough money to buy this house!",
|
||||||
|
"BusinessPurchaseNotEnoughMoney": "You don't have enough money to buy this house!",
|
||||||
|
"Locales": {
|
||||||
|
"English": "English",
|
||||||
|
"Russian": "Russian",
|
||||||
|
"Spanish": "Spanish",
|
||||||
|
"German": "German",
|
||||||
|
"Dutch": "Dutch",
|
||||||
|
"Ukrainian": "Ukrainian"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -230,13 +230,19 @@ function clearChatBox(client) {
|
|||||||
|
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
|
||||||
function replaceEmojiIntoString(message) {
|
function replaceEmojiIntoString(messageString) {
|
||||||
for(let i in emojiReplaceString) {
|
for(let i in emojiReplaceString) {
|
||||||
while(message.indexOf(emojiReplaceString[i][0]) != -1) {
|
while(messageString.indexOf(emojiReplaceString[i][0]) != -1) {
|
||||||
message = message.replace(emojiReplaceString[i][0], emojiReplaceString[i][1]);
|
messageString = messageString.replace(emojiReplaceString[i][0], emojiReplaceString[i][1]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return message;
|
return messageString;
|
||||||
|
}
|
||||||
|
|
||||||
|
// ===========================================================================
|
||||||
|
|
||||||
|
function messagePlayerHelpContent(client, messageString) {
|
||||||
|
messagePlayerNormal(client, `{clanOrange}• {MAINCOLOUR}${messageString}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
Reference in New Issue
Block a user