Skip to content

Commit 5908f60

Browse files
committed
translated css
1 parent a14982c commit 5908f60

File tree

8 files changed

+60
-26
lines changed

8 files changed

+60
-26
lines changed

_layouts/step.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<script type="text/javascript" async="" src="../js/cookies.js"></script>
1313
<script type="text/javascript" async="" src="../js/requirements.js"></script>
1414
<script type="text/javascript" async="" src="../js/compatibility.js"></script>
15+
<script type="text/javascript" async="" src="../js/lang-{{ language }}.js"></script>
1516
<link type="text/css" rel="stylesheet" href="../css/tutorial.css" media="screen"/>
1617
<link type="text/css" rel="stylesheet" href="../css/playfield.css" media="screen"/>
1718
<link type="text/css" rel="stylesheet" href="../css/quiz.css" media="screen"/>

css/hint.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,6 @@
2525
.toggle-hint {
2626
}
2727

28-
.clicked .toggle-hint:before {
29-
content: "Hinweis verstecken!";
30-
}
31-
.secret .toggle-hint:before {
32-
content: "Hinweis anzeigen?";
33-
}
3428

3529

3630

css/lang-de.css

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,30 @@
11

2+
/* --- hints --- */
3+
.clicked .toggle-hint:before {
4+
content: "Hinweis verstecken!";
5+
}
6+
.secret .toggle-hint:before {
7+
content: "Hinweis anzeigen?";
8+
}
9+
10+
/* --- more description --- */
11+
.playfield.verbose .match.ok:after {
12+
content: "✓ gefunden";
13+
}
14+
.playfield.verbose .match.fail:after {
15+
content: "✓ gefunden, soll nicht passen";
16+
}
17+
.playfield.verbose .nomatch.ok:after {
18+
content: "soll gefunden werden";
19+
}
20+
.playfield.verbose .nomatch.fail:after {
21+
content: "ok, nicht gefunden";
22+
}
23+
24+
/* --- quiz --- */
25+
.quiz .expression:before {
26+
content: "Regulärer Ausdruck: ";
27+
}
28+
.quiz .expression:after {
29+
content: " In welchen Zeilen kommt er vor? Klicke auf \"Ja\" oder \"Nein\".";
30+
}

css/lang-en.css

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,30 @@
11

2+
/* --- hints --- */
3+
.clicked .toggle-hint:before {
4+
content: "Hide the hint!";
5+
}
6+
.secret .toggle-hint:before {
7+
content: "Show a hint?";
8+
}
9+
10+
/* --- more description --- */
11+
.playfield.verbose .match.ok:after {
12+
content: "✓ matched";
13+
}
14+
.playfield.verbose .match.fail:after {
15+
content: "✓ matched, but should not match";
16+
}
17+
.playfield.verbose .nomatch.ok:after {
18+
content: "should match";
19+
}
20+
.playfield.verbose .nomatch.fail:after {
21+
content: "ok, no match";
22+
}
23+
24+
/* --- quiz --- */
25+
.quiz .expression:before {
26+
content: "Regular Expression: ";
27+
}
28+
.quiz .expression:after {
29+
content: " In which lines does i appear? Click on \"Yes\" oder \"No\".";
30+
}

css/playfield.css

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -61,20 +61,6 @@
6161
background-color: {{ site.data.colors.fails }};
6262
}
6363

64-
/* --- more description --- */
65-
.playfield.verbose .match.ok:after {
66-
content: "✓ gefunden";
67-
}
68-
.playfield.verbose .match.fail:after {
69-
content: "✓ gefunden, soll nicht passen";
70-
}
71-
.playfield.verbose .nomatch.ok:after {
72-
content: "soll gefunden werden";
73-
}
74-
.playfield.verbose .nomatch.fail:after {
75-
content: "ok, nicht gefunden";
76-
}
77-
7864
/* --- experiment --- */
7965
.playfield .experiment {
8066
margin-top: 1em;

css/quiz.css

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,7 @@
33

44
.quiz .expression {
55
}
6-
.quiz .expression:before {
7-
content: "Regulärer Ausdruck: ";
8-
}
9-
.quiz .expression:after {
10-
content: " In welchen Zeilen kommt er vor? Klicke auf \"Ja\" oder \"Nein\".";
11-
}
6+
127

138
.quiz .choices {
149

js/lang-de.js

Whitespace-only changes.

js/lang-en.js

Whitespace-only changes.

0 commit comments

Comments
 (0)