You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Custom files for git.friendi.ca
These files are the cutsom files for git.friendi.ca.
They are overriding the default template files of gitea.
The content of
custom needs to be placed in
/usr/share/gitea (at least at git.friendi.ca).
Files there are accessed in the
Translation of the strings can be done at Transifex with the rest of the project resources.
- Update the strings at the top of the
generate_home_tmpl.pyfile, those that start with a
str_in the name.
- Extract them with
pygettext -p ./lang/C/ generate_home_tmpl.py
- Commit the new
messages.potfile and push it to the repository at git.friendi.ca
- Wait for Transifex to pick up the changes and the translation teams to make the new translations
- Download the finished translations to
- Edit the
messages.potfile and set the characterset to UTF-8.
"Content-Type: text/plain; charset=UTF-8\n"
- Convert the
python3 generate_home_tmpl.pyit will recreate the
- Upload that file and copy it to the
custom/templates/directory of the gitea instance.
The python script to generate the template file has been released under the terms of the MIT license.