diff options
Diffstat (limited to 'sc/inc/compiler.hrc')
-rw-r--r-- | sc/inc/compiler.hrc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sc/inc/compiler.hrc b/sc/inc/compiler.hrc index 8e7b50dafb06..e77dd26ea6a4 100644 --- a/sc/inc/compiler.hrc +++ b/sc/inc/compiler.hrc @@ -19,9 +19,11 @@ #pragma once -#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String) +#include <unotools/resmgr.hxx> -const char* RID_FUNCTION_CATEGORIES[] = +#define NC_(Context, String) TranslateId(Context, reinterpret_cast<char const *>(u8##String)) + +const TranslateId RID_FUNCTION_CATEGORIES[] = { NC_("RID_FUNCTION_CATEGORIES", "Database"), NC_("RID_FUNCTION_CATEGORIES", "Date&Time"), |