Merge pull request #1482 from BlauFeuer/develop
Text corrections in comments and strings
This commit is contained in:
commit
4a219e1360
6 changed files with 7 additions and 7 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
# Sept 2017:
|
# Sept 2017:
|
||||||
Release of Evennia 0.7; upgrade to Django 1.11, change 'Player' to
|
Release of Evennia 0.7; upgrade to Django 1.11, change 'Player' to
|
||||||
'Account', rework the website template and a slew of other updates.
|
'Account', rework the website template and a slew of other updates.
|
||||||
Info on what changed and how to migrat is found here:
|
Info on what changed and how to migrate is found here:
|
||||||
https://groups.google.com/forum/#!msg/evennia/0JYYNGY-NfE/cDFaIwmPBAAJ
|
https://groups.google.com/forum/#!msg/evennia/0JYYNGY-NfE/cDFaIwmPBAAJ
|
||||||
|
|
||||||
## Feb 2017:
|
## Feb 2017:
|
||||||
|
|
|
||||||
|
|
@ -761,7 +761,7 @@ class DefaultAccount(with_metaclass(TypeclassBase, AccountDB)):
|
||||||
elif _MULTISESSION_MODE in (2, 3):
|
elif _MULTISESSION_MODE in (2, 3):
|
||||||
# In this mode we by default end up at a character selection
|
# In this mode we by default end up at a character selection
|
||||||
# screen. We execute look on the account.
|
# screen. We execute look on the account.
|
||||||
# we make sure to clean up the _playable_characers list in case
|
# we make sure to clean up the _playable_characters list in case
|
||||||
# any was deleted in the interim.
|
# any was deleted in the interim.
|
||||||
self.db._playable_characters = [char for char in self.db._playable_characters if char]
|
self.db._playable_characters = [char for char in self.db._playable_characters if char]
|
||||||
self.msg(self.at_look(target=self.db._playable_characters,
|
self.msg(self.at_look(target=self.db._playable_characters,
|
||||||
|
|
|
||||||
|
|
@ -168,7 +168,7 @@ class CmdCharCreate(COMMAND_DEFAULT_CLASS):
|
||||||
if desc:
|
if desc:
|
||||||
new_character.db.desc = desc
|
new_character.db.desc = desc
|
||||||
elif not new_character.db.desc:
|
elif not new_character.db.desc:
|
||||||
new_character.db.desc = "This is an Account."
|
new_character.db.desc = "This is a character."
|
||||||
self.msg("Created new character %s. Use |w@ic %s|n to enter the game as this character."
|
self.msg("Created new character %s. Use |w@ic %s|n to enter the game as this character."
|
||||||
% (new_character.key, new_character.key))
|
% (new_character.key, new_character.key))
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -293,7 +293,7 @@ class CmdUnconnectedCreate(COMMAND_DEFAULT_CLASS):
|
||||||
session.msg(string)
|
session.msg(string)
|
||||||
return
|
return
|
||||||
if not re.findall(r"^[\w. @+\-']+$", password) or not (3 < len(password)):
|
if not re.findall(r"^[\w. @+\-']+$", password) or not (3 < len(password)):
|
||||||
string = "\n\r Password should be longer than 3 characers. Letters, spaces, digits and @/./+/-/_/' only." \
|
string = "\n\r Password should be longer than 3 characters. Letters, spaces, digits and @/./+/-/_/' only." \
|
||||||
"\nFor best security, make it longer than 8 characters. You can also use a phrase of" \
|
"\nFor best security, make it longer than 8 characters. You can also use a phrase of" \
|
||||||
"\nmany words if you enclose the password in double quotes."
|
"\nmany words if you enclose the password in double quotes."
|
||||||
session.msg(string)
|
session.msg(string)
|
||||||
|
|
@ -557,7 +557,7 @@ def _create_character(session, new_account, typeclass, home, permissions):
|
||||||
|
|
||||||
# If no description is set, set a default description
|
# If no description is set, set a default description
|
||||||
if not new_character.db.desc:
|
if not new_character.db.desc:
|
||||||
new_character.db.desc = "This is an Account."
|
new_character.db.desc = "This is a character."
|
||||||
# We need to set this to have @ic auto-connect to this character
|
# We need to set this to have @ic auto-connect to this character
|
||||||
new_account.db._last_puppet = new_character
|
new_account.db._last_puppet = new_character
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|
|
||||||
|
|
@ -197,7 +197,7 @@ class CmdUnconnectedCreate(MuxCommand):
|
||||||
session.msg(string)
|
session.msg(string)
|
||||||
return
|
return
|
||||||
if not re.findall(r"^[\w. @+\-']+$", password) or not (3 < len(password)):
|
if not re.findall(r"^[\w. @+\-']+$", password) or not (3 < len(password)):
|
||||||
string = "\n\r Password should be longer than 3 characers. Letters, spaces, digits and @/./+/-/_/' only." \
|
string = "\n\r Password should be longer than 3 characters. Letters, spaces, digits and @/./+/-/_/' only." \
|
||||||
"\nFor best security, make it longer than 8 characters. You can also use a phrase of" \
|
"\nFor best security, make it longer than 8 characters. You can also use a phrase of" \
|
||||||
"\nmany words if you enclose the password in double quotes."
|
"\nmany words if you enclose the password in double quotes."
|
||||||
session.msg(string)
|
session.msg(string)
|
||||||
|
|
|
||||||
|
|
@ -174,7 +174,7 @@ def _batch_create_object(*objparams):
|
||||||
objects (list): A list of created objects
|
objects (list): A list of created objects
|
||||||
|
|
||||||
Notes:
|
Notes:
|
||||||
The `exec` list will execute arbitrary python code so don't allow this to be availble to
|
The `exec` list will execute arbitrary python code so don't allow this to be available to
|
||||||
unprivileged users!
|
unprivileged users!
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue