forked from I2P_Developers/i2p.www
Add Hungarian to dropdown
README updates
This commit is contained in:
19
README.md
19
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
|
- In particular, do not change the `CANONICAL_DOMAIN` variable in
|
||||||
`i2p2www/__init__.py`, it needs to point to the official site for SEO.
|
`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
|
- 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
|
`etc/update.vars.custom` and edit appropriately.
|
||||||
may need to edit is `MTNURL` in `etc/update.vars` (if your Monotone client
|
|
||||||
tunnel is listening on a different port).
|
|
||||||
- If you want to enable caching, copy `i2p2www/settings.py.sample` to
|
- If you want to enable caching, copy `i2p2www/settings.py.sample` to
|
||||||
`i2p2www/settings.py` and edit appropriately.
|
`i2p2www/settings.py` and edit appropriately.
|
||||||
- Add `./site-updater.sh` to your crontab. This will keep the site updated,
|
- 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"
|
$ git commit -am "Updated translations"
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
|
||||||
# older mtn instructions
|
|
||||||
$ mtn ci `cat newtranslations.txt` -m "Updated translations"
|
|
||||||
```
|
|
||||||
|
|
||||||
6. Check in any new translations:
|
6. Check in any new translations:
|
||||||
First, look to see which translations are supported in i2pwww/__init__.py.
|
First, look to see which translations are supported in i2pwww/__init__.py.
|
||||||
For any new translations that are NOT in __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"
|
$ 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:
|
## Pushing updated translation source (.pot) files to Transifex:
|
||||||
|
|
||||||
1. Update the .pot files with any changes to the website text:
|
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"
|
$ git commit -am "Updated translation strings"
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
|
||||||
# older mtn instructions
|
|
||||||
$ mtn ci pots/ -m "Updated translation strings"
|
|
||||||
```
|
|
||||||
|
|
||||||
3. Push pots file changes to Transifex:
|
3. Push pots file changes to Transifex:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -48,6 +48,7 @@ SUPPORTED_LANGS = [
|
|||||||
'zh_TW',
|
'zh_TW',
|
||||||
'el',
|
'el',
|
||||||
'he',
|
'he',
|
||||||
|
'hu',
|
||||||
'it',
|
'it',
|
||||||
'ja',
|
'ja',
|
||||||
'ko',
|
'ko',
|
||||||
@ -75,6 +76,7 @@ SUPPORTED_LANG_NAMES = {
|
|||||||
'fr': u'Français',
|
'fr': u'Français',
|
||||||
'el': u'Greek Ελληνικά',
|
'el': u'Greek Ελληνικά',
|
||||||
'he': u'Hebrew עברית',
|
'he': u'Hebrew עברית',
|
||||||
|
'hu': u'Hungarian',
|
||||||
'it': u'Italiano',
|
'it': u'Italiano',
|
||||||
'ja': u'Japanese 日本語',
|
'ja': u'Japanese 日本語',
|
||||||
'ko': u'Korean 한국말',
|
'ko': u'Korean 한국말',
|
||||||
|
Reference in New Issue
Block a user