summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/inc/doctempl.hrc3
-rw-r--r--sfx2/inc/strings.hxx1
-rw-r--r--sfx2/source/doc/doctempl.cxx2
-rw-r--r--sfx2/source/doc/doctemplates.cxx3
4 files changed, 7 insertions, 2 deletions
diff --git a/sfx2/inc/doctempl.hrc b/sfx2/inc/doctempl.hrc
index 1e940cc6e1e2..0bd5a1957a78 100644
--- a/sfx2/inc/doctempl.hrc
+++ b/sfx2/inc/doctempl.hrc
@@ -32,7 +32,8 @@ const TranslateId TEMPLATE_LONG_NAMES_ARY[] =
NC_("TEMPLATE_LONG_NAMES_ARY", "Other Business Documents"),
NC_("TEMPLATE_LONG_NAMES_ARY", "Personal Correspondence and Documents"),
NC_("TEMPLATE_LONG_NAMES_ARY", "Presentations"),
- NC_("TEMPLATE_LONG_NAMES_ARY", "Drawings")
+ NC_("TEMPLATE_LONG_NAMES_ARY", "Drawings"),
+ NC_("TEMPLATE_LONG_NAMES_ARY", "Localization")
};
#endif
diff --git a/sfx2/inc/strings.hxx b/sfx2/inc/strings.hxx
index 67df9d7dfc80..8d347934c519 100644
--- a/sfx2/inc/strings.hxx
+++ b/sfx2/inc/strings.hxx
@@ -47,6 +47,7 @@ inline constexpr OUStringLiteral STR_TEMPLATE_NAME29_DEF = u"Modern business let
inline constexpr OUStringLiteral STR_TEMPLATE_NAME30_DEF = u"Businesscard with logo";
inline constexpr OUStringLiteral STR_TEMPLATE_NAME31_DEF = u"Simple";
inline constexpr OUStringLiteral STR_TEMPLATE_NAME32_DEF = u"BPMN";
+inline constexpr OUStringLiteral STR_TEMPLATE_NAME33_DEF = u"Simplified Chinese Normal";
inline constexpr OUStringLiteral CMIS_TYPE_STRING = u"String";
#define CMIS_TYPE_INTEGER "Integer"
diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx
index 2699f7adaa14..b585e8fef58f 100644
--- a/sfx2/source/doc/doctempl.cxx
+++ b/sfx2/source/doc/doctempl.cxx
@@ -496,6 +496,7 @@ OUString SfxDocumentTemplates::ConvertResourceString(const OUString& rString)
STR_TEMPLATE_NAME30_DEF,
STR_TEMPLATE_NAME31_DEF,
STR_TEMPLATE_NAME32_DEF,
+ STR_TEMPLATE_NAME33_DEF
};
TranslateId STR_TEMPLATE_NAME[] =
@@ -532,6 +533,7 @@ OUString SfxDocumentTemplates::ConvertResourceString(const OUString& rString)
STR_TEMPLATE_NAME30,
STR_TEMPLATE_NAME31,
STR_TEMPLATE_NAME32,
+ STR_TEMPLATE_NAME33
};
static_assert(SAL_N_ELEMENTS(aTemplateNames) == SAL_N_ELEMENTS(STR_TEMPLATE_NAME));
diff --git a/sfx2/source/doc/doctemplates.cxx b/sfx2/source/doc/doctemplates.cxx
index e256b50ded6c..d16b5dabf21d 100644
--- a/sfx2/source/doc/doctemplates.cxx
+++ b/sfx2/source/doc/doctemplates.cxx
@@ -488,7 +488,8 @@ const char* TEMPLATE_SHORT_NAMES_ARY[] =
"offimisc",
"personal",
"presnt",
- "draw"
+ "draw",
+ "l10n",
};
void SfxDocTplService_Impl::readFolderList()