changeset 071a8b02e436 in trytond:default
details: https://hg.tryton.org/trytond?cmd=changeset;node=071a8b02e436
description:
        Add missing end dot on translatable strings

        issue8670
        review252211037
diffstat:

 trytond/ir/action.py                        |  10 +++++-----
 trytond/ir/model.py                         |   6 +++---
 trytond/ir/rule.py                          |   6 +++---
 trytond/ir/ui/view.py                       |   2 +-
 trytond/ir/view/rule_group_form.xml         |   4 ++--
 trytond/res/ir.py                           |   2 +-
 trytond/res/user.py                         |   2 +-
 trytond/res/view/user_config_start_form.xml |   2 +-
 8 files changed, 17 insertions(+), 17 deletions(-)

diffs (153 lines):

diff -r ef209230d762 -r 071a8b02e436 trytond/ir/action.py
--- a/trytond/ir/action.py      Sat Sep 28 23:59:10 2019 +0200
+++ b/trytond/ir/action.py      Mon Sep 30 09:40:36 2019 +0200
@@ -518,7 +518,7 @@
             ('xpm', 'X PixMap'),
             ], translate=False,
         string='Extension', help='Leave empty for the same as template, '
-        'see LibreOffice documentation for compatible format')
+        'see LibreOffice documentation for compatible format.')
     module = fields.Char('Module', readonly=True, select=True)
     email = fields.Char('Email',
         help='Python dictonary where keys define "to" "cc" "subject"\n'
@@ -698,18 +698,18 @@
     context_model = fields.Char('Context Model')
     context_domain = fields.Char(
         "Context Domain",
-        help="Part of the domain that will be evaluated on each refresh")
+        help="Part of the domain that will be evaluated on each refresh.")
     act_window_views = fields.One2Many('ir.action.act_window.view',
             'act_window', 'Views')
     views = fields.Function(fields.Binary('Views'), 'get_views')
     act_window_domains = fields.One2Many('ir.action.act_window.domain',
         'act_window', 'Domains')
     domains = fields.Function(fields.Binary('Domains'), 'get_domains')
-    limit = fields.Integer('Limit', help='Default limit for the list view')
+    limit = fields.Integer('Limit', help='Default limit for the list view.')
     action = fields.Many2One('ir.action', 'Action', required=True,
             ondelete='CASCADE')
     search_value = fields.Char('Search Criteria',
-            help='Default search criteria for the list view')
+            help='Default search criteria for the list view.')
     pyson_domain = fields.Function(fields.Char('PySON Domain'), 'get_pyson')
     pyson_context = fields.Function(fields.Char('PySON Context'),
             'get_pyson')
@@ -1015,7 +1015,7 @@
             ondelete='CASCADE')
     model = fields.Char('Model')
     email = fields.Char('Email')
-    window = fields.Boolean('Window', help='Run wizard in a new window')
+    window = fields.Boolean('Window', help='Run wizard in a new window.')
 
     @staticmethod
     def default_type():
diff -r ef209230d762 -r 071a8b02e436 trytond/ir/model.py
--- a/trytond/ir/model.py       Sat Sep 28 23:59:10 2019 +0200
+++ b/trytond/ir/model.py       Mon Sep 30 09:40:36 2019 +0200
@@ -59,7 +59,7 @@
             },
         depends=['module'])
     module = fields.Char('Module',
-       help="Module in which this model is defined", readonly=True)
+       help="Module in which this model is defined.", readonly=True)
     global_search_p = fields.Boolean('Global Search')
     fields = fields.One2Many('ir.model.field', 'model', 'Fields',
        required=True)
@@ -234,7 +234,7 @@
             },
         depends=['module'])
     module = fields.Char('Module',
-       help="Module in which this field is defined")
+       help="Module in which this field is defined.")
     _get_name_cache = Cache('ir.model.field.get_name')
 
     @classmethod
@@ -793,7 +793,7 @@
             ('id', '!=', Eval('id', -1)),
             ],
         depends=['model', 'id'],
