Skip to content

Commit

Permalink
fix weird capitalization and spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsSammyM committed Feb 7, 2024
1 parent 9ceb61c commit 4861630
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
5 changes: 3 additions & 2 deletions client/src/components/StyledText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ function computeBasicKeywordData() {
KEYWORD_DATA_MAP[getArticleTitle(article)] = [{
style: "keyword-info",
link: `${keySplit[0]}/${keySplit[1]}` as WikiArticleLink,
replacement: getArticleTitle(article)
}]

}
Expand Down Expand Up @@ -139,7 +138,6 @@ function computeBasicKeywordData() {

export function computeKeywordDataWithPlayers() {
clearKeywordData();
computeBasicKeywordData();

if(GAME_MANAGER.state.stateType === "game")
for(const player of GAME_MANAGER.state.players) {
Expand All @@ -155,6 +153,9 @@ export function computeKeywordDataWithPlayers() {
];

}


computeBasicKeywordData();
}

computeBasicKeywordData();
Expand Down
14 changes: 7 additions & 7 deletions client/src/resources/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@
"wiki.article.standard.convert.title": "Convert",
"wiki.article.standard.convert.text": "A player's role changes during the game. All of their ability uses are refilled to maximum. For Example: If someone is converted to a Veteran, they get all three alerts.",
"wiki.article.standard.roleblock.title": "Roleblock",
"wiki.article.standard.roleblock.text": "A player who is roleblocked had their visits erased. A player's visits being erased often means they can't use their ability. Some players are immune to being roleblocked. Escorts and Consorts can roleblock people.",
"wiki.article.standard.roleblock.text": "A player who is roleblocked had their visits erased. A player's visits being erased often means they can't use their ability. Some roles are immune to being roleblocked. Escort or Consort are roles that can roleblock other players and are both immune to being roleblocked.",
"wiki.article.standard.jail.title": "Jail",
"wiki.article.standard.jail.text": "A Jailor can put a player in jail. If they are in jail, they can talk with the Jailor at night, the Jailor can decide to execute them or not, they can't target anyone, and most abilities visiting them will fail.",
"wiki.article.standard.rampage.title": "Rampage",
Expand All @@ -523,7 +523,7 @@
"wiki.article.standard.transport.title": "Transport",
"wiki.article.standard.transport.text": "Two players who are transported with each other will have all of their visitors swapped. So if a Detective goes to visit a player who's transported with another player, then the Detective will actually visit the other player.",
"wiki.article.standard.innocent.title": "Innocent",
"wiki.article.standard.innocent.text": "A result the Detective can get usually indicating the person they visited is good.",
"wiki.article.standard.innocent.text": "A result the Detective can get usually indicating the person they visited is good. It could also mean voting for someone to not be lynched during judgement phase. If there are more Guilty votes, the player on trial is lynched.",
"wiki.article.standard.suspicious.title": "Suspicious",
"wiki.article.standard.suspicious.text": "A result the Detective can get usually indicating the person they visited is evil.",
"wiki.article.standard.guilty.title": "Guilty",
Expand All @@ -541,15 +541,15 @@
"wiki.article.standard.backup.title": "Back Up",
"wiki.article.standard.backup.text": "The Godfather can choose another mafia member to be their backup at any time. If the Godfather is roleblocked or Jailed, then the Backup will attempt to kill their target.",
"wiki.article.standard.suspiciousAura.title": "Suspicious Aura",
"wiki.article.standard.suspiciousAura.text": "Players with a Suspicious Aura look evil to investigative roles. The Detective will find them suspicious, the Seer will find them as enemies with everyone, and the Psychic could see them in their evil visions. If a player has both an innocent and suspicious aura, the suspicious aura takes priority.",
"wiki.article.standard.suspiciousAura.text": "Players with a Suspicious Aura look evil to investigative roles. The Detective will find them suspicious, the Seer will find them as enemies with everyone, and the Psychic could see them in their evil visions. If a player has both an innocent and suspicious aura, the suspicious aura takes priority. Usually suspicious auras are caused by evil roles such as the Framer.",
"wiki.article.standard.innocentAura.title": "Innocent Aura",
"wiki.article.standard.innocentAura.text": "Players with an Innocent Aura look innocent to investigative roles. The Detective will find them innocent, the Seer will find them friends with everyone, and the Psychic could see them in their good visions. If a player has both an innocent and suspicious aura, the suspicious aura takes priority.",
"wiki.article.standard.innocentAura.text": "Players with an Innocent Aura look innocent to investigative roles. The Detective will find them innocent, the Seer will find them friends with everyone, and the Psychic could see them in their good visions. If a player has both an innocent and suspicious aura, the suspicious aura takes priority. Some roles have an innocent aura by default such as the Godfather and Jester.",
"wiki.article.standard.appearedVisit.title": "Appeared Visit",
"wiki.article.standard.appearedVisit.text": "A player could _appear_ to have visited someone, even though they didn't. This is usually caused by evil roles such as Framer.\n\nThis only affects investigative roles.\n\n_Examples_\n\nThe Tracker can see the appeared visit, but not the real visit.\n\nA Veteran wont kill a player who appeared to visit them and didn't actually visit them.",
"wiki.article.standard.astral.title": "Astral",
"wiki.article.standard.astral.text": "If a Visit is astral that means it is undetected by most roles. Lookouts and Trackers won't see an astral visit. The Veteran won't kill someone who visited with an astral visit, However the Transporter will still transport astral visits.",
"wiki.article.standard.roleOutline.title": "Role Outline",
"wiki.article.standard.roleOutline.text": "An element of the role list (More appropriately titled the role outline list). It defines a set of roles that could possibly fill a slot on the list.\n\nOutlines can be one of these types, any, faction, faction and alignment, or exact. Each defining a set of roles based on different parameters.\n\n_Examples_\n\n\"Any\" It could be any role\n\n\"Town Any\" Could be any possible town role.\n\n\"Neutral Evil\" Could be any role with the faction neutral and alignment evil such as the Jester and executioner\n\n\"Godfather\" Could only be one role, and that is the godfather",
"wiki.article.standard.roleOutline.text": "An element of the role list (More appropriately titled the role outline list). It defines a set of roles that could possibly fill a slot on the list.\n\nOutlines can either be a predefined set of roles, an exact role, or a union of multiple.\n\n_Examples_\n\n\"Any\" It could be any role\n\n\"Neutral\" Could be any possible neutral role.\n\n\"Town Support\" Could be an Escort, Retributionist, Transporter, or Medium\n\n\"Godfather\" Could only be a Gofather.\n\n\"Amnesiac + Psychic\" Could either be an Amnesiac or Psychic.",
"wiki.article.standard.outlineList.title":"Outline List",
"wiki.article.standard.outlineList.text": "A list of outlines that defines what roles are in the game. It allows player to know how many of a certain role could be in the game. Each player gets a role generated randomly from one outline. When roles are generated from the outline list, each role is equally likely to generate from a single outline.",

Expand Down Expand Up @@ -606,7 +606,7 @@
"wiki.article.role.spy.attributes":"* Your bug will catch when your target sees a message saying they are silenced, roleblocked, protected, possessed, or transported",
"wiki.article.role.spy.extra": "* The mafia visits can not be fooled, they are always accurate\n* You can not see astral visits",

"wiki.article.role.tracker.guide": "Choose a player each night to find out who they chose. If your chosen player visited someone on the night they died, it's possible they were the one responsible for the death. You should tell the town the information you get daily. You should try to choose people who you think are lying about where they are going.",
"wiki.article.role.tracker.guide": "Choose a player each night to find out who they chose. If your chosen player visited someone on the night they died, it's possible they were the killer. You should tell the town the information you get daily. You should try to choose people who you think are lying about where they are going.",
"wiki.article.role.tracker.abilities":"- Visit a player to find who they visit",
"wiki.article.role.tracker.attributes":"- None",
"wiki.article.role.tracker.extra": "- A Framer can make players appear to have visited someone they didn't visit\n- You can't see Astral visits",
Expand All @@ -619,7 +619,7 @@
"wiki.article.role.psychic.guide": "The psychic will receive a vision every night.\n\nOn odd nights, the vision will show two players and say that at least one of them is a townie.\n \nOn even nights, the vision will show three players and say that at least one of them is not a townie. \n \nYou should tell the town the information you get daily.",
"wiki.article.role.psychic.abilities":"- Get an evil vision on odd nights\n- Get a good vision on even nights",
"wiki.article.role.psychic.attributes":"- Evil visions show three players, at least one of them is not a townie\n- Good visions show two players, at least one of them is a townie",
"wiki.article.role.psychic.extra": "- If there aren't enough evil or good players to have a vision, it will fail\n- You can not be in your own vision\n- You still get visions after you are dead\n- You wont try to Visit the players in your vision\n- Players with suspicious aura can come up as the evil player in your evil vision\n- Players with innocent aura can come up as the good player in your good vision",
"wiki.article.role.psychic.extra": "- If there aren't enough evil or good players to have a vision, it will fail\n- You can not be in your own vision\n- You still get visions after you are dead\n- You wont try to visit the players in your vision\n- Players with a suspicious aura can come up as the evil player in your evil vision\n- Players with an innocent aura can come up as the good player in your good vision",

"wiki.article.role.doctor.guide": "Choose someone to protect each night. You should try to protect people you think are townies who will be attacked. You can only choose yourself once.",
"wiki.article.role.doctor.abilities":"- Visit a player to grant them powerful defense for that night",
Expand Down

0 comments on commit 4861630

Please sign in to comment.