Update readme and merge Portuguese translation
This commit is contained in:
parent
1664d6edac
commit
4d78a22684
@ -19,7 +19,7 @@ Features
|
|||||||
- Mobile CSS (responsive design)
|
- Mobile CSS (responsive design)
|
||||||
- Keyboard shortcuts (pressing '?' displays a pop-up listing the shortcuts; pressing 'q' closes it)
|
- Keyboard shortcuts (pressing '?' displays a pop-up listing the shortcuts; pressing 'q' closes it)
|
||||||
- Basic bookmarks
|
- Basic bookmarks
|
||||||
- Translated in English, French, German, Italian, Czech, Spanish and Simplified Chinese
|
- Translated in English, French, German, Italian, Czech, Spanish, Portuguese and Simplified Chinese
|
||||||
- Themes support
|
- Themes support
|
||||||
- Alternative login with a Google Account or Mozilla Persona
|
- Alternative login with a Google Account or Mozilla Persona
|
||||||
- **Full article download for feeds that display only a summary** (website scraper based on Xpath rules)
|
- **Full article download for feeds that display only a summary** (website scraper based on Xpath rules)
|
||||||
@ -52,6 +52,7 @@ People who sent a pull-request, report a bug, make a new theme or share a super
|
|||||||
- Derjus: https://github.com/derjus
|
- Derjus: https://github.com/derjus
|
||||||
- Eauland: https://github.com/eauland
|
- Eauland: https://github.com/eauland
|
||||||
- Félix: https://github.com/dysosmus
|
- Félix: https://github.com/dysosmus
|
||||||
|
- Geriel Castro: https://github.com/GerielCastro
|
||||||
- Horsely: https://github.com/horsley
|
- Horsely: https://github.com/horsley
|
||||||
- Ing. Jan Kaláb: https://github.com/Pitel
|
- Ing. Jan Kaláb: https://github.com/Pitel
|
||||||
- Itoine: https://github.com/itoine
|
- Itoine: https://github.com/itoine
|
||||||
@ -286,6 +287,24 @@ It would be awesome for everybody :)
|
|||||||
- Bootstrap 3 (Light) By Silvus
|
- Bootstrap 3 (Light) By Silvus
|
||||||
- Bootswatch Cyborg By Silvus
|
- Bootswatch Cyborg By Silvus
|
||||||
|
|
||||||
|
### How to create or update a translation?
|
||||||
|
|
||||||
|
- Translations are stored inside the directory `locales`
|
||||||
|
- There is sub-directory for each language, by example for french we have `fr_FR`, for italian `it_IT` etc...
|
||||||
|
- A translation is a PHP file that return an Array with a key-value pairs
|
||||||
|
- The key is the original text in english and the value is the translation for the corresponding language
|
||||||
|
|
||||||
|
French translations are always the most recent (because I am french).
|
||||||
|
|
||||||
|
Create a new translation:
|
||||||
|
|
||||||
|
1. Make a new directory: `locales/xx_XX` by example `locales/fr_CA` for French Canadian
|
||||||
|
2. Create a new file for the translation: `locales/xx_XX/translations.php`
|
||||||
|
3. Use the content of the french locales to have the most recent keys and replace the values
|
||||||
|
4. Inside the file `model.php`, add a new entry for your translation in the function `get_languages()`
|
||||||
|
5. Check with your local installation of Miniflux if everything is ok
|
||||||
|
6. Send a pull-request with Github
|
||||||
|
|
||||||
### Coding standards for contributors
|
### Coding standards for contributors
|
||||||
|
|
||||||
- Line indentation: 4 spaces
|
- Line indentation: 4 spaces
|
||||||
|
@ -79,6 +79,7 @@ return array(
|
|||||||
'Simplified Chinese' => 'Chino simplificado',
|
'Simplified Chinese' => 'Chino simplificado',
|
||||||
'Czech' => 'Checo',
|
'Czech' => 'Checo',
|
||||||
'Spanish' => 'Español',
|
'Spanish' => 'Español',
|
||||||
|
'Portuguese' => 'Portugués',
|
||||||
'unread' => 'no leídos',
|
'unread' => 'no leídos',
|
||||||
'bookmark' => 'añadir a marcadores',
|
'bookmark' => 'añadir a marcadores',
|
||||||
'remove bookmark' => 'borrar marcador',
|
'remove bookmark' => 'borrar marcador',
|
||||||
|
@ -79,6 +79,7 @@ return array(
|
|||||||
'Spanish' => 'Espagnol',
|
'Spanish' => 'Espagnol',
|
||||||
'Simplified Chinese' => 'Chinois simplifié',
|
'Simplified Chinese' => 'Chinois simplifié',
|
||||||
'Czech' => 'Tchèque',
|
'Czech' => 'Tchèque',
|
||||||
|
'Portuguese' => 'Portuguais',
|
||||||
'unread' => 'non lus',
|
'unread' => 'non lus',
|
||||||
'bookmark' => 'ajouter aux favoris',
|
'bookmark' => 'ajouter aux favoris',
|
||||||
'remove bookmark' => 'supprimer des favoris',
|
'remove bookmark' => 'supprimer des favoris',
|
||||||
|
@ -15,6 +15,7 @@ return array(
|
|||||||
'German' => 'Alemão',
|
'German' => 'Alemão',
|
||||||
'Italian' => 'Italiano',
|
'Italian' => 'Italiano',
|
||||||
'Simplified Chinese' => 'Chinês Simplificado',
|
'Simplified Chinese' => 'Chinês Simplificado',
|
||||||
|
'Portuguese' => 'Português',
|
||||||
'unread' => 'não lido',
|
'unread' => 'não lido',
|
||||||
'bookmarks' => 'lesezeichen',
|
'bookmarks' => 'lesezeichen',
|
||||||
'bookmark' => 'lesezeichen',
|
'bookmark' => 'lesezeichen',
|
||||||
|
@ -47,7 +47,7 @@ function get_languages()
|
|||||||
'es_ES' => t('Spanish'),
|
'es_ES' => t('Spanish'),
|
||||||
'fr_FR' => t('French'),
|
'fr_FR' => t('French'),
|
||||||
'it_IT' => t('Italian'),
|
'it_IT' => t('Italian'),
|
||||||
'pt_BR' => t('Português'),
|
'pt_BR' => t('Portuguese'),
|
||||||
'zh_CN' => t('Simplified Chinese'),
|
'zh_CN' => t('Simplified Chinese'),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user