diff --git a/content/developer/contents.lr b/content/developer/contents.lr deleted file mode 100644 index 4f01be3..0000000 --- a/content/developer/contents.lr +++ /dev/null @@ -1,3 +0,0 @@ -_model: developer ---- -_discoverable: no diff --git a/content/developer/renpy/contents.lr b/content/developer/renpy/contents.lr deleted file mode 100644 index 5691e30..0000000 --- a/content/developer/renpy/contents.lr +++ /dev/null @@ -1,15 +0,0 @@ -sort_key: 0 ---- -title: Extracting, converting, translating and reconverting Ren'Py games ---- -body: - -TODO: Add stuff about how to translate Ren'Py games - -You need three tools: Ren'Py SDK, rpatool.py (or any other program that can unarchive rpa) and renpy-ttk - -Ren'Py games use an archive.rpa, wherein most of the game actually is. I don't believe it is nessecarry to extract the game to make translations, but that's what I do anyways. Here I use rpatool.py. See it's documentation on how to use it. - -Once that is done, run renpy-ttk and generate a pot file. Once it is done, the pot file is uploaded to weblate. If there already are translations (finished or not), it may be a good idea to use renpy-ttk to get the po files for them, and upload them to weblate. For new translations, if you have a common.rpy translation, use Ren'Py SDK to generate the translation, then replace the common and then generate a po file that can be uploaded to weblate, this saves the translators time. - -To update the translations from weblate. Download the po file, run renpy-ttk and use the sensible option. That should be it. Note the caveat with renpy-ttk: *something something, don't extract after update?* diff --git a/models/developer.ini b/models/developer.ini deleted file mode 100644 index 1aa21a5..0000000 --- a/models/developer.ini +++ /dev/null @@ -1,9 +0,0 @@ -[model] -name = Developer page -label = Developer -hidden = yes -protected = yes - -[children] -model = developer_obj -order_by = sort_key diff --git a/models/developer_obj.ini b/models/developer_obj.ini deleted file mode 100644 index b985006..0000000 --- a/models/developer_obj.ini +++ /dev/null @@ -1,21 +0,0 @@ -[model] -name = Developer object -label = {{ this.name }} -_discoverable = no - -[attachment] -order_by = _id - -[fields.sort_key] -label = Sort order -type = sort_key - -[fields.title] -label = Title -type = string -translate = True - -[fields.body] -label = Body -type = markdown -translate = True diff --git a/templates/developer.html b/templates/developer.html deleted file mode 100644 index 5cba1a4..0000000 --- a/templates/developer.html +++ /dev/null @@ -1,25 +0,0 @@ -{% extends "layout.html" %} -{% block page %} -{% set objs = site.query('/developer').include_undiscoverable(true).all() %} - -
-
- {% for obj in objs %} - {% set image = obj.attachments.images.first() %} - -
-
-
-
-
-

{{ obj.title }}

- {{ obj.body }} -
-
-
-
-
- {% endfor %} -
-
-{% endblock %} diff --git a/templates/developer_obj.html b/templates/developer_obj.html deleted file mode 100644 index e69de29..0000000