summaryrefslogtreecommitdiff
path: root/strings.py
blob: 53059ed12a97c3dddd01d34bf0282f3aaba77c83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# This file is part of python-cinema-club-bot
# contributed in 2024 by Mikhail Kirillov (~w96k) <w96k@runbox.com>

# To the extent possible under law, the author(s) have dedicated all copyright
# and related and neighboring rights to this software to the public domain
# worldwide. This software is distributed without any warranty.

# You should have received a copy of the CC0 Public Domain Dedication along
# with this software. If not, see:
# <http://creativecommons.org/publicdomain/zero/1.0/>

INVALID_COMMAND = "Invalid command. Available commands: /add /list /remove /chooser /about"

MOVIE_ANOTHER_USER = "Movie should choose another user ({user})"
MOVIE_NOT_PROVIDED = "Movie IMDB id is not provided. Use /movie <imdb_id>"
MOVIE_NOT_FOUND = "Movie not found on IMDB"
EXPECTED_ONE_MOVIE = "Expected only one movie"
FETCHING_MOVIE = "Movie with ID {id} is being fetched: https://imdb.com/title/tt{id}/"
FETCHING_ERROR = "Couldn't fetch movie or it is not found. Provide IMDB id, for example: 0133093"
MOVIE_REMOVE = "Movie \"{title}\" with id {id} has been removed"
MOVIE_SET = "Movie \"{title}\" proposed by {user} is succesfully set as next to watch"
MOVIES_LIST = "\"{title}\" IMDB:{id} by {user} \n"
NO_MOVIES = "No movies"

USER_NOT_FOUND = "Provided user ({user}) not found. Check /list"
USER_NOT_PROVIDED = "User(s) is not provided"
EXPECTED_ONE_USER = "Expected only one user"
ADD_MORE_USERS = "There is no users added. You can add people who can choose movies using /add nickname"
NEXT_MOVIE_USER = "Next movie choice is up to {user}"

USER_ADD = "User {user} has been added"
USERS_ADDED = "Users have been added successfully. Use /list to view."
USER_REMOVE = "User {user} has been removed. Use /list to view."
USERS_REMOVED = "Users has been removed"
USER_SET = "Users have been set successfully. Use /list to view."
USER_CHOOSE = "Next movie should choose: {user}"
NO_USERS = "No user added. You can add users by /add <nickname1> <nickname2>"

EVENT_INVALID_DATETIME = """
Can't parse provided datetime. It should comply template like this:
/event 1.08.2024/18:00 <where>
"""
EVENT_CANT_BE_IN_PAST = "Event can't happen in the past. You set {when}, but today is {today}"
EVENT_ARGS_NOT_PROVIDED = """
Event commands need arguments provided:
/event <when> <where>
/event 1.08.2024/18:00 84 Erevan Str 1st entrance 7 floor 451 apartment
"""
EVENT_WHERE_NOT_PROVIDED = """
Second <where> argument is not provided and previous event doesn't has it.
/event <when> <where>
/event 1.08.2024/18:00 84 Erevan Str 1st entrance 7 floor 451 apartment
"""

EVENT_CREATED = "Event at {when} was created"
EVENT_EDITED = "Event at {when} was modified"
EVENTS_LIST = "[{finished}] \"{movie}\" by {user} at {when} in {where}\n"
EVENT_MOVIE_NOT_CHOOSEN = "You should choose a film first using /movie <imdb_id>"
EVENT_MOVIE_NOT_SET = "<None>"
EVENT_USER_HAD_EVENT = "User {user} have already finished event, so he can't choose twice. See /next or /list"
NO_EVENTS = "No events"

UNDEFINED_ERROR = "Exception: something unexpected happened. Check the logs."