-        help="Button that should reset the rules")
+        help="Button that should reset the rules.")
     reset = fields.Many2Many(
         'ir.model.button-button.reset', 'button', 'button_ruled', "Reset",
         domain=[
diff -r ef209230d762 -r 071a8b02e436 trytond/ir/rule.py
--- a/trytond/ir/rule.py        Sat Sep 28 23:59:10 2019 +0200
+++ b/trytond/ir/rule.py        Mon Sep 30 09:40:36 2019 +0200
@@ -28,11 +28,11 @@
     model = fields.Many2One('ir.model', 'Model', select=True,
         required=True, ondelete='CASCADE')
     global_p = fields.Boolean('Global', select=True,
-        help="Make the rule global \nso every users must follow this rule")
+        help="Make the rule global \nso every users must follow this rule.")
     default_p = fields.Boolean('Default', select=True,
-        help="Add this rule to all users by default")
+        help="Add this rule to all users by default.")
     rules = fields.One2Many('ir.rule', 'rule_group', 'Tests',
-        help="The rule is satisfied if at least one test is True")
+        help="The rule is satisfied if at least one test is True.")
     groups = fields.Many2Many('ir.rule.group-res.group',
         'rule_group', 'group', 'Groups')
     perm_read = fields.Boolean('Read Access')
diff -r ef209230d762 -r 071a8b02e436 trytond/ir/ui/view.py
--- a/trytond/ir/ui/view.py     Sat Sep 28 23:59:10 2019 +0200
+++ b/trytond/ir/ui/view.py     Mon Sep 30 09:40:36 2019 +0200
@@ -380,7 +380,7 @@
 
     name = fields.Char('Name', required=True)
     model = fields.Char('Model', required=True)
-    domain = fields.Char('Domain', help="The PYSON domain")
+    domain = fields.Char('Domain', help="The PYSON domain.")
     user = fields.Many2One('res.user', 'User', required=True,
         ondelete='CASCADE')
 
diff -r ef209230d762 -r 071a8b02e436 trytond/ir/view/rule_group_form.xml
--- a/trytond/ir/view/rule_group_form.xml       Sat Sep 28 23:59:10 2019 +0200
+++ b/trytond/ir/view/rule_group_form.xml       Mon Sep 30 09:40:36 2019 +0200
@@ -21,8 +21,8 @@
     <label name="name"/>
     <field name="name" colspan="5"/>
     <field name="rules" colspan="6"/>
-    <label string="The rule is satisfied if at least one test is True"
+    <label string="The rule is satisfied if at least one test is True."
         colspan="6" xalign="0.0" id="satisfied"/>
-    <label string="If there is no test defined, the rule is always satisfied 
if not global"
+    <label string="If there is no test defined, the rule is always satisfied 
if not global."
         colspan="6" xalign="0.0" id="no_test"/>
 </form>
diff -r ef209230d762 -r 071a8b02e436 trytond/res/ir.py
--- a/trytond/res/ir.py Sat Sep 28 23:59:10 2019 +0200
+++ b/trytond/res/ir.py Mon Sep 30 09:40:36 2019 +0200
@@ -145,7 +145,7 @@
     __name__ = 'ir.sequence.type'
     groups = fields.Many2Many('ir.sequence.type-res.group', 'sequence_type',
             'group', 'User Groups',
-            help='Groups allowed to edit the sequences of this type')
+            help='Groups allowed to edit the sequences of this type.')
 
 
 class SequenceTypeGroup(ModelSQL):
diff -r ef209230d762 -r 071a8b02e436 trytond/res/user.py
--- a/trytond/res/user.py       Sat Sep 28 23:59:10 2019 +0200
+++ b/trytond/res/user.py       Mon Sep 30 09:40:36 2019 +0200
@@ -133,7 +133,7 @@
         domain=[('usage', '=', 'menu')], required=True)
     pyson_menu = fields.Function(fields.Char('PySON Menu'), 'get_pyson_menu')
     actions = fields.Many2Many('res.user-ir.action', 'user', 'action',
-        'Actions', help='Actions that will be run at login')
+        'Actions', help='Actions that will be run at login.')
     groups = fields.Many2Many('res.user-res.group',
        'user', 'group', 'Groups')
     applications = fields.One2Many(
diff -r ef209230d762 -r 071a8b02e436 trytond/res/view/user_config_start_form.xml
--- a/trytond/res/view/user_config_start_form.xml       Sat Sep 28 23:59:10 
2019 +0200
+++ b/trytond/res/view/user_config_start_form.xml       Mon Sep 30 09:40:36 
2019 +0200
@@ -7,7 +7,7 @@
         <label string="You can now add some users into the system."
             id="add"
             yalign="0.0" xalign="0.0" xexpand="1"/>
-        <label string="Be careful that the login must be unique!"
+        <label string="Be careful that the login must be unique."
             id="carefull"
             yalign="0.0" xalign="0.0" xexpand="1"/>
     </group>

Reply via email to