Browse Source

Fix locales

Brendan Abolivier 6 years ago
parent
commit
ab76de1578
Signed by: Brendan Abolivier <contact@brendanabolivier.com> GPG key ID: 8EF1500759F70623
3 changed files with 3 additions and 3 deletions
  1. 1
    1
      _locales/en/messages.json
  2. 1
    1
      _locales/fr/messages.json
  3. 1
    1
      index.html

+ 1
- 1
_locales/en/messages.json View File

2
     "mirror": {
2
     "mirror": {
3
         "message": "This website may be blocked in your region."
3
         "message": "This website may be blocked in your region."
4
     },
4
     },
5
-    "mirror.button": {
5
+    "mirror_button": {
6
         "message": "Take me to a mirror"
6
         "message": "Take me to a mirror"
7
     },
7
     },
8
     "nomirror": {
8
     "nomirror": {

+ 1
- 1
_locales/fr/messages.json View File

2
     "mirror": {
2
     "mirror": {
3
         "message": "Ce site est peut-être bloqué dans votre région."
3
         "message": "Ce site est peut-être bloqué dans votre région."
4
     },
4
     },
5
-    "mirror.button": {
5
+    "mirror_button": {
6
         "message": "Redirigez-moi vers un miroir"
6
         "message": "Redirigez-moi vers un miroir"
7
     },
7
     },
8
     "nomirror": {
8
     "nomirror": {

+ 1
- 1
index.html View File

23
 	</head>
23
 	</head>
24
 	<body>
24
 	<body>
25
 		<div id="mirror" style="display:none">__MSG_mirror__<br />
25
 		<div id="mirror" style="display:none">__MSG_mirror__<br />
26
-				<button>__MSG_mirror.button__</button>
26
+				<button>__MSG_mirror_button__</button>
27
 		</div>
27
 		</div>
28
 		<div id="nomirror">__MSG_nomirror__</div>
28
 		<div id="nomirror">__MSG_nomirror__</div>
29
 	</body>
29
 	</body>