Browse code

Fix some issues; encoding, etc.

Jaidyn Lev authored on 2019-01-08 03:24:04
Showing 6 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 #!/bin/sh
2 2
 
3 3
 alias mlsh=/htdocs/libertybsd.net/res/bin/ml.sh
4
-footer="$(cat /htdocs/libretybsd.net/res/footer.html)"
4
+footer="$(cat /htdocs/libertybsd.net/res/footer.html)"
5 5
 lang="$1"
6 6
 
7 7
 echo "$footer" \
... ...
@@ -1,7 +1,7 @@
1 1
 #!/bin/sh
2 2
 
3 3
 alias mlsh=/htdocs/libertybsd.net/res/bin/ml.sh
4
-header="$(cat /htdocs/libretybsd.net/res/header.html)"
4
+header="$(cat /htdocs/libertybsd.net/res/header.html)"
5 5
 lang="$1"
6 6
 title_raw="$2"
7 7
 title="$(mlsh $lang $title_raw)"
... ...
@@ -1,4 +1,4 @@
1
-#!/usr/bin/env bash
1
+#!/usr/local/bin/bash
2 2
 
3 3
 # name: multilang (ml.sh)
4 4
 # main: jaidyn <jadedctrl@teknik.io>
... ...
@@ -18,6 +18,7 @@
18 18
 <head>
19 19
 	<meta name="viewport" content="width=device-width, initial-scale=1.0">
20 20
 	<link rel="stylesheet" type="text/css" href="/new/res/style.css">
21
+	<meta charset="UTF-8">
21 22
 	<title> TT </title>
22 23
 </head>
23 24
 
... ...
@@ -4,6 +4,8 @@
4 4
 # INDEX
5 5
 ##################
6 6
 
7
+title_index="LibertyBSD"
8
+
7 9
 index_raddle="/f/libertybsd on <a href='https://raddle.me'>raddle</a> &#x1f44d;"
8 10
 index_reddit="/r/libertybsd on <a href='https://reddit.com'>reddit</a> &#x1f44e;"
9 11
 index_freenode="#libertybsd on <a href='https://freenode.net'>Freenode</a> &#x2605;"
... ...
@@ -34,6 +36,8 @@ sacrificing your freedom."
34 36
 # DOWNLOADS
35 37
 ##################
36 38
 
39
+title_download="LBSD - Downloads"
40
+
37 41
 download_downloads="Downloads"
38 42
 download_host="Host"
39 43
 download_type="Type"
... ...
@@ -51,19 +55,16 @@ location_usa="USA"
51 55
 location_texas_usa="Texas, USA"
52 56
 
53 57
 
58
+
54 59
 # ---------------------------------------
55 60
 # header
56 61
 
57
-index="Index"
58
-downloads="Downloads"
59
-faqs="FAQs"
60
-install="Install Guide"
61
-git="Git"
62
+header_index="Index"
63
+header_download="Downloads"
64
+header_faqs="FAQs"
65
+header_install="Install Guide"
66
+header_git="Git"
62 67
 
63
-title_index="LibertyBSD - Index"
64
-title_download="LibertyBSD - Download"
65
-title_install="LibertyBSD - Installation"
66
-title_git="LibertyBSD - Git"
67 68
 
68 69
 # ---------------------------------------
69 70
 # footer
... ...
@@ -46,3 +46,23 @@ download_install_only="Nurinstala"
46 46
 location_chiba_japan="Ĉiba, Japano"
47 47
 location_usa="Usono"
48 48
 location_texas_usa="Teksaso, Usono"
49
+
50
+
51
+
52
+# ---------------------------------------
53
+# header
54
+
55
+header_index="Indekso"
56
+header_download="Elŝutoj"
57
+header_faqs="Oftaj Demandoj"
58
+header_install="Instalgvido"
59
+header_git="Git"
60
+
61
+
62
+# ---------------------------------------
63
+# footer
64
+ 
65
+footer_license="The HTML & CSS used to generate this webpage is hereby released
66
+into the public domain. This applies worldwide. In case this is not legally
67
+possible, any entity is granted the right to use this work for any purpose,
68
+without any conditions, unless such conditions are required by law."