Skip to content
Snippets Groups Projects
Commit d8b71a5d authored by nkour's avatar nkour
Browse files

logic fix

parent 1968b201
No related branches found
No related tags found
No related merge requests found
......@@ -48,6 +48,7 @@ def Q_(s):
# but gettext while parsing the file detects ?vcard:Unknown as a whole string.
# translator can either put the ?vcard: part or no (easier for him to no)
# nothing fails
s = _(s)
if s[0] == '?':
s = s[s.index(':')+1:] # remove ?abc: part
s = s[s.find(':')+1:] # remove ?abc: part
return s
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment