Skip to content

Commit

Permalink
Merge pull request #6 from marcus-no/master
Browse files Browse the repository at this point in the history
Added UTF-8 char set and Norwegian translation
  • Loading branch information
MichMich committed May 20, 2014
2 parents febdfd7 + f461541 commit d33d681
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
var gitHash = '<?php echo trim(`git rev-parse HEAD`) ?>';
</script>
<meta name="google" value="notranslate" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
</head>
<body>

Expand All @@ -28,4 +29,4 @@
<script src="//cdnjs.cloudflare.com/ajax/libs/socket.io/0.9.16/socket.io.min.js"></script>

</body>
</html>
</html>
7 changes: 7 additions & 0 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,13 @@ jQuery(document).ready(function($) {
var tomorrow = 'demain';
var in_days = 'jour(s)';
break;
case 'no':
var days = ['søndag','mandag','tirsdag','onsdag','torsdag','fredag','lørdag'];
var months = ['januar','februar','mars','april','mai','juni','juli','august','september','oktober','november','desember'];
var dayAbbr = ['søn','man','tirs','ons','tors','fre','lør'];
var today = 'i dag';
var tomorrow = 'i morgen';
var in_days = 'dager';
default:
var days = ['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'];
var months = ['January','February','March','April','May','June','July','August','September','October','November','December'];
Expand Down

0 comments on commit d33d681

Please sign in to comment.