diff options
| author | Yenthe <yenthevg@gmail.com> | 2016-04-11 09:08:32 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2016-04-12 13:05:29 +0200 |
| commit | 1174cd3fd5c432d212d57fc6623dcd8c34d33de0 (patch) | |
| tree | 6464a06bf4ad8cea86485d1ac16b970d56e015c4 /doc | |
| parent | f40e9ecfc30ba93a2b931a485565660f819436ad (diff) | |
[FIX] doc: Improve english
Some rephrasing to slightly improve the docs.
Closes #11652
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/reference/guidelines.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/reference/guidelines.rst b/doc/reference/guidelines.rst index 17e50fe89ae..51bff7936ba 100644 --- a/doc/reference/guidelines.rst +++ b/doc/reference/guidelines.rst @@ -16,7 +16,7 @@ Module structure Directories ----------- -A module is organised in a few directory : +A module is organised in a few directories : - *data/* : demo and data xml - *models/* : models definition @@ -266,7 +266,7 @@ Inside these 3 groups, the imported lines are alphabetically sorted. Idioms ------ -- Prefer ``%`` over ``.format()``, prefer ``%(varname)`` instead of position (This is better for translation) +- Prefer ``%`` over ``.format()``, prefer ``%(varname)`` instead of position (This is better for translations) - Try to avoid generators and decorators - Always favor *Readability* over *conciseness* or using the language features or idioms. - Use list comprehension, dict comprehension, and basic manipulation using ``map``, ``filter``, ``sum``, ... They make the code easier to read. |
