diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2015-11-05 10:58:17 +0100 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2015-11-05 10:58:17 +0100 |
commit | cd556ebfc2beee90f92c5a0ff973888458beed46 (patch) | |
tree | 0b47fd7f13bec14baf6c7e60b04df16b52c4de81 | |
parent | 6dfd1ecab43c512197cc0c2a62f3ad5cbeef5e19 (diff) |
Translate block labels
-rw-r--r-- | index.html | 24 | ||||
-rw-r--r-- | res/en.json | 4 | ||||
-rw-r--r-- | res/sl.json | 4 |
3 files changed, 20 insertions, 12 deletions
@@ -265,13 +265,13 @@ <div class="description" data-dict="prolog" data-tkey="description"></div> </div> </div> - <div class="block-label">Instructions</div> + <div class="block-label" data-tkey="instructions">Instructions</div> </div> <div class="col-lg-12 col-md-12 col-sm-12 block block4"> <div class="scrollable-content-container"> <div class="hints"></div> </div> - <div class="block-label">Hints</div> + <div class="block-label" data-tkey="hints">Hints</div> </div> </div> <div class="col-lg-8 col-md-8 col-sm-12 block block-right "> @@ -285,11 +285,11 @@ </nav> <div class="code_editor"></div> <div class="block-statusbar"></div> - <div class="block-label">Code</div> + <div class="block-label" data-tkey="code">Code</div> </div> <div class="col-lg-6 col-md-12 col-sm-12 block block3"> <div class="console"></div> - <div class="block-label">Console</div> + <div class="block-label" data-tkey="console">Console</div> </div> </div> </div><!--/row--> @@ -306,13 +306,13 @@ <div class="description" data-dict="python" data-tkey="description"></div> </div> </div> - <div class="block-label">Instructions</div> + <div class="block-label" data-tkey="instructions">Instructions</div> </div> <div class="col-lg-12 col-md-12 col-sm-12 block block4"> <div class="scrollable-content-container"> <div class="hints"></div> </div> - <div class="block-label">Hints</div> + <div class="block-label" data-tkey="hints">Hints</div> </div> </div> <div class="col-lg-8 col-md-8 col-sm-12 block block-right "> @@ -328,11 +328,11 @@ </nav> <div class="code_editor"></div> <div class="block-statusbar"></div> - <div class="block-label">Code</div> + <div class="block-label" data-tkey="code">Code</div> </div> <div class="col-lg-6 col-md-12 col-sm-12 block block3"> <div class="console"></div> - <div class="block-label">Console</div> + <div class="block-label" data-tkey="console">Console</div> </div> </div> </div><!--/row--> @@ -346,7 +346,7 @@ <h2 class="title" data-dict="robot" data-tkey="slug"></h2> <div class="description" data-dict="robot" data-tkey="description"></div> </div> - <div class="block-label">Instructions</div> + <div class="block-label" data-tkey="instructions">Instructions</div> </div> <div class="col-lg-3 col-md-6 col-sm-12 block block2"> <nav class="navbar navbar-default block-toolbar"> @@ -359,17 +359,17 @@ </nav> <div class="code_editor"></div> <div class="block-statusbar"></div> - <div class="block-label">Code</div> + <div class="block-label" data-tkey="code">Code</div> </div> <div class="col-lg-3 col-md-6 col-sm-12 block block3"> <div class="console"></div> - <div class="block-label">Console</div> + <div class="block-label" data-tkey="console">Console</div> </div> <div class="col-lg-3 col-md-6 col-sm-12 block block4"> <div class="scrollable-content-container"> <div class="hints"></div> </div> - <div class="block-label">Hints</div> + <div class="block-label" data-tkey="hints">Hints</div> </div> </div><!--/row--> </div><!--container--> diff --git a/res/en.json b/res/en.json index f560b15..b0559c5 100644 --- a/res/en.json +++ b/res/en.json @@ -19,6 +19,10 @@ "btn_run": "Run", "btn_stop": "Stop", "btn_more": "More...", + "instructions": "Instructions", + "hints": "Hints", + "code": "Code", + "console": "Console", "signin_header": "Please sign in", "signin_via": "Login via", "signin_or": "or", diff --git a/res/sl.json b/res/sl.json index d99721a..54e3f4f 100644 --- a/res/sl.json +++ b/res/sl.json @@ -19,6 +19,10 @@ "btn_run": "Zaženi", "btn_stop": "Ustavi", "btn_more": "Več...", + "instructions": "Navodila", + "hints": "Namigi", + "code": "Program", + "console": "Konzola", "signin_header": "Prijava", "signin_via": "Prijava prek", "signin_or": "ali", |