From 33f0c27ab104dab00e676e7ec4c8b60df5d3a32c Mon Sep 17 00:00:00 2001 From: zzz <zzz@i2pmail.org> Date: Mon, 11 Oct 2021 12:45:11 -0400 Subject: [PATCH] Add Hungarian to dropdown README updates --- README.md | 19 +------------------ i2p2www/__init__.py | 2 ++ 2 files changed, 3 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 2e0377137..a912fbb67 100644 --- a/README.md +++ b/README.md @@ -34,9 +34,7 @@ If you want to mirror the I2P website, thanks! Here is a checklist: - In particular, do not change the `CANONICAL_DOMAIN` variable in `i2p2www/__init__.py`, it needs to point to the official site for SEO. - If you need to edit variables in `etc/update.vars`, copy the file to - `etc/update.vars.custom` and edit appropriately. The only variable you - may need to edit is `MTNURL` in `etc/update.vars` (if your Monotone client - tunnel is listening on a different port). + `etc/update.vars.custom` and edit appropriately. - If you want to enable caching, copy `i2p2www/settings.py.sample` to `i2p2www/settings.py` and edit appropriately. - Add `./site-updater.sh` to your crontab. This will keep the site updated, @@ -99,11 +97,6 @@ in `etc/translation.vars` can be overridden by creating the file $ git commit -am "Updated translations" ``` - ``` - # older mtn instructions - $ mtn ci `cat newtranslations.txt` -m "Updated translations" - ``` - 6. Check in any new translations: First, look to see which translations are supported in i2pwww/__init__.py. For any new translations that are NOT in __init__.py, @@ -115,11 +108,6 @@ in `etc/translation.vars` can be overridden by creating the file $ git add i2p2www/translations/* && git commit -am "New translations" ``` - ``` - # older mtn instructions - $ mtn add -R i2p2www/translations/ && mtn ci i2p2www/translations/ -m "New translations" - ``` - ## Pushing updated translation source (.pot) files to Transifex: 1. Update the .pot files with any changes to the website text: @@ -135,11 +123,6 @@ in `etc/translation.vars` can be overridden by creating the file $ git commit -am "Updated translation strings" ``` - ``` - # older mtn instructions - $ mtn ci pots/ -m "Updated translation strings" - ``` - 3. Push pots file changes to Transifex: ``` diff --git a/i2p2www/__init__.py b/i2p2www/__init__.py index 38b5a9122..e62cd11d7 100644 --- a/i2p2www/__init__.py +++ b/i2p2www/__init__.py @@ -48,6 +48,7 @@ SUPPORTED_LANGS = [ 'zh_TW', 'el', 'he', + 'hu', 'it', 'ja', 'ko', @@ -75,6 +76,7 @@ SUPPORTED_LANG_NAMES = { 'fr': u'Français', 'el': u'Greek Ελληνικά', 'he': u'Hebrew עברית', + 'hu': u'Hungarian', 'it': u'Italiano', 'ja': u'Japanese 日本語', 'ko': u'Korean í•œêµë§', -- GitLab