Changeset 23bddf3 in python-cinema-club-bot for strings.py


Ignore:
Timestamp:
Oct 10, 2024, 6:20:52 AM (5 weeks ago)
Author:
Mikhail Kirillov <w96k@…>
Branches:
master
Children:
1f94544
Parents:
8d2d5ac
Message:

Task #10. /announce command

File:
1 edited

Legend:

Unmodified
Added
Removed
  • strings.py

    r8d2d5ac r23bddf3  
    2121MOVIE_SET = "Movie \"{title}\" proposed by {user} is succesfully set as next to watch"
    2222MOVIES_LIST = "\"{title}\" IMDB:{id} by {user} \n"
    23 NO_MOVIES = "No movies"
     23NO_MOVIES = "No movies.  You can add movie if you are next to choose (see /next). Too add a movie use /movie <imdb_id>"
    2424
    2525USER_NOT_FOUND = "Provided user ({user}) not found. Check /list"
     
    2828ADD_MORE_USERS = "There is no users added. You can add people who can choose movies using /add nickname"
    2929NEXT_MOVIE_USER = "Next movie choice is up to {user}"
     30NEXT_MOVIE = " and they have choosen to watch \"{movie}\""
    3031
    3132USER_ADD = "User {user} has been added"
     
    4142/event 1.08.2024/18:00 <where>
    4243"""
    43 EVENT_CANT_BE_IN_PAST = "Event can't happen in the past. You set {when}, but today is {today}"
     44EVENT_CANT_BE_IN_PAST = "Event can't happen in the past. You set {when}, but now is {today}"
    4445EVENT_ARGS_NOT_PROVIDED = """
    4546Event commands need arguments provided:
     
    5354"""
    5455
    55 EVENT_CREATED = "Event at {when} was created"
    56 EVENT_EDITED = "Event at {when} was modified"
     56EVENT_CREATED = "Event \"{movie}\" at {when} was created"
     57EVENT_EDITED = "Event \"{movie}\" at {old_when} in {old_where} was modified to {when} in {where}"
    5758EVENTS_LIST = "[{finished}] \"{movie}\" by {user} at {when} in {where}\n"
    5859EVENT_MOVIE_NOT_CHOOSEN = "You should choose a film first using /movie <imdb_id>"
    5960EVENT_MOVIE_NOT_SET = "<None>"
    6061EVENT_USER_HAD_EVENT = "User {user} have already finished event, so he can't choose twice. See /next or /list"
    61 NO_EVENTS = "No events"
     62NO_EVENTS = "No events."
    6263
    6364UNDEFINED_ERROR = "Exception: something unexpected happened. Check the logs."
     65
     66ANNOUNCEMENT_FINISHED_EVENT = "There is no planned events. Create one using /event <when> <where>"
     67ANNOUNCEMENT_TEMPLATE = """
     68{intro}
     69
     70Movie: {movie_title}
     71Choosen by: @{user}
     72Runtime: {movie_runtime} minutes
     73
     74When: {when}
     75Where: {where}
     76
     77Rating: {rating}
     78Genres: {genres}
     79
     80https://imdb.com/title/tt{movie_id}/
     81"""
     82
     83ABOUT = """
     84v{version} #{commit}
     85
     86python-cinema-club-bot is a bot for Telegram specialized for managing cinema club activities. This software is released as Public Domain using CC0 license.
     87
     88Project information: http://57.129.46.169/trac/wiki/python-cinema-club-bot
     89Source code: http://57.129.46.169/cgit/python-cinema-club-bot/
     90
     91Contributed in 2024 by Mikhail Kirillov (~w96k) <w96k@runbox.com>
     92
     93To 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.
     94
     95You 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/>
     96    """
Note: See TracChangeset for help on using the changeset viewer.