Skip to content

Added xkcd comic and license #70

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 17, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ Then you can make a [pull request][pr].
Setup
-----

To setup a development enviroment `gem install jekyll`
Then run `jekyll serve --trace`
Type in `localhost:4000`
To setup a development enviroment `gem install jekyll`
Then run `jekyll serve --trace`
Type in `localhost:4000`

### Github Pages
1. [Fork](https://github.com/CoderDojoPotsdam/regex-tutorial/fork)
Expand All @@ -32,7 +32,7 @@ Further Reading
License
------

<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons Lizenzvertrag" style="border-width:0" src="assets/cc-by-sa.png" /></a><br />
<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons Lizenzvertrag" style="border-width:0" src="img/cc-by-sa.png" /></a><br />
<span xmlns:dct="http://purl.org/dc/terms/" href="http://purl.org/dc/dcmitype/InteractiveResource" property="dct:title" rel="dct:type">Regex-Tutorial</span> by <span xmlns:cc="http://creativecommons.org/ns#" property="cc:attributionName">Nicco Kunzmann</span> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License.</a>.


Expand Down
24 changes: 19 additions & 5 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
sourcecode:
view: "https://github.com/CoderDojoPotsdam/regex-tutorial/tree/master"
edit: "https://github.com/CoderDojoPotsdam/regex-tutorial/edit/master"
pullrequest: "https://github.com/CoderDojoPotsdam/regex-tutorial/compare"
newissue: "https://github.com/CoderDojoPotsdam/regex-tutorial/issues/new"
defaults:
-
scope:
path: "en"
values:
layout: "tutorial"
lang: "en"
-
scope:
path: "de"
values:
layout: "tutorial"
lang: "de"
-
scope:
path: "sv"
values:
layout: "tutorial"
lang: "sv"
21 changes: 0 additions & 21 deletions _data/footer.yml

This file was deleted.

118 changes: 118 additions & 0 deletions _data/localization.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
{
"github": {
"view": "https://github.com/CoderDojoPotsdam/regex-tutorial/tree/master",
"edit": "https://github.com/CoderDojoPotsdam/regex-tutorial/edit/master",
"pullRequest": "https://github.com/CoderDojoPotsdam/regex-tutorial/compare",
"newIssue": "https://github.com/CoderDojoPotsdam/regex-tutorial/issues/new"
},
"title": {
"en": "Interactive Introduction to Regular Expressions",
"de": "Interaktive Einführung in Reguläre Ausdrücke",
"sv": "Interaktiv Introduktion till Reguljära Uttryck"
},
"footer": {
"edit": {
"en": "improve page",
"de": "Seite verbessern",
"sv": "förbättra sidan"
},
"newIssue": {
"en": "report problem",
"de": "Problem melden",
"sv": "rapportera problem"
},
"deleteCookies": {
"en": "delete state",
"de": "Zustand löschen",
"sv": "radera tillstånd"
},
"view": {
"en": "view source",
"de": "Quelltext anzeigen",
"sv": "visa källa"
},
"nextStep": {
"en": "Next Step",
"de": "Nächster Schritt",
"sv": "Nästa steg"
}
},
"hint": {
"shown": {
"en": "Hide the hint!",
"de": "Hinweis verstecken!",
"sv": "Göm ledtråden!"
},
"hidden": {
"en": "Show a hint?",
"de": "Hinweis anzeigen?",
"sv": "Visa en ledtråd?"
}
},
"quiz": {
"before": {
"en": "Regular Expression: ",
"de": "Regulärer Ausdruck: ",
"sv": "Reguljärt uttryck: "
},
"after": {
"en": " appears in which lines? Click on 'Yes' or 'No'.",
"de": " In welchen Zeilen kommt er vor? Klicke auf 'Ja' oder 'Nein'.",
"sv": " visas på vilka rader? Klicka på 'Ja' eller 'Nej'."
},
"yes": {
"en": "Yes",
"de": "Ja",
"sv": "Ja"
},
"no": {
"en": "No",
"de": "Nein",
"sv": "Nej"
}
},
"match": {
"matched": {
"en": "✓ matched",
"de": "✓ gefunden",
"sv": "✓ matchade"
},
"shouldNotMatch": {
"en": "✓ matched, but should not match",
"de": "✓ gefunden, soll nicht passen",
"sv": "✓ matchade, men borde inte matcha"
},
"shouldMatch": {
"en": "should match",
"de": "soll gefunden werden",
"sv": "borde matcha"
},
"noMatch": {
"en": "ok, no match",
"de": "ok, nicht gefunden",
"sv": "ok, ingen matchning"
}
},
"error": {
"message": {
"en": "Make sure that you have closed all of your parentheses, square brackets and braces, and that there are no other errors in your regular expression.",
"de": "",
"sv": "Kolla så att du har stängt alla parenteser, hakparenteser och klammerparenteser, och att det inte är några andra problem med ditt reguljära uttryck."
},
"reference": {
"en": "There is an error in the source code: the reference implementation of the regular expression cannot be used. Please click on 'improve page' below to fix the problem yourself, or click on 'report problem' to submit an error report so we can take a look at it. ",
"de": "",
"sv": "Det är ett fel i källkoden: referensmplementeringen av det reguljära uttrycket kan inte användas. Vänligen klicka på 'förbättra sidan' nedan för att fixa problemet själv, eller klicka på 'rapportera problem' får att skriva en felrapport så att vi kan kolla på problemet. "
}
},
"license": {
"en": "<span xmlns:dct='http://purl.org/dc/terms/' href='http://purl.org/dc/dcmitype/InteractiveResource' property='dct:title' rel='dct:type'>Regex Tutorial</span> by <span xmlns:cc='http://creativecommons.org/ns#' property='cc:attributionName'>Nicco Kunzmann</span> is licensed under a <a rel='license' href='http://creativecommons.org/licenses/by/4.0/'>Creative Commons Attribution 4.0 International License</a>.",
"de": "<span xmlns:dct='http://purl.org/dc/terms/' href='http://purl.org/dc/dcmitype/InteractiveResource' property='dct:title' rel='dct:type'>Regex-Tutorial</span> von <span xmlns:cc='http://creativecommons.org/ns#' property='cc:attributionName'>Nicco Kunzmann</span> ist lizenziert unter einer <a rel='license' href='http://creativecommons.org/licenses/by-sa/4.0/'>Creative Commons Namensnennung - Weitergabe unter gleichen Bedingungen 4.0 International Lizenz</a>.",
"sv": "<span xmlns:dct='http://purl.org/dc/terms/' href='http://purl.org/dc/dcmitype/InteractiveResource' property='dct:title' rel='dct:type'>Regex Tutorial</span> av <span xmlns:cc='http://creativecommons.org/ns#' property='cc:attributionName'>Nicco Kunzmann</span> är licenserad under en <a rel='license' href='http://creativecommons.org/licenses/by/4.0/'>Creative Commons Erkännande 4.0 Internationell Licens</a>."
},
"licenseImage": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, nice idea!

"en": "Pictures with a different license can be clicked to reach the source or an explanation.",
"de": "Bilder, die eine andere Lizenz haben, können angeklickt werden, um zu dem Erklärungstext oder der Quelle zu gelangen.",
"sv": "Bilder med en annan licens går att klicka på för att komma till källan eller få en förklaring."
}
}
113 changes: 0 additions & 113 deletions _layouts/step.html

This file was deleted.

Loading