[Libreoffice-commits] core.git: sc/uiconfig

Kiyotaka Nishibori ml.nishibori.kiyotaka at gmail.com
Tue Aug 29 20:16:02 UTC 2017


 sc/uiconfig/scalc/ui/dataprovider.ui |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit a9cd75c1501d5095887c657426820962c68e0ede
Author: Kiyotaka Nishibori <ml.nishibori.kiyotaka at gmail.com>
Date:   Sun Aug 27 16:35:54 2017 +0900

    Fix 'make translations' run again
    
    Some translatable strings without context attribute was fixed at recent commit. However 'make
    translations' fails still now:
    
    [POT] pot.done
    Traceback (most recent call last):
      File "/home/kiyotaka/Sources/libreoffice-testing/solenv/bin/uiex", line 30, in <module>
        keyid = entry.msgctxt + '|' + entry.msgid
    TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
    
    Two translatable strings in 'sc/uiconfig/scalc/ui/dataprovider.ui' have had no context attribute.
    
    Change-Id: Id832ef62904b8000b58348bdc380d58eff305001
    Reviewed-on: https://gerrit.libreoffice.org/41598
    Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
    Tested-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>

diff --git a/sc/uiconfig/scalc/ui/dataprovider.ui b/sc/uiconfig/scalc/ui/dataprovider.ui
index 0dfa418fcf6a..4a3bdb0ed60d 100644
--- a/sc/uiconfig/scalc/ui/dataprovider.ui
+++ b/sc/uiconfig/scalc/ui/dataprovider.ui
@@ -193,10 +193,10 @@
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
                             <child>
-                              <object class="GtkLabel">
+                              <object class="GtkLabel" id="label_provider">
                                 <property name="visible">True</property>
                                 <property name="can_focus">False</property>
-                                <property name="label" translatable="yes">Data Provider:</property>
+                                <property name="label" translatable="yes" context="datastreams|label_provider">Data Provider:</property>
                               </object>
                               <packing>
                                 <property name="expand">False</property>
@@ -228,10 +228,10 @@
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
                             <child>
-                              <object class="GtkLabel">
+                              <object class="GtkLabel" id="label_search">
                                 <property name="visible">True</property>
                                 <property name="can_focus">False</property>
-                                <property name="label" translatable="yes">Search String:</property>
+                                <property name="label" translatable="yes" context="datastreams|label_search">Search String:</property>
                               </object>
                               <packing>
                                 <property name="expand">False</property>


More information about the Libreoffice-commits mailing list