Browse Source

Fix localisation

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

+ 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>

+ 1
- 1
manifest.json View File

3
 
3
 
4
     "name": "RSF Censorship Detector",
4
     "name": "RSF Censorship Detector",
5
     "description": "Find access to blocked websites",
5
     "description": "Find access to blocked websites",
6
-    "version": "1.3.1",
6
+    "version": "1.3.2",
7
 
7
 
8
     "icons": {
8
     "icons": {
9
         "128": "rsc/icon-128.png"
9
         "128": "rsc/icon-128.png"