You've already forked Travel-Agent
feat: Added notes creation, view and deletion, added route planning, added location list with current weather and nearby locations, code improvements and fixes
This commit is contained in:
+34
-4
@@ -1,18 +1,48 @@
|
||||
# flake8: noqa
|
||||
|
||||
MENU = "<b>Menu:</b>"
|
||||
|
||||
NOTES = "📝 <b>Notes:</b>\n"
|
||||
NOTE_DETAIL = "📝 <b>Note detail:</b>\n\n\tFile name: <b>{file_name}</b>\n\tFile type: <b>{file_type}</b>\n\tPublic: <b>{public}</b>"
|
||||
NOTE_ADDED = "✅ Note <b>{file_name}</b> added successfully."
|
||||
NOTE_DELETED = "❌ Note <b>{file_name}</b> deleted."
|
||||
LOCATIONS = "🗺️ <b>Locations:</b>"
|
||||
LOCATION_DELETED = "❌ Location deleted."
|
||||
LOCATION_DETAIL = (
|
||||
"🗺️ <b>Location detail:</b>\n\n"
|
||||
"\t<b>Location:</b> {location}\n"
|
||||
"\t<b>Date start:</b> {date_start}\n"
|
||||
"\t<b>Date end:</b> {date_end}"
|
||||
)
|
||||
LOCATION_WEATHER = (
|
||||
"🌤️ <b>{location} weather:</b>\n\n"
|
||||
"\t<b>☁️ Weather:</b> {weather_main}\n"
|
||||
"\t<b>🌡️ Current tempurature:</b> {temp} °C\n"
|
||||
"\t<b>🤗 Feels like:</b> {feels_like} °C\n"
|
||||
"\t<b>❄️ Min. tempurature:</b> {temp_min} °C\n"
|
||||
"\t<b>🔥 Max. tempurature:</b> {temp_max} °C\n"
|
||||
"\t<b>⬇️ Pressure:</b> {pressure} hektopascals\n"
|
||||
"\t<b>💨 Humidity:</b> {humidity}%\n"
|
||||
)
|
||||
SIGHTS_HEADER = "🗺️ <b>Sights:</b>\n"
|
||||
SIGHTS_FOOTER = "Found {sights_count} sights within {distance} m from: <b>{location}</b>."
|
||||
NO_SIGHTS_FOUND = (
|
||||
"No sights found within {distance} m from: <b>{location}</b>."
|
||||
)
|
||||
SIGHT_DETAIL = "🗺️ <b>Sight detail:</b>\n\n"
|
||||
CREATE_LOCATION = "✈️ Lets create new location!"
|
||||
ENTER_LOCATION = "Enter location:"
|
||||
ENTER_LOCATION = "Enter location:\n<i>Format: country, city, ... etc</i>\n<i>Example: Kremlin, Moscow, Russia</i>\n<i>Enter /cancel to cancel creating.</i>"
|
||||
CONFIRM_LOCATION = "Is this location correct: <b>{location}</b>?"
|
||||
CONFIRMATION_REEJECTED = (
|
||||
"❌ Confirmation rejected. Please re-enter the location."
|
||||
)
|
||||
OVERLAPPING_LOCATION = "Dates overlap with another location in the same travel(enter /cancel if you cant fix this)."
|
||||
ENTER_LOCATION_DATE_START = "Enter location start datetime(in UTC) in this format:\n<i>Format: YYYY-MM-DD HH:MM</i>\n<i>Example: 2022-01-01 00:00</i>"
|
||||
ENTER_LOCATION_DATE_END = "Enter location end datetime(in UTC) in this format:\n<i>Format: YYYY-MM-DD HH:MM</i>\n<i>Example: 2022-01-01 00:00</i>"
|
||||
INVALID_DATE_END = "End date can't be earlier or equal to start date."
|
||||
LOCATION_ADDED = "✅ Location added"
|
||||
|
||||
ADD_NOTE = "✏️ Send me file or photo to add note.\n<i>Enter /cancel to cancel creating.</i>"
|
||||
|
||||
DELETED_TRAVEL = "✅ Travel deleted"
|
||||
TRAVELS = "📃 <b>Travels:</b>\n<i>👑 - owner</i>"
|
||||
NO_TRAVELS = "No travels yet. You can create one with /create_travel command."
|
||||
@@ -47,7 +77,7 @@ HELP_MESSAGE = (
|
||||
"/help - Show this message\n"
|
||||
"/menu - Show the main menu\n"
|
||||
"/profile - View and edit your profile\n"
|
||||
"/create_travel - Create new travel\n"
|
||||
"/create_travel - Create a new travel\n"
|
||||
"/travels - View and edit your travels\n"
|
||||
"/cancel - Cancel the current action\n\n"
|
||||
"❓ If you have any questions/issues, feel free to contact us via @itq_travel_agent_support_bot on Telegram."
|
||||
@@ -78,7 +108,7 @@ PROFILE = (
|
||||
NOT_SET = "<i>Not set</i>"
|
||||
EDIT_USERNAME = "Enter your username:\n<i>Allowed characters: a-z, A-Z, 0-9, _</i>\n<i>Length: 5-20 characters</i>"
|
||||
EDIT_BIO = "Enter your bio (enter /skip if you want to set it to None):\n<i>Maximum length: 100 characters</i>"
|
||||
PROFILE_UPDATED = "✅ Profile updated"
|
||||
PROFILE_UPDATED = "✅ Profile {key} updated\n\t<i>Old value: {old_value}</i>\n\t<i>New value: {new_value}</i>"
|
||||
CHANGE_CANCELED = "❌ Change canceled"
|
||||
|
||||
PROCCESSING = "⌛️ Processing..."
|
||||
|
||||
Reference in New Issue
Block a user