diff options
author | Kiyotaka Nishibori <ml.nishibori.kiyotaka@gmail.com> | 2017-09-02 14:31:05 +0900 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2017-09-02 13:03:33 +0200 |
commit | 7da4e0b7f28042b143f532f987b99e4018ef3531 (patch) | |
tree | 3cbbf48f3dadff931aa9372863da78930d9a5a3b /fpicker | |
parent | 6716100f4d8529cb265481e2ab54a90b4a5e287c (diff) |
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/41828
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/uiconfig/ui/explorerfiledialog.ui | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpicker/uiconfig/ui/explorerfiledialog.ui b/fpicker/uiconfig/ui/explorerfiledialog.ui index 8008e62039c4..4d43b4112efe 100644 --- a/fpicker/uiconfig/ui/explorerfiledialog.ui +++ b/fpicker/uiconfig/ui/explorerfiledialog.ui @@ -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> |