Skip to content

Commit

Permalink
Updates text for some elements and adds a copy notice
Browse files Browse the repository at this point in the history
  • Loading branch information
Kovah committed Nov 9, 2016
1 parent d4a729b commit 28521ab
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 6 deletions.
17 changes: 17 additions & 0 deletions assets/sass/_intro.scss
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,21 @@
.intro__start {
text-align: center;
}
.intro__copy {
font-size: .9rem;
text-align: center;
margin: 3rem 0 2rem;
color: lighten($c-text-light, 20%);

a {
color: $c-text-light;
text-decoration: none;

&:hover,
&:focus {
color: $c-text-light;
text-decoration: underline;
}
}
}
}
4 changes: 4 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ class="intro__category category category__<?php echo $category; ?> has-hover">
<?php echo $lang['app.show-highscores']; ?>
</button>
</div>
<div class="intro__copy">
<?php echo $lang['app.copy']; ?>
</div>

</div>
</div>

Expand Down
11 changes: 6 additions & 5 deletions lang/de.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
<?php
$lang = [
'app.name' => 'KVH Tabu',
'app.description' => 'KVH Tabu ist ein kleines Tabu-ähnliches Spiel',
'app.description' => 'Ein kleines, Tabu-ähnliches Spiel für den Browser',
'app.how-to' => '<h3>So wird gespielt</h3>
<ol>
<li>Gib deinen Namen ein und wähle eine Kategorie</li>
<li>Starte das Spiel</li>
<li>Gib deinen Namen ein und wähle eine Kategorie.</li>
<li>Starte das Spiel.</li>
<li>Du hast 180 Sekunden, um deinen Freunden das angezeigte Wort zu erklären. Du darfst zur Erklärung nicht die Wörter aus dem roten Bereich nutzen!</li>
<li>Klicke auf den grünen Button, wenn deine Freunde das Wort erraten haben. Klicke Rot, wenn du das Wort überspringen möchtest.</li>
<li>Die Ergebnisse werden in deinem Browser gespeichert</li>
<li>Alle Ergebnisse werden in deinem Browser gespeichert.</li>
</ol>',
'app.copy' => 'KVH Tabu ist ein Projekt von <a href="https://kovah.de">Kovah.de</a> | <a href="https://github.com/Kovah/Tabu">Source</a>',

'category.animals' => 'Tiere',
'category.people' => 'Berühmte Personen',
Expand All @@ -22,7 +23,7 @@
'category.sports' => 'Sport',
'category.web' => 'Das Web',

'game.start' => 'Starten!',
'game.start' => 'Spiel starten!',
'game.get-ready' => 'Mach dich bereit!',
'game.time-remaining' => 'Verbleibende Zeit:',
'game.exit' => 'Beenden',
Expand Down
3 changes: 2 additions & 1 deletion lang/en.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<li>Tap on the check mark if your friends guessed the word. Tap the cross to pick the next word.</li>
<li>Scores will be saved in your browser</li>
</ol>',
'app.copy' => 'KVH Tabu is a project by <a href="https://kovah.de">Kovah.de</a> | <a href="https://github.com/Kovah/Tabu">Source</a>',

'category.animals' => 'Animals',
'category.people' => 'Famous People',
Expand All @@ -22,7 +23,7 @@
'category.sports' => 'Sports',
'category.web' => 'The Web',

'game.start' => 'Start!',
'game.start' => 'Start the Game!',
'game.get-ready' => 'Get ready!',
'game.time-remaining' => 'Time remaining:',
'game.exit' => 'Exit',
Expand Down

0 comments on commit 28521ab

Please sign in to comment.