summaryrefslogtreecommitdiff
path: root/forms/inc/strings.hrc
diff options
context:
space:
mode:
Diffstat (limited to 'forms/inc/strings.hrc')
-rw-r--r--forms/inc/strings.hrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/forms/inc/strings.hrc b/forms/inc/strings.hrc
index c3b7447fbc84..8ff5d91dc8b3 100644
--- a/forms/inc/strings.hrc
+++ b/forms/inc/strings.hrc
@@ -19,7 +19,9 @@
#pragma once
-#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
+#include <unotools/resmgr.hxx>
+
+#define NC_(Context, String) TranslateId(Context, reinterpret_cast<char const *>(u8##String))
#define RID_BASELISTBOX_ERROR_FILLLIST NC_("RID_BASELISTBOX_ERROR_FILLLIST", "The contents of a combo box or list field could not be determined.")
#define RID_STR_IMPORT_GRAPHIC NC_("RID_STR_IMPORT_GRAPHIC", "Insert Image" )