forked from github/server
Merge branch 'develop' of https://github.com/ennorehling/eressea into develop
This commit is contained in:
commit
c27975f01b
1 changed files with 5 additions and 0 deletions
|
@ -52,6 +52,9 @@ messages = {
|
||||||
"validate-en": "Validating",
|
"validate-en": "Validating",
|
||||||
"validate-de": "Verarbeite",
|
"validate-de": "Verarbeite",
|
||||||
|
|
||||||
|
"noorders-en": "The email contained no recognizable orders.",
|
||||||
|
"noorders-de": "Es konnten keine Befehle gefunden werden.",
|
||||||
|
|
||||||
"faction-en": "Faction",
|
"faction-en": "Faction",
|
||||||
"faction-de": "Partei",
|
"faction-de": "Partei",
|
||||||
|
|
||||||
|
@ -183,6 +186,8 @@ for line in lines:
|
||||||
logfile = open(os.path.join(game_dir, "zug.log"), "a")
|
logfile = open(os.path.join(game_dir, "zug.log"), "a")
|
||||||
dirname, filename = split_filename(infile)
|
dirname, filename = split_filename(infile)
|
||||||
msg = messages["validate-"+locale] + " " + infile + "\n\n"
|
msg = messages["validate-"+locale] + " " + infile + "\n\n"
|
||||||
|
if len(results)==0:
|
||||||
|
msg = msg + messages["noorders-"+locale]
|
||||||
for faction, game_email, success, pwd in results:
|
for faction, game_email, success, pwd in results:
|
||||||
msg = msg + messages["faction-"+locale] + " " + faction + "\n"
|
msg = msg + messages["faction-"+locale] + " " + faction + "\n"
|
||||||
if success: failed = False
|
if success: failed = False
|
||||||
|
|
Loading…
Reference in a new issue