Support for NL wikis / Adding IT and NL Minecraft
parent
f7d60d69b3
commit
879f207f2a
|
@ -16,6 +16,7 @@ Indie Wiki Buddy is a browser extension that automatically notifies and redirect
|
|||
![JA wikis](https://img.shields.io/badge/dynamic/json?style=flat-square&label=JA%20wikis&query=length&url=https%3A%2F%2Fraw.githubusercontent.com%2FKevinPayravi%2Findie-wiki-buddy%2Fmain%2Fdata%2FsitesJA.json)
|
||||
![KO wikis](https://img.shields.io/badge/dynamic/json?style=flat-square&label=KO%20wikis&query=length&url=https%3A%2F%2Fraw.githubusercontent.com%2FKevinPayravi%2Findie-wiki-buddy%2Fmain%2Fdata%2FsitesKO.json)
|
||||
![LZH wikis](https://img.shields.io/badge/dynamic/json?style=flat-square&label=LZH%20wikis&query=length&url=https%3A%2F%2Fraw.githubusercontent.com%2FKevinPayravi%2Findie-wiki-buddy%2Fmain%2Fdata%2FsitesLZH.json)
|
||||
![NL wikis](https://img.shields.io/badge/dynamic/json?style=flat-square&label=NL%20wikis&query=length&url=https%3A%2F%2Fraw.githubusercontent.com%2FKevinPayravi%2Findie-wiki-buddy%2Fmain%2Fdata%2FsitesNL.json)
|
||||
![PL wikis](https://img.shields.io/badge/dynamic/json?style=flat-square&label=PL%20wikis&query=length&url=https%3A%2F%2Fraw.githubusercontent.com%2FKevinPayravi%2Findie-wiki-buddy%2Fmain%2Fdata%2FsitesPL.json)
|
||||
![PT wikis](https://img.shields.io/badge/dynamic/json?style=flat-square&label=PT%20wikis&query=length&url=https%3A%2F%2Fraw.githubusercontent.com%2FKevinPayravi%2Findie-wiki-buddy%2Fmain%2Fdata%2FsitesPT.json)
|
||||
![RU wikis](https://img.shields.io/badge/dynamic/json?style=flat-square&label=RU%20wikis&query=length&url=https%3A%2F%2Fraw.githubusercontent.com%2FKevinPayravi%2Findie-wiki-buddy%2Fmain%2Fdata%2FsitesRU.json)
|
||||
|
|
|
@ -428,6 +428,10 @@
|
|||
"message": "[LZH] Classical Chinese / 文言",
|
||||
"description": "Do not translate the language code in brackets. If this language is your language, leave only one name. Otherwise, add the name of the language in your language before the slash. For example, LZH should be \"[LZH] Classical Chinese / 文言\" in English, but just \"[LZH] 文言\" in Classical Chinese."
|
||||
},
|
||||
"settingsLangNL": {
|
||||
"message": "[NL] Dutch / Nederlands",
|
||||
"description": "Do not translate the language code in brackets. If this language is your language, leave only one name. Otherwise, add the name of the language in your language before the slash. For example, NL should be \"[NL] Dutch / Nederlands\" in English, but just \"[NL] Nederlands\" in Dutch."
|
||||
},
|
||||
"settingsLangPL": {
|
||||
"message": "[PL] Polish / Polski",
|
||||
"description": "Do not translate the language code in brackets. If this language is your language, leave only one name. Otherwise, add the name of the language in your language before the slash. For example, PL should be \"[PL] Polish / Polski\" in English, but just \"[PL] Polski\" in Polish."
|
||||
|
|
|
@ -60,6 +60,25 @@
|
|||
"destination_search_path": "/index.php",
|
||||
"destination_content_path": "/"
|
||||
},
|
||||
{
|
||||
"id": "it-minecraft",
|
||||
"origins_label": "Minecraft Fandom Wiki",
|
||||
"origins": [
|
||||
{
|
||||
"origin": "Minecraft Fandom Wiki",
|
||||
"origin_base_url": "minecraft.fandom.com/it",
|
||||
"origin_content_path": "/wiki/",
|
||||
"origin_main_page": "Minecraft_Wiki"
|
||||
}
|
||||
],
|
||||
"destination": "Minecraft Wiki",
|
||||
"destination_base_url": "it.minecraft.wiki",
|
||||
"destination_platform": "mediawiki",
|
||||
"destination_icon": "minecraftwiki.png",
|
||||
"destination_content_path": "/w/",
|
||||
"destination_search_path": "/",
|
||||
"destination_main_page": "Minecraft_Wiki"
|
||||
},
|
||||
{
|
||||
"id": "it-pokemon",
|
||||
"origins_label": "Analisi Pokémon Fandom Wiki",
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
[
|
||||
{
|
||||
"id": "nl-minecraft",
|
||||
"origins_label": "Minecraft Fandom Wiki",
|
||||
"origins": [
|
||||
{
|
||||
"origin": "Minecraft Fandom Wiki",
|
||||
"origin_base_url": "minecraft.fandom.com/nl",
|
||||
"origin_content_path": "/wiki/",
|
||||
"origin_main_page": "Minecraft_Wiki"
|
||||
}
|
||||
],
|
||||
"destination": "Minecraft Wiki",
|
||||
"destination_base_url": "nl.minecraft.wiki",
|
||||
"destination_platform": "mediawiki",
|
||||
"destination_icon": "minecraftwiki.png",
|
||||
"destination_content_path": "/w/",
|
||||
"destination_search_path": "/",
|
||||
"destination_main_page": "Minecraft_Wiki"
|
||||
}
|
||||
]
|
Binary file not shown.
After Width: | Height: | Size: 878 B |
Binary file not shown.
After Width: | Height: | Size: 878 B |
|
@ -40,6 +40,7 @@
|
|||
"data/sitesJA.json",
|
||||
"data/sitesKO.json",
|
||||
"data/sitesLZH.json",
|
||||
"data/sitesNL.json",
|
||||
"data/sitesPL.json",
|
||||
"data/sitesPT.json",
|
||||
"data/sitesRU.json",
|
||||
|
@ -377,7 +378,9 @@
|
|||
"options_ui": {
|
||||
"page": "pages/settings/index.html"
|
||||
},
|
||||
"optional_host_permissions": ["https://*/*"],
|
||||
"optional_host_permissions": [
|
||||
"https://*/*"
|
||||
],
|
||||
"minimum_chrome_version": "88",
|
||||
"manifest_version": 3
|
||||
}
|
||||
}
|
|
@ -60,6 +60,7 @@
|
|||
"data/sitesJA.json",
|
||||
"data/sitesKO.json",
|
||||
"data/sitesLZH.json",
|
||||
"data/sitesNL.json",
|
||||
"data/sitesPL.json",
|
||||
"data/sitesPT.json",
|
||||
"data/sitesRU.json",
|
||||
|
@ -135,8 +136,8 @@
|
|||
],
|
||||
"js": [
|
||||
"scripts/common-functions.js",
|
||||
"scripts/content-breezewiki.js"
|
||||
],
|
||||
"scripts/content-breezewiki.js"
|
||||
],
|
||||
"run_at": "document_end"
|
||||
},
|
||||
{
|
||||
|
@ -361,18 +362,20 @@
|
|||
],
|
||||
"js": [
|
||||
"scripts/common-functions.js",
|
||||
"scripts/content-search-filtering.js"
|
||||
],
|
||||
"scripts/content-search-filtering.js"
|
||||
],
|
||||
"css": [
|
||||
"css/content-search-filtering.css"
|
||||
],
|
||||
],
|
||||
"run_at": "document_start"
|
||||
}
|
||||
],
|
||||
"options_ui": {
|
||||
"page": "pages/settings/index.html"
|
||||
},
|
||||
"optional_permissions": ["https://*/*"],
|
||||
"optional_permissions": [
|
||||
"https://*/*"
|
||||
],
|
||||
"browser_specific_settings": {
|
||||
"gecko": {
|
||||
"id": "{cb31ec5d-c49a-4e5a-b240-16c767444f62}",
|
||||
|
@ -383,4 +386,4 @@
|
|||
}
|
||||
},
|
||||
"manifest_version": 2
|
||||
}
|
||||
}
|
|
@ -265,6 +265,7 @@
|
|||
<option value="JA" data-msg="settingsLangJA"></option>
|
||||
<option value="KO" data-msg="settingsLangKO"></option>
|
||||
<option value="LZH" data-msg="settingsLangLZH"></option>
|
||||
<option value="NL" data-msg="settingsLangNL"></option>
|
||||
<option value="PL" data-msg="settingsLangPL"></option>
|
||||
<option value="PT" data-msg="settingsLangPT"></option>
|
||||
<option value="RU" data-msg="settingsLangRU"></option>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
var LANGS = ["DE", "EN", "ES", "FI", "FR", "HU", "IT", "JA", "KO", "LZH", "PL", "PT", "RU", "SV", "TH", "TOK", "UK", "ZH"];
|
||||
var LANGS = ["DE", "EN", "ES", "FI", "FR", "HU", "IT", "JA", "KO", "LZH", "NL", "PL", "PT", "RU", "SV", "TH", "TOK", "UK", "ZH"];
|
||||
var BASE64REGEX = /^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/;
|
||||
const extensionAPI = typeof browser === "undefined" ? chrome : browser;
|
||||
|
||||
|
|
Loading…
Reference in New Issue