Date: prev next · Thread: first prev next last
2019 Archives by date, by thread · List index


Hi..

On using Glade on a dialog (*.ui) and changing the Help button order, I
get the following complaint from git at commit time

*
* You have some suspicious patch lines:
*
* In sc/uiconfig/scalc/ui/solverdlg.ui
* translatable .ui file line without context (line 415)
sc/uiconfig/scalc/ui/solverdlg.ui:415:                               
<property name="AtkObject::accessible-name" translatable="yes">Cell
reference</property>
* translatable .ui file line without context (line 432)
sc/uiconfig/scalc/ui/solverdlg.ui:432:                               
<property name="AtkObject::accessible-name" translatable="yes">Cell
reference</property>
* translatable .ui file line without context (line 449)
sc/uiconfig/scalc/ui/solverdlg.ui:449:                               
<property name="AtkObject::accessible-name" translatable="yes">Cell
reference</property>
* translatable .ui file line without context (line 466)
sc/uiconfig/scalc/ui/solverdlg.ui:466:                               
<property name="AtkObject::accessible-name" translatable="yes">Cell
reference</property>
* translatable .ui file line without context (line 532)
sc/uiconfig/scalc/ui/solverdlg.ui:532:                               
<property name="AtkObject::accessible-name"
translatable="yes">Operator</property>
* translatable .ui file line without context (line 554)
sc/uiconfig/scalc/ui/solverdlg.ui:554:                               
<property name="AtkObject::accessible-name"
translatable="yes">Operator</property>
* translatable .ui file line without context (line 576)
sc/uiconfig/scalc/ui/solverdlg.ui:576:                               
<property name="AtkObject::accessible-name"
translatable="yes">Operator</property>
* translatable .ui file line without context (line 598)
sc/uiconfig/scalc/ui/solverdlg.ui:598:                               
<property name="AtkObject::accessible-name"
translatable="yes">Operator</property>
* translatable .ui file line without context (line 616)
sc/uiconfig/scalc/ui/solverdlg.ui:616:                               
<property name="AtkObject::accessible-name"
translatable="yes">Value</property>
* translatable .ui file line without context (line 634)
sc/uiconfig/scalc/ui/solverdlg.ui:634:                               
<property name="AtkObject::accessible-name"
translatable="yes">Value</property>
* translatable .ui file line without context (line 652)
sc/uiconfig/scalc/ui/solverdlg.ui:652:                               
<property name="AtkObject::accessible-name"
translatable="yes">Value</property>
* translatable .ui file line without context (line 670)
sc/uiconfig/scalc/ui/solverdlg.ui:670:                               
<property name="AtkObject::accessible-name"
translatable="yes">Value</property>


It seems that on saving the ui file, Glade 3.22.1 is changing the
context settings of the indicated objects above, which were not the
purpose of my edit. The following diff lines

-                                <property
name="AtkObject::accessible-name" translatable="yes"
context="solverdlg|op4list-atkobject">Operator</property>
+                                <property
name="AtkObject::accessible-name" translatable="yes">Operator</property>

seems to be what makes git unhappy.

Is there a setting in Glade for that or must I restore manually the
context attribute?

Thank you

-- 
Olivier Hallot
LibreOffice Documentation Coordinator
Comunidade LibreOffice 
Rio de Janeiro - Brasil - Local Time: UTC-03:00
http://tdf.io/joinus 


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.