Kaydet (Commit) 7da4e0b7 authored tarafından Kiyotaka Nishibori's avatar Kiyotaka Nishibori Kaydeden (comit) Katarina Behrens

Add context attribute to translatable entry in .ui file.

a translatable entry without context attribute in 'fpicker/uiconfig/ui/explorefiledialog' causes
failure of 'make translation':
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'
Error: Failed to execute /home/kiyotaka/Sources/libreoffice-testing/solenv/bin/uiex -i /home/kiyotaka/Sources/libreoffice-testing/fpicker/uiconfig/ui/explorerfiledialog.ui -o /home/kiyotaka/Sources/libreoffice-testing/workdir//pot/fpicker/messages.pot

Change-Id: Icdd5e283a30108b45f4b62967e2ce287d338b582
Reviewed-on: https://gerrit.libreoffice.org/41828Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarKatarina Behrens <Katarina.Behrens@cib.de>
üst 6716100f
......@@ -453,7 +453,7 @@
</child>
<child>
<object class="GtkCheckButton" id="gpgencrypt">
<property name="label" translatable="yes">Encrypt with GPG key</property>
<property name="label" translatable="yes" context="explorerfiledialog|gpgencrypt">Encrypt with GPG key</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment