Revamped layout, Added lang selection, Added auto lang detection, Removed trash, Other minor improvements

Update .htaccess, body-1.php, and 50 more files...
This commit is contained in:
2023-06-01 17:20:44 +02:00
parent 6e9bf25866
commit 6fb621e550
52 changed files with 1047 additions and 654 deletions

View File

@@ -0,0 +1,158 @@
{
"strings": {
"en": {
"meta.title": "CircuitPython - Custom File Systems",
"meta.description": "A set of examples of custom file systems and block-level devices for CircuitPython that can be used for educational purposes and expanded upon.",
"article.subtitle": "<a href=\"https://github.com/aziascreations/CircuitPython-CustomFileSystems\"><i class=\"fab fa-github\"></i> View on GitHub</a>",
"intro.title": "Introduction",
"intro.p1": "This project contains a set of examples of custom file systems and block-level devices for CircuitPython that can be used for educational purposes and expanded upon.",
"intro.p2": "All these examples are thoroughly documented in order to allow you to understand how each method of a virtual FS/BLD works, and also to show you some of the undocumented methods for these.",
"requirements.title": "Requirements",
"requirements.1": "A MCU with CircuitPython 8.0 or newer",
"requirements.1.1": "Access to the <a href=\"https://docs.circuitpython.org/en/latest/shared-bindings/zlib/index.html\">zlib</a>&nbsp;&nbsp;(Required for most block-level devices)",
"requirements.1.2": "Wi-Fi connectivity is required for some examples",
"requirements.1.3": "Around 1MiB of disk space and 48 KiB of RAM free on the MCU",
"requirements.2": "A way to mount disk images on you computer for block-level projects",
"requirements.2.1": "<a href=\"https://sourceforge.net/projects/imdisk-toolkit/\">ImDisk's Ram Disk tool</a> is recommended for Windows.",
"requirements.2.2": "I don't know about Linux, sorry.",
"requirements.3": "A lot of patience to deal with some of CircuitPython's quirks",
"fs.title": "File Systems",
"fs.blank.title": "Blank",
"fs.blank.p1": "Blank file system with a lot of comments on how each procedure works and what it should return.<br>When its content is listed, it is shown as being empty.",
"fs.blank.p2": "This file system has a LOT more comments than the others which explains in much more details how each important method works.",
"fs.rom.title": "Read-Only Memory",
"bld.title": "Block-level Devices",
"bld.stub.title": "Stub",
"bld.stub.p1": "Stub of a generic block-level class without any code, but detailed comments for each required methods and their warnings and notes.",
"bld.stub.p2": "The reasoning behind not making this one a working class is that block-level devices require quite a bit more code to make them work as you need to create a working MBR and FAT partition.",
"bld.remote.title": "Remote",
"warning.title": "Warning",
"warning.p1": "Due to the way some commands are executed, it is possible to have a <a href=\"https://owasp.org/www-community/attacks/Command_Injection\">command injection vulnerability</a> if you mess up or leave the config file editable by everyone.",
"warning.p2": "This might be fixed in the future, but don't count on it as this project is a personal one.",
"features.title": "Features",
"features.list.1.1": "● General",
"links.title": "Links",
"_123": "https://files.nibblepoker.lu/downloads/CircuitPython-CustomFileSystems/CircuitPython-CustomFileSystems-master.zip"
},
"fr": {
"meta.title": "CircuitPython - Systèmes de fichiers personalisés",
"meta.description": "Un set de systèmes de fichiers et stockage en blocs personnalisés pour CircuitPython qui peuvent être utilisés afin d'apprendre leur fonctionnement ou améliorés et implémentés dans d'autres solutions.",
"article.subtitle": "<a href=\"https://github.com/aziascreations/CircuitPython-CustomFileSystems\"><i class=\"fab fa-github\"></i> Voir sur GitHub</a>",
"intro.title": "Introduction",
"intro.p1": "Ce projet contient un set de systèmes de fichiers et stockage en blocs personnalisés pour CircuitPython qui peuvent être utilisés afin d'apprendre leur fonctionnement ou améliorés et implémentés dans d'autres solutions.",
"intro.p2": "Tous ces exemples sont soigneusement documentés afin de vous permettre de comprendre le fonctionnement de chaque méthode d'un système de fichiers virtuel ou d'un stockage en blocs<br>Et en plus de cela, ils vous montreront certaines des méthodes non documentées.",
"requirements.title": "Dépendances",
"requirements.1": "Un MCU avec CircuitPython 8.0 ou une version plus récente",
"requirements.1.1": "Access to the <a href=\"https://docs.circuitpython.org/en/latest/shared-bindings/zlib/index.html\">zlib</a>&nbsp;&nbsp;(Required for most block-level devices)",
"requirements.1.2": "Wi-Fi connectivity is required for some examples",
"requirements.1.3": "Around 1MiB of disk space and 48 KiB of RAM free on the MCU",
"requirements.2": "A way to mount disk images on you computer for block-level projects",
"requirements.2.1": "<a href=\"https://sourceforge.net/projects/imdisk-toolkit/\">ImDisk's Ram Disk tool</a> is recommended for Windows.",
"requirements.2.2": "I don't know about Linux, sorry.",
"requirements.3": "A lot of patience to deal with some of CircuitPython's quirks",
"warning.title": "Avertissements",
"warning.p1": "Due au fait que certaines commandes sont exécutées avec des paramètres arbitraires configurables cette application est vulnérable aux attaques par <a href=\"https://owasp.org/www-community/attacks/Command_Injection\">injection de commande</a> si le fichier de configuration est modifiable par des personnes non autorisées.",
"warning.p2": "Ce problème sera probablement réglé dans le futur, mais il n'y a pas de date fixe comme ce projet est plus personnel qu'autre-chose.",
"features.title": "Fonctionnalités",
"links.title": "Liens"
}
},
"metadata": {
"template": "generic-project-readme",
"head": {
"title": "meta.title",
"description": "meta.description"
},
"opengraph": {
"title": "meta.title",
"description": "meta.description",
"type": null,
"url": null,
"image": null,
"image_type": null
},
"article": {
"icon": "fab fa-python",
"title": "meta.title",
"subtitle": "article.subtitle",
"tags": ["electronic", "python", "circuitpython"]
}
},
"elements": [
{"type": "h1", "content": "intro.title"},
{"type": "paragraph", "indent": 2, "content": "intro.p1"},
{"type": "paragraph", "indent": 2, "content": "intro.p2"},
{"type": "h1", "content": "requirements.title"},
{
"type": "paragraph", "indent": 2,
"parts": [
{"type": "raw", "content": "●&nbsp;&nbsp;", "localize": false},
{"type": "raw", "content": "requirements.1"},
{"type": "raw", "content": "<br>", "localize": false},
{"type": "raw", "content": "&nbsp;&nbsp;&nbsp;∘&nbsp;&nbsp;", "localize": false},
{"type": "raw", "content": "requirements.1.1"},
{"type": "raw", "content": "<br>", "localize": false},
{"type": "raw", "content": "&nbsp;&nbsp;&nbsp;∘&nbsp;&nbsp;", "localize": false},
{"type": "raw", "content": "requirements.1.2"},
{"type": "raw", "content": "<br>", "localize": false},
{"type": "raw", "content": "&nbsp;&nbsp;&nbsp;∘&nbsp;&nbsp;", "localize": false},
{"type": "raw", "content": "requirements.1.3"}
]
},
{
"type": "paragraph", "indent": 2,
"parts": [
{"type": "raw", "content": "●&nbsp;&nbsp;", "localize": false},
{"type": "raw", "content": "requirements.2"},
{"type": "raw", "content": "<br>", "localize": false},
{"type": "raw", "content": "&nbsp;&nbsp;&nbsp;∘&nbsp;&nbsp;", "localize": false},
{"type": "raw", "content": "requirements.2.1"},
{"type": "raw", "content": "<br>", "localize": false},
{"type": "raw", "content": "&nbsp;&nbsp;&nbsp;∘&nbsp;&nbsp;", "localize": false},
{"type": "raw", "content": "requirements.2.2"}
]
},
{
"type": "paragraph", "indent": 2,
"parts": [
{"type": "raw", "content": "●&nbsp;&nbsp;", "localize": false},
{"type": "raw", "content": "requirements.3"}
]
},
{"type": "h1", "content": "fs.title"},
{"type": "paragraph", "indent": 2, "content": "fs.p1"},
{"type": "image", "src": "fuck"},
{"type": "h1", "content": "fs.blank.title"},
{"type": "paragraph", "indent": 2, "content": "fs.blank.p1"},
{"type": "paragraph", "indent": 2, "content": "fs.blank.p2"},
{"type": "h1", "content": "fs.rom.title"},
{"type": "paragraph", "indent": 2, "content": "intro.p2"},
{"type": "h1", "content": "bld.title"},
{"type": "paragraph", "indent": 2, "content": "bld.p1"},
{"type": "image", "src": "fuck"},
{"type": "h1", "content": "bld.stub.title"},
{"type": "paragraph", "indent": 2, "content": "bld.stub.p1"},
{"type": "paragraph", "indent": 2, "content": "bld.stub.p2"},
{"type": "h1", "content": "bld.remote.title"},
{"type": "paragraph", "indent": 2, "content": "intro.p2"}
]
}