Partial wmllint cleanup.

This commit is contained in:
Eric S. Raymond 2010-08-31 23:15:07 +00:00
parent 62394d09bc
commit b1b1648e8f
4 changed files with 7 additions and 5 deletions

View file

@ -720,7 +720,7 @@
[/message]
[/event]
#El'Isomithir's death is splitt in two events.
#El'Isomithir's death is split in two events.
#The first part is spoken after deadly wounded but still speaking
[event]
name=last breath
@ -754,7 +754,7 @@
[not]
id=Galtrid
[/not]
message= _ "Let us pursue the orc who murdered ElIthsomir!"
message= _ "Let us pursue the orc who murdered ElIsomithir!"
[/message]
[message]
id=Galtrid

View file

@ -36,7 +36,7 @@
#endif
[part]
delay=4000
title= _ "Chapter two, Part one:The book"
title= _ "Chapter two, Part one: The book"
show_title=yes
[/part]
[part]

View file

@ -1062,7 +1062,7 @@ Uu , Uu , Chr , Uh , Re , Uu
[/message]
[message]
speaker=Dommel
# wmllint: local spelling Uuungh
# wmllint: local spelling Uungh
message= _ "You... underestimate the... cruelty and ambition of your Queen... Uungh..."
[/message]
{VARIABLE dommel_dead 2}

View file

@ -720,7 +720,7 @@ declared_spellings = {"GLOBAL":["I'm", "I've", "I'd", "I'll",
"hitpoint", "hitpoints", "FFA", "multiplayer",
"playtesting", "respawn", "respawns",
"WML", "HP", "XP", "AI", "ZOC", "YW",
"L0", "L1", "L2", "L3",
"L0", "L1", "L2", "L3", "MC",
# archaisms
"faugh", "hewn", "leapt", "dreamt", "spilt",
"grandmam", "grandsire", "grandsires",
@ -1905,6 +1905,8 @@ def inner_spellcheck(nav, value, spelldict):
value = string_strip(value)
# Discard extraneous stuff
value = value.replace("...", " ")
value = value.replace("\"", " ")
value = value.replace("\\n", " ")
value = value.replace("/", " ")
value = value.replace(")", " ")
value = value.replace("(", " ")