forked from github/server
Merge pull request #444 from ennorehling/develop
suppress misc warnings in the log file
This commit is contained in:
commit
9712fcfdc8
|
@ -21,6 +21,12 @@
|
||||||
Ruderschwanz und einem riesigen runden Maul zu bestehen scheint.</text>
|
Ruderschwanz und einem riesigen runden Maul zu bestehen scheint.</text>
|
||||||
<text locale="en">Wobbling green vapours drift through the mists to form an eldritch creature that seems to be entirely made up of huge jaws and a long tail.</text>
|
<text locale="en">Wobbling green vapours drift through the mists to form an eldritch creature that seems to be entirely made up of huge jaws and a long tail.</text>
|
||||||
</string>
|
</string>
|
||||||
|
<namespace name="shipinfo">
|
||||||
|
<string name="no_info">
|
||||||
|
<text locale="de">Keine Informationen über diesen Schiffstyp verfügbar.</text>
|
||||||
|
<text locale="en">No Information available for this type of ship.</text>
|
||||||
|
</string>
|
||||||
|
</namespace>
|
||||||
<namespace name="raceinfo">
|
<namespace name="raceinfo">
|
||||||
<string name="no_info">
|
<string name="no_info">
|
||||||
<text locale="de">Keine Informationen über diese Rasse verfügbar.</text>
|
<text locale="de">Keine Informationen über diese Rasse verfügbar.</text>
|
||||||
|
@ -62,6 +68,10 @@
|
||||||
</string>
|
</string>
|
||||||
</namespace>
|
</namespace>
|
||||||
<namespace name="iteminfo">
|
<namespace name="iteminfo">
|
||||||
|
<string name="no_info">
|
||||||
|
<text locale="de">Keine Informationen.</text>
|
||||||
|
<text locale="en">No Information available.</text>
|
||||||
|
</string>
|
||||||
<string name="trollspoil">
|
<string name="trollspoil">
|
||||||
<text locale="de">Das Horn eines Trolles. Kein Troll würde sich lebend davon trennen.</text>
|
<text locale="de">Das Horn eines Trolles. Kein Troll würde sich lebend davon trennen.</text>
|
||||||
<text locale="en">The horn of an adult troll. No troll would ever part with this while he's alive.</text>
|
<text locale="en">The horn of an adult troll. No troll would ever part with this while he's alive.</text>
|
||||||
|
|
|
@ -103,10 +103,6 @@
|
||||||
</namespace>
|
</namespace>
|
||||||
<namespace name="shipinfo">
|
<namespace name="shipinfo">
|
||||||
<!-- ship info is not implemented! -->
|
<!-- ship info is not implemented! -->
|
||||||
<string name="no_info">
|
|
||||||
<text locale="de">Keine Informationen über diesen Schiffstyp verfügbar.</text>
|
|
||||||
<text locale="en">No Information available for this type of ship.</text>
|
|
||||||
</string>
|
|
||||||
<string name="balloon">
|
<string name="balloon">
|
||||||
<text locale="de">Der Sumpfgasballon besteht aus einem großen
|
<text locale="de">Der Sumpfgasballon besteht aus einem großen
|
||||||
Weidenkorb, welcher Platz
|
Weidenkorb, welcher Platz
|
||||||
|
@ -128,10 +124,6 @@
|
||||||
<text locale="de">Eine Geburtstagstorte mit 10 Kerzen. Herzlichen Glückwunsch, Eressea!</text>
|
<text locale="de">Eine Geburtstagstorte mit 10 Kerzen. Herzlichen Glückwunsch, Eressea!</text>
|
||||||
<text locale="en">A birthday cake with 10 candles. Happy Birthday, Eressea!</text>
|
<text locale="en">A birthday cake with 10 candles. Happy Birthday, Eressea!</text>
|
||||||
</string>
|
</string>
|
||||||
<string name="no_info">
|
|
||||||
<text locale="de">Keine Informationen.</text>
|
|
||||||
<text locale="en">No Information available.</text>
|
|
||||||
</string>
|
|
||||||
<string name="griphonwing">
|
<string name="griphonwing">
|
||||||
<text locale="de">Dieses Fluggerät aus der Schmiede der Zwerge von Celeband galt wie die
|
<text locale="de">Dieses Fluggerät aus der Schmiede der Zwerge von Celeband galt wie die
|
||||||
'Ebene der Herausforderung' seit Urzeiten als verschollen, ja man
|
'Ebene der Herausforderung' seit Urzeiten als verschollen, ja man
|
||||||
|
|
|
@ -88,7 +88,7 @@ function autoseed.init()
|
||||||
end
|
end
|
||||||
local dupe = get_faction_by_email(p.email)
|
local dupe = get_faction_by_email(p.email)
|
||||||
if dupe then
|
if dupe then
|
||||||
eressea.log.warning("seed: duplicate email " .. p.email .. " already used by faction " .. tostring(dupe))
|
eressea.log.warning("seed: duplicate email " .. p.email .. " already used by " .. tostring(dupe))
|
||||||
else
|
else
|
||||||
local f = seed(start, p.email, p.race or "human", p.lang or "de")
|
local f = seed(start, p.email, p.race or "human", p.lang or "de")
|
||||||
num_seeded = num_seeded + 1
|
num_seeded = num_seeded + 1
|
||||||
|
|
|
@ -72,7 +72,7 @@ for _, p in ipairs(players) do
|
||||||
local dupe = false
|
local dupe = false
|
||||||
for f in factions() do
|
for f in factions() do
|
||||||
if f.email==p.email then
|
if f.email==p.email then
|
||||||
print("seed: duplicate email " .. p.email .. " already used by faction " .. tostring(f))
|
print("seed: duplicate email " .. p.email .. " already used by " .. tostring(f))
|
||||||
dupe = true
|
dupe = true
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
|
|
|
@ -712,11 +712,11 @@ unit *read_unit(struct gamedata *data)
|
||||||
ord = NULL;
|
ord = NULL;
|
||||||
}
|
}
|
||||||
else if (p == MAXPERSISTENT) {
|
else if (p == MAXPERSISTENT) {
|
||||||
log_warning("%s had %d or more persistent orders\n", unitname(u), MAXPERSISTENT);
|
log_info("%s had %d or more persistent orders\n", unitname(u), MAXPERSISTENT);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (n == MAXORDERS) {
|
else if (n == MAXORDERS) {
|
||||||
log_warning("%s had %d or more orders\n", unitname(u), MAXORDERS);
|
log_info("%s had %d or more orders\n", unitname(u), MAXORDERS);
|
||||||
}
|
}
|
||||||
if (ord != NULL)
|
if (ord != NULL)
|
||||||
free_order(ord);
|
free_order(ord);
|
||||||
|
@ -779,7 +779,7 @@ void write_unit(struct gamedata *data, const unit * u)
|
||||||
writeorder(data, ord, u->faction->locale);
|
writeorder(data, ord, u->faction->locale);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
log_warning("%s had %d or more persistent orders\n", unitname(u), MAXPERSISTENT);
|
log_info("%s had %d or more persistent orders\n", unitname(u), MAXPERSISTENT);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -792,7 +792,7 @@ void write_unit(struct gamedata *data, const unit * u)
|
||||||
writeorder(data, ord, u->faction->locale);
|
writeorder(data, ord, u->faction->locale);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
log_warning("%s had %d or more persistent orders\n", unitname(u), MAXPERSISTENT);
|
log_info("%s had %d or more persistent orders\n", unitname(u), MAXPERSISTENT);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue