Kaydet (Commit) 150267f9 authored tarafından Caolán McNamara's avatar Caolán McNamara

Related: tdf#114873 if fallback returned as result, drop context

Change-Id: I82676e4a0b3dee33e248b3ba81e99f949ee9227a
üst 384c16ab
...@@ -23,7 +23,10 @@ def NC_(context, string): ...@@ -23,7 +23,10 @@ def NC_(context, string):
# Contextual strings are stored with the concatenation of # Contextual strings are stored with the concatenation of
# the context, a EOT byte, and the original string, instead of the original string # the context, a EOT byte, and the original string, instead of the original string
# see https://www.gnu.org/software/gettext/manual/html_node/MO-Files.html # see https://www.gnu.org/software/gettext/manual/html_node/MO-Files.html
return gettext.gettext(context + chr(4) + string) ret = gettext.gettext(context + chr(4) + string)
if ret.find(chr(4)) == -1:
return ret
return string
# common section # common section
RID_COMMON_START_0 = NC_("RID_COMMON_START_0", "The directory '%1' could not be created.<BR>There may not be enough space left on your hard disk.") RID_COMMON_START_0 = NC_("RID_COMMON_START_0", "The directory '%1' could not be created.<BR>There may not be enough space left on your hard disk.")
......
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