Skip to content

Commit

Permalink
Change language from 'game' to 'room' in certain spots
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecM33 committed Aug 5, 2023
1 parent 3d64c19 commit fc54259
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion client/src/modules/front_end_components/HTMLFragments.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const HTMLFragments = {
<input type="text" id="moderator-name" autocomplete='given-name' placeholder="enter your name...">
</div>
<div>
<label for="test-game">Populate the game with bots?</label>
<label for="test-game">Populate the room with bots?</label>
<select id="test-game">
<option value="no" selected>No</option>
<option value="yes">Yes</option>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class GameCreationStepManager {
}
},
2: {
title: 'Create your deck of cards:',
title: 'Create your deck (you can edit this later):',
forwardHandler: () => {
if (this.deckManager.getDeckSize() > 50) {
toast('Your deck is too large. The max is 50 cards.', 'error', true);
Expand Down
2 changes: 1 addition & 1 deletion client/src/styles/create.css
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ input[type="number"] {
}

#step-title {
font-size: 21px;
font-size: 20px;
}
}

Expand Down
2 changes: 1 addition & 1 deletion client/src/view_templates/CreateTemplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const hiddenMenus =

export const fullCreateTemplate =
hiddenMenus + `
<h1>Create A Game</h1>
<h1>Create A Room</h1>
<div id="tracker-container">
<div id="creation-step-tracker">
<div id="tracker-step-1" class="creation-step creation-step-filled"></div>
Expand Down
4 changes: 2 additions & 2 deletions client/src/views/create.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Create A Game</title>
<title>Create A Room</title>
<meta name="description" content="Create a game of Werewolf using your custom set of roles.">
<meta property="og:title" content="Create A Game">
<meta property="og:title" content="Create A Room">
<meta property="og:type" content="website">
<meta property="og:url" content="https://play-werewolf.app/create">
<meta property="og:description" content="Create a game of Werewolf using your custom set of roles.">
Expand Down
4 changes: 2 additions & 2 deletions client/src/views/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
<h3>A tool to run the social deception game Werewolf (aka Mafia) smoothly in a real or virtual social setting.</h3>
<div id="create-join">
<a href="/create">
<button id="home-create-button" class="app-button">Create A Game</button>
<button id="home-create-button" class="app-button">Create A Room</button>
</a>
<div id="join-container">
<label for="join-form">Join A Game</label>
<label for="join-form">Join A Room</label>
<form id="join-form">
<div>
<label for="room-code">Room Code</label>
Expand Down
2 changes: 1 addition & 1 deletion client/src/views/join.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<div tabindex="-1" id="join-game-modal" class="modal">
<div id='game-parameters'>
<div>
<div>Game <span id='game-code'></span></div>
<div>Room <span id='game-code'></span></div>
</div>
<div>
<img alt='clock' src='/images/clock.svg'/>
Expand Down

0 comments on commit fc54259

Please sign in to comment.