2025-04-05 22:25:06 +00:00

61 lines
2.8 KiB
Lua

local Translations = {
weather = {
now_frozen = 'Weather is now frozen.',
now_unfrozen = 'Weather is no longer frozen.',
invalid_syntax = 'Invalid syntax, correct syntax is: /weather <weathertype> ',
invalid_syntaxc = 'Invalid syntax, use /weather <weatherType> instead!',
updated = 'Weather has been updated.',
invalid = 'Invalid weather type, valid weather types are: \nEXTRASUNNY CLEAR NEUTRAL SMOG FOGGY OVERCAST CLOUDS CLEARING RAIN THUNDER SNOW BLIZZARD SNOWLIGHT XMAS HALLOWEEN ',
invalidc = 'Invalid weather type, valid weather types are: \nEXTRASUNNY CLEAR NEUTRAL SMOG FOGGY OVERCAST CLOUDS CLEARING RAIN THUNDER SNOW BLIZZARD SNOWLIGHT XMAS HALLOWEEN ',
willchangeto = 'Weather will change to: %{value}.',
accessdenied = 'Access for command /weather denied.',
},
dynamic_weather = {
disabled = 'Dynamic weather changes are now disabled.',
enabled = 'Dynamic weather changes are now enabled.',
},
time = {
frozenc = 'Time is now frozen.',
unfrozenc = 'Time is no longer frozen.',
now_frozen = 'Time is now frozen.',
now_unfrozen = 'Time is no longer frozen.',
morning = 'Time set to morning.',
noon = 'Time set to noon.',
evening = 'Time set to evening.',
night = 'Time set to night.',
change = 'Time has changed to %{value}:%{value2}.',
changec = 'Time was changed to: %{value}!',
invalid = 'Invalid syntax, correct syntax is: time <hour> <minute> !',
invalidc = 'Invalid syntax. Use /time <hour> <minute> instead!',
access = 'Access for command /time denied.',
},
blackout = {
enabled = 'Blackout is now enabled.',
enabledc = 'Blackout is now enabled.',
disabled = 'Blackout is now disabled.',
disabledc = 'Blackout is now disabled.',
},
help = {
weathercommand = 'Change the weather.',
weathertype = 'weathertype',
availableweather = 'Available types: extrasunny, clear, neutral, smog, foggy, overcast, clouds, clearing, rain, thunder, snow, blizzard, snowlight, xmas & halloween',
timecommand = 'Change the time.',
timehname = 'hours',
timemname = 'minutes',
timeh = 'A number between 0 - 23',
timem = 'A number between 0 - 59',
freezecommand = 'Freeze / unfreeze time.',
freezeweathercommand = 'Enable/disable dynamic weather changes.',
morningcommand = 'Set the time to 09:00',
nooncommand = 'Set the time to 12:00',
eveningcommand = 'Set the time to 18:00',
nightcommand = 'Set the time to 23:00',
blackoutcommand = 'Toggle blackout mode.',
},
}
Lang = Lang or Locale:new({
phrases = Translations,
warnOnMissing = true
})