diff options
Diffstat (limited to 'wizards/com/sun/star/wizards/common/strings.hrc')
-rw-r--r-- | wizards/com/sun/star/wizards/common/strings.hrc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/wizards/com/sun/star/wizards/common/strings.hrc b/wizards/com/sun/star/wizards/common/strings.hrc index fc43b334342c..21110de96fed 100644 --- a/wizards/com/sun/star/wizards/common/strings.hrc +++ b/wizards/com/sun/star/wizards/common/strings.hrc @@ -20,7 +20,10 @@ gettext.bindtextdomain('wiz', unohelper.fileUrlToSystemPath( gettext.textdomain('wiz') def NC_(context, string): - return gettext.gettext(string) + # Contextual strings are stored with the concatenation of + # 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 + return gettext.gettext(context + chr(4) + string) # 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.") |