Pull initials from saved settings if they exist, otherwise derive from other values (LP: #1574239)
This commit is contained in:
parent
65b00fb57b
commit
25cda5b89c
|
@ -675,7 +675,7 @@ class MugshotWindow(Window):
|
|||
data[key] = dataset[key]
|
||||
|
||||
# Then get data from dconf
|
||||
if len(self.settings['initials']) > len(data['initials']):
|
||||
if len(self.settings['initials']) > 0:
|
||||
data['initials'] = self.settings['initials']
|
||||
if len(data['email']) == 0:
|
||||
data['email'] = self.settings['email']
|
||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-08-06 05:44-0400\n"
|
||||
"POT-Creation-Date: 2018-08-06 05:56-0400\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
|
Loading…
Reference in New Issue