summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-06-11 20:56:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-07-21 08:20:50 +0100
commit00657aef09d854c74fb426a935a3e8b1fc390bb0 (patch)
treefd1a9bb264fe15dcc129498e62060ecd256b1ee7 /starmath
parentfa987cbb813cfd729fe490f2f1258b7c8d7fb174 (diff)
migrate to boost::gettext
* all .ui files go from <interface> to <interface domain="MODULE"> e.g. vcl * all .src files go away and the english source strings folded into the .hrc as NC_("context", "source string") * ResMgr is dropped in favour of std::locale imbued by boost::locale::generator pointed at matching MODULE .mo files * UIConfig translations are folded into the module .mo, so e.g. UIConfig_cui goes from l10n target to normal one, so the res/lang.zips of UI files go away * translation via Translation::get(hrc-define-key, imbued-std::locale) * python can now be translated with its inbuilt gettext support (we keep the name strings.hrc there to keep finding the .hrc file uniform) so magic numbers can go away there * java and starbasic components can be translated via the pre-existing css.resource.StringResourceWithLocation mechanism * en-US res files go away, their strings are now the .hrc keys in the source code * remaining .res files are replaced by .mo files * in .res/.ui-lang-zip files, the old scheme missing translations of strings results in inserting the english original so something can be found, now the standard fallback of using the english original from the source key is used, so partial translations shrink dramatically in size * extract .hrc strings with hrcex which backs onto xgettext -C --add-comments --keyword=NC_:1c,2 --from-code=UTF-8 --no-wrap * extract .ui strings with uiex which backs onto xgettext --add-comments --no-wrap * qtz for gettext translations is generated at runtime as ascii-ified crc32 of content + "|" + msgid * [API CHANGE] remove deprecated binary .res resouce loader related uno apis com::sun::star::resource::OfficeResourceLoader com::sun::star::resource::XResourceBundleLoader com::sun::star::resource::XResourceBundle when translating strings via uno apis com.sun.star.resource.StringResourceWithLocation can continue to be used Change-Id: Ia2594a2672b7301d9c3421fdf31b6cfe7f3f8d0a
Diffstat (limited to 'starmath')
-rw-r--r--starmath/AllLangMoTarget_sm.mk13
-rw-r--r--starmath/AllLangResTarget_sm.mk32
-rw-r--r--starmath/Library_sm.mk3
-rw-r--r--starmath/Module_starmath.mk4
-rw-r--r--starmath/inc/ElementsDockingWindow.hxx26
-rw-r--r--starmath/inc/pch/precompiled_sm.hxx2
-rw-r--r--starmath/inc/smmod.hrc92
-rw-r--r--starmath/inc/smmod.hxx14
-rw-r--r--starmath/inc/starmath.hrc336
-rw-r--r--starmath/inc/strings.hrc341
-rw-r--r--starmath/qa/cppunit/test_starmath.cxx1
-rw-r--r--starmath/source/ElementsDockingWindow.cxx249
-rw-r--r--starmath/source/accessibility.cxx2
-rw-r--r--starmath/source/action.cxx2
-rw-r--r--starmath/source/cfgitem.cxx1
-rw-r--r--starmath/source/commands.src1062
-rw-r--r--starmath/source/dialog.cxx12
-rw-r--r--starmath/source/document.cxx1
-rw-r--r--starmath/source/edit.cxx3
-rw-r--r--starmath/source/mathmlexport.cxx1
-rw-r--r--starmath/source/mathmlimport.cxx1
-rw-r--r--starmath/source/parse.cxx34
-rw-r--r--starmath/source/smdll.cxx1
-rw-r--r--starmath/source/smmod.cxx59
-rw-r--r--starmath/source/smres.src267
-rw-r--r--starmath/source/symbol.cxx2
-rw-r--r--starmath/source/symbol.src187
-rw-r--r--starmath/source/uiobject.cxx2
-rw-r--r--starmath/source/unomodel.cxx1
-rw-r--r--starmath/source/utility.cxx2
-rw-r--r--starmath/source/view.cxx1
-rw-r--r--starmath/uiconfig/smath/ui/alignmentdialog.ui14
-rw-r--r--starmath/uiconfig/smath/ui/catalogdialog.ui14
-rw-r--r--starmath/uiconfig/smath/ui/dockingelements.ui4
-rw-r--r--starmath/uiconfig/smath/ui/fontdialog.ui12
-rw-r--r--starmath/uiconfig/smath/ui/fontsizedialog.ui20
-rw-r--r--starmath/uiconfig/smath/ui/fonttypedialog.ui40
-rw-r--r--starmath/uiconfig/smath/ui/printeroptions.ui18
-rw-r--r--starmath/uiconfig/smath/ui/savedefaultsdialog.ui8
-rw-r--r--starmath/uiconfig/smath/ui/smathsettings.ui26
-rw-r--r--starmath/uiconfig/smath/ui/spacingdialog.ui100
-rw-r--r--starmath/uiconfig/smath/ui/symdefinedialog.ui20
42 files changed, 779 insertions, 2251 deletions
diff --git a/starmath/AllLangMoTarget_sm.mk b/starmath/AllLangMoTarget_sm.mk
new file mode 100644
index 000000000000..7073577fafca
--- /dev/null
+++ b/starmath/AllLangMoTarget_sm.mk
@@ -0,0 +1,13 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+$(eval $(call gb_AllLangMoTarget_AllLangMoTarget,sm))
+
+$(eval $(call gb_AllLangMoTarget_set_polocation,sm,starmath))
+
+# vim: set noet sw=4 ts=4:
diff --git a/starmath/AllLangResTarget_sm.mk b/starmath/AllLangResTarget_sm.mk
deleted file mode 100644
index 9ef487d8e51b..000000000000
--- a/starmath/AllLangResTarget_sm.mk
+++ /dev/null
@@ -1,32 +0,0 @@
-# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
-#
-# This file is part of the LibreOffice project.
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-#
-
-
-$(eval $(call gb_AllLangResTarget_AllLangResTarget,sm))
-
-$(eval $(call gb_AllLangResTarget_set_reslocation,sm,starmath))
-
-$(eval $(call gb_AllLangResTarget_add_srs,sm,\
- sm/res \
-))
-
-$(eval $(call gb_SrsTarget_SrsTarget,sm/res))
-
-$(eval $(call gb_SrsTarget_set_include,sm/res,\
- -I$(SRCDIR)/starmath/inc \
- $$(INCLUDE) \
-))
-
-$(eval $(call gb_SrsTarget_add_files,sm/res,\
- starmath/source/smres.src \
- starmath/source/commands.src \
- starmath/source/symbol.src \
-))
-
-# vim: set noet sw=4 ts=4:
diff --git a/starmath/Library_sm.mk b/starmath/Library_sm.mk
index 831bf0e648a5..d87039dc8567 100644
--- a/starmath/Library_sm.mk
+++ b/starmath/Library_sm.mk
@@ -109,7 +109,4 @@ $(eval $(call gb_SdiTarget_set_include,starmath/sdi/smslots,\
$$(INCLUDE) \
))
-# Runtime dependency for unit-tests
-$(eval $(call gb_Library_use_restarget,sm,sm))
-
# vim: set noet sw=4 ts=4:
diff --git a/starmath/Module_starmath.mk b/starmath/Module_starmath.mk
index 004921143316..f7a65618ae4c 100644
--- a/starmath/Module_starmath.mk
+++ b/starmath/Module_starmath.mk
@@ -13,11 +13,11 @@ $(eval $(call gb_Module_Module,starmath))
$(eval $(call gb_Module_add_targets,starmath,\
Library_sm \
Library_smd \
+ UIConfig_smath \
))
$(eval $(call gb_Module_add_l10n_targets,starmath,\
- AllLangResTarget_sm \
- UIConfig_smath \
+ AllLangMoTarget_sm \
))
$(eval $(call gb_Module_add_check_targets,starmath,\
diff --git a/starmath/inc/ElementsDockingWindow.hxx b/starmath/inc/ElementsDockingWindow.hxx
index 5c16ce50f210..79607eb2acf6 100644
--- a/starmath/inc/ElementsDockingWindow.hxx
+++ b/starmath/inc/ElementsDockingWindow.hxx
@@ -75,15 +75,15 @@ class SmElementsControl : public Control
friend class ElementSelectorUIObject;
friend class ElementUIObject;
- static const std::pair<const char*, sal_uInt16> aUnaryBinaryOperatorsList[];
- static const std::pair<const char*, sal_uInt16> aRelationsList[];
- static const std::pair<const char*, sal_uInt16> aSetOperations[];
- static const std::pair<const char*, sal_uInt16> aFunctions[];
- static const std::pair<const char*, sal_uInt16> aOperators[];
- static const std::pair<const char*, sal_uInt16> aAttributes[];
- static const std::pair<const char*, sal_uInt16> aBrackets[];
- static const std::pair<const char*, sal_uInt16> aFormats[];
- static const std::pair<const char*, sal_uInt16> aOthers[];
+ static const std::pair<const char*, const char*> aUnaryBinaryOperatorsList[];
+ static const std::pair<const char*, const char*> aRelationsList[];
+ static const std::pair<const char*, const char*> aSetOperations[];
+ static const std::pair<const char*, const char*> aFunctions[];
+ static const std::pair<const char*, const char*> aOperators[];
+ static const std::pair<const char*, const char*> aAttributes[];
+ static const std::pair<const char*, const char*> aBrackets[];
+ static const std::pair<const char*, const char*> aFormats[];
+ static const std::pair<const char*, const char*> aOthers[];
virtual void Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle&) override;
virtual void MouseButtonDown(const MouseEvent& rMEvt) override;
@@ -92,7 +92,7 @@ class SmElementsControl : public Control
SmDocShell* mpDocShell;
SmFormat maFormat;
- sal_uInt16 maCurrentSetId;
+ OString msCurrentSetId;
SmElement* mpCurrentElement;
Link<SmElement&,void> maSelectHdlLink;
@@ -103,7 +103,7 @@ class SmElementsControl : public Control
void addElement(const OUString& aElementVisual, const OUString& aElementSource, const OUString& aHelpText);
- void addElements(const std::pair<const char*, sal_uInt16> aElementsArray[], sal_uInt16 size);
+ void addElements(const std::pair<const char*, const char*> aElementsArray[], sal_uInt16 size);
void build();
@@ -116,7 +116,7 @@ public:
virtual ~SmElementsControl() override;
virtual void dispose() override;
- void setElementSetId(sal_uInt16 aSetId);
+ void setElementSetId(const char* pSetId);
void setVerticalMode(bool bVertical);
@@ -132,7 +132,7 @@ public:
class SmElementsDockingWindow : public SfxDockingWindow
{
- static const sal_uInt16 aCategories[];
+ static const char* aCategories[];
VclPtr<SmElementsControl> mpElementsControl;
VclPtr<ListBox> mpElementListBox;
diff --git a/starmath/inc/pch/precompiled_sm.hxx b/starmath/inc/pch/precompiled_sm.hxx
index 1d54e9079470..fc1924f14d7b 100644
--- a/starmath/inc/pch/precompiled_sm.hxx
+++ b/starmath/inc/pch/precompiled_sm.hxx
@@ -117,7 +117,6 @@
#include <node.hxx>
#include <o3tl/typed_flags_set.hxx>
#include <rect.hxx>
-#include <rsc/rsc-vcl-shared-types.hxx>
#include <sfx2/app.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/dllapi.h>
@@ -145,7 +144,6 @@
#include <tools/mapunit.hxx>
#include <tools/poly.hxx>
#include <tools/ref.hxx>
-#include <tools/resid.hxx>
#include <tools/solar.h>
#include <tools/toolsdllapi.h>
#include <tools/wintypes.hxx>
diff --git a/starmath/inc/smmod.hrc b/starmath/inc/smmod.hrc
new file mode 100644
index 000000000000..f946e61cc513
--- /dev/null
+++ b/starmath/inc/smmod.hrc
@@ -0,0 +1,92 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+#ifndef INCLUDED_VCL_INC_STRINGS_HRC
+#define INCLUDED_VCL_INC_STRINGS_HRC
+
+#define NC_(Context, String) (Context "\004" u8##String)
+
+const char* RID_UI_SYMBOLSET_NAMES[] =
+{
+ NC_("RID_UI_SYMBOLSET_NAMES", "Greek"),
+ NC_("RID_UI_SYMBOLSET_NAMES", "Special")
+};
+
+const char* RID_UI_SYMBOL_NAMES[] =
+{
+ NC_("RID_UI_SYMBOL_NAMES", "alpha"),
+ NC_("RID_UI_SYMBOL_NAMES", "ALPHA"),
+ NC_("RID_UI_SYMBOL_NAMES", "beta"),
+ NC_("RID_UI_SYMBOL_NAMES", "BETA"),
+ NC_("RID_UI_SYMBOL_NAMES", "gamma"),
+ NC_("RID_UI_SYMBOL_NAMES", "GAMMA"),
+ NC_("RID_UI_SYMBOL_NAMES", "delta"),
+ NC_("RID_UI_SYMBOL_NAMES", "DELTA"),
+ NC_("RID_UI_SYMBOL_NAMES", "epsilon"),
+ NC_("RID_UI_SYMBOL_NAMES", "EPSILON"),
+ NC_("RID_UI_SYMBOL_NAMES", "zeta"),
+ NC_("RID_UI_SYMBOL_NAMES", "ZETA"),
+ NC_("RID_UI_SYMBOL_NAMES", "eta"),
+ NC_("RID_UI_SYMBOL_NAMES", "ETA"),
+ NC_("RID_UI_SYMBOL_NAMES", "theta"),
+ NC_("RID_UI_SYMBOL_NAMES", "THETA"),
+ NC_("RID_UI_SYMBOL_NAMES", "iota"),
+ NC_("RID_UI_SYMBOL_NAMES", "IOTA"),
+ NC_("RID_UI_SYMBOL_NAMES", "kappa"),
+ NC_("RID_UI_SYMBOL_NAMES", "KAPPA"),
+ NC_("RID_UI_SYMBOL_NAMES", "lambda"),
+ NC_("RID_UI_SYMBOL_NAMES", "LAMBDA"),
+ NC_("RID_UI_SYMBOL_NAMES", "mu"),
+ NC_("RID_UI_SYMBOL_NAMES", "MU"),
+ NC_("RID_UI_SYMBOL_NAMES", "nu"),
+ NC_("RID_UI_SYMBOL_NAMES", "NU"),
+ NC_("RID_UI_SYMBOL_NAMES", "xi"),
+ NC_("RID_UI_SYMBOL_NAMES", "XI"),
+ NC_("RID_UI_SYMBOL_NAMES", "omicron"),
+ NC_("RID_UI_SYMBOL_NAMES", "OMICRON"),
+ NC_("RID_UI_SYMBOL_NAMES", "pi"),
+ NC_("RID_UI_SYMBOL_NAMES", "PI"),
+ NC_("RID_UI_SYMBOL_NAMES", "rho"),
+ NC_("RID_UI_SYMBOL_NAMES", "RHO"),
+ NC_("RID_UI_SYMBOL_NAMES", "sigma"),
+ NC_("RID_UI_SYMBOL_NAMES", "SIGMA"),
+ NC_("RID_UI_SYMBOL_NAMES", "tau"),
+ NC_("RID_UI_SYMBOL_NAMES", "TAU"),
+ NC_("RID_UI_SYMBOL_NAMES", "upsilon"),
+ NC_("RID_UI_SYMBOL_NAMES", "UPSILON"),
+ NC_("RID_UI_SYMBOL_NAMES", "phi"),
+ NC_("RID_UI_SYMBOL_NAMES", "PHI"),
+ NC_("RID_UI_SYMBOL_NAMES", "chi"),
+ NC_("RID_UI_SYMBOL_NAMES", "CHI"),
+ NC_("RID_UI_SYMBOL_NAMES", "psi"),
+ NC_("RID_UI_SYMBOL_NAMES", "PSI"),
+ NC_("RID_UI_SYMBOL_NAMES", "omega"),
+ NC_("RID_UI_SYMBOL_NAMES", "OMEGA"),
+ NC_("RID_UI_SYMBOL_NAMES", "varepsilon"),
+ NC_("RID_UI_SYMBOL_NAMES", "vartheta"),
+ NC_("RID_UI_SYMBOL_NAMES", "varpi"),
+ NC_("RID_UI_SYMBOL_NAMES", "varrho"),
+ NC_("RID_UI_SYMBOL_NAMES", "varsigma"),
+ NC_("RID_UI_SYMBOL_NAMES", "varphi"),
+ NC_("RID_UI_SYMBOL_NAMES", "element"),
+ NC_("RID_UI_SYMBOL_NAMES", "noelement"),
+ NC_("RID_UI_SYMBOL_NAMES", "strictlylessthan"),
+ NC_("RID_UI_SYMBOL_NAMES", "strictlygreaterthan"),
+ NC_("RID_UI_SYMBOL_NAMES", "notequal"),
+ NC_("RID_UI_SYMBOL_NAMES", "identical"),
+ NC_("RID_UI_SYMBOL_NAMES", "tendto"),
+ NC_("RID_UI_SYMBOL_NAMES", "infinite"),
+ NC_("RID_UI_SYMBOL_NAMES", "angle"),
+ NC_("RID_UI_SYMBOL_NAMES", "perthousand"),
+ NC_("RID_UI_SYMBOL_NAMES", "and"),
+ NC_("RID_UI_SYMBOL_NAMES", "or")
+};
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
diff --git a/starmath/inc/smmod.hxx b/starmath/inc/smmod.hxx
index 0ddb2e7cd5cd..f50e6d540b2f 100644
--- a/starmath/inc/smmod.hxx
+++ b/starmath/inc/smmod.hxx
@@ -20,14 +20,11 @@
#ifndef INCLUDED_STARMATH_INC_SMMOD_HXX
#define INCLUDED_STARMATH_INC_SMMOD_HXX
-#include <tools/resary.hxx>
#include <svl/lstner.hxx>
#include <svtools/colorcfg.hxx>
#include <sfx2/module.hxx>
-#include "starmath.hrc"
-
#include <unotools/options.hxx>
#include <memory>
@@ -51,26 +48,17 @@ class SvtSysLocale;
class VirtualDevice;
-OUString SmResId(sal_uInt16 nId);
+OUString SmResId(const char* pId);
class SmLocalizedSymbolData
{
- ResStringArray aUiSymbolNamesAry;
- ResStringArray aExportSymbolNamesAry;
- ResStringArray aUiSymbolSetNamesAry;
- ResStringArray aExportSymbolSetNamesAry;
-
public:
SmLocalizedSymbolData();
~SmLocalizedSymbolData();
- const ResStringArray& GetUiSymbolNamesArray() const { return aUiSymbolNamesAry; }
- const ResStringArray& GetExportSymbolNamesArray() const { return aExportSymbolNamesAry; }
static const OUString GetUiSymbolName( const OUString &rExportName );
static const OUString GetExportSymbolName( const OUString &rUiName );
- const ResStringArray& GetUiSymbolSetNamesArray() const { return aUiSymbolSetNamesAry; }
- const ResStringArray& GetExportSymbolSetNamesArray() const { return aExportSymbolSetNamesAry; }
static const OUString GetUiSymbolSetName( const OUString &rExportName );
static const OUString GetExportSymbolSetName( const OUString &rUiName );
};
diff --git a/starmath/inc/starmath.hrc b/starmath/inc/starmath.hrc
index 7775cb9fab64..b191713a9f79 100644
--- a/starmath/inc/starmath.hrc
+++ b/starmath/inc/starmath.hrc
@@ -72,344 +72,8 @@
#define SID_ELEMENTSDOCKINGWINDOW (SID_SMA_START + 126)
#define SID_AUTO_CLOSE_BRACKETS (SID_SMA_START + 127)
-#define RID_PRINTUIOPT_PRODNAME (RID_APP_START + 11)
-#define RID_PRINTUIOPT_CONTENTS (RID_APP_START + 12)
-#define RID_PRINTUIOPT_TITLE (RID_APP_START + 13)
-#define RID_PRINTUIOPT_FRMLTXT (RID_APP_START + 14)
-#define RID_PRINTUIOPT_BORDERS (RID_APP_START + 15)
-#define RID_PRINTUIOPT_SIZE (RID_APP_START + 16)
-#define RID_PRINTUIOPT_ORIGSIZE (RID_APP_START + 17)
-#define RID_PRINTUIOPT_FITTOPAGE (RID_APP_START + 18)
-#define RID_PRINTUIOPT_SCALING (RID_APP_START + 19)
-
-#define RID_FONTREGULAR (RID_APP_START + 804)
-#define RID_FONTITALIC (RID_APP_START + 805)
-#define RID_FONTBOLD (RID_APP_START + 806)
-#define RID_DOCUMENTSTR (RID_APP_START + 808)
#define RID_STATUSBAR (RID_APP_START + 816)
-#define STR_MATH_DOCUMENT_FULLTYPE_CURRENT (RID_APP_START + 821)
-#define STR_STATSTR_READING (RID_APP_START + 823)
-#define STR_STATSTR_WRITING (RID_APP_START + 824)
-#define STR_CMDBOXWINDOW (RID_APP_START + 825)
-#define STR_BLACK (RID_APP_START + 826)
-#define STR_BLUE (RID_APP_START + 827)
-#define STR_GREEN (RID_APP_START + 828)
-#define STR_RED (RID_APP_START + 829)
-#define STR_CYAN (RID_APP_START + 830)
-#define STR_MAGENTA (RID_APP_START + 831)
-#define STR_YELLOW (RID_APP_START + 832)
-#define STR_HIDE (RID_APP_START + 833)
-#define STR_SIZE (RID_APP_START + 834)
-#define STR_FONT (RID_APP_START + 835)
-#define STR_ALIGN_LEFT (RID_APP_START + 836)
-#define STR_ALIGN_CENTER (RID_APP_START + 837)
-#define STR_ALIGN_RIGHT (RID_APP_START + 838)
-#define STR_GRAY (RID_APP_START + 841)
-#define STR_LIME (RID_APP_START + 842)
-#define STR_MAROON (RID_APP_START + 843)
-#define STR_NAVY (RID_APP_START + 844)
-#define STR_OLIVE (RID_APP_START + 845)
-#define STR_PURPLE (RID_APP_START + 846)
-#define STR_SILVER (RID_APP_START + 847)
-#define STR_TEAL (RID_APP_START + 848)
-
-#define RID_ERR_IDENT (RID_APP_START + 920)
-#define RID_ERR_UNEXPECTEDCHARACTER (RID_APP_START + 921)
-#define RID_ERR_UNEXPECTEDTOKEN (RID_APP_START + 922)
-#define RID_ERR_LGROUPEXPECTED (RID_APP_START + 923)
-#define RID_ERR_RGROUPEXPECTED (RID_APP_START + 924)
-#define RID_ERR_LBRACEEXPECTED (RID_APP_START + 925)
-#define RID_ERR_RBRACEEXPECTED (RID_APP_START + 926)
-#define RID_ERR_PARENTMISMATCH (RID_APP_START + 927)
-#define RID_ERR_FONTEXPECTED (RID_APP_START + 928)
-#define RID_ERR_SIZEEXPECTED (RID_APP_START + 929)
-#define RID_ERR_DOUBLEALIGN (RID_APP_START + 930)
-#define RID_ERR_DOUBLESUBSUPSCRIPT (RID_APP_START + 931)
-#define RID_ERR_POUNDEXPECTED (RID_APP_START + 932)
-#define RID_ERR_COLOREXPECTED (RID_APP_START + 933)
-// blank: 934 - 935
-#define RID_ERR_RIGHTEXPECTED (RID_APP_START + 936)
-
-// Help text
-#define RID_PLUSX_HELP (RID_APP_START + 1335)
-#define RID_MINUSX_HELP (RID_APP_START + 1336)
-#define RID_PLUSMINUSX_HELP (RID_APP_START + 1337)
-#define RID_MINUSPLUSX_HELP (RID_APP_START + 1338)
-#define RID_XPLUSY_HELP (RID_APP_START + 1339)
-#define RID_XCDOTY_HELP (RID_APP_START + 1340)
-#define RID_XTIMESY_HELP (RID_APP_START + 1341)
-#define RID_XSYMTIMESY_HELP (RID_APP_START + 1342)
-#define RID_XMINUSY_HELP (RID_APP_START + 1343)
-#define RID_XOVERY_HELP (RID_APP_START + 1344)
-#define RID_XDIVY_HELP (RID_APP_START + 1345)
-#define RID_XSYMDIVIDEY_HELP (RID_APP_START + 1346)
-#define RID_NEGX_HELP (RID_APP_START + 1347)
-// blank: 1348 - 1357
-#define RID_XANDY_HELP (RID_APP_START + 1358)
-#define RID_XORY_HELP (RID_APP_START + 1359)
-#define RID_XODIVIDEY_HELP (RID_APP_START + 1360)
-#define RID_XODOTY_HELP (RID_APP_START + 1361)
-#define RID_XOMINUSY_HELP (RID_APP_START + 1362)
-#define RID_XOPLUSY_HELP (RID_APP_START + 1363)
-#define RID_XOTIMESY_HELP (RID_APP_START + 1364)
-#define RID_XCIRCY_HELP (RID_APP_START + 1365)
-#define RID_XWIDESLASHY_HELP (RID_APP_START + 1366)
-#define RID_XWIDEBSLASHY_HELP (RID_APP_START + 1367)
-#define RID_RSUBX_HELP (RID_APP_START + 1368)
-#define RID_RSUPX_HELP (RID_APP_START + 1369)
-#define RID_BINOMXY_HELP (RID_APP_START + 1370)
-#define RID_STACK_HELP (RID_APP_START + 1371)
-#define RID_MATRIX_HELP (RID_APP_START + 1372)
-#define RID_LSUBX_HELP (RID_APP_START + 1373)
-#define RID_LSUPX_HELP (RID_APP_START + 1374)
-#define RID_CSUBX_HELP (RID_APP_START + 1375)
-#define RID_CSUPX_HELP (RID_APP_START + 1376)
-#define RID_NOSPACE_HELP (RID_APP_START + 1377)
-#define RID_NEWLINE_HELP (RID_APP_START + 1378)
-#define RID_SBLANK_HELP (RID_APP_START + 1379)
-#define RID_BLANK_HELP (RID_APP_START + 1380)
-#define RID_RE_HELP (RID_APP_START + 1381)
-#define RID_IM_HELP (RID_APP_START + 1382)
-#define RID_INFINITY_HELP (RID_APP_START + 1383)
-#define RID_PARTIAL_HELP (RID_APP_START + 1384)
-#define RID_WP_HELP (RID_APP_START + 1385)
-#define RID_DOTSAXIS_HELP (RID_APP_START + 1386)
-#define RID_DOTSUP_HELP (RID_APP_START + 1387)
-#define RID_DOTSDOWN_HELP (RID_APP_START + 1388)
-#define RID_DOTSLOW_HELP (RID_APP_START + 1389)
-#define RID_DOTSVERT_HELP (RID_APP_START + 1390)
-#define RID_NABLA_HELP (RID_APP_START + 1391)
-#define RID_HBAR_HELP (RID_APP_START + 1392)
-#define RID_LAMBDABAR_HELP (RID_APP_START + 1393)
-#define RID_LEFTARROW_HELP (RID_APP_START + 1394)
-#define RID_RIGHTARROW_HELP (RID_APP_START + 1395)
-#define RID_UPARROW_HELP (RID_APP_START + 1396)
-#define RID_DOWNARROW_HELP (RID_APP_START + 1397)
-#define RID_EXISTS_HELP (RID_APP_START + 1398)
-#define RID_NOTEXISTS_HELP (RID_APP_START + 1399)
-#define RID_FORALL_HELP (RID_APP_START + 1400)
-
-#define RID_UI_SYMBOL_NAMES (RID_APP_START + 3102)
-#define RID_EXPORT_SYMBOL_NAMES (RID_APP_START + 3103)
-#define RID_UI_SYMBOLSET_NAMES (RID_APP_START + 3105)
-#define RID_EXPORT_SYMBOLSET_NAMES (RID_APP_START + 3106)
-
-#define RID_CATEGORY_UNARY_BINARY_OPERATORS (RID_APP_START + 4001)
-#define RID_CATEGORY_RELATIONS (RID_APP_START + 4002)
-#define RID_CATEGORY_SET_OPERATIONS (RID_APP_START + 4003)
-#define RID_CATEGORY_FUNCTIONS (RID_APP_START + 4004)
-#define RID_CATEGORY_OPERATORS (RID_APP_START + 4005)
-#define RID_CATEGORY_ATTRIBUTES (RID_APP_START + 4006)
-#define RID_CATEGORY_BRACKETS (RID_APP_START + 4007)
-#define RID_CATEGORY_FORMATS (RID_APP_START + 4008)
-#define RID_CATEGORY_OTHERS (RID_APP_START + 4009)
-#define RID_CATEGORY_EXAMPLES (RID_APP_START + 4010)
-
-// more tooltips help texts
-#define RID_XEQY_HELP (RID_APP_START + 4011)
-#define RID_XNEQY_HELP (RID_APP_START + 4012)
-#define RID_XEQUIVY_HELP (RID_APP_START + 4013)
-#define RID_XORTHOY_HELP (RID_APP_START + 4014)
-#define RID_XLTY_HELP (RID_APP_START + 4015)
-#define RID_XGTY_HELP (RID_APP_START + 4016)
-#define RID_XAPPROXY_HELP (RID_APP_START + 4017)
-#define RID_XPARALLELY_HELP (RID_APP_START + 4018)
-#define RID_XLESLANTY_HELP (RID_APP_START + 4019)
-#define RID_XGESLANTY_HELP (RID_APP_START + 4020)
-#define RID_XSIMEQY_HELP (RID_APP_START + 4021)
-#define RID_XPROPY_HELP (RID_APP_START + 4022)
-#define RID_XLEY_HELP (RID_APP_START + 4023)
-#define RID_XGEY_HELP (RID_APP_START + 4024)
-#define RID_XSIMY_HELP (RID_APP_START + 4025)
-#define RID_XTOWARDY_HELP (RID_APP_START + 4026)
-#define RID_XLLY_HELP (RID_APP_START + 4027)
-#define RID_XGGY_HELP (RID_APP_START + 4028)
-#define RID_XDEFY_HELP (RID_APP_START + 4029)
-#define RID_XTRANSLY_HELP (RID_APP_START + 4030)
-#define RID_XTRANSRY_HELP (RID_APP_START + 4031)
-#define RID_XDIVIDESY_HELP (RID_APP_START + 4032)
-#define RID_XNDIVIDESY_HELP (RID_APP_START + 4033)
-#define RID_DLARROW_HELP (RID_APP_START + 4034)
-#define RID_DLRARROW_HELP (RID_APP_START + 4035)
-#define RID_DRARROW_HELP (RID_APP_START + 4036)
-#define RID_XPRECEDESY_HELP (RID_APP_START + 4037)
-#define RID_XNOTPRECEDESY_HELP (RID_APP_START + 4038)
-#define RID_XSUCCEEDSY_HELP (RID_APP_START + 4039)
-#define RID_XNOTSUCCEEDSY_HELP (RID_APP_START + 4040)
-#define RID_XPRECEDESEQUALY_HELP (RID_APP_START + 4041)
-#define RID_XSUCCEEDSEQUALY_HELP (RID_APP_START + 4042)
-#define RID_XPRECEDESEQUIVY_HELP (RID_APP_START + 4043)
-#define RID_XSUCCEEDSEQUIVY_HELP (RID_APP_START + 4044)
-#define RID_XINY_HELP (RID_APP_START + 4045)
-#define RID_XNOTINY_HELP (RID_APP_START + 4046)
-#define RID_XOWNSY_HELP (RID_APP_START + 4047)
-#define RID_XINTERSECTIONY_HELP (RID_APP_START + 4048)
-#define RID_XUNIONY_HELP (RID_APP_START + 4049)
-#define RID_XSETMINUSY_HELP (RID_APP_START + 4050)
-#define RID_XSLASHY_HELP (RID_APP_START + 4051)
-#define RID_XSUBSETY_HELP (RID_APP_START + 4052)
-#define RID_XSUBSETEQY_HELP (RID_APP_START + 4053)
-#define RID_XSUPSETY_HELP (RID_APP_START + 4054)
-#define RID_XSUPSETEQY_HELP (RID_APP_START + 4055)
-#define RID_LRPARENTX_HELP (RID_APP_START + 4056)
-#define RID_LRBRACKETX_HELP (RID_APP_START + 4057)
-#define RID_LRANGLEX_HELP (RID_APP_START + 4058)
-#define RID_LRBRACEX_HELP (RID_APP_START + 4059)
-#define RID_LRLINEX_HELP (RID_APP_START + 4060)
-#define RID_LRDLINEX_HELP (RID_APP_START + 4061)
-#define RID_LRGROUPX_HELP (RID_APP_START + 4062)
-#define RID_SLRPARENTX_HELP (RID_APP_START + 4063)
-#define RID_SLRBRACKETX_HELP (RID_APP_START + 4064)
-#define RID_SLRANGLEX_HELP (RID_APP_START + 4065)
-#define RID_SLRBRACEX_HELP (RID_APP_START + 4066)
-#define RID_SLRLINEX_HELP (RID_APP_START + 4067)
-#define RID_SLRDLINEX_HELP (RID_APP_START + 4068)
-#define RID_LRCEILX_HELP (RID_APP_START + 4069)
-// blank: 4070
-#define RID_LRFLOORX_HELP (RID_APP_START + 4071)
-#define RID_SLRCEILX_HELP (RID_APP_START + 4072)
-#define RID_SLRFLOORX_HELP (RID_APP_START + 4073)
-#define RID_LMRANGLEXY_HELP (RID_APP_START + 4074)
-#define RID_SLMRANGLEXY_HELP (RID_APP_START + 4075)
-#define RID_LRDBRACKETX_HELP (RID_APP_START + 4076)
-#define RID_SLRDBRACKETX_HELP (RID_APP_START + 4077)
-#define RID_XOVERBRACEY_HELP (RID_APP_START + 4078)
-#define RID_XUNDERBRACEY_HELP (RID_APP_START + 4079)
-#define RID_XNSUBSETY_HELP (RID_APP_START + 4080)
-#define RID_XNSUBSETEQY_HELP (RID_APP_START + 4081)
-#define RID_XNSUPSETY_HELP (RID_APP_START + 4082)
-#define RID_XNSUPSETEQY_HELP (RID_APP_START + 4083)
-#define RID_SETN_HELP (RID_APP_START + 4084)
-#define RID_SETZ_HELP (RID_APP_START + 4085)
-#define RID_SETQ_HELP (RID_APP_START + 4086)
-#define RID_SETR_HELP (RID_APP_START + 4087)
-#define RID_SETC_HELP (RID_APP_START + 4088)
-#define RID_ALEPH_HELP (RID_APP_START + 4089)
-#define RID_EMPTYSET_HELP (RID_APP_START + 4090)
-#define RID_ACUTEX_HELP (RID_APP_START + 4091)
-#define RID_GRAVEX_HELP (RID_APP_START + 4092)
-#define RID_CHECKX_HELP (RID_APP_START + 4093)
-#define RID_BREVEX_HELP (RID_APP_START + 4094)
-#define RID_BARX_HELP (RID_APP_START + 4095)
-#define RID_VECX_HELP (RID_APP_START + 4096)
-#define RID_HATX_HELP (RID_APP_START + 4097)
-#define RID_TILDEX_HELP (RID_APP_START + 4098)
-#define RID_CIRCLEX_HELP (RID_APP_START + 4099)
-#define RID_DOTX_HELP (RID_APP_START + 4100)
-#define RID_DDOTX_HELP (RID_APP_START + 4101)
-#define RID_DDDOTX_HELP (RID_APP_START + 4102)
-#define RID_OVERLINEX_HELP (RID_APP_START + 4103)
-#define RID_UNDERLINEX_HELP (RID_APP_START + 4104)
-#define RID_OVERSTRIKEX_HELP (RID_APP_START + 4105)
-#define RID_PHANTOMX_HELP (RID_APP_START + 4106)
-#define RID_BOLDX_HELP (RID_APP_START + 4107)
-#define RID_ITALX_HELP (RID_APP_START + 4108)
-#define RID_SIZEXY_HELP (RID_APP_START + 4109)
-#define RID_FONTXY_HELP (RID_APP_START + 4110)
-#define RID_WIDEHATX_HELP (RID_APP_START + 4112)
-#define RID_WIDETILDEX_HELP (RID_APP_START + 4113)
-#define RID_WIDEVECX_HELP (RID_APP_START + 4114)
-#define RID_COLORX_BLACK_HELP (RID_APP_START + 4115)
-#define RID_COLORX_BLUE_HELP (RID_APP_START + 4116)
-#define RID_COLORX_GREEN_HELP (RID_APP_START + 4117)
-#define RID_COLORX_RED_HELP (RID_APP_START + 4118)
-#define RID_COLORX_CYAN_HELP (RID_APP_START + 4119)
-#define RID_COLORX_MAGENTA_HELP (RID_APP_START + 4120)
-#define RID_COLORX_YELLOW_HELP (RID_APP_START + 4121)
-#define RID_ABSX_HELP (RID_APP_START + 4122)
-#define RID_FACTX_HELP (RID_APP_START + 4123)
-#define RID_SQRTX_HELP (RID_APP_START + 4124)
-#define RID_NROOTXY_HELP (RID_APP_START + 4125)
-#define RID_EX_HELP (RID_APP_START + 4126)
-#define RID_LNX_HELP (RID_APP_START + 4127)
-#define RID_EXPX_HELP (RID_APP_START + 4128)
-#define RID_LOGX_HELP (RID_APP_START + 4129)
-#define RID_SINX_HELP (RID_APP_START + 4130)
-#define RID_COSX_HELP (RID_APP_START + 4131)
-#define RID_TANX_HELP (RID_APP_START + 4132)
-#define RID_COTX_HELP (RID_APP_START + 4133)
-#define RID_SINHX_HELP (RID_APP_START + 4134)
-#define RID_COSHX_HELP (RID_APP_START + 4135)
-#define RID_TANHX_HELP (RID_APP_START + 4136)
-#define RID_COTHX_HELP (RID_APP_START + 4137)
-#define RID_ARCSINX_HELP (RID_APP_START + 4138)
-#define RID_ARCCOSX_HELP (RID_APP_START + 4139)
-#define RID_ARCTANX_HELP (RID_APP_START + 4140)
-#define RID_ARCCOTX_HELP (RID_APP_START + 4141)
-#define RID_ARSINHX_HELP (RID_APP_START + 4142)
-#define RID_ARCOSHX_HELP (RID_APP_START + 4143)
-#define RID_ARTANHX_HELP (RID_APP_START + 4144)
-#define RID_ARCOTHX_HELP (RID_APP_START + 4145)
-#define RID_LIMX_HELP (RID_APP_START + 4146)
-#define RID_SUMX_HELP (RID_APP_START + 4147)
-#define RID_PRODX_HELP (RID_APP_START + 4148)
-#define RID_COPRODX_HELP (RID_APP_START + 4149)
-#define RID_INTX_HELP (RID_APP_START + 4150)
-#define RID_IINTX_HELP (RID_APP_START + 4151)
-#define RID_IIINTX_HELP (RID_APP_START + 4152)
-#define RID_LINTX_HELP (RID_APP_START + 4153)
-#define RID_LLINTX_HELP (RID_APP_START + 4154)
-#define RID_LLLINTX_HELP (RID_APP_START + 4155)
-// blank: 4156 - 4160
-#define RID_LIM_FROMX_HELP (RID_APP_START + 4161)
-#define RID_SUM_FROMX_HELP (RID_APP_START + 4162)
-#define RID_PROD_FROMX_HELP (RID_APP_START + 4163)
-#define RID_COPROD_FROMX_HELP (RID_APP_START + 4164)
-#define RID_INT_FROMX_HELP (RID_APP_START + 4165)
-#define RID_IINT_FROMX_HELP (RID_APP_START + 4166)
-#define RID_IIINT_FROMX_HELP (RID_APP_START + 4167)
-#define RID_LINT_FROMX_HELP (RID_APP_START + 4168)
-#define RID_LLINT_FROMX_HELP (RID_APP_START + 4169)
-#define RID_LLLINT_FROMX_HELP (RID_APP_START + 4170)
-#define RID_LIM_TOX_HELP (RID_APP_START + 4171)
-#define RID_SUM_TOX_HELP (RID_APP_START + 4172)
-#define RID_PROD_TOX_HELP (RID_APP_START + 4173)
-#define RID_COPROD_TOX_HELP (RID_APP_START + 4174)
-#define RID_INT_TOX_HELP (RID_APP_START + 4175)
-#define RID_IINT_TOX_HELP (RID_APP_START + 4176)
-#define RID_IIINT_TOX_HELP (RID_APP_START + 4177)
-#define RID_LINT_TOX_HELP (RID_APP_START + 4178)
-#define RID_LLINT_TOX_HELP (RID_APP_START + 4179)
-#define RID_LLLINT_TOX_HELP (RID_APP_START + 4180)
-#define RID_LIM_FROMTOX_HELP (RID_APP_START + 4181)
-#define RID_SUM_FROMTOX_HELP (RID_APP_START + 4182)
-#define RID_PROD_FROMTOX_HELP (RID_APP_START + 4183)
-#define RID_COPROD_FROMTOX_HELP (RID_APP_START + 4184)
-#define RID_INT_FROMTOX_HELP (RID_APP_START + 4185)
-#define RID_IINT_FROMTOX_HELP (RID_APP_START + 4186)
-#define RID_IIINT_FROMTOX_HELP (RID_APP_START + 4187)
-#define RID_LINT_FROMTOX_HELP (RID_APP_START + 4188)
-#define RID_LLINT_FROMTOX_HELP (RID_APP_START + 4189)
-#define RID_LLLINT_FROMTOX_HELP (RID_APP_START + 4190)
-
-#define RID_COLORX_GRAY_HELP (RID_APP_START + 4193)
-#define RID_COLORX_LIME_HELP (RID_APP_START + 4194)
-#define RID_COLORX_MAROON_HELP (RID_APP_START + 4195)
-#define RID_COLORX_NAVY_HELP (RID_APP_START + 4196)
-#define RID_COLORX_OLIVE_HELP (RID_APP_START + 4197)
-#define RID_COLORX_PURPLE_HELP (RID_APP_START + 4198)
-#define RID_COLORX_SILVER_HELP (RID_APP_START + 4199)
-#define RID_COLORX_TEAL_HELP (RID_APP_START + 4200)
-
-#define RID_XEVALUATEDATY_HELP (RID_APP_START + 4201)
-#define RID_LIMINFX_HELP (RID_APP_START + 4202)
-#define RID_LIMINF_FROMX_HELP (RID_APP_START + 4203)
-#define RID_LIMINF_TOX_HELP (RID_APP_START + 4204)
-#define RID_LIMINF_FROMTOX_HELP (RID_APP_START + 4205)
-#define RID_LIMSUPX_HELP (RID_APP_START + 4206)
-#define RID_LIMSUP_FROMX_HELP (RID_APP_START + 4207)
-#define RID_LIMSUP_TOX_HELP (RID_APP_START + 4208)
-#define RID_LIMSUP_FROMTOX_HELP (RID_APP_START + 4209)
-
-#define RID_ALIGNLX_HELP (RID_APP_START + 4275)
-#define RID_ALIGNCX_HELP (RID_APP_START + 4276)
-#define RID_ALIGNRX_HELP (RID_APP_START + 4277)
-
-// 342 == SCH_IF_SMAVIEWSHELL, because SFX_INTERFACE_LIB is no
-// Define but latterly an Enum
-#define HID_SMA_VIEWSHELL_DOCUMENT (342)
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/starmath/inc/strings.hrc b/starmath/inc/strings.hrc
new file mode 100644
index 000000000000..b000bfe62ca9
--- /dev/null
+++ b/starmath/inc/strings.hrc
@@ -0,0 +1,341 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef INCLUDED_SM_INC_STRINGS_HRC
+#define INCLUDED_SM_INC_STRINGS_HRC
+
+#define NC_(Context, String) (Context "\004" u8##String)
+
+#define RID_PLUSX_HELP NC_("RID_PLUSX_HELP", "+ Sign" )
+#define RID_MINUSX_HELP NC_("RID_MINUSX_HELP", "- Sign" )
+#define RID_PLUSMINUSX_HELP NC_("RID_PLUSMINUSX_HELP", "+- Sign" )
+#define RID_MINUSPLUSX_HELP NC_("RID_MINUSPLUSX_HELP", "-+ Sign" )
+#define RID_NEGX_HELP NC_("RID_NEGX_HELP", "Boolean NOT" )
+#define RID_XPLUSY_HELP NC_("RID_XPLUSY_HELP", "Addition +" )
+#define RID_XMINUSY_HELP NC_("RID_XMINUSY_HELP", "Subtraction -" )
+#define RID_XCDOTY_HELP NC_("RID_XCDOTY_HELP", "Multiplication (Dot)" )
+#define RID_XTIMESY_HELP NC_("RID_XTIMESY_HELP", "Multiplication (x)" )
+#define RID_XSYMTIMESY_HELP NC_("RID_XSYMTIMESY_HELP", "Multiplication (*)" )
+#define RID_XSYMDIVIDEY_HELP NC_("RID_XSYMDIVIDEY_HELP", "Division (Slash)" )
+#define RID_XDIVY_HELP NC_("RID_XDIVY_HELP", "Division (÷)" )
+#define RID_XOVERY_HELP NC_("RID_XOVERY_HELP", "Division (Fraction)" )
+#define RID_XODIVIDEY_HELP NC_("RID_XODIVIDEY_HELP", "Circled Slash" )
+#define RID_XODOTY_HELP NC_("RID_XODOTY_HELP", "Circled Dot" )
+#define RID_XOMINUSY_HELP NC_("RID_XOMINUSY_HELP", "Circled Minus" )
+#define RID_XOPLUSY_HELP NC_("RID_XOPLUSY_HELP", "Circled Plus" )
+#define RID_XOTIMESY_HELP NC_("RID_XOTIMESY_HELP", "Tensor Product" )
+#define RID_XANDY_HELP NC_("RID_XANDY_HELP", "Boolean AND" )
+#define RID_XORY_HELP NC_("RID_XORY_HELP", "Boolean OR" )
+#define RID_XEQY_HELP NC_("RID_XEQY_HELP", "Is Equal" )
+#define RID_XNEQY_HELP NC_("RID_XNEQY_HELP", "Is Not Equal" )
+#define RID_XLTY_HELP NC_("RID_XLTY_HELP", "Is Less Than" )
+#define RID_XGTY_HELP NC_("RID_XGTY_HELP", "Is Greater Than" )
+#define RID_XLEY_HELP NC_("RID_XLEY_HELP", "Is Less Than Or Equal To" )
+#define RID_XGEY_HELP NC_("RID_XGEY_HELP", "Is Greater Than Or Equal To" )
+#define RID_XLESLANTY_HELP NC_("RID_XLESLANTY_HELP", "Is Less Than Or Equal To" )
+#define RID_XGESLANTY_HELP NC_("RID_XGESLANTY_HELP", "Is Greater Than Or Equal To" )
+#define RID_XLLY_HELP NC_("RID_XLLY_HELP", "Is Much Less Than" )
+#define RID_XGGY_HELP NC_("RID_XGGY_HELP", "Is Much Greater Than" )
+#define RID_XDEFY_HELP NC_("RID_XDEFY_HELP", "Is Defined As" )
+#define RID_XEQUIVY_HELP NC_("RID_XEQUIVY_HELP", "Is Congruent To" )
+#define RID_XAPPROXY_HELP NC_("RID_XAPPROXY_HELP", "Is Approximately Equal" )
+#define RID_XSIMY_HELP NC_("RID_XSIMY_HELP", "Is Similar To" )
+#define RID_XSIMEQY_HELP NC_("RID_XSIMEQY_HELP", "Is Similar Or Equal" )
+#define RID_XPROPY_HELP NC_("RID_XPROPY_HELP", "Is Proportional To" )
+#define RID_XORTHOY_HELP NC_("RID_XORTHOY_HELP", "Is Orthogonal To" )
+#define RID_XPARALLELY_HELP NC_("RID_XPARALLELY_HELP", "Is Parallel To" )
+#define RID_XTOWARDY_HELP NC_("RID_XTOWARDY_HELP", "Toward" )
+#define RID_XTRANSLY_HELP NC_("RID_XTRANSLY_HELP", "Corresponds To (Left)" )
+#define RID_XTRANSRY_HELP NC_("RID_XTRANSRY_HELP", "Corresponds To (Right)" )
+#define RID_XINY_HELP NC_("RID_XINY_HELP", "Is In" )
+#define RID_XNOTINY_HELP NC_("RID_XNOTINY_HELP", "Is Not In" )
+#define RID_XOWNSY_HELP NC_("RID_XOWNSY_HELP", "Owns" )
+#define RID_XUNIONY_HELP NC_("RID_XUNIONY_HELP", "Union" )
+#define RID_XINTERSECTIONY_HELP NC_("RID_XINTERSECTIONY_HELP", "Intersection" )
+#define RID_XSETMINUSY_HELP NC_("RID_XSETMINUSY_HELP", "Difference" )
+#define RID_XSLASHY_HELP NC_("RID_XSLASHY_HELP", "Quotient Set" )
+#define RID_XSUBSETY_HELP NC_("RID_XSUBSETY_HELP", "Subset" )
+#define RID_XSUBSETEQY_HELP NC_("RID_XSUBSETEQY_HELP", "Subset Or Equal To" )
+#define RID_XSUPSETY_HELP NC_("RID_XSUPSETY_HELP", "Superset" )
+#define RID_XSUPSETEQY_HELP NC_("RID_XSUPSETEQY_HELP", "Superset Or Equal To" )
+#define RID_XNSUBSETY_HELP NC_("RID_XNSUBSETY_HELP", "Not Subset" )
+#define RID_XNSUBSETEQY_HELP NC_("RID_XNSUBSETEQY_HELP", "Not Subset Or Equal" )
+#define RID_XNSUPSETY_HELP NC_("RID_XNSUPSETY_HELP", "Not Superset" )
+#define RID_XNSUPSETEQY_HELP NC_("RID_XNSUPSETEQY_HELP", "Not Superset Or Equal" )
+#define RID_ABSX_HELP NC_("RID_ABSX_HELP", "Absolute Value" )
+#define RID_FACTX_HELP NC_("RID_FACTX_HELP", "Factorial" )
+#define RID_SQRTX_HELP NC_("RID_SQRTX_HELP", "Square Root" )
+#define RID_NROOTXY_HELP NC_("RID_NROOTXY_HELP", "N-th Root" )
+#define RID_EX_HELP NC_("RID_EX_HELP", "Exponential Function" )
+#define RID_EXPX_HELP NC_("RID_EXPX_HELP", "Exponential Function" )
+#define RID_LNX_HELP NC_("RID_LNX_HELP", "Natural Logarithm" )
+#define RID_LOGX_HELP NC_("RID_LOGX_HELP", "Logarithm" )
+#define RID_SINX_HELP NC_("RID_SINX_HELP", "Sine" )
+#define RID_COSX_HELP NC_("RID_COSX_HELP", "Cosine" )
+#define RID_TANX_HELP NC_("RID_TANX_HELP", "Tangent" )
+#define RID_COTX_HELP NC_("RID_COTX_HELP", "Cotangent" )
+#define RID_ARCSINX_HELP NC_("RID_ARCSINX_HELP", "Arcsine" )
+#define RID_ARCCOSX_HELP NC_("RID_ARCCOSX_HELP", "Arccosine" )
+#define RID_ARCTANX_HELP NC_("RID_ARCTANX_HELP", "Arctangent" )
+#define RID_ARCCOTX_HELP NC_("RID_ARCCOTX_HELP", "Arccotangent" )
+#define RID_SINHX_HELP NC_("RID_SINHX_HELP", "Hyperbolic Sine" )
+#define RID_COSHX_HELP NC_("RID_COSHX_HELP", "Hyperbolic Cosine" )
+#define RID_TANHX_HELP NC_("RID_TANHX_HELP", "Hyperbolic Tangent" )
+#define RID_COTHX_HELP NC_("RID_COTHX_HELP", "Hyperbolic Cotangent" )
+#define RID_ARSINHX_HELP NC_("RID_ARSINHX_HELP", "Area Hyperbolic Sine" )
+#define RID_ARCOSHX_HELP NC_("RID_ARCOSHX_HELP", "Area Hyperbolic Cosine" )
+#define RID_ARTANHX_HELP NC_("RID_ARTANHX_HELP", "Area Hyperbolic Tangent" )
+#define RID_ARCOTHX_HELP NC_("RID_ARCOTHX_HELP", "Area Hyperbolic Cotangent" )
+#define RID_SUMX_HELP NC_("RID_SUMX_HELP", "Sum" )
+#define RID_SUM_FROMX_HELP NC_("RID_SUM_FROMX_HELP", "Sum Subscript Bottom" )
+#define RID_SUM_TOX_HELP NC_("RID_SUM_TOX_HELP", "Sum Superscript Top" )
+#define RID_SUM_FROMTOX_HELP NC_("RID_SUM_FROMTOX_HELP", "Sum Sup/Sub script" )
+#define RID_PRODX_HELP NC_("RID_PRODX_HELP", "Product" )
+#define RID_PROD_FROMX_HELP NC_("RID_PROD_FROMX_HELP", "Product Subscript Bottom" )
+#define RID_PROD_TOX_HELP NC_("RID_PROD_TOX_HELP", "Product Superscript Top" )
+#define RID_PROD_FROMTOX_HELP NC_("RID_PROD_FROMTOX_HELP", "Product Sup/Sub script" )
+#define RID_COPRODX_HELP NC_("RID_COPRODX_HELP", "Coproduct" )
+#define RID_COPROD_FROMX_HELP NC_("RID_COPROD_FROMX_HELP", "Coproduct Subscript Bottom" )
+#define RID_COPROD_TOX_HELP NC_("RID_COPROD_TOX_HELP", "Coproduct Superscript Top" )
+#define RID_COPROD_FROMTOX_HELP NC_("RID_COPROD_FROMTOX_HELP", "Coproduct Sup/Sub script" )
+#define RID_LIMX_HELP NC_("RID_LIMX_HELP", "Limes" )
+#define RID_LIM_FROMX_HELP NC_("RID_LIM_FROMX_HELP", "Limes Subscript Bottom" )
+#define RID_LIM_TOX_HELP NC_("RID_LIM_TOX_HELP", "Limes Superscript Top" )
+#define RID_LIM_FROMTOX_HELP NC_("RID_LIM_FROMTOX_HELP", "Limes Sup/Sub script" )
+#define RID_LIMINFX_HELP NC_("RID_LIMINFX_HELP", "Limit Inferior" )
+#define RID_LIMINF_FROMX_HELP NC_("RID_LIMINF_FROMX_HELP", "Limit Inferior Subscript Bottom" )
+#define RID_LIMINF_TOX_HELP NC_("RID_LIMINF_TOX_HELP", "Limit Inferior Superscript Top" )
+#define RID_LIMINF_FROMTOX_HELP NC_("RID_LIMINF_FROMTOX_HELP", "Limit Inferior Sup/Sub script" )
+#define RID_LIMSUPX_HELP NC_("RID_LIMSUPX_HELP", "Limit Superior" )
+#define RID_LIMSUP_FROMX_HELP NC_("RID_LIMSUP_FROMX_HELP", "Limit Superior Subscript Bottom" )
+#define RID_LIMSUP_TOX_HELP NC_("RID_LIMSUP_TOX_HELP", "Limit Superior Superscript Top" )
+#define RID_LIMSUP_FROMTOX_HELP NC_("RID_LIMSUP_FROMTOX_HELP", "Limit Superior Sup/Sub script" )
+#define RID_EXISTS_HELP NC_("RID_EXISTS_HELP", "There Exists" )
+#define RID_NOTEXISTS_HELP NC_("RID_NOTEXISTS_HELP", "There Not Exists" )
+#define RID_FORALL_HELP NC_("RID_FORALL_HELP", "For all" )
+#define RID_INTX_HELP NC_("RID_INTX_HELP", "Integral" )
+#define RID_INT_FROMX_HELP NC_("RID_INT_FROMX_HELP", "Integral Subscript Bottom" )
+#define RID_INT_TOX_HELP NC_("RID_INT_TOX_HELP", "Integral Superscript Top" )
+#define RID_INT_FROMTOX_HELP NC_("RID_INT_FROMTOX_HELP", "Integral Sup/Sub script" )
+#define RID_IINTX_HELP NC_("RID_IINTX_HELP", "Double Integral" )
+#define RID_IINT_FROMX_HELP NC_("RID_IINT_FROMX_HELP", "Double Integral Subscript Bottom" )
+#define RID_IINT_TOX_HELP NC_("RID_IINT_TOX_HELP", "Double Integral Superscript Top" )
+#define RID_IINT_FROMTOX_HELP NC_("RID_IINT_FROMTOX_HELP", "Double Integral Sup/Sub script" )
+#define RID_IIINTX_HELP NC_("RID_IIINTX_HELP", "Triple Integral" )
+#define RID_IIINT_FROMX_HELP NC_("RID_IIINT_FROMX_HELP", "Triple Integral Subscript Bottom" )
+#define RID_IIINT_TOX_HELP NC_("RID_IIINT_TOX_HELP", "Triple Integral Superscript Top" )
+#define RID_IIINT_FROMTOX_HELP NC_("RID_IIINT_FROMTOX_HELP", "Triple Integral Sup/Sub script" )
+#define RID_LINTX_HELP NC_("RID_LINTX_HELP", "Curve Integral" )
+#define RID_LINT_FROMX_HELP NC_("RID_LINT_FROMX_HELP", "Curve Integral Subscript Bottom" )
+#define RID_LINT_TOX_HELP NC_("RID_LINT_TOX_HELP", "Curve Integral Superscript Top" )
+#define RID_LINT_FROMTOX_HELP NC_("RID_LINT_FROMTOX_HELP", "Curve Integral Sup/Sub script" )
+#define RID_LLINTX_HELP NC_("RID_LLINTX_HELP", "Double Curve Integral" )
+#define RID_LLINT_FROMX_HELP NC_("RID_LLINT_FROMX_HELP", "Double Curve Integral Subscript Bottom" )
+#define RID_LLINT_TOX_HELP NC_("RID_LLINT_TOX_HELP", "Double Curve Integral Superscript Top" )
+#define RID_LLINT_FROMTOX_HELP NC_("RID_LLINT_FROMTOX_HELP", "Double Curve Integral Sup/Sub script" )
+#define RID_LLLINTX_HELP NC_("RID_LLLINTX_HELP", "Triple Curve Integral" )
+#define RID_LLLINT_FROMX_HELP NC_("RID_LLLINT_FROMX_HELP", "Triple Curve Integral Subscript Bottom" )
+#define RID_LLLINT_TOX_HELP NC_("RID_LLLINT_TOX_HELP", "Triple Curve Integral Superscript Top" )
+#define RID_LLLINT_FROMTOX_HELP NC_("RID_LLLINT_FROMTOX_HELP", "Triple Curve Integral Sup/Sub script" )
+#define RID_ACUTEX_HELP NC_("RID_ACUTEX_HELP", "Acute Accent" )
+#define RID_BARX_HELP NC_("RID_BARX_HELP", "Line Above" )
+#define RID_BREVEX_HELP NC_("RID_BREVEX_HELP", "Breve" )
+#define RID_CHECKX_HELP NC_("RID_CHECKX_HELP", "Reverse Circumflex" )
+#define RID_CIRCLEX_HELP NC_("RID_CIRCLEX_HELP", "Circle" )
+#define RID_DOTX_HELP NC_("RID_DOTX_HELP", "Dot" )
+#define RID_DDOTX_HELP NC_("RID_DDOTX_HELP", "Double Dot" )
+#define RID_DDDOTX_HELP NC_("RID_DDDOTX_HELP", "Triple Dot" )
+#define RID_GRAVEX_HELP NC_("RID_GRAVEX_HELP", "Grave Accent" )
+#define RID_HATX_HELP NC_("RID_HATX_HELP", "Circumflex" )
+#define RID_TILDEX_HELP NC_("RID_TILDEX_HELP", "Tilde" )
+#define RID_VECX_HELP NC_("RID_VECX_HELP", "Vector Arrow" )
+#define RID_UNDERLINEX_HELP NC_("RID_UNDERLINEX_HELP", "Line Below" )
+#define RID_OVERLINEX_HELP NC_("RID_OVERLINEX_HELP", "Line Over" )
+#define RID_OVERSTRIKEX_HELP NC_("RID_OVERSTRIKEX_HELP", "Line Through" )
+#define RID_PHANTOMX_HELP NC_("RID_PHANTOMX_HELP", "Transparent" )
+#define RID_BOLDX_HELP NC_("RID_BOLDX_HELP", "Bold Font" )
+#define RID_ITALX_HELP NC_("RID_ITALX_HELP", "Italic Font" )
+#define RID_SIZEXY_HELP NC_("RID_SIZEXY_HELP", "Resize" )
+#define RID_FONTXY_HELP NC_("RID_FONTXY_HELP", "Change Font" )
+#define RID_COLORX_BLACK_HELP NC_("RID_COLORX_BLACK_HELP", "Color Black" )
+#define RID_COLORX_BLUE_HELP NC_("RID_COLORX_BLUE_HELP", "Color Blue" )
+#define RID_COLORX_GREEN_HELP NC_("RID_COLORX_GREEN_HELP", "Color Green" )
+#define RID_COLORX_RED_HELP NC_("RID_COLORX_RED_HELP", "Color Red" )
+#define RID_COLORX_CYAN_HELP NC_("RID_COLORX_CYAN_HELP", "Color Cyan" )
+#define RID_COLORX_MAGENTA_HELP NC_("RID_COLORX_MAGENTA_HELP", "Color Magenta" )
+#define RID_COLORX_GRAY_HELP NC_("RID_COLORX_GRAY_HELP", "Color Gray" )
+#define RID_COLORX_LIME_HELP NC_("RID_COLORX_LIME_HELP", "Color Lime" )
+#define RID_COLORX_MAROON_HELP NC_("RID_COLORX_MAROON_HELP", "Color Maroon" )
+#define RID_COLORX_NAVY_HELP NC_("RID_COLORX_NAVY_HELP", "Color Navy" )
+#define RID_COLORX_OLIVE_HELP NC_("RID_COLORX_OLIVE_HELP", "Color Olive" )
+#define RID_COLORX_PURPLE_HELP NC_("RID_COLORX_PURPLE_HELP", "Color Purple" )
+#define RID_COLORX_SILVER_HELP NC_("RID_COLORX_SILVER_HELP", "Color Silver" )
+#define RID_COLORX_TEAL_HELP NC_("RID_COLORX_TEAL_HELP", "Color Teal" )
+#define RID_COLORX_YELLOW_HELP NC_("RID_COLORX_YELLOW_HELP", "Color Yellow" )
+#define RID_LRGROUPX_HELP NC_("RID_LRGROUPX_HELP", "Group Brackets" )
+#define RID_LRPARENTX_HELP NC_("RID_LRPARENTX_HELP", "Round Brackets" )
+#define RID_LRBRACKETX_HELP NC_("RID_LRBRACKETX_HELP", "Square Brackets" )
+#define RID_LRDBRACKETX_HELP NC_("RID_LRDBRACKETX_HELP", "Double Square Brackets" )
+#define RID_LRBRACEX_HELP NC_("RID_LRBRACEX_HELP", "Braces" )
+#define RID_LRANGLEX_HELP NC_("RID_LRANGLEX_HELP", "Angle Brackets" )
+#define RID_LRCEILX_HELP NC_("RID_LRCEILX_HELP", "Upper Ceil" )
+#define RID_LRFLOORX_HELP NC_("RID_LRFLOORX_HELP", "Floor" )
+#define RID_LRLINEX_HELP NC_("RID_LRLINEX_HELP", "Single Lines" )
+#define RID_LRDLINEX_HELP NC_("RID_LRDLINEX_HELP", "Double Lines" )
+#define RID_LMRANGLEXY_HELP NC_("RID_LMRANGLEXY_HELP", "Operator Brackets" )
+#define RID_SLRPARENTX_HELP NC_("RID_SLRPARENTX_HELP", "Round Brackets (Scalable)" )
+#define RID_SLRBRACKETX_HELP NC_("RID_SLRBRACKETX_HELP", "Square Brackets (Scalable)" )
+#define RID_SLRDBRACKETX_HELP NC_("RID_SLRDBRACKETX_HELP", "Double Square Brackets (Scalable)" )
+#define RID_SLRBRACEX_HELP NC_("RID_SLRBRACEX_HELP", "Braces (Scalable)" )
+#define RID_SLRANGLEX_HELP NC_("RID_SLRANGLEX_HELP", "Angle Brackets (Scalable)" )
+#define RID_SLRCEILX_HELP NC_("RID_SLRCEILX_HELP", "Ceiling (Scalable)" )
+#define RID_SLRFLOORX_HELP NC_("RID_SLRFLOORX_HELP", "Floor (Scalable)" )
+#define RID_SLRLINEX_HELP NC_("RID_SLRLINEX_HELP", "Single Lines (Scalable)" )
+#define RID_SLRDLINEX_HELP NC_("RID_SLRDLINEX_HELP", "Double Lines (Scalable)" )
+#define RID_SLMRANGLEXY_HELP NC_("RID_SLMRANGLEXY_HELP", "Operator Brackets (Scalable)" )
+#define RID_XEVALUATEDATY_HELP NC_("RID_XEVALUATEDATY_HELP", "Evaluated At" )
+#define RID_XOVERBRACEY_HELP NC_("RID_XOVERBRACEY_HELP", "Braces Top (Scalable)" )
+#define RID_XUNDERBRACEY_HELP NC_("RID_XUNDERBRACEY_HELP", "Braces Bottom (Scalable)" )
+#define RID_RSUBX_HELP NC_("RID_RSUBX_HELP", "Subscript Right" )
+#define RID_RSUPX_HELP NC_("RID_RSUPX_HELP", "Power" )
+#define RID_LSUBX_HELP NC_("RID_LSUBX_HELP", "Subscript Left" )
+#define RID_LSUPX_HELP NC_("RID_LSUPX_HELP", "Superscript Left" )
+#define RID_CSUBX_HELP NC_("RID_CSUBX_HELP", "Subscript Bottom" )
+#define RID_CSUPX_HELP NC_("RID_CSUPX_HELP", "Superscript Top" )
+#define RID_SBLANK_HELP NC_("RID_SBLANK_HELP", "Small Gap" )
+#define RID_BLANK_HELP NC_("RID_BLANK_HELP", "Blank" )
+#define RID_NEWLINE_HELP NC_("RID_NEWLINE_HELP", "New Line" )
+#define RID_BINOMXY_HELP NC_("RID_BINOMXY_HELP", "Vertical Stack (2 Elements)")
+#define RID_STACK_HELP NC_("RID_STACK_HELP", "Vertical Stack" )
+#define RID_MATRIX_HELP NC_("RID_MATRIX_HELP", "Matrix Stack" )
+#define RID_ALIGNLX_HELP NC_("RID_ALIGNLX_HELP", "Align Left" )
+#define RID_ALIGNCX_HELP NC_("RID_ALIGNCX_HELP", "Align Center" )
+#define RID_ALIGNRX_HELP NC_("RID_ALIGNRX_HELP", "Align Right" )
+#define RID_ALEPH_HELP NC_("RID_ALEPH_HELP", "Aleph" )
+#define RID_EMPTYSET_HELP NC_("RID_EMPTYSET_HELP", "Empty Set" )
+#define RID_RE_HELP NC_("RID_RE_HELP", "Real Part" )
+#define RID_IM_HELP NC_("RID_IM_HELP", "Imaginary Part" )
+#define RID_INFINITY_HELP NC_("RID_INFINITY_HELP", "Infinity" )
+#define RID_PARTIAL_HELP NC_("RID_PARTIAL_HELP", "Partial" )
+#define RID_NABLA_HELP NC_("RID_NABLA_HELP", "Nabla" )
+#define RID_WP_HELP NC_("RID_WP_HELP", "Weierstrass p" )
+#define RID_DOTSAXIS_HELP NC_("RID_DOTSAXIS_HELP", "Dots In Middle" )
+#define RID_DOTSUP_HELP NC_("RID_DOTSUP_HELP", "Dots To Top" )
+#define RID_DOTSDOWN_HELP NC_("RID_DOTSDOWN_HELP", "Dots To Bottom" )
+#define RID_DOTSLOW_HELP NC_("RID_DOTSLOW_HELP", "Dots At Bottom" )
+#define RID_DOTSVERT_HELP NC_("RID_DOTSVERT_HELP", "Dots Vertically" )
+#define RID_XCIRCY_HELP NC_("RID_XCIRCY_HELP", "Concatenate" )
+#define RID_XWIDESLASHY_HELP NC_("RID_XWIDESLASHY_HELP", "Division (wideslash)" )
+#define RID_XWIDEBSLASHY_HELP NC_("RID_XWIDEBSLASHY_HELP", "Division (counter wideslash)" )
+#define RID_XDIVIDESY_HELP NC_("RID_XDIVIDESY_HELP", "Divides" )
+#define RID_XNDIVIDESY_HELP NC_("RID_XNDIVIDESY_HELP", "Does Not Divide" )
+#define RID_DLARROW_HELP NC_("RID_DLARROW_HELP", "Double Arrow Left" )
+#define RID_DLRARROW_HELP NC_("RID_DLRARROW_HELP", "Double Arrow Left And Right" )
+#define RID_DRARROW_HELP NC_("RID_DRARROW_HELP", "Double Arrow Right" )
+#define RID_SETN_HELP NC_("RID_SETN_HELP", "Natural Numbers Set" )
+#define RID_SETZ_HELP NC_("RID_SETZ_HELP", "Integers Set" )
+#define RID_SETQ_HELP NC_("RID_SETQ_HELP", "Set of Rational Numbers" )
+#define RID_SETR_HELP NC_("RID_SETR_HELP", "Real Numbers Set" )
+#define RID_SETC_HELP NC_("RID_SETC_HELP", "Complex Numbers Set" )
+#define RID_WIDEHATX_HELP NC_("RID_WIDEHATX_HELP", "Large Circumflex" )
+#define RID_WIDETILDEX_HELP NC_("RID_WIDETILDEX_HELP", "Large Tilde" )
+#define RID_WIDEVECX_HELP NC_("RID_WIDEVECX_HELP", "Large Vector Arrow" )
+#define RID_HBAR_HELP NC_("RID_HBAR_HELP", "h Bar" )
+#define RID_LAMBDABAR_HELP NC_("RID_LAMBDABAR_HELP", "Lambda Bar" )
+#define RID_LEFTARROW_HELP NC_("RID_LEFTARROW_HELP", "Left Arrow" )
+#define RID_RIGHTARROW_HELP NC_("RID_RIGHTARROW_HELP", "Right Arrow" )
+#define RID_UPARROW_HELP NC_("RID_UPARROW_HELP", "Up Arrow" )
+#define RID_DOWNARROW_HELP NC_("RID_DOWNARROW_HELP", "Down Arrow" )
+#define RID_NOSPACE_HELP NC_("RID_NOSPACE_HELP", "No space" )
+#define RID_XPRECEDESY_HELP NC_("RID_XPRECEDESY_HELP", "Precedes" )
+#define RID_XPRECEDESEQUALY_HELP NC_("RID_XPRECEDESEQUALY_HELP", "Precedes or equal to" )
+#define RID_XPRECEDESEQUIVY_HELP NC_("RID_XPRECEDESEQUIVY_HELP", "Precedes or equivalent to" )
+#define RID_XSUCCEEDSY_HELP NC_("RID_XSUCCEEDSY_HELP", "Succeeds" )
+#define RID_XSUCCEEDSEQUALY_HELP NC_("RID_XSUCCEEDSEQUALY_HELP", "Succeeds or equal to" )
+#define RID_XSUCCEEDSEQUIVY_HELP NC_("RID_XSUCCEEDSEQUIVY_HELP", "Succeeds or equivalent to" )
+#define RID_XNOTPRECEDESY_HELP NC_("RID_XNOTPRECEDESY_HELP", "Not precedes" )
+#define RID_XNOTSUCCEEDSY_HELP NC_("RID_XNOTSUCCEEDSY_HELP", "Not succeeds" )
+#define RID_CATEGORY_UNARY_BINARY_OPERATORS NC_("RID_CATEGORY_UNARY_BINARY_OPERATORS", "Unary/Binary Operators" )
+#define RID_CATEGORY_RELATIONS NC_("RID_CATEGORY_RELATIONS", "Relations" )
+#define RID_CATEGORY_SET_OPERATIONS NC_("RID_CATEGORY_SET_OPERATIONS", "Set Operations" )
+#define RID_CATEGORY_FUNCTIONS NC_("RID_CATEGORY_FUNCTIONS", "Functions" )
+#define RID_CATEGORY_OPERATORS NC_("RID_CATEGORY_OPERATORS", "Operators" )
+#define RID_CATEGORY_ATTRIBUTES NC_("RID_CATEGORY_ATTRIBUTES", "Attributes" )
+#define RID_CATEGORY_BRACKETS NC_("RID_CATEGORY_BRACKETS", "Brackets" )
+#define RID_CATEGORY_FORMATS NC_("RID_CATEGORY_FORMATS", "Formats" )
+#define RID_CATEGORY_OTHERS NC_("RID_CATEGORY_OTHERS", "Others" )
+#define RID_CATEGORY_EXAMPLES NC_("RID_CATEGORY_EXAMPLES", "Examples" )
+
+#define RID_FONTREGULAR NC_("RID_FONTREGULAR", "Standard" )
+#define RID_FONTITALIC NC_("RID_FONTITALIC", "Italic" )
+#define RID_FONTBOLD NC_("RID_FONTBOLD", "Bold" )
+#define STR_BLACK NC_("STR_BLACK", "black" )
+#define STR_BLUE NC_("STR_BLUE", "blue" )
+#define STR_GREEN NC_("STR_GREEN", "green" )
+#define STR_RED NC_("STR_RED", "red" )
+#define STR_CYAN NC_("STR_CYAN", "cyan" )
+#define STR_MAGENTA NC_("STR_MAGENTA", "magenta" )
+#define STR_GRAY NC_("STR_GRAY", "gray" )
+#define STR_LIME NC_("STR_LIME", "lime" )
+#define STR_MAROON NC_("STR_MAROON", "maroon" )
+#define STR_NAVY NC_("STR_NAVY", "navy" )
+#define STR_OLIVE NC_("STR_OLIVE", "olive" )
+#define STR_PURPLE NC_("STR_PURPLE", "purple" )
+#define STR_SILVER NC_("STR_SILVER", "silver" )
+#define STR_TEAL NC_("STR_TEAL", "teal" )
+#define STR_YELLOW NC_("STR_YELLOW", "yellow" )
+#define STR_HIDE NC_("STR_HIDE", "hide" )
+#define STR_SIZE NC_("STR_SIZE", "size" )
+#define STR_FONT NC_("STR_FONT", "font" )
+#define STR_ALIGN_LEFT NC_("STR_ALIGN_LEFT", "left" )
+#define STR_ALIGN_CENTER NC_("STR_ALIGN_CENTER", "center" )
+#define STR_ALIGN_RIGHT NC_("STR_ALIGN_RIGHT", "right" )
+#define STR_CMDBOXWINDOW NC_("STR_CMDBOXWINDOW", "Commands" )
+#define RID_DOCUMENTSTR NC_("RID_DOCUMENTSTR", "Formula" )
+#define STR_STATSTR_READING NC_("STR_STATSTR_READING", "Loading document..." )
+#define STR_STATSTR_WRITING NC_("STR_STATSTR_WRITING", "Saving document..." )
+#define STR_MATH_DOCUMENT_FULLTYPE_CURRENT NC_("STR_MATH_DOCUMENT_FULLTYPE_CURRENT", "%PRODUCTNAME %PRODUCTVERSION Formula")
+#define RID_ERR_IDENT NC_("RID_ERR_IDENT", "ERROR : " )
+#define RID_ERR_UNEXPECTEDCHARACTER NC_("RID_ERR_UNEXPECTEDCHARACTER", "Unexpected character" )
+#define RID_ERR_UNEXPECTEDTOKEN NC_("RID_ERR_UNEXPECTEDTOKEN", "Unexpected token" )
+#define RID_ERR_LGROUPEXPECTED NC_("RID_ERR_LGROUPEXPECTED", "'{' expected" )
+#define RID_ERR_RGROUPEXPECTED NC_("RID_ERR_RGROUPEXPECTED", "'}' expected" )
+#define RID_ERR_LBRACEEXPECTED NC_("RID_ERR_LBRACEEXPECTED", "'(' expected" )
+#define RID_ERR_RBRACEEXPECTED NC_("RID_ERR_RBRACEEXPECTED", "')' expected" )
+#define RID_ERR_PARENTMISMATCH NC_("RID_ERR_PARENTMISMATCH", "Left and right symbols mismatched" )
+#define RID_ERR_FONTEXPECTED NC_("RID_ERR_FONTEXPECTED", "'fixed', 'sans', or 'serif' expected" )
+#define RID_ERR_SIZEEXPECTED NC_("RID_ERR_SIZEEXPECTED", "'size' followed by an unexpected token" )
+#define RID_ERR_DOUBLEALIGN NC_("RID_ERR_DOUBLEALIGN", "Double aligning is not allowed" )
+#define RID_ERR_DOUBLESUBSUPSCRIPT NC_("RID_ERR_DOUBLESUBSUPSCRIPT", "Double sub/superscripts is not allowed" )
+#define RID_ERR_POUNDEXPECTED NC_("RID_ERR_POUNDEXPECTED", "'#' expected" )
+#define RID_ERR_COLOREXPECTED NC_("RID_ERR_COLOREXPECTED", "Color required" )
+#define RID_ERR_RIGHTEXPECTED NC_("RID_ERR_RIGHTEXPECTED", "'RIGHT' expected" )
+#define RID_PRINTUIOPT_PRODNAME NC_("RID_PRINTUIOPT_PRODNAME", "%PRODUCTNAME %s" )
+#define RID_PRINTUIOPT_CONTENTS NC_("RID_PRINTUIOPT_CONTENTS", "Contents" )
+#define RID_PRINTUIOPT_TITLE NC_("RID_PRINTUIOPT_TITLE", "~Title" )
+#define RID_PRINTUIOPT_FRMLTXT NC_("RID_PRINTUIOPT_FRMLTXT", "~Formula text" )
+#define RID_PRINTUIOPT_BORDERS NC_("RID_PRINTUIOPT_BORDERS", "B~orders" )
+#define RID_PRINTUIOPT_SIZE NC_("RID_PRINTUIOPT_SIZE", "Size" )
+#define RID_PRINTUIOPT_ORIGSIZE NC_("RID_PRINTUIOPT_ORIGSIZE", "O~riginal size" )
+#define RID_PRINTUIOPT_FITTOPAGE NC_("RID_PRINTUIOPT_FITTOPAGE", "Fit to ~page" )
+#define RID_PRINTUIOPT_SCALING NC_("RID_PRINTUIOPT_SCALING", "~Scaling" )
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/starmath/qa/cppunit/test_starmath.cxx b/starmath/qa/cppunit/test_starmath.cxx
index 9d0bd53ebdf3..d28baee430d7 100644
--- a/starmath/qa/cppunit/test_starmath.cxx
+++ b/starmath/qa/cppunit/test_starmath.cxx
@@ -23,6 +23,7 @@
#include <editeng/editview.hxx>
#include <sfx2/zoomitem.hxx>
+#include "starmath.hrc"
#include <memory>
typedef tools::SvRef<SmDocShell> SmDocShellRef;
diff --git a/starmath/source/ElementsDockingWindow.cxx b/starmath/source/ElementsDockingWindow.cxx
index 95fe2e4f12ca..4d09089449e2 100644
--- a/starmath/source/ElementsDockingWindow.cxx
+++ b/starmath/source/ElementsDockingWindow.cxx
@@ -21,6 +21,7 @@
#include <ElementsDockingWindow.hxx>
#include <starmath.hrc>
+#include <strings.hrc>
#include <smmod.hxx>
#include <view.hxx>
#include <visitors.hxx>
@@ -54,11 +55,11 @@ SmElementSeparator::SmElementSeparator() :
SmElement(std::unique_ptr<SmNode>(), OUString(), OUString())
{}
-const std::pair<const char*, sal_uInt16> SmElementsControl::aUnaryBinaryOperatorsList[] =
+const std::pair<const char*, const char*> SmElementsControl::aUnaryBinaryOperatorsList[] =
{
{RID_PLUSX, RID_PLUSX_HELP}, {RID_MINUSX, RID_MINUSX_HELP},
{RID_PLUSMINUSX, RID_PLUSMINUSX_HELP}, {RID_MINUSPLUSX, RID_MINUSPLUSX_HELP},
- {nullptr, 0},
+ {nullptr, nullptr},
{RID_XPLUSY, RID_XPLUSY_HELP}, {RID_XMINUSY, RID_XMINUSY_HELP},
{RID_XCDOTY, RID_XCDOTY_HELP}, {RID_XTIMESY, RID_XTIMESY_HELP},
{RID_XSYMTIMESY, RID_XSYMTIMESY_HELP}, {RID_XOVERY, RID_XOVERY_HELP},
@@ -67,113 +68,113 @@ const std::pair<const char*, sal_uInt16> SmElementsControl::aUnaryBinaryOperator
{RID_XODOTY, RID_XODOTY_HELP}, {RID_XOTIMESY, RID_XOTIMESY_HELP},
{RID_XODIVIDEY, RID_XODIVIDEY_HELP}, {RID_XCIRCY, RID_XCIRCY_HELP},
{RID_XWIDESLASHY, RID_XWIDESLASHY_HELP}, {RID_XWIDEBSLASHY, RID_XWIDEBSLASHY_HELP},
- {nullptr, 0},
+ {nullptr, nullptr},
{RID_NEGX, RID_NEGX_HELP}, {RID_XANDY, RID_XANDY_HELP}, {RID_XORY, RID_XORY_HELP},
};
-const std::pair<const char*, sal_uInt16> SmElementsControl::aRelationsList[] =
+const std::pair<const char*, const char*> SmElementsControl::aRelationsList[] =
{
{RID_XEQY, RID_XEQY_HELP}, {RID_XNEQY, RID_XNEQY_HELP}, {RID_XLTY, RID_XLTY_HELP},
{RID_XLEY, RID_XLEY_HELP}, {RID_XLESLANTY, RID_XLESLANTY_HELP}, {RID_XGTY, RID_XGTY_HELP},
{RID_XGEY, RID_XGEY_HELP}, {RID_XGESLANTY, RID_XGESLANTY_HELP},
{RID_XLLY, RID_XLLY_HELP}, {RID_XGGY, RID_XGGY_HELP},
- {nullptr, 0},
+ {nullptr, nullptr},
{RID_XAPPROXY, RID_XAPPROXY_HELP}, {RID_XSIMY, RID_XSIMY_HELP}, {RID_XSIMEQY, RID_XSIMEQY_HELP},
{RID_XEQUIVY, RID_XEQUIVY_HELP}, {RID_XPROPY, RID_XPROPY_HELP}, {RID_XPARALLELY, RID_XPARALLELY_HELP},
{RID_XORTHOY, RID_XORTHOY_HELP}, {RID_XDIVIDESY, RID_XDIVIDESY_HELP}, {RID_XNDIVIDESY, RID_XNDIVIDESY_HELP},
{RID_XTOWARDY, RID_XTOWARDY_HELP}, {RID_XTRANSLY, RID_XTRANSLY_HELP}, {RID_XTRANSRY, RID_XTRANSRY_HELP},
{RID_XDEFY, RID_XDEFY_HELP},
- {nullptr, 0},
+ {nullptr, nullptr},
{RID_DLARROW, RID_DLARROW_HELP}, {RID_DLRARROW, RID_DLRARROW_HELP}, {RID_DRARROW, RID_DRARROW_HELP},
- {nullptr, 0},
+ {nullptr, nullptr},
{RID_XPRECEDESY, RID_XPRECEDESY_HELP}, {RID_XSUCCEEDSY, RID_XSUCCEEDSY_HELP},
{RID_XPRECEDESEQUALY, RID_XPRECEDESEQUALY_HELP}, {RID_XSUCCEEDSEQUALY, RID_XSUCCEEDSEQUALY_HELP},
{RID_XPRECEDESEQUIVY, RID_XPRECEDESEQUIVY_HELP}, {RID_XSUCCEEDSEQUIVY, RID_XSUCCEEDSEQUIVY_HELP},
{RID_XNOTPRECEDESY, RID_XNOTPRECEDESY_HELP}, {RID_XNOTSUCCEEDSY, RID_XNOTSUCCEEDSY_HELP},
};
-const std::pair<const char*, sal_uInt16> SmElementsControl::aSetOperations[] =
+const std::pair<const char*, const char*> SmElementsControl::aSetOperations[] =
{
{RID_XINY, RID_XINY_HELP}, {RID_XNOTINY, RID_XNOTINY_HELP}, {RID_XOWNSY, RID_XOWNSY_HELP},
- {nullptr, 0},
+ {nullptr, nullptr},
{RID_XINTERSECTIONY, RID_XINTERSECTIONY_HELP}, {RID_XUNIONY, RID_XUNIONY_HELP},
{RID_XSETMINUSY, RID_XSETMINUSY_HELP}, {RID_XSLASHY, RID_XSLASHY_HELP},
{RID_XSUBSETY, RID_XSUBSETY_HELP}, {RID_XSUBSETEQY, RID_XSUBSETEQY_HELP},
{RID_XSUPSETY, RID_XSUPSETY_HELP}, {RID_XSUPSETEQY, RID_XSUPSETEQY_HELP},
{RID_XNSUBSETY, RID_XNSUBSETY_HELP}, {RID_XNSUBSETEQY, RID_XNSUBSETEQY_HELP},
{RID_XNSUPSETY, RID_XNSUPSETY_HELP}, {RID_XNSUPSETEQY, RID_XNSUPSETEQY_HELP},
- {nullptr, 0},
+ {nullptr, nullptr},
{RID_EMPTYSET, RID_EMPTYSET_HELP}, {RID_ALEPH, RID_ALEPH_HELP}, {RID_SETN, RID_SETN_HELP},
{RID_SETZ, RID_SETZ_HELP}, {RID_SETQ, RID_SETQ_HELP}, {RID_SETR, RID_SETR_HELP}, {RID_SETC, RID_SETC_HELP}
};
-const std::pair<const char*, sal_uInt16> SmElementsControl::aFunctions[] =
+const std::pair<const char*, const char*> SmElementsControl::aFunctions[] =
{
{RID_ABSX, RID_ABSX_HELP}, {RID_FACTX, RID_FACTX_HELP}, {RID_SQRTX, RID_SQRTX_HELP},
{RID_NROOTXY, RID_NROOTXY_HELP}, {RID_RSUPX, RID_RSUPX_HELP}, {RID_EX, RID_EX_HELP},
{RID_LNX, RID_LNX_HELP}, {RID_EXPX, RID_EXPX_HELP}, {RID_LOGX, RID_LOGX_HELP},
- {nullptr, 0},
+ {nullptr, nullptr},
{RID_SINX, RID_SINX_HELP}, {RID_COSX, RID_COSX_HELP}, {RID_TANX, RID_TANX_HELP}, {RID_COTX, RID_COTX_HELP},
{RID_SINHX, RID_SINHX_HELP}, {RID_COSHX, RID_COSHX_HELP}, {RID_TANHX, RID_TANHX_HELP},
{RID_COTHX, RID_COTHX_HELP},
- {nullptr, 0},
+ {nullptr, nullptr},
{RID_ARCSINX, RID_ARCSINX_HELP}, {RID_ARCCOSX, RID_ARCCOSX_HELP}, {RID_ARCTANX, RID_ARCTANX_HELP},
{RID_ARCCOTX, RID_ARCCOTX_HELP}, {RID_ARSINHX, RID_ARSINHX_HELP}, {RID_ARCOSHX, RID_ARCOSHX_HELP},
{RID_ARTANHX, RID_ARTANHX_HELP}, {RID_ARCOTHX, RID_ARCOTHX_HELP}
};
-const std::pair<const char*, sal_uInt16> SmElementsControl::aOperators[] =
+const std::pair<const char*, const char*> SmElementsControl::aOperators[] =
{
{RID_LIMX, RID_LIMX_HELP}, {RID_LIM_FROMX, RID_LIM_FROMX_HELP},
{RID_LIM_TOX, RID_LIM_TOX_HELP}, {RID_LIM_FROMTOX, RID_LIM_FROMTOX_HELP},
- {nullptr, 0},
+ {nullptr, nullptr},
{RID_LIMINFX, RID_LIMINFX_HELP}, {RID_LIMINF_FROMX, RID_LIMINF_FROMX_HELP},
{RID_LIMINF_TOX, RID_LIMINF_TOX_HELP}, {RID_LIMINF_FROMTOX, RID_LIMINF_FROMTOX_HELP},
- {nullptr, 0},
+ {nullptr, nullptr},
{RID_LIMSUPX, RID_LIMSUPX_HELP}, {RID_LIMSUP_FROMX, RID_LIMSUP_FROMX_HELP},
{RID_LIMSUP_TOX, RID_LIMSUP_TOX_HELP}, {RID_LIMSUP_FROMTOX, RID_LIMSUP_FROMTOX_HELP},
- {nullptr, 0},
+ {nullptr, nullptr},
{RID_SUMX, RID_SUMX_HELP}, {RID_SUM_FROMX, RID_SUM_FROMX_HELP},
{RID_SUM_TOX, RID_SUM_TOX_HELP}, {RID_SUM_FROMTOX, RID_SUM_FROMTOX_HELP},
- {nullptr, 0},
+ {nullptr, nullptr},
{RID_PRODX, RID_PRODX_HELP}, {RID_PROD_FROMX, RID_PROD_FROMX_HELP},
{RID_PROD_TOX, RID_PROD_TOX_HELP}, {RID_PROD_FROMTOX, RID_PROD_FROMTOX_HELP},
- {nullptr, 0},
+ {nullptr, nullptr},
{RID_COPRODX, RID_COPRODX_HELP}, {RID_COPROD_FROMX, RID_COPROD_FROMX_HELP},
{RID_COPROD_TOX, RID_COPROD_TOX_HELP}, {RID_COPROD_FROMTOX, RID_COPROD_FROMTOX_HELP},
- {nullptr, 0},
+ {nullptr, nullptr},
{RID_INTX, RID_INTX_HELP}, {RID_INT_FROMX, RID_INT_FROMX_HELP},
{RID_INT_TOX, RID_INT_TOX_HELP}, {RID_INT_FROMTOX, RID_INT_FROMTOX_HELP},
- {nullptr, 0},
+ {nullptr, nullptr},
{RID_IINTX, RID_IINTX_HELP}, {RID_IINT_FROMX, RID_IINT_FROMX_HELP},
{RID_IINT_TOX, RID_IINT_TOX_HELP}, {RID_IINT_FROMTOX, RID_IINT_FROMTOX_HELP},
- {nullptr, 0},
+ {nullptr, nullptr},
{RID_IIINTX, RID_IIINTX_HELP}, {RID_IIINT_FROMX, RID_IIINT_FROMX_HELP},
{RID_IIINT_TOX, RID_IIINT_TOX_HELP}, {RID_IIINT_FROMTOX, RID_IIINT_FROMTOX_HELP},
- {nullptr, 0},
+ {nullptr, nullptr},
{RID_LINTX, RID_LINTX_HELP}, {RID_LINT_FROMX, RID_LINT_FROMX_HELP},
{RID_LINT_TOX, RID_LINT_TOX_HELP}, {RID_LINT_FROMTOX, RID_LINT_FROMTOX_HELP},
- {nullptr, 0},
+ {nullptr, nullptr},
{RID_LLINTX, RID_LLINTX_HELP}, {RID_LLINT_FROMX, RID_LLINT_FROMX_HELP},
{RID_LLINT_TOX, RID_LLINT_TOX_HELP}, {RID_LLINT_FROMTOX, RID_LLINT_FROMTOX_HELP},
- {nullptr, 0},
+ {nullptr, nullptr},
{RID_LLLINTX, RID_LLLINTX_HELP}, {RID_LLLINT_FROMX, RID_LLLINT_FROMX_HELP},
{RID_LLLINT_TOX, RID_LLLINT_TOX_HELP}, {RID_LLLINT_FROMTOX, RID_LLLINT_FROMTOX_HELP},
};
-const std::pair<const char*, sal_uInt16> SmElementsControl::aAttributes[] =
+const std::pair<const char*, const char*> SmElementsControl::aAttributes[] =
{
{RID_ACUTEX, RID_ACUTEX_HELP}, {RID_GRAVEX, RID_GRAVEX_HELP}, {RID_BREVEX, RID_BREVEX_HELP},
{RID_CIRCLEX, RID_CIRCLEX_HELP}, {RID_DOTX, RID_DOTX_HELP}, {RID_DDOTX, RID_DDOTX_HELP},
{RID_DDDOTX, RID_DDDOTX_HELP}, {RID_BARX, RID_BARX_HELP}, {RID_VECX, RID_VECX_HELP},
{RID_TILDEX, RID_TILDEX_HELP}, {RID_HATX, RID_HATX_HELP}, {RID_CHECKX, RID_CHECKX_HELP},
- {nullptr, 0},
+ {nullptr, nullptr},
{RID_WIDEVECX, RID_WIDEVECX_HELP}, {RID_WIDETILDEX, RID_WIDETILDEX_HELP}, {RID_WIDEHATX, RID_WIDEHATX_HELP},
{RID_OVERLINEX, RID_OVERLINEX_HELP}, {RID_UNDERLINEX, RID_UNDERLINEX_HELP}, {RID_OVERSTRIKEX, RID_OVERSTRIKEX_HELP},
- {nullptr, 0},
+ {nullptr, nullptr},
{RID_PHANTOMX, RID_PHANTOMX_HELP}, {RID_BOLDX, RID_BOLDX_HELP}, {RID_ITALX, RID_ITALX_HELP},
{RID_SIZEXY, RID_SIZEXY_HELP}, {RID_FONTXY, RID_FONTXY_HELP},
- {nullptr, 0},
+ {nullptr, nullptr},
{RID_COLORX_BLACK, RID_COLORX_BLACK_HELP}, {RID_COLORX_BLUE, RID_COLORX_BLUE_HELP},
{RID_COLORX_GREEN, RID_COLORX_GREEN_HELP}, {RID_COLORX_RED, RID_COLORX_RED_HELP},
{RID_COLORX_CYAN, RID_COLORX_CYAN_HELP}, {RID_COLORX_MAGENTA, RID_COLORX_MAGENTA_HELP},
@@ -184,49 +185,49 @@ const std::pair<const char*, sal_uInt16> SmElementsControl::aAttributes[] =
{RID_COLORX_TEAL, RID_COLORX_TEAL_HELP}
};
-const std::pair<const char*, sal_uInt16> SmElementsControl::aBrackets[] =
+const std::pair<const char*, const char*> SmElementsControl::aBrackets[] =
{
{RID_LRGROUPX, RID_LRGROUPX_HELP},
- {nullptr, 0},
+ {nullptr, nullptr},
{RID_LRPARENTX, RID_LRPARENTX_HELP}, {RID_LRBRACKETX, RID_LRBRACKETX_HELP},
{RID_LRDBRACKETX, RID_LRDBRACKETX_HELP}, {RID_LRBRACEX, RID_LRBRACEX_HELP},
{RID_LRANGLEX, RID_LRANGLEX_HELP}, {RID_LMRANGLEXY, RID_LMRANGLEXY_HELP},
{RID_LRCEILX, RID_LRCEILX_HELP}, {RID_LRFLOORX, RID_LRFLOORX_HELP},
{RID_LRLINEX, RID_LRLINEX_HELP}, {RID_LRDLINEX, RID_LRDLINEX_HELP},
- {nullptr, 0},
+ {nullptr, nullptr},
{RID_SLRPARENTX, RID_SLRPARENTX_HELP}, {RID_SLRBRACKETX, RID_SLRBRACKETX_HELP},
{RID_SLRDBRACKETX, RID_SLRDBRACKETX_HELP}, {RID_SLRBRACEX, RID_SLRBRACEX_HELP},
{RID_SLRANGLEX, RID_SLRANGLEX_HELP}, {RID_SLMRANGLEXY, RID_SLMRANGLEXY_HELP},
{RID_SLRCEILX, RID_SLRCEILX_HELP}, {RID_SLRFLOORX, RID_SLRFLOORX_HELP},
{RID_SLRLINEX, RID_SLRLINEX_HELP}, {RID_SLRDLINEX, RID_SLRDLINEX_HELP},
{RID_XEVALUATEDATY, RID_XEVALUATEDATY_HELP},
- {nullptr, 0},
+ {nullptr, nullptr},
{RID_XOVERBRACEY, RID_XOVERBRACEY_HELP}, {RID_XUNDERBRACEY, RID_XUNDERBRACEY_HELP},
};
-const std::pair<const char*, sal_uInt16> SmElementsControl::aFormats[] =
+const std::pair<const char*, const char*> SmElementsControl::aFormats[] =
{
{RID_RSUPX, RID_RSUPX_HELP}, {RID_RSUBX, RID_RSUBX_HELP}, {RID_LSUPX, RID_LSUPX_HELP},
{RID_LSUBX, RID_LSUBX_HELP}, {RID_CSUPX, RID_CSUPX_HELP}, {RID_CSUBX, RID_CSUBX_HELP},
- {nullptr, 0},
+ {nullptr, nullptr},
{RID_NEWLINE, RID_NEWLINE_HELP}, {RID_SBLANK, RID_SBLANK_HELP}, {RID_BLANK, RID_BLANK_HELP},
{RID_NOSPACE, RID_NOSPACE_HELP},
{RID_ALIGNLX, RID_ALIGNLX_HELP}, {RID_ALIGNCX, RID_ALIGNCX_HELP}, {RID_ALIGNRX, RID_ALIGNRX_HELP},
- {nullptr, 0},
+ {nullptr, nullptr},
{RID_BINOMXY, RID_BINOMXY_HELP}, {RID_STACK, RID_STACK_HELP},
{RID_MATRIX, RID_MATRIX_HELP},
};
-const std::pair<const char*, sal_uInt16> SmElementsControl::aOthers[] =
+const std::pair<const char*, const char*> SmElementsControl::aOthers[] =
{
{RID_INFINITY, RID_INFINITY_HELP}, {RID_PARTIAL, RID_PARTIAL_HELP}, {RID_NABLA, RID_NABLA_HELP},
{RID_EXISTS, RID_EXISTS_HELP}, {RID_NOTEXISTS, RID_NOTEXISTS_HELP}, {RID_FORALL, RID_FORALL_HELP},
{RID_HBAR, RID_HBAR_HELP}, {RID_LAMBDABAR, RID_LAMBDABAR_HELP}, {RID_RE, RID_RE_HELP},
{RID_IM, RID_IM_HELP}, {RID_WP, RID_WP_HELP},
- {nullptr, 0},
+ {nullptr, nullptr},
{RID_LEFTARROW, RID_LEFTARROW_HELP}, {RID_RIGHTARROW, RID_RIGHTARROW_HELP}, {RID_UPARROW, RID_UPARROW_HELP},
{RID_DOWNARROW, RID_DOWNARROW_HELP},
- {nullptr, 0},
+ {nullptr, nullptr},
{RID_DOTSLOW, RID_DOTSLOW_HELP}, {RID_DOTSAXIS, RID_DOTSAXIS_HELP}, {RID_DOTSVERT, RID_DOTSVERT_HELP},
{RID_DOTSUP, RID_DOTSUP_HELP}, {RID_DOTSDOWN, RID_DOTSDOWN_HELP}
};
@@ -234,7 +235,6 @@ const std::pair<const char*, sal_uInt16> SmElementsControl::aOthers[] =
SmElementsControl::SmElementsControl(vcl::Window *pParent)
: Control(pParent, WB_TABSTOP)
, mpDocShell(new SmDocShell(SfxModelFlags::EMBEDDED_OBJECT))
- , maCurrentSetId(0)
, mpCurrentElement(nullptr)
, mbVerticalMode(true)
, mxScroll(VclPtr<ScrollBar>::Create(this, WB_VERT))
@@ -541,104 +541,104 @@ void SmElementsControl::addElement(const OUString& aElementVisual, const OUStrin
maElementList.push_back(o3tl::make_unique<SmElement>(std::move(pNode), aElementSource, aHelpText));
}
-void SmElementsControl::setElementSetId(sal_uInt16 aSetId)
+void SmElementsControl::setElementSetId(const char* pSetId)
{
- maCurrentSetId = aSetId;
+ msCurrentSetId = pSetId;
maMaxElementDimensions = Size();
build();
}
-void SmElementsControl::addElements(const std::pair<const char*, sal_uInt16> aElementsArray[], sal_uInt16 aElementsArraySize)
+void SmElementsControl::addElements(const std::pair<const char*, const char*> aElementsArray[], sal_uInt16 aElementsArraySize)
{
for (sal_uInt16 i = 0; i < aElementsArraySize ; i++)
{
const char* pElement = aElementsArray[i].first;
- sal_uInt16 aElementHelp = aElementsArray[i].second;
+ const char* pElementHelp = aElementsArray[i].second;
if (!pElement) {
maElementList.push_back(o3tl::make_unique<SmElementSeparator>());
} else {
OUString aElement(OUString::createFromAscii(pElement));
if (aElement == RID_NEWLINE)
- addElement(OUString( "\xe2\x86\xb5", 3, RTL_TEXTENCODING_UTF8 ), aElement, SmResId(aElementHelp));
+ addElement(OUString( "\xe2\x86\xb5", 3, RTL_TEXTENCODING_UTF8 ), aElement, SmResId(pElementHelp));
else if (aElement == RID_SBLANK)
- addElement("\"`\"", aElement, SmResId(aElementHelp));
+ addElement("\"`\"", aElement, SmResId(pElementHelp));
else if (aElement == RID_BLANK)
- addElement("\"~\"", aElement, SmResId(aElementHelp));
+ addElement("\"~\"", aElement, SmResId(pElementHelp));
else if (aElement == RID_PHANTOMX)
- addElement("\"" + SmResId(STR_HIDE) +"\"", aElement, SmResId(aElementHelp));
+ addElement("\"" + SmResId(STR_HIDE) +"\"", aElement, SmResId(pElementHelp));
else if (aElement == RID_BOLDX)
- addElement("bold B", aElement, SmResId(aElementHelp));
+ addElement("bold B", aElement, SmResId(pElementHelp));
else if (aElement == RID_ITALX)
- addElement("ital I", aElement, SmResId(aElementHelp));
+ addElement("ital I", aElement, SmResId(pElementHelp));
else if (aElement == RID_SIZEXY)
- addElement("\"" + SmResId(STR_SIZE) + "\"", aElement, SmResId(aElementHelp));
+ addElement("\"" + SmResId(STR_SIZE) + "\"", aElement, SmResId(pElementHelp));
else if (aElement == RID_FONTXY)
- addElement("\"" + SmResId(STR_FONT) + "\"", aElement, SmResId(aElementHelp));
+ addElement("\"" + SmResId(STR_FONT) + "\"", aElement, SmResId(pElementHelp));
else if (aElement == RID_COLORX_BLACK)
- addElement("color black { \"" + SmResId(STR_BLACK) + "\" }", aElement, SmResId(aElementHelp));
+ addElement("color black { \"" + SmResId(STR_BLACK) + "\" }", aElement, SmResId(pElementHelp));
else if (aElement == RID_COLORX_BLUE)
- addElement("color blue { \"" + SmResId(STR_BLUE) + "\" }", aElement, SmResId(aElementHelp));
+ addElement("color blue { \"" + SmResId(STR_BLUE) + "\" }", aElement, SmResId(pElementHelp));
else if (aElement == RID_COLORX_GREEN)
- addElement("color green { \"" + SmResId(STR_GREEN) + "\" }", aElement, SmResId(aElementHelp));
+ addElement("color green { \"" + SmResId(STR_GREEN) + "\" }", aElement, SmResId(pElementHelp));
else if (aElement == RID_COLORX_RED)
- addElement("color red { \"" + SmResId(STR_RED) + "\" }", aElement, SmResId(aElementHelp));
+ addElement("color red { \"" + SmResId(STR_RED) + "\" }", aElement, SmResId(pElementHelp));
else if (aElement == RID_COLORX_CYAN)
- addElement("color cyan { \"" + SmResId(STR_CYAN) + "\" }", aElement, SmResId(aElementHelp));
+ addElement("color cyan { \"" + SmResId(STR_CYAN) + "\" }", aElement, SmResId(pElementHelp));
else if (aElement == RID_COLORX_MAGENTA)
- addElement("color magenta { \"" + SmResId(STR_MAGENTA) + "\" }", aElement, SmResId(aElementHelp));
+ addElement("color magenta { \"" + SmResId(STR_MAGENTA) + "\" }", aElement, SmResId(pElementHelp));
else if (aElement == RID_COLORX_YELLOW)
- addElement("color yellow { \"" + SmResId(STR_YELLOW) + "\" }", aElement, SmResId(aElementHelp));
+ addElement("color yellow { \"" + SmResId(STR_YELLOW) + "\" }", aElement, SmResId(pElementHelp));
else if (aElement == RID_COLORX_GRAY)
- addElement("color gray { \"" + SmResId(STR_GRAY) + "\" }", aElement, SmResId(aElementHelp));
+ addElement("color gray { \"" + SmResId(STR_GRAY) + "\" }", aElement, SmResId(pElementHelp));
else if (aElement == RID_COLORX_LIME)
- addElement("color lime { \"" + SmResId(STR_LIME) + "\" }", aElement, SmResId(aElementHelp));
+ addElement("color lime { \"" + SmResId(STR_LIME) + "\" }", aElement, SmResId(pElementHelp));
else if (aElement == RID_COLORX_MAROON)
- addElement("color maroon { \"" + SmResId(STR_MAROON) + "\" }", aElement, SmResId(aElementHelp));
+ addElement("color maroon { \"" + SmResId(STR_MAROON) + "\" }", aElement, SmResId(pElementHelp));
else if (aElement == RID_COLORX_NAVY)
- addElement("color navy { \"" + SmResId(STR_NAVY) + "\" }", aElement, SmResId(aElementHelp));
+ addElement("color navy { \"" + SmResId(STR_NAVY) + "\" }", aElement, SmResId(pElementHelp));
else if (aElement == RID_COLORX_OLIVE)
- addElement("color olive { \"" + SmResId(STR_OLIVE) + "\" }", aElement, SmResId(aElementHelp));
+ addElement("color olive { \"" + SmResId(STR_OLIVE) + "\" }", aElement, SmResId(pElementHelp));
else if (aElement == RID_COLORX_PURPLE)
- addElement("color purple { \"" + SmResId(STR_PURPLE) + "\" }", aElement, SmResId(aElementHelp));
+ addElement("color purple { \"" + SmResId(STR_PURPLE) + "\" }", aElement, SmResId(pElementHelp));
else if (aElement == RID_COLORX_SILVER)
- addElement("color silver { \"" + SmResId(STR_SILVER) + "\" }", aElement, SmResId(aElementHelp));
+ addElement("color silver { \"" + SmResId(STR_SILVER) + "\" }", aElement, SmResId(pElementHelp));
else if (aElement == RID_COLORX_TEAL)
- addElement("color teal { \"" + SmResId(STR_TEAL) + "\" }", aElement, SmResId(aElementHelp));
+ addElement("color teal { \"" + SmResId(STR_TEAL) + "\" }", aElement, SmResId(pElementHelp));
else if (aElement == RID_ALIGNLX)
- addElement("\"" + SmResId(STR_ALIGN_LEFT) + "\"", aElement, SmResId(aElementHelp));
+ addElement("\"" + SmResId(STR_ALIGN_LEFT) + "\"", aElement, SmResId(pElementHelp));
else if (aElement == RID_ALIGNCX)
- addElement("\"" + SmResId(STR_ALIGN_CENTER) + "\"", aElement, SmResId(aElementHelp));
+ addElement("\"" + SmResId(STR_ALIGN_CENTER) + "\"", aElement, SmResId(pElementHelp));
else if (aElement == RID_ALIGNRX)
- addElement("\"" + SmResId(STR_ALIGN_RIGHT) + "\"", aElement, SmResId(aElementHelp));
+ addElement("\"" + SmResId(STR_ALIGN_RIGHT) + "\"", aElement, SmResId(pElementHelp));
else if (aElement == RID_SLRPARENTX)
- addElement("left ( binom{<?>}{<?>} right ) ", aElement, SmResId(aElementHelp));
+ addElement("left ( binom{<?>}{<?>} right ) ", aElement, SmResId(pElementHelp));
else if (aElement == RID_SLRBRACKETX)
- addElement("left [ binom{<?>}{<?>} right ] ", aElement, SmResId(aElementHelp));
+ addElement("left [ binom{<?>}{<?>} right ] ", aElement, SmResId(pElementHelp));
else if (aElement == RID_SLRDBRACKETX)
- addElement("left ldbracket binom{<?>}{<?>} right rdbracket ", aElement, SmResId(aElementHelp));
+ addElement("left ldbracket binom{<?>}{<?>} right rdbracket ", aElement, SmResId(pElementHelp));
else if (aElement == RID_SLRBRACEX)
- addElement("left lbrace binom{<?>}{<?>} right rbrace ", aElement, SmResId(aElementHelp));
+ addElement("left lbrace binom{<?>}{<?>} right rbrace ", aElement, SmResId(pElementHelp));
else if (aElement == RID_SLRANGLEX)
- addElement("left langle binom{<?>}{<?>} right rangle ", aElement, SmResId(aElementHelp));
+ addElement("left langle binom{<?>}{<?>} right rangle ", aElement, SmResId(pElementHelp));
else if (aElement == RID_SLRCEILX)
- addElement("left lceil binom{<?>}{<?>} right rceil ", aElement, SmResId(aElementHelp));
+ addElement("left lceil binom{<?>}{<?>} right rceil ", aElement, SmResId(pElementHelp));
else if (aElement == RID_SLRFLOORX)
- addElement("left lfloor binom{<?>}{<?>} right rfloor ", aElement, SmResId(aElementHelp));
+ addElement("left lfloor binom{<?>}{<?>} right rfloor ", aElement, SmResId(pElementHelp));
else if (aElement == RID_SLRLINEX)
- addElement("left lline binom{<?>}{<?>} right rline ", aElement, SmResId(aElementHelp));
+ addElement("left lline binom{<?>}{<?>} right rline ", aElement, SmResId(pElementHelp));
else if (aElement == RID_SLRDLINEX)
- addElement("left ldline binom{<?>}{<?>} right rdline ", aElement, SmResId(aElementHelp));
+ addElement("left ldline binom{<?>}{<?>} right rdline ", aElement, SmResId(pElementHelp));
else if (aElement == RID_SLMRANGLEXY)
- addElement("left langle binom{<?>}{<?>} mline binom{<?>}{<?>} right rangle ", aElement, SmResId(aElementHelp));
+ addElement("left langle binom{<?>}{<?>} mline binom{<?>}{<?>} right rangle ", aElement, SmResId(pElementHelp));
else if (aElement == RID_XOVERBRACEY)
- addElement("{<?><?><?>} overbrace {<?>} ", aElement, SmResId(aElementHelp));
+ addElement("{<?><?><?>} overbrace {<?>} ", aElement, SmResId(pElementHelp));
else if (aElement == RID_XUNDERBRACEY)
- addElement("{<?><?><?>} underbrace {<?>} ", aElement, SmResId(aElementHelp));
+ addElement("{<?><?><?>} underbrace {<?>} ", aElement, SmResId(pElementHelp));
else
- addElement(aElement, aElement, SmResId(aElementHelp));
+ addElement(aElement, aElement, SmResId(pElementHelp));
}
}
}
@@ -647,49 +647,36 @@ void SmElementsControl::build()
{
maElementList.clear();
- switch(maCurrentSetId)
+ if (msCurrentSetId == RID_CATEGORY_UNARY_BINARY_OPERATORS)
+ addElements(aUnaryBinaryOperatorsList, SAL_N_ELEMENTS(aUnaryBinaryOperatorsList));
+ else if (msCurrentSetId == RID_CATEGORY_RELATIONS)
+ addElements(aRelationsList, SAL_N_ELEMENTS(aRelationsList));
+ else if (msCurrentSetId == RID_CATEGORY_SET_OPERATIONS)
+ addElements(aSetOperations, SAL_N_ELEMENTS(aSetOperations));
+ else if (msCurrentSetId == RID_CATEGORY_FUNCTIONS)
+ addElements(aFunctions, SAL_N_ELEMENTS(aFunctions));
+ else if (msCurrentSetId == RID_CATEGORY_OPERATORS)
+ addElements(aOperators, SAL_N_ELEMENTS(aOperators));
+ else if (msCurrentSetId == RID_CATEGORY_ATTRIBUTES)
+ addElements(aAttributes, SAL_N_ELEMENTS(aAttributes));
+ else if (msCurrentSetId == RID_CATEGORY_BRACKETS)
+ addElements(aBrackets, SAL_N_ELEMENTS(aBrackets));
+ else if (msCurrentSetId == RID_CATEGORY_FORMATS)
+ addElements(aFormats, SAL_N_ELEMENTS(aFormats));
+ else if (msCurrentSetId == RID_CATEGORY_OTHERS)
+ addElements(aOthers, SAL_N_ELEMENTS(aOthers));
+ else if (msCurrentSetId == RID_CATEGORY_EXAMPLES)
{
- case RID_CATEGORY_UNARY_BINARY_OPERATORS:
- addElements(aUnaryBinaryOperatorsList, SAL_N_ELEMENTS(aUnaryBinaryOperatorsList));
- break;
- case RID_CATEGORY_RELATIONS:
- addElements(aRelationsList, SAL_N_ELEMENTS(aRelationsList));
- break;
- case RID_CATEGORY_SET_OPERATIONS:
- addElements(aSetOperations, SAL_N_ELEMENTS(aSetOperations));
- break;
- case RID_CATEGORY_FUNCTIONS:
- addElements(aFunctions, SAL_N_ELEMENTS(aFunctions));
- break;
- case RID_CATEGORY_OPERATORS:
- addElements(aOperators, SAL_N_ELEMENTS(aOperators));
- break;
- case RID_CATEGORY_ATTRIBUTES:
- addElements(aAttributes, SAL_N_ELEMENTS(aAttributes));
- break;
- case RID_CATEGORY_BRACKETS:
- addElements(aBrackets, SAL_N_ELEMENTS(aBrackets));
- break;
- case RID_CATEGORY_FORMATS:
- addElements(aFormats, SAL_N_ELEMENTS(aFormats));
- break;
- case RID_CATEGORY_OTHERS:
- addElements(aOthers, SAL_N_ELEMENTS(aOthers));
- break;
- case RID_CATEGORY_EXAMPLES:
- {
- OUString aEquation = "C=%pi cdot d = 2 cdot %pi cdot r";
- addElement(aEquation, aEquation, "");
- aEquation = "E=mc^2";
- addElement(aEquation, aEquation, "");
- aEquation = "a^2 + b^2 = c^2";
- addElement(aEquation, aEquation, "");
- aEquation = "f ( x ) = sum from { { i = 0 } } to { infinity } { {f^{(i)}(0)} over {i!} x^i}";
- addElement(aEquation, aEquation, "");
- aEquation = "f ( x ) = {1} over {%sigma sqrt{2%pi} }func e^-{{(x-%mu)^2} over {2%sigma^2}}";
- addElement(aEquation, aEquation, "");
- }
- break;
+ OUString aEquation = "C=%pi cdot d = 2 cdot %pi cdot r";
+ addElement(aEquation, aEquation, "");
+ aEquation = "E=mc^2";
+ addElement(aEquation, aEquation, "");
+ aEquation = "a^2 + b^2 = c^2";
+ addElement(aEquation, aEquation, "");
+ aEquation = "f ( x ) = sum from { { i = 0 } } to { infinity } { {f^{(i)}(0)} over {i!} x^i}";
+ addElement(aEquation, aEquation, "");
+ aEquation = "f ( x ) = {1} over {%sigma sqrt{2%pi} }func e^-{{(x-%mu)^2} over {2%sigma^2}}";
+ addElement(aEquation, aEquation, "");
}
LayoutOrPaintContents();
Invalidate();
@@ -705,7 +692,7 @@ FactoryFunction SmElementsControl::GetUITestFactory() const
return ElementSelectorUIObject::create;
}
-const sal_uInt16 SmElementsDockingWindow::aCategories[] = {
+const char* SmElementsDockingWindow::aCategories[] = {
RID_CATEGORY_UNARY_BINARY_OPERATORS,
RID_CATEGORY_RELATIONS,
RID_CATEGORY_SET_OPERATIONS,
@@ -732,9 +719,9 @@ SmElementsDockingWindow::SmElementsDockingWindow(SfxBindings* pInputBindings, Sf
mpElementListBox->SetDropDownLineCount( SAL_N_ELEMENTS(aCategories) );
- for (sal_uInt16 nCategory : aCategories)
+ for (const char* pCategory : aCategories)
{
- mpElementListBox->InsertEntry(SmResId(nCategory));
+ mpElementListBox->InsertEntry(SmResId(pCategory));
}
mpElementListBox->SetSelectHdl(LINK(this, SmElementsDockingWindow, ElementSelectedHandle));
@@ -789,12 +776,12 @@ IMPL_LINK(SmElementsDockingWindow, SelectClickHandler, SmElement&, rElement, voi
IMPL_LINK( SmElementsDockingWindow, ElementSelectedHandle, ListBox&, rList, void)
{
- for (sal_uInt16 aCurrentCategory : aCategories)
+ for (const char* pCurrentCategory : aCategories)
{
- OUString aCurrentCategoryString = SmResId(aCurrentCategory);
+ OUString aCurrentCategoryString = SmResId(pCurrentCategory);
if (aCurrentCategoryString == rList.GetSelectEntry())
{
- mpElementsControl->setElementSetId(aCurrentCategory);
+ mpElementsControl->setElementSetId(pCurrentCategory);
return;
}
}
diff --git a/starmath/source/accessibility.cxx b/starmath/source/accessibility.cxx
index c335be846891..a43638123405 100644
--- a/starmath/source/accessibility.cxx
+++ b/starmath/source/accessibility.cxx
@@ -60,6 +60,8 @@
#include <document.hxx>
#include <view.hxx>
#include <o3tl/make_unique.hxx>
+#include "strings.hrc"
+
using namespace com::sun::star;
using namespace com::sun::star::lang;
using namespace com::sun::star::uno;
diff --git a/starmath/source/action.cxx b/starmath/source/action.cxx
index a0d47e9c74fd..05467dcfad3d 100644
--- a/starmath/source/action.cxx
+++ b/starmath/source/action.cxx
@@ -20,7 +20,7 @@
#include "action.hxx"
#include "smdll.hxx"
#include "document.hxx"
-#include "starmath.hrc"
+#include "strings.hrc"
#include "strings.hxx"
SmFormatAction::SmFormatAction(SmDocShell *pDocSh,
diff --git a/starmath/source/cfgitem.cxx b/starmath/source/cfgitem.cxx
index 84be03edc1a7..70a649dedfa0 100644
--- a/starmath/source/cfgitem.cxx
+++ b/starmath/source/cfgitem.cxx
@@ -33,6 +33,7 @@
#include "cfgitem.hxx"
#include "starmath.hrc"
+#include "strings.hrc"
#include "smdll.hxx"
#include "smmod.hxx"
#include "format.hxx"
diff --git a/starmath/source/commands.src b/starmath/source/commands.src
deleted file mode 100644
index cfa5ecef566f..000000000000
--- a/starmath/source/commands.src
+++ /dev/null
@@ -1,1062 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include <sfx2/sfx.hrc>
-#include "starmath.hrc"
-
-String RID_PLUSX_HELP
-{
- Text [ en-US ] = "+ Sign" ;
-};
-String RID_MINUSX_HELP
-{
- Text [ en-US ] = "- Sign" ;
-};
-String RID_PLUSMINUSX_HELP
-{
- Text [ en-US ] = "+- Sign" ;
-};
-String RID_MINUSPLUSX_HELP
-{
- Text [ en-US ] = "-+ Sign" ;
-};
-String RID_NEGX_HELP
-{
- Text [ en-US ] = "Boolean NOT" ;
-};
-String RID_XPLUSY_HELP
-{
- Text [ en-US ] = "Addition +" ;
-};
-String RID_XMINUSY_HELP
-{
- Text [ en-US ] = "Subtraction -" ;
-};
-String RID_XCDOTY_HELP
-{
- Text [ en-US ] = "Multiplication (Dot)" ;
-};
-String RID_XTIMESY_HELP
-{
- Text [ en-US ] = "Multiplication (x)" ;
-};
-String RID_XSYMTIMESY_HELP
-{
- Text [ en-US ] = "Multiplication (*)" ;
-};
-String RID_XSYMDIVIDEY_HELP
-{
- Text [ en-US ] = "Division (Slash)" ;
-};
-String RID_XDIVY_HELP
-{
- Text [ en-US ] = "Division (÷)" ;
-};
-String RID_XOVERY_HELP
-{
- Text [ en-US ] = "Division (Fraction)" ;
-};
-String RID_XODIVIDEY_HELP
-{
- Text [ en-US ] = "Circled Slash" ;
-};
-String RID_XODOTY_HELP
-{
- Text [ en-US ] = "Circled Dot" ;
-};
-String RID_XOMINUSY_HELP
-{
- Text [ en-US ] = "Circled Minus" ;
-};
-String RID_XOPLUSY_HELP
-{
- Text [ en-US ] = "Circled Plus" ;
-};
-String RID_XOTIMESY_HELP
-{
- Text [ en-US ] = "Tensor Product" ;
-};
-String RID_XANDY_HELP
-{
- Text [ en-US ] = "Boolean AND" ;
-};
-String RID_XORY_HELP
-{
- Text [ en-US ] = "Boolean OR" ;
-};
-String RID_XEQY_HELP
-{
- Text [ en-US ] = "Is Equal" ;
-};
-String RID_XNEQY_HELP
-{
- Text [ en-US ] = "Is Not Equal" ;
-};
-String RID_XLTY_HELP
-{
- Text [ en-US ] = "Is Less Than" ;
-};
-String RID_XGTY_HELP
-{
- Text [ en-US ] = "Is Greater Than" ;
-};
-String RID_XLEY_HELP
-{
- Text [ en-US ] = "Is Less Than Or Equal To" ;
-};
-String RID_XGEY_HELP
-{
- Text [ en-US ] = "Is Greater Than Or Equal To" ;
-};
-String RID_XLESLANTY_HELP
-{
- Text [ en-US ] = "Is Less Than Or Equal To" ;
-};
-String RID_XGESLANTY_HELP
-{
- Text [ en-US ] = "Is Greater Than Or Equal To" ;
-};
-String RID_XLLY_HELP
-{
- Text [ en-US ] = "Is Much Less Than" ;
-};
-String RID_XGGY_HELP
-{
- Text [ en-US ] = "Is Much Greater Than" ;
-};
-String RID_XDEFY_HELP
-{
- Text [ en-US ] = "Is Defined As" ;
-};
-String RID_XEQUIVY_HELP
-{
- Text [ en-US ] = "Is Congruent To" ;
-};
-String RID_XAPPROXY_HELP
-{
- Text [ en-US ] = "Is Approximately Equal" ;
-};
-String RID_XSIMY_HELP
-{
- Text [ en-US ] = "Is Similar To" ;
-};
-String RID_XSIMEQY_HELP
-{
- Text [ en-US ] = "Is Similar Or Equal" ;
-};
-String RID_XPROPY_HELP
-{
- Text [ en-US ] = "Is Proportional To" ;
-};
-String RID_XORTHOY_HELP
-{
- Text [ en-US ] = "Is Orthogonal To" ;
-};
-String RID_XPARALLELY_HELP
-{
- Text [ en-US ] = "Is Parallel To" ;
-};
-String RID_XTOWARDY_HELP
-{
- Text [ en-US ] = "Toward" ;
-};
-String RID_XTRANSLY_HELP
-{
- Text [ en-US ] = "Corresponds To (Left)" ;
-};
-String RID_XTRANSRY_HELP
-{
- Text [ en-US ] = "Corresponds To (Right)" ;
-};
-String RID_XINY_HELP
-{
- Text [ en-US ] = "Is In" ;
-};
-String RID_XNOTINY_HELP
-{
- Text [ en-US ] = "Is Not In" ;
-};
-String RID_XOWNSY_HELP
-{
- Text [ en-US ] = "Owns" ;
-};
-String RID_XUNIONY_HELP
-{
- Text [ en-US ] = "Union" ;
-};
-String RID_XINTERSECTIONY_HELP
-{
- Text [ en-US ] = "Intersection" ;
-};
-String RID_XSETMINUSY_HELP
-{
- Text [ en-US ] = "Difference" ;
-};
-String RID_XSLASHY_HELP
-{
- Text [ en-US ] = "Quotient Set" ;
-};
-String RID_XSUBSETY_HELP
-{
- Text [ en-US ] = "Subset" ;
-};
-String RID_XSUBSETEQY_HELP
-{
- Text [ en-US ] = "Subset Or Equal To" ;
-};
-String RID_XSUPSETY_HELP
-{
- Text [ en-US ] = "Superset" ;
-};
-String RID_XSUPSETEQY_HELP
-{
- Text [ en-US ] = "Superset Or Equal To" ;
-};
-String RID_XNSUBSETY_HELP
-{
- Text [ en-US ] = "Not Subset" ;
-};
-String RID_XNSUBSETEQY_HELP
-{
- Text [ en-US ] = "Not Subset Or Equal" ;
-};
-String RID_XNSUPSETY_HELP
-{
- Text [ en-US ] = "Not Superset" ;
-};
-String RID_XNSUPSETEQY_HELP
-{
- Text [ en-US ] = "Not Superset Or Equal" ;
-};
-String RID_ABSX_HELP
-{
- Text [ en-US ] = "Absolute Value" ;
-};
-String RID_FACTX_HELP
-{
- Text [ en-US ] = "Factorial" ;
-};
-String RID_SQRTX_HELP
-{
- Text [ en-US ] = "Square Root" ;
-};
-String RID_NROOTXY_HELP
-{
- Text [ en-US ] = "N-th Root" ;
-};
-String RID_EX_HELP
-{
- Text [ en-US ] = "Exponential Function" ;
-};
-String RID_EXPX_HELP
-{
- Text [ en-US ] = "Exponential Function" ;
-};
-String RID_LNX_HELP
-{
- Text [ en-US ] = "Natural Logarithm" ;
-};
-String RID_LOGX_HELP
-{
- Text [ en-US ] = "Logarithm" ;
-};
-String RID_SINX_HELP
-{
- Text [ en-US ] = "Sine" ;
-};
-String RID_COSX_HELP
-{
- Text [ en-US ] = "Cosine" ;
-};
-String RID_TANX_HELP
-{
- Text [ en-US ] = "Tangent" ;
-};
-String RID_COTX_HELP
-{
- Text [ en-US ] = "Cotangent" ;
-};
-String RID_ARCSINX_HELP
-{
- Text [ en-US ] = "Arcsine" ;
-};
-String RID_ARCCOSX_HELP
-{
- Text [ en-US ] = "Arccosine" ;
-};
-String RID_ARCTANX_HELP
-{
- Text [ en-US ] = "Arctangent" ;
-};
-String RID_ARCCOTX_HELP
-{
- Text [ en-US ] = "Arccotangent" ;
-};
-String RID_SINHX_HELP
-{
- Text [ en-US ] = "Hyperbolic Sine" ;
-};
-String RID_COSHX_HELP
-{
- Text [ en-US ] = "Hyperbolic Cosine" ;
-};
-String RID_TANHX_HELP
-{
- Text [ en-US ] = "Hyperbolic Tangent" ;
-};
-String RID_COTHX_HELP
-{
- Text [ en-US ] = "Hyperbolic Cotangent" ;
-};
-String RID_ARSINHX_HELP
-{
- Text [ en-US ] = "Area Hyperbolic Sine" ;
-};
-String RID_ARCOSHX_HELP
-{
- Text [ en-US ] = "Area Hyperbolic Cosine" ;
-};
-String RID_ARTANHX_HELP
-{
- Text [ en-US ] = "Area Hyperbolic Tangent" ;
-};
-String RID_ARCOTHX_HELP
-{
- Text [ en-US ] = "Area Hyperbolic Cotangent" ;
-};
-String RID_SUMX_HELP
-{
- Text [ en-US ] = "Sum" ;
-};
-String RID_SUM_FROMX_HELP
-{
- Text [ en-US ] = "Sum Subscript Bottom" ;
-};
-String RID_SUM_TOX_HELP
-{
- Text [ en-US ] = "Sum Superscript Top" ;
-};
-String RID_SUM_FROMTOX_HELP
-{
- Text [ en-US ] = "Sum Sup/Sub script" ;
-};
-String RID_PRODX_HELP
-{
- Text [ en-US ] = "Product" ;
-};
-String RID_PROD_FROMX_HELP
-{
- Text [ en-US ] = "Product Subscript Bottom" ;
-};
-String RID_PROD_TOX_HELP
-{
- Text [ en-US ] = "Product Superscript Top" ;
-};
-String RID_PROD_FROMTOX_HELP
-{
- Text [ en-US ] = "Product Sup/Sub script" ;
-};
-String RID_COPRODX_HELP
-{
- Text [ en-US ] = "Coproduct" ;
-};
-String RID_COPROD_FROMX_HELP
-{
- Text [ en-US ] = "Coproduct Subscript Bottom" ;
-};
-String RID_COPROD_TOX_HELP
-{
- Text [ en-US ] = "Coproduct Superscript Top" ;
-};
-String RID_COPROD_FROMTOX_HELP
-{
- Text [ en-US ] = "Coproduct Sup/Sub script" ;
-};
-String RID_LIMX_HELP
-{
- Text [ en-US ] = "Limes" ;
-};
-String RID_LIM_FROMX_HELP
-{
- Text [ en-US ] = "Limes Subscript Bottom" ;
-};
-String RID_LIM_TOX_HELP
-{
- Text [ en-US ] = "Limes Superscript Top" ;
-};
-String RID_LIM_FROMTOX_HELP
-{
- Text [ en-US ] = "Limes Sup/Sub script" ;
-};
-String RID_LIMINFX_HELP
-{
- Text [ en-US ] = "Limit Inferior" ;
-};
-String RID_LIMINF_FROMX_HELP
-{
- Text [ en-US ] = "Limit Inferior Subscript Bottom" ;
-};
-String RID_LIMINF_TOX_HELP
-{
- Text [ en-US ] = "Limit Inferior Superscript Top" ;
-};
-String RID_LIMINF_FROMTOX_HELP
-{
- Text [ en-US ] = "Limit Inferior Sup/Sub script" ;
-};
-String RID_LIMSUPX_HELP
-{
- Text [ en-US ] = "Limit Superior" ;
-};
-String RID_LIMSUP_FROMX_HELP
-{
- Text [ en-US ] = "Limit Superior Subscript Bottom" ;
-};
-String RID_LIMSUP_TOX_HELP
-{
- Text [ en-US ] = "Limit Superior Superscript Top" ;
-};
-String RID_LIMSUP_FROMTOX_HELP
-{
- Text [ en-US ] = "Limit Superior Sup/Sub script" ;
-};
-String RID_EXISTS_HELP
-{
- Text [ en-US ] = "There Exists" ;
-};
-String RID_NOTEXISTS_HELP
-{
- Text [ en-US ] = "There Not Exists" ;
-};
-String RID_FORALL_HELP
-{
- Text [ en-US ] = "For all" ;
-};
-String RID_INTX_HELP
-{
- Text [ en-US ] = "Integral" ;
-};
-String RID_INT_FROMX_HELP
-{
- Text [ en-US ] = "Integral Subscript Bottom" ;
-};
-String RID_INT_TOX_HELP
-{
- Text [ en-US ] = "Integral Superscript Top" ;
-};
-String RID_INT_FROMTOX_HELP
-{
- Text [ en-US ] = "Integral Sup/Sub script" ;
-};
-String RID_IINTX_HELP
-{
- Text [ en-US ] = "Double Integral" ;
-};
-String RID_IINT_FROMX_HELP
-{
- Text [ en-US ] = "Double Integral Subscript Bottom" ;
-};
-String RID_IINT_TOX_HELP
-{
- Text [ en-US ] = "Double Integral Superscript Top" ;
-};
-String RID_IINT_FROMTOX_HELP
-{
- Text [ en-US ] = "Double Integral Sup/Sub script" ;
-};
-String RID_IIINTX_HELP
-{
- Text [ en-US ] = "Triple Integral" ;
-};
-String RID_IIINT_FROMX_HELP
-{
- Text [ en-US ] = "Triple Integral Subscript Bottom" ;
-};
-String RID_IIINT_TOX_HELP
-{
- Text [ en-US ] = "Triple Integral Superscript Top" ;
-};
-String RID_IIINT_FROMTOX_HELP
-{
- Text [ en-US ] = "Triple Integral Sup/Sub script" ;
-};
-String RID_LINTX_HELP
-{
- Text [ en-US ] = "Curve Integral" ;
-};
-String RID_LINT_FROMX_HELP
-{
- Text [ en-US ] = "Curve Integral Subscript Bottom" ;
-};
-String RID_LINT_TOX_HELP
-{
- Text [ en-US ] = "Curve Integral Superscript Top" ;
-};
-String RID_LINT_FROMTOX_HELP
-{
- Text [ en-US ] = "Curve Integral Sup/Sub script" ;
-};
-String RID_LLINTX_HELP
-{
- Text [ en-US ] = "Double Curve Integral" ;
-};
-String RID_LLINT_FROMX_HELP
-{
- Text [ en-US ] = "Double Curve Integral Subscript Bottom" ;
-};
-String RID_LLINT_TOX_HELP
-{
- Text [ en-US ] = "Double Curve Integral Superscript Top" ;
-};
-String RID_LLINT_FROMTOX_HELP
-{
- Text [ en-US ] = "Double Curve Integral Sup/Sub script" ;
-};
-String RID_LLLINTX_HELP
-{
- Text [ en-US ] = "Triple Curve Integral" ;
-};
-String RID_LLLINT_FROMX_HELP
-{
- Text [ en-US ] = "Triple Curve Integral Subscript Bottom" ;
-};
-String RID_LLLINT_TOX_HELP
-{
- Text [ en-US ] = "Triple Curve Integral Superscript Top" ;
-};
-String RID_LLLINT_FROMTOX_HELP
-{
- Text [ en-US ] = "Triple Curve Integral Sup/Sub script" ;
-};
-String RID_ACUTEX_HELP
-{
- Text [ en-US ] = "Acute Accent" ;
-};
-String RID_BARX_HELP
-{
- Text [ en-US ] = "Line Above" ;
-};
-String RID_BREVEX_HELP
-{
- Text [ en-US ] = "Breve" ;
-};
-String RID_CHECKX_HELP
-{
- Text [ en-US ] = "Reverse Circumflex" ;
-};
-String RID_CIRCLEX_HELP
-{
- Text [ en-US ] = "Circle" ;
-};
-String RID_DOTX_HELP
-{
- Text [ en-US ] = "Dot" ;
-};
-String RID_DDOTX_HELP
-{
- Text [ en-US ] = "Double Dot" ;
-};
-String RID_DDDOTX_HELP
-{
- Text [ en-US ] = "Triple Dot" ;
-};
-String RID_GRAVEX_HELP
-{
- Text [ en-US ] = "Grave Accent" ;
-};
-String RID_HATX_HELP
-{
- Text [ en-US ] = "Circumflex" ;
-};
-String RID_TILDEX_HELP
-{
- Text [ en-US ] = "Tilde" ;
-};
-String RID_VECX_HELP
-{
- Text [ en-US ] = "Vector Arrow" ;
-};
-String RID_UNDERLINEX_HELP
-{
- Text [ en-US ] = "Line Below" ;
-};
-String RID_OVERLINEX_HELP
-{
- Text [ en-US ] = "Line Over" ;
-};
-String RID_OVERSTRIKEX_HELP
-{
- Text [ en-US ] = "Line Through" ;
-};
-String RID_PHANTOMX_HELP
-{
- Text [ en-US ] = "Transparent" ;
-};
-String RID_BOLDX_HELP
-{
- Text [ en-US ] = "Bold Font" ;
-};
-String RID_ITALX_HELP
-{
- Text [ en-US ] = "Italic Font" ;
-};
-String RID_SIZEXY_HELP
-{
- Text [ en-US ] = "Resize" ;
-};
-String RID_FONTXY_HELP
-{
- Text [ en-US ] = "Change Font" ;
-};
-String RID_COLORX_BLACK_HELP
-{
- Text [ en-US ] = "Color Black" ;
-};
-String RID_COLORX_BLUE_HELP
-{
- Text [ en-US ] = "Color Blue" ;
-};
-String RID_COLORX_GREEN_HELP
-{
- Text [ en-US ] = "Color Green" ;
-};
-String RID_COLORX_RED_HELP
-{
- Text [ en-US ] = "Color Red" ;
-};
-String RID_COLORX_CYAN_HELP
-{
- Text [ en-US ] = "Color Cyan" ;
-};
-String RID_COLORX_MAGENTA_HELP
-{
- Text [ en-US ] = "Color Magenta" ;
-};
-String RID_COLORX_GRAY_HELP
-{
- Text [ en-US ] = "Color Gray" ;
-};
-String RID_COLORX_LIME_HELP
-{
- Text [ en-US ] = "Color Lime" ;
-};
-String RID_COLORX_MAROON_HELP
-{
- Text [ en-US ] = "Color Maroon" ;
-};
-String RID_COLORX_NAVY_HELP
-{
- Text [ en-US ] = "Color Navy" ;
-};
-String RID_COLORX_OLIVE_HELP
-{
- Text [ en-US ] = "Color Olive" ;
-};
-String RID_COLORX_PURPLE_HELP
-{
- Text [ en-US ] = "Color Purple" ;
-};
-String RID_COLORX_SILVER_HELP
-{
- Text [ en-US ] = "Color Silver" ;
-};
-String RID_COLORX_TEAL_HELP
-{
- Text [ en-US ] = "Color Teal" ;
-};
-String RID_COLORX_YELLOW_HELP
-{
- Text [ en-US ] = "Color Yellow" ;
-};
-
-String RID_LRGROUPX_HELP
-{
- Text [ en-US ] = "Group Brackets" ;
-};
-String RID_LRPARENTX_HELP
-{
- Text [ en-US ] = "Round Brackets" ;
-};
-String RID_LRBRACKETX_HELP
-{
- Text [ en-US ] = "Square Brackets" ;
-};
-String RID_LRDBRACKETX_HELP
-{
- Text [ en-US ] = "Double Square Brackets" ;
-};
-String RID_LRBRACEX_HELP
-{
- Text [ en-US ] = "Braces" ;
-};
-String RID_LRANGLEX_HELP
-{
- Text [ en-US ] = "Angle Brackets" ;
-};
-String RID_LRCEILX_HELP
-{
- Text [ en-US ] = "Upper Ceil" ;
-};
-String RID_LRFLOORX_HELP
-{
- Text [ en-US ] = "Floor" ;
-};
-String RID_LRLINEX_HELP
-{
- Text [ en-US ] = "Single Lines" ;
-};
-String RID_LRDLINEX_HELP
-{
- Text [ en-US ] = "Double Lines" ;
-};
-String RID_LMRANGLEXY_HELP
-{
- Text [ en-US ] = "Operator Brackets" ;
-};
-String RID_SLRPARENTX_HELP
-{
- Text [ en-US ] = "Round Brackets (Scalable)" ;
-};
-String RID_SLRBRACKETX_HELP
-{
- Text [ en-US ] = "Square Brackets (Scalable)" ;
-};
-String RID_SLRDBRACKETX_HELP
-{
- Text [ en-US ] = "Double Square Brackets (Scalable)" ;
-};
-String RID_SLRBRACEX_HELP
-{
- Text [ en-US ] = "Braces (Scalable)" ;
-};
-String RID_SLRANGLEX_HELP
-{
- Text [ en-US ] = "Angle Brackets (Scalable)" ;
-};
-String RID_SLRCEILX_HELP
-{
- Text [ en-US ] = "Ceiling (Scalable)" ;
-};
-String RID_SLRFLOORX_HELP
-{
- Text [ en-US ] = "Floor (Scalable)" ;
-};
-String RID_SLRLINEX_HELP
-{
- Text [ en-US ] = "Single Lines (Scalable)" ;
-};
-String RID_SLRDLINEX_HELP
-{
- Text [ en-US ] = "Double Lines (Scalable)" ;
-};
-String RID_SLMRANGLEXY_HELP
-{
- Text [ en-US ] = "Operator Brackets (Scalable)" ;
-};
-String RID_XEVALUATEDATY_HELP
-{
- Text [ en-US ] = "Evaluated At" ;
-};
-String RID_XOVERBRACEY_HELP
-{
- Text [ en-US ] = "Braces Top (Scalable)" ;
-};
-String RID_XUNDERBRACEY_HELP
-{
- Text [ en-US ] = "Braces Bottom (Scalable)" ;
-};
-String RID_RSUBX_HELP
-{
- Text [ en-US ] = "Subscript Right" ;
-};
-String RID_RSUPX_HELP
-{
- Text [ en-US ] = "Power" ;
-};
-String RID_LSUBX_HELP
-{
- Text [ en-US ] = "Subscript Left" ;
-};
-String RID_LSUPX_HELP
-{
- Text [ en-US ] = "Superscript Left" ;
-};
-String RID_CSUBX_HELP
-{
- Text [ en-US ] = "Subscript Bottom" ;
-};
-String RID_CSUPX_HELP
-{
- Text [ en-US ] = "Superscript Top" ;
-};
-String RID_SBLANK_HELP
-{
- Text [ en-US ] = "Small Gap" ;
-};
-String RID_BLANK_HELP
-{
- Text [ en-US ] = "Blank" ;
-};
-String RID_NEWLINE_HELP
-{
- Text [ en-US ] = "New Line" ;
-};
-String RID_BINOMXY_HELP
-{
- Text [ en-US ] = "Vertical Stack (2 Elements)";
-};
-String RID_STACK_HELP
-{
- Text [ en-US ] = "Vertical Stack" ;
-};
-String RID_MATRIX_HELP
-{
- Text [ en-US ] = "Matrix Stack" ;
-};
-String RID_ALIGNLX_HELP
-{
- Text [ en-US ] = "Align Left" ;
-};
-String RID_ALIGNCX_HELP
-{
- Text [ en-US ] = "Align Center" ;
-};
-String RID_ALIGNRX_HELP
-{
- Text [ en-US ] = "Align Right" ;
-};
-String RID_ALEPH_HELP
-{
- Text [ en-US ] = "Aleph" ;
-};
-String RID_EMPTYSET_HELP
-{
- Text [ en-US ] = "Empty Set" ;
-};
-String RID_RE_HELP
-{
- Text [ en-US ] = "Real Part" ;
-};
-String RID_IM_HELP
-{
- Text [ en-US ] = "Imaginary Part" ;
-};
-String RID_INFINITY_HELP
-{
- Text [ en-US ] = "Infinity" ;
-};
-String RID_PARTIAL_HELP
-{
- Text [ en-US ] = "Partial" ;
-};
-String RID_NABLA_HELP
-{
- Text [ en-US ] = "Nabla" ;
-};
-String RID_WP_HELP
-{
- Text [ en-US ] = "Weierstrass p" ;
-};
-String RID_DOTSAXIS_HELP
-{
- Text [ en-US ] = "Dots In Middle" ;
-};
-String RID_DOTSUP_HELP
-{
- Text [ en-US ] = "Dots To Top" ;
-};
-String RID_DOTSDOWN_HELP
-{
- Text [ en-US ] = "Dots To Bottom" ;
-};
-String RID_DOTSLOW_HELP
-{
- Text [ en-US ] = "Dots At Bottom" ;
-};
-String RID_DOTSVERT_HELP
-{
- Text [ en-US ] = "Dots Vertically" ;
-};
-String RID_XCIRCY_HELP
-{
- Text [ en-US ] = "Concatenate" ;
-};
-String RID_XWIDESLASHY_HELP
-{
- Text [ en-US ] = "Division (wideslash)" ;
-};
-String RID_XWIDEBSLASHY_HELP
-{
- Text [ en-US ] = "Division (counter wideslash)" ;
-};
-String RID_XDIVIDESY_HELP
-{
- Text [ en-US ] = "Divides" ;
-};
-String RID_XNDIVIDESY_HELP
-{
- Text [ en-US ] = "Does Not Divide" ;
-};
-String RID_DLARROW_HELP
-{
- Text [ en-US ] = "Double Arrow Left" ;
-};
-String RID_DLRARROW_HELP
-{
- Text [ en-US ] = "Double Arrow Left And Right" ;
-};
-String RID_DRARROW_HELP
-{
- Text [ en-US ] = "Double Arrow Right" ;
-};
-String RID_SETN_HELP
-{
- Text [ en-US ] = "Natural Numbers Set" ;
-};
-String RID_SETZ_HELP
-{
- Text [ en-US ] = "Integers Set" ;
-};
-String RID_SETQ_HELP
-{
- Text [ en-US ] = "Set of Rational Numbers" ;
-};
-String RID_SETR_HELP
-{
- Text [ en-US ] = "Real Numbers Set" ;
-};
-String RID_SETC_HELP
-{
- Text [ en-US ] = "Complex Numbers Set" ;
-};
-String RID_WIDEHATX_HELP
-{
- Text [ en-US ] = "Large Circumflex" ;
-};
-String RID_WIDETILDEX_HELP
-{
- Text [ en-US ] = "Large Tilde" ;
-};
-String RID_WIDEVECX_HELP
-{
- Text [ en-US ] = "Large Vector Arrow" ;
-};
-String RID_HBAR_HELP
-{
- Text [ en-US ] = "h Bar" ;
-};
-String RID_LAMBDABAR_HELP
-{
- Text [ en-US ] = "Lambda Bar" ;
-};
-String RID_LEFTARROW_HELP
-{
- Text [ en-US ] = "Left Arrow" ;
-};
-String RID_RIGHTARROW_HELP
-{
- Text [ en-US ] = "Right Arrow" ;
-};
-String RID_UPARROW_HELP
-{
- Text [ en-US ] = "Up Arrow" ;
-};
-String RID_DOWNARROW_HELP
-{
- Text [ en-US ] = "Down Arrow" ;
-};
-String RID_NOSPACE_HELP
-{
- Text [ en-US ] = "No space" ;
-};
-String RID_XPRECEDESY_HELP
-{
- Text [ en-US ] = "Precedes" ;
-};
-String RID_XPRECEDESEQUALY_HELP
-{
- Text [ en-US ] = "Precedes or equal to" ;
-};
-String RID_XPRECEDESEQUIVY_HELP
-{
- Text [ en-US ] = "Precedes or equivalent to" ;
-};
-String RID_XSUCCEEDSY_HELP
-{
- Text [ en-US ] = "Succeeds" ;
-};
-String RID_XSUCCEEDSEQUALY_HELP
-{
- Text [ en-US ] = "Succeeds or equal to" ;
-};
-String RID_XSUCCEEDSEQUIVY_HELP
-{
- Text [ en-US ] = "Succeeds or equivalent to" ;
-};
-String RID_XNOTPRECEDESY_HELP
-{
- Text [ en-US ] = "Not precedes" ;
-};
-String RID_XNOTSUCCEEDSY_HELP
-{
- Text [ en-US ] = "Not succeeds" ;
-};
-
-String RID_CATEGORY_UNARY_BINARY_OPERATORS
-{
- Text [ en-US ] = "Unary/Binary Operators" ;
-};
-String RID_CATEGORY_RELATIONS
-{
- Text [ en-US ] = "Relations" ;
-};
-String RID_CATEGORY_SET_OPERATIONS
-{
- Text [ en-US ] = "Set Operations" ;
-};
-String RID_CATEGORY_FUNCTIONS
-{
- Text [ en-US ] = "Functions" ;
-};
-String RID_CATEGORY_OPERATORS
-{
- Text [ en-US ] = "Operators" ;
-};
-String RID_CATEGORY_ATTRIBUTES
-{
- Text [ en-US ] = "Attributes" ;
-};
-String RID_CATEGORY_BRACKETS
-{
- Text [ en-US ] = "Brackets" ;
-};
-String RID_CATEGORY_FORMATS
-{
- Text [ en-US ] = "Formats" ;
-};
-String RID_CATEGORY_OTHERS
-{
- Text [ en-US ] = "Others" ;
-};
-String RID_CATEGORY_EXAMPLES
-{
- Text [ en-US ] = "Examples" ;
-};
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index ec8d8a2d5560..16d237dcb4b2 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -21,7 +21,6 @@
#include <cassert>
-#include "tools/rcid.h"
#include <comphelper/string.hxx>
#include <svl/eitem.hxx>
#include <svl/intitem.hxx>
@@ -44,6 +43,8 @@
#include "dialog.hxx"
#include "starmath.hrc"
+#include "strings.hrc"
+#include "helpids.h"
#include "cfgitem.hxx"
#include "smmod.hxx"
#include "symbol.hxx"
@@ -92,12 +93,11 @@ public:
const OUString& GetStyleName(sal_uInt16 nIdx) const;
};
-SmFontStyles::SmFontStyles() :
- aNormal (ResId(RID_FONTREGULAR, *SM_MOD()->GetResMgr())),
- aBold (ResId(RID_FONTBOLD, *SM_MOD()->GetResMgr())),
- aItalic (ResId(RID_FONTITALIC, *SM_MOD()->GetResMgr()))
+SmFontStyles::SmFontStyles()
+ : aNormal(SmResId(RID_FONTREGULAR))
+ , aBold(SmResId(RID_FONTBOLD))
+ , aItalic(SmResId(RID_FONTITALIC))
{
-
aBoldItalic = aBold;
aBoldItalic += ", ";
aBoldItalic += aItalic;
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx
index 998a648e05eb..b335e6ee81dc 100644
--- a/starmath/source/document.cxx
+++ b/starmath/source/document.cxx
@@ -77,6 +77,7 @@
#include <format.hxx>
#include <smdll.hxx>
#include <starmath.hrc>
+#include <strings.hrc>
#include <symbol.hxx>
#include <unomodel.hxx>
#include <utility.hxx>
diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx
index b2e41cd36d3d..a499763b10ba 100644
--- a/starmath/source/edit.cxx
+++ b/starmath/source/edit.cxx
@@ -23,8 +23,9 @@
#include <com/sun/star/accessibility/AccessibleStateType.hpp>
#include <toolkit/helper/vclunohelper.hxx>
-
#include "starmath.hrc"
+#include "strings.hrc"
+#include "helpids.h"
#include <vcl/menu.hxx>
#include <vcl/settings.hxx>
diff --git a/starmath/source/mathmlexport.cxx b/starmath/source/mathmlexport.cxx
index e737b848c08e..68ba77331b7d 100644
--- a/starmath/source/mathmlexport.cxx
+++ b/starmath/source/mathmlexport.cxx
@@ -67,6 +67,7 @@
#include "mathmlexport.hxx"
#include "register.hxx"
#include <starmath.hrc>
+#include <strings.hrc>
#include <unomodel.hxx>
#include <document.hxx>
#include <utility.hxx>
diff --git a/starmath/source/mathmlimport.cxx b/starmath/source/mathmlimport.cxx
index 2b12163f5697..eac8b6e758e6 100644
--- a/starmath/source/mathmlimport.cxx
+++ b/starmath/source/mathmlimport.cxx
@@ -68,6 +68,7 @@ one go*/
#include "mathmlimport.hxx"
#include "register.hxx"
#include <starmath.hrc>
+#include <strings.hrc>
#include <unomodel.hxx>
#include <document.hxx>
#include <utility.hxx>
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx
index 2d45f0bc5445..d5e891f155d8 100644
--- a/starmath/source/parse.cxx
+++ b/starmath/source/parse.cxx
@@ -26,7 +26,7 @@
#include <o3tl/make_unique.hxx>
#include <vcl/settings.hxx>
#include "parse.hxx"
-#include "starmath.hrc"
+#include "strings.hrc"
#include "smdll.hxx"
#include "smmod.hxx"
#include "cfgitem.hxx"
@@ -2221,28 +2221,28 @@ void SmParser::AddError(SmParseError Type, SmNode *pNode)
pErrDesc->m_pNode = pNode;
pErrDesc->m_aText = SmResId(RID_ERR_IDENT);
- sal_uInt16 nRID;
+ const char* pRID;
switch (Type)
{
- case SmParseError::UnexpectedChar: nRID = RID_ERR_UNEXPECTEDCHARACTER; break;
- case SmParseError::UnexpectedToken: nRID = RID_ERR_UNEXPECTEDTOKEN; break;
- case SmParseError::PoundExpected: nRID = RID_ERR_POUNDEXPECTED; break;
- case SmParseError::ColorExpected: nRID = RID_ERR_COLOREXPECTED; break;
- case SmParseError::LgroupExpected: nRID = RID_ERR_LGROUPEXPECTED; break;
- case SmParseError::RgroupExpected: nRID = RID_ERR_RGROUPEXPECTED; break;
- case SmParseError::LbraceExpected: nRID = RID_ERR_LBRACEEXPECTED; break;
- case SmParseError::RbraceExpected: nRID = RID_ERR_RBRACEEXPECTED; break;
- case SmParseError::ParentMismatch: nRID = RID_ERR_PARENTMISMATCH; break;
- case SmParseError::RightExpected: nRID = RID_ERR_RIGHTEXPECTED; break;
- case SmParseError::FontExpected: nRID = RID_ERR_FONTEXPECTED; break;
- case SmParseError::SizeExpected: nRID = RID_ERR_SIZEEXPECTED; break;
- case SmParseError::DoubleAlign: nRID = RID_ERR_DOUBLEALIGN; break;
- case SmParseError::DoubleSubsupscript: nRID = RID_ERR_DOUBLESUBSUPSCRIPT; break;
+ case SmParseError::UnexpectedChar: pRID = RID_ERR_UNEXPECTEDCHARACTER; break;
+ case SmParseError::UnexpectedToken: pRID = RID_ERR_UNEXPECTEDTOKEN; break;
+ case SmParseError::PoundExpected: pRID = RID_ERR_POUNDEXPECTED; break;
+ case SmParseError::ColorExpected: pRID = RID_ERR_COLOREXPECTED; break;
+ case SmParseError::LgroupExpected: pRID = RID_ERR_LGROUPEXPECTED; break;
+ case SmParseError::RgroupExpected: pRID = RID_ERR_RGROUPEXPECTED; break;
+ case SmParseError::LbraceExpected: pRID = RID_ERR_LBRACEEXPECTED; break;
+ case SmParseError::RbraceExpected: pRID = RID_ERR_RBRACEEXPECTED; break;
+ case SmParseError::ParentMismatch: pRID = RID_ERR_PARENTMISMATCH; break;
+ case SmParseError::RightExpected: pRID = RID_ERR_RIGHTEXPECTED; break;
+ case SmParseError::FontExpected: pRID = RID_ERR_FONTEXPECTED; break;
+ case SmParseError::SizeExpected: pRID = RID_ERR_SIZEEXPECTED; break;
+ case SmParseError::DoubleAlign: pRID = RID_ERR_DOUBLEALIGN; break;
+ case SmParseError::DoubleSubsupscript: pRID = RID_ERR_DOUBLESUBSUPSCRIPT; break;
default:
assert(false);
return;
}
- pErrDesc->m_aText += SmResId(nRID);
+ pErrDesc->m_aText += SmResId(pRID);
m_aErrDescList.push_back(std::move(pErrDesc));
}
diff --git a/starmath/source/smdll.cxx b/starmath/source/smdll.cxx
index 162d26e915fd..2373e1e5d4ec 100644
--- a/starmath/source/smdll.cxx
+++ b/starmath/source/smdll.cxx
@@ -36,6 +36,7 @@
#include <ElementsDockingWindow.hxx>
#include <starmath.hrc>
+#include <strings.hrc>
#include <svx/xmlsecctrl.hxx>
#include <o3tl/make_unique.hxx>
diff --git a/starmath/source/smmod.cxx b/starmath/source/smmod.cxx
index b257e9308b8d..0e821d5b9d01 100644
--- a/starmath/source/smmod.cxx
+++ b/starmath/source/smmod.cxx
@@ -25,6 +25,7 @@
#include <sfx2/sfx.hrc>
#include <sfx2/viewsh.hxx>
#include <svx/svxids.hrc>
+#include <tools/resmgr.hxx>
#include <vcl/virdev.hxx>
#include <unotools/syslocale.hxx>
#include "smmod.hxx"
@@ -33,6 +34,8 @@
#include "dialog.hxx"
#include "edit.hxx"
#include "view.hxx"
+#include "strings.hrc"
+#include "smmod.hrc"
#include "starmath.hrc"
#include "svx/modctrl.hxx"
@@ -40,16 +43,12 @@
#define SmModule
#include "smslots.hxx"
-OUString SmResId(sal_uInt16 nId)
+OUString SmResId(const char* pId)
{
- return ResId(nId, *SM_MOD()->GetResMgr());
+ return Translate::get(pId, SM_MOD()->GetResLocale());
}
-SmLocalizedSymbolData::SmLocalizedSymbolData() :
- aUiSymbolNamesAry (ResId(RID_UI_SYMBOL_NAMES, *SM_MOD()->GetResMgr())),
- aExportSymbolNamesAry (ResId(RID_EXPORT_SYMBOL_NAMES, *SM_MOD()->GetResMgr())),
- aUiSymbolSetNamesAry (ResId(RID_UI_SYMBOLSET_NAMES, *SM_MOD()->GetResMgr())),
- aExportSymbolSetNamesAry(ResId(RID_EXPORT_SYMBOLSET_NAMES, *SM_MOD()->GetResMgr()))
+SmLocalizedSymbolData::SmLocalizedSymbolData()
{
}
@@ -61,15 +60,11 @@ const OUString SmLocalizedSymbolData::GetUiSymbolName( const OUString &rExportNa
{
OUString aRes;
- const SmLocalizedSymbolData &rData = SM_MOD()->GetLocSymbolData();
- const ResStringArray &rUiNames = rData.GetUiSymbolNamesArray();
- const ResStringArray &rExportNames = rData.GetExportSymbolNamesArray();
- sal_uInt32 nCount = rExportNames.Count();
- for (sal_uInt32 i = 0; i < nCount; ++i)
+ for (size_t i = 0; i < SAL_N_ELEMENTS(RID_UI_SYMBOL_NAMES); ++i)
{
- if (rExportNames.GetString(i) == rExportName)
+ if (rExportName.equalsAscii(strchr(RID_UI_SYMBOL_NAMES[i], '\004') + 1))
{
- aRes = rUiNames.GetString(i);
+ aRes = SmResId(RID_UI_SYMBOL_NAMES[i]);
break;
}
}
@@ -81,15 +76,12 @@ const OUString SmLocalizedSymbolData::GetExportSymbolName( const OUString &rUiNa
{
OUString aRes;
- const SmLocalizedSymbolData &rData = SM_MOD()->GetLocSymbolData();
- const ResStringArray &rUiNames = rData.GetUiSymbolNamesArray();
- const ResStringArray &rExportNames = rData.GetExportSymbolNamesArray();
- sal_uInt32 nCount = rUiNames.Count();
- for (sal_uInt32 i = 0; i < nCount; ++i)
+ for (size_t i = 0; i < SAL_N_ELEMENTS(RID_UI_SYMBOL_NAMES); ++i)
{
- if (rUiNames.GetString(i) == rUiName)
+ if (rUiName == SmResId(RID_UI_SYMBOL_NAMES[i]))
{
- aRes = rExportNames.GetString(i);
+ const char *pKey = strchr(RID_UI_SYMBOL_NAMES[i], '\004') + 1;
+ aRes = OUString(pKey, strlen(pKey), RTL_TEXTENCODING_UTF8);
break;
}
}
@@ -101,15 +93,11 @@ const OUString SmLocalizedSymbolData::GetUiSymbolSetName( const OUString &rExpor
{
OUString aRes;
- const SmLocalizedSymbolData &rData = SM_MOD()->GetLocSymbolData();
- const ResStringArray &rUiNames = rData.GetUiSymbolSetNamesArray();
- const ResStringArray &rExportNames = rData.GetExportSymbolSetNamesArray();
- sal_uInt32 nCount = rExportNames.Count();
- for (sal_uInt32 i = 0; i < nCount; ++i)
+ for (size_t i = 0; i < SAL_N_ELEMENTS(RID_UI_SYMBOLSET_NAMES); ++i)
{
- if (rExportNames.GetString(i) == rExportName)
+ if (rExportName.equalsAscii(strchr(RID_UI_SYMBOLSET_NAMES[i], '\004') + 1))
{
- aRes = rUiNames.GetString(i);
+ aRes = SmResId(RID_UI_SYMBOLSET_NAMES[i]);
break;
}
}
@@ -121,15 +109,12 @@ const OUString SmLocalizedSymbolData::GetExportSymbolSetName( const OUString &rU
{
OUString aRes;
- const SmLocalizedSymbolData &rData = SM_MOD()->GetLocSymbolData();
- const ResStringArray &rUiNames = rData.GetUiSymbolSetNamesArray();
- const ResStringArray &rExportNames = rData.GetExportSymbolSetNamesArray();
- sal_uInt32 nCount = rUiNames.Count();
- for (sal_uInt32 i = 0; i < nCount; ++i)
+ for (size_t i = 0; i < SAL_N_ELEMENTS(RID_UI_SYMBOLSET_NAMES); ++i)
{
- if (rUiNames.GetString(i) == rUiName)
+ if (rUiName == SmResId(RID_UI_SYMBOLSET_NAMES[i]))
{
- aRes = rExportNames.GetString(i);
+ const char *pKey = strchr(RID_UI_SYMBOLSET_NAMES[i], '\004') + 1;
+ aRes = OUString(pKey, strlen(pKey), RTL_TEXTENCODING_UTF8);
break;
}
}
@@ -144,8 +129,8 @@ void SmModule::InitInterface_Impl()
GetStaticInterface()->RegisterStatusBar(RID_STATUSBAR);
}
-SmModule::SmModule(SfxObjectFactory* pObjFact) :
- SfxModule(ResMgr::CreateResMgr("sm"), {pObjFact})
+SmModule::SmModule(SfxObjectFactory* pObjFact)
+ : SfxModule(Translate::Create("sm", Application::GetSettings().GetUILanguageTag()), {pObjFact})
{
SetName("StarMath");
diff --git a/starmath/source/smres.src b/starmath/source/smres.src
deleted file mode 100644
index 7941085d9b3f..000000000000
--- a/starmath/source/smres.src
+++ /dev/null
@@ -1,267 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include <sfx2/sfx.hrc>
-#include "starmath.hrc"
-
-String RID_FONTREGULAR
-{
- Text [ en-US ] = "Standard" ;
-};
-String RID_FONTITALIC
-{
- Text [ en-US ] = "Italic" ;
-};
-String RID_FONTBOLD
-{
- Text [ en-US ] = "Bold" ;
-};
-String STR_BLACK
-{
- Text [ en-US ] = "black" ;
-};
-String STR_BLUE
-{
- Text [ en-US ] = "blue" ;
-};
-String STR_GREEN
-{
- Text [ en-US ] = "green" ;
-};
-String STR_RED
-{
- Text [ en-US ] = "red" ;
-};
-String STR_CYAN
-{
- Text [ en-US ] = "cyan" ;
-};
-String STR_MAGENTA
-{
- Text [ en-US ] = "magenta" ;
-};
-String STR_GRAY
-{
- Text [ en-US ] = "gray" ;
-};
-String STR_LIME
-{
- Text [ en-US ] = "lime" ;
-};
-String STR_MAROON
-{
- Text [ en-US ] = "maroon" ;
-};
-String STR_NAVY
-{
- Text [ en-US ] = "navy" ;
-};
-String STR_OLIVE
-{
- Text [ en-US ] = "olive" ;
-};
-String STR_PURPLE
-{
- Text [ en-US ] = "purple" ;
-};
-String STR_SILVER
-{
- Text [ en-US ] = "silver" ;
-};
-String STR_TEAL
-{
- Text [ en-US ] = "teal" ;
-};
-
-String STR_YELLOW
-{
- Text [ en-US ] = "yellow" ;
-};
-String STR_HIDE
-{
- Text [ en-US ] = "hide" ;
-};
-String STR_SIZE
-{
- Text [ en-US ] = "size" ;
-};
-String STR_FONT
-{
- Text [ en-US ] = "font" ;
-};
-
-String STR_ALIGN_LEFT
-{
- Text [ en-US ] = "left" ;
-};
-String STR_ALIGN_CENTER
-{
- Text [ en-US ] = "center" ;
-};
-String STR_ALIGN_RIGHT
-{
- Text [ en-US ] = "right" ;
-};
-
-String STR_CMDBOXWINDOW
-{
- Text [ en-US ] = "Commands" ;
-};
-
-String RID_DOCUMENTSTR
-{
- Text [ en-US ] = "Formula" ;
-};
-
-String STR_STATSTR_READING
-{
- Text [ en-US ] = "Loading document..." ;
-};
-
-String STR_STATSTR_WRITING
-{
- Text [ en-US ] = "Saving document..." ;
-};
-
-String STR_MATH_DOCUMENT_FULLTYPE_CURRENT
-{
- Text [ en-US ] = "%PRODUCTNAME %PRODUCTVERSION Formula";
-};
-
-String RID_ERR_IDENT
-{
- Text [ en-US ] = "ERROR : " ;
-};
-
-String RID_ERR_UNEXPECTEDCHARACTER
-{
- Text [ en-US ] = "Unexpected character" ;
-};
-
-String RID_ERR_UNEXPECTEDTOKEN
-{
- Text [ en-US ] = "Unexpected token" ;
-};
-
-String RID_ERR_LGROUPEXPECTED
-{
- Text [ en-US ] = "'{' expected" ;
-};
-
-String RID_ERR_RGROUPEXPECTED
-{
- Text [ en-US ] = "'}' expected" ;
-};
-
-String RID_ERR_LBRACEEXPECTED
-{
- Text [ en-US ] = "'(' expected" ;
-};
-
-String RID_ERR_RBRACEEXPECTED
-{
- Text [ en-US ] = "')' expected" ;
-};
-
-String RID_ERR_PARENTMISMATCH
-{
- Text [ en-US ] = "Left and right symbols mismatched" ;
-};
-
-String RID_ERR_FONTEXPECTED
-{
- Text [ en-US ] = "'fixed', 'sans', or 'serif' expected" ;
-};
-
-String RID_ERR_SIZEEXPECTED
-{
- Text [ en-US ] = "'size' followed by an unexpected token" ;
-};
-
-String RID_ERR_DOUBLEALIGN
-{
- Text [ en-US ] = "Double aligning is not allowed" ;
-};
-
-String RID_ERR_DOUBLESUBSUPSCRIPT
-{
- Text [ en-US ] = "Double sub/superscripts is not allowed" ;
-};
-
-String RID_ERR_POUNDEXPECTED
-{
- Text [ en-US ] = "'#' expected" ;
-};
-
-String RID_ERR_COLOREXPECTED
-{
- Text [ en-US ] = "Color required" ;
-};
-
-String RID_ERR_RIGHTEXPECTED
-{
- Text [ en-US ] = "'RIGHT' expected" ;
-};
-
-String RID_PRINTUIOPT_PRODNAME
-{
- Text [ en-US ] = "%PRODUCTNAME %s" ;
-};
-
-String RID_PRINTUIOPT_CONTENTS
-{
- Text [ en-US ] = "Contents" ;
-};
-
-String RID_PRINTUIOPT_TITLE
-{
- Text [ en-US ] = "~Title" ;
-};
-
-String RID_PRINTUIOPT_FRMLTXT
-{
- Text [ en-US ] = "~Formula text" ;
-};
-
-String RID_PRINTUIOPT_BORDERS
-{
- Text [ en-US ] = "B~orders" ;
-};
-
-String RID_PRINTUIOPT_SIZE
-{
- Text [ en-US ] = "Size" ;
-};
-
-String RID_PRINTUIOPT_ORIGSIZE
-{
- Text [ en-US ] = "O~riginal size" ;
-};
-
-String RID_PRINTUIOPT_FITTOPAGE
-{
- Text [ en-US ] = "Fit to ~page" ;
-};
-
-String RID_PRINTUIOPT_SCALING
-{
- Text [ en-US ] = "~Scaling" ;
-};
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/starmath/source/symbol.cxx b/starmath/source/symbol.cxx
index 2f7143bb34b6..1b127bef4454 100644
--- a/starmath/source/symbol.cxx
+++ b/starmath/source/symbol.cxx
@@ -26,7 +26,7 @@
#include "dialog.hxx"
#include "cfgitem.hxx"
#include "smmod.hxx"
-#include "starmath.hrc"
+#include "strings.hrc"
SmSym::SmSym() :
diff --git a/starmath/source/symbol.src b/starmath/source/symbol.src
deleted file mode 100644
index 6f41a45ab616..000000000000
--- a/starmath/source/symbol.src
+++ /dev/null
@@ -1,187 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include <starmath.hrc>
-
-// Both list types Ui and Export have to be identical. The Ui version
-// is the localized version of all symbols that is show in the Ui,
-// for Export they have to be in English. The transition between
-// both lists is done with GetExportSymbolName() and GetUiSymbolName().
-StringArray RID_EXPORT_SYMBOLSET_NAMES
-{
- ItemList =
- {
- < "Greek" ; > ;
- < "Special" ; > ;
- };
-};
-StringArray RID_UI_SYMBOLSET_NAMES
-{
- ItemList [ en-US ] =
- {
- < "Greek" ; > ;
- < "Special" ; > ;
- };
-};
-StringArray RID_EXPORT_SYMBOL_NAMES
-{
- ItemList =
- {
- < "alpha" ; > ;
- < "ALPHA" ; > ;
- < "beta" ; > ;
- < "BETA" ; > ;
- < "gamma" ; > ;
- < "GAMMA" ; > ;
- < "delta" ; > ;
- < "DELTA" ; > ;
- < "epsilon" ; > ;
- < "EPSILON" ; > ;
- < "zeta" ; > ;
- < "ZETA" ; > ;
- < "eta" ; > ;
- < "ETA" ; > ;
- < "theta" ; > ;
- < "THETA" ; > ;
- < "iota" ; > ;
- < "IOTA" ; > ;
- < "kappa" ; > ;
- < "KAPPA" ; > ;
- < "lambda" ; > ;
- < "LAMBDA" ; > ;
- < "mu" ; > ;
- < "MU" ; > ;
- < "nu" ; > ;
- < "NU" ; > ;
- < "xi" ; > ;
- < "XI" ; > ;
- < "omicron" ; > ;
- < "OMICRON" ; > ;
- < "pi" ; > ;
- < "PI" ; > ;
- < "rho" ; > ;
- < "RHO" ; > ;
- < "sigma" ; > ;
- < "SIGMA" ; > ;
- < "tau" ; > ;
- < "TAU" ; > ;
- < "upsilon" ; > ;
- < "UPSILON" ; > ;
- < "phi" ; > ;
- < "PHI" ; > ;
- < "chi" ; > ;
- < "CHI" ; > ;
- < "psi" ; > ;
- < "PSI" ; > ;
- < "omega" ; > ;
- < "OMEGA" ; > ;
- < "varepsilon" ; > ;
- < "vartheta" ; > ;
- < "varpi" ; > ;
- < "varrho" ; > ;
- < "varsigma" ; > ;
- < "varphi" ; > ;
- < "element" ; > ;
- < "noelement" ; > ;
- < "strictlylessthan" ; > ;
- < "strictlygreaterthan" ; > ;
- < "notequal" ; > ;
- < "identical" ; > ;
- < "tendto" ; > ;
- < "infinite" ; > ;
- < "angle" ; > ;
- < "perthousand" ; > ;
- < "and" ; > ;
- < "or" ; > ;
- };
-};
-StringArray RID_UI_SYMBOL_NAMES
-{
- ItemList [ en-US ] =
- {
- < "alpha" ; > ;
- < "ALPHA" ; > ;
- < "beta" ; > ;
- < "BETA" ; > ;
- < "gamma" ; > ;
- < "GAMMA" ; > ;
- < "delta" ; > ;
- < "DELTA" ; > ;
- < "epsilon" ; > ;
- < "EPSILON" ; > ;
- < "zeta" ; > ;
- < "ZETA" ; > ;
- < "eta" ; > ;
- < "ETA" ; > ;
- < "theta" ; > ;
- < "THETA" ; > ;
- < "iota" ; > ;
- < "IOTA" ; > ;
- < "kappa" ; > ;
- < "KAPPA" ; > ;
- < "lambda" ; > ;
- < "LAMBDA" ; > ;
- < "mu" ; > ;
- < "MU" ; > ;
- < "nu" ; > ;
- < "NU" ; > ;
- < "xi" ; > ;
- < "XI" ; > ;
- < "omicron" ; > ;
- < "OMICRON" ; > ;
- < "pi" ; > ;
- < "PI" ; > ;
- < "rho" ; > ;
- < "RHO" ; > ;
- < "sigma" ; > ;
- < "SIGMA" ; > ;
- < "tau" ; > ;
- < "TAU" ; > ;
- < "upsilon" ; > ;
- < "UPSILON" ; > ;
- < "phi" ; > ;
- < "PHI" ; > ;
- < "chi" ; > ;
- < "CHI" ; > ;
- < "psi" ; > ;
- < "PSI" ; > ;
- < "omega" ; > ;
- < "OMEGA" ; > ;
- < "varepsilon" ; > ;
- < "vartheta" ; > ;
- < "varpi" ; > ;
- < "varrho" ; > ;
- < "varsigma" ; > ;
- < "varphi" ; > ;
- < "element" ; > ;
- < "noelement" ; > ;
- < "strictlylessthan" ; > ;
- < "strictlygreaterthan" ; > ;
- < "notequal" ; > ;
- < "identical" ; > ;
- < "tendto" ; > ;
- < "infinite" ; > ;
- < "angle" ; > ;
- < "perthousand" ; > ;
- < "and" ; > ;
- < "or" ; > ;
- };
-};
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/starmath/source/uiobject.cxx b/starmath/source/uiobject.cxx
index 51b0733ff545..a34f10c28341 100644
--- a/starmath/source/uiobject.cxx
+++ b/starmath/source/uiobject.cxx
@@ -66,7 +66,7 @@ StringMap ElementSelectorUIObject::get_state()
if (pElement)
aMap["CurrentEntry"] = pElement->getText();
- aMap["CurrentSelection"] = OUString::number(mxElementsSelector->maCurrentSetId);
+ aMap["CurrentSelection"] = OUString::fromUtf8(mxElementsSelector->msCurrentSetId);
return aMap;
}
diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx
index 489a8ba1cabd..7f9dd45fdc4b 100644
--- a/starmath/source/unomodel.cxx
+++ b/starmath/source/unomodel.cxx
@@ -49,6 +49,7 @@
#include <view.hxx>
#include <symbol.hxx>
#include <starmath.hrc>
+#include <strings.hrc>
#include <smdll.hxx>
#include "cfgitem.hxx"
diff --git a/starmath/source/utility.cxx b/starmath/source/utility.cxx
index 9dd1fe3f6d2c..21018ad7eccf 100644
--- a/starmath/source/utility.cxx
+++ b/starmath/source/utility.cxx
@@ -19,7 +19,7 @@
#include <vcl/builderfactory.hxx>
-#include "starmath.hrc"
+#include "strings.hrc"
#include "utility.hxx"
#include "dialog.hxx"
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index a9652672e16f..56e79c66d330 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -70,6 +70,7 @@
#include "dialog.hxx"
#include "document.hxx"
#include "starmath.hrc"
+#include "strings.hrc"
#include "mathmlimport.hxx"
#include "cursor.hxx"
#include "accessibility.hxx"
diff --git a/starmath/uiconfig/smath/ui/alignmentdialog.ui b/starmath/uiconfig/smath/ui/alignmentdialog.ui
index 3e727f417109..aaf1bb8b1fb3 100644
--- a/starmath/uiconfig/smath/ui/alignmentdialog.ui
+++ b/starmath/uiconfig/smath/ui/alignmentdialog.ui
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="sm">
<requires lib="gtk+" version="3.0"/>
<object class="GtkDialog" id="AlignmentDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Alignment</property>
+ <property name="title" translatable="yes" context="alignmentdialog|AlignmentDialog">Alignment</property>
<property name="resizable">False</property>
<property name="modal">True</property>
<property name="type_hint">dialog</property>
@@ -64,7 +64,7 @@
</child>
<child>
<object class="GtkButton" id="default">
- <property name="label" translatable="yes">_Default</property>
+ <property name="label" translatable="yes" context="alignmentdialog|default">_Default</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -108,7 +108,7 @@
<property name="spacing">6</property>
<child>
<object class="GtkRadioButton" id="left">
- <property name="label" translatable="yes">_Left</property>
+ <property name="label" translatable="yes" context="alignmentdialog|left">_Left</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -125,7 +125,7 @@
</child>
<child>
<object class="GtkRadioButton" id="center">
- <property name="label" translatable="yes">_Centered</property>
+ <property name="label" translatable="yes" context="alignmentdialog|center">_Centered</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -143,7 +143,7 @@
</child>
<child>
<object class="GtkRadioButton" id="right">
- <property name="label" translatable="yes">_Right</property>
+ <property name="label" translatable="yes" context="alignmentdialog|right">_Right</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -166,7 +166,7 @@
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Horizontal</property>
+ <property name="label" translatable="yes" context="alignmentdialog|label1">Horizontal</property>
<property name="use_underline">True</property>
<attributes>
<attribute name="weight" value="bold"/>
diff --git a/starmath/uiconfig/smath/ui/catalogdialog.ui b/starmath/uiconfig/smath/ui/catalogdialog.ui
index 5d6e9eebceeb..26dbdacf49f5 100644
--- a/starmath/uiconfig/smath/ui/catalogdialog.ui
+++ b/starmath/uiconfig/smath/ui/catalogdialog.ui
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="sm">
<requires lib="gtk+" version="3.0"/>
<requires lib="LibreOffice" version="1.0"/>
<object class="GtkDialog" id="CatalogDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Symbols</property>
+ <property name="title" translatable="yes" context="catalogdialog|CatalogDialog">Symbols</property>
<property name="resizable">False</property>
<property name="modal">True</property>
<property name="type_hint">dialog</property>
@@ -21,7 +21,7 @@
<property name="layout_style">start</property>
<child>
<object class="GtkButton" id="insert">
- <property name="label" translatable="yes">_Insert</property>
+ <property name="label" translatable="yes" context="catalogdialog|insert">_Insert</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
@@ -52,7 +52,7 @@
</child>
<child>
<object class="GtkButton" id="edit">
- <property name="label" translatable="yes">_Edit...</property>
+ <property name="label" translatable="yes" context="catalogdialog|edit">_Edit...</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -99,7 +99,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Symbol set:</property>
+ <property name="label" translatable="yes" context="catalogdialog|label1">_Symbol set:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -120,7 +120,7 @@
</child>
<child>
<object class="smlo-SmShowSymbolSet" id="symbolsetdisplay">
- <property name="label" translatable="yes">button</property>
+ <property name="label" translatable="yes" context="catalogdialog|symbolsetdisplay">button</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -149,7 +149,7 @@
<object class="GtkLabel" id="symbolname">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Unknown</property>
+ <property name="label" translatable="yes" context="catalogdialog|symbolname">Unknown</property>
</object>
<packing>
<property name="left_attach">0</property>
diff --git a/starmath/uiconfig/smath/ui/dockingelements.ui b/starmath/uiconfig/smath/ui/dockingelements.ui
index 79dd5679dcae..652ae360d439 100644
--- a/starmath/uiconfig/smath/ui/dockingelements.ui
+++ b/starmath/uiconfig/smath/ui/dockingelements.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.16.1 -->
-<interface>
+<interface domain="sm">
<requires lib="gtk+" version="3.0"/>
<object class="GtkWindow" id="DockingElements">
<property name="visible">True</property>
@@ -8,7 +8,7 @@
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Elements</property>
+ <property name="title" translatable="yes" context="dockingelements|DockingElements">Elements</property>
<property name="type_hint">dock</property>
<child>
<object class="GtkGrid" id="grid1">
diff --git a/starmath/uiconfig/smath/ui/fontdialog.ui b/starmath/uiconfig/smath/ui/fontdialog.ui
index 5d7292228d0a..a9faaa0443bd 100644
--- a/starmath/uiconfig/smath/ui/fontdialog.ui
+++ b/starmath/uiconfig/smath/ui/fontdialog.ui
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="sm">
<requires lib="gtk+" version="3.0"/>
<requires lib="LibreOffice" version="1.0"/>
<object class="GtkDialog" id="FontDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Fonts</property>
+ <property name="title" translatable="yes" context="fontdialog|FontDialog">Fonts</property>
<property name="modal">True</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
@@ -112,7 +112,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Font</property>
+ <property name="label" translatable="yes" context="fontdialog|formulaL">Font</property>
<property name="use_underline">True</property>
<attributes>
<attribute name="weight" value="bold"/>
@@ -147,7 +147,7 @@
<property name="column_homogeneous">True</property>
<child>
<object class="GtkCheckButton" id="bold">
- <property name="label" translatable="yes">_Bold</property>
+ <property name="label" translatable="yes" context="fontdialog|bold">_Bold</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -162,7 +162,7 @@
</child>
<child>
<object class="GtkCheckButton" id="italic">
- <property name="label" translatable="yes">_Italic</property>
+ <property name="label" translatable="yes" context="fontdialog|italic">_Italic</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -184,7 +184,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Attributes</property>
+ <property name="label" translatable="yes" context="fontdialog|formulaL1">Attributes</property>
<property name="use_underline">True</property>
<attributes>
<attribute name="weight" value="bold"/>
diff --git a/starmath/uiconfig/smath/ui/fontsizedialog.ui b/starmath/uiconfig/smath/ui/fontsizedialog.ui
index bd1a2fca86f5..fbf3d50e31b7 100644
--- a/starmath/uiconfig/smath/ui/fontsizedialog.ui
+++ b/starmath/uiconfig/smath/ui/fontsizedialog.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="sm">
<requires lib="gtk+" version="3.0"/>
<object class="GtkAdjustment" id="adjustmentBaseSize">
<property name="lower">4</property>
@@ -17,7 +17,7 @@
<object class="GtkDialog" id="FontSizeDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Font Sizes</property>
+ <property name="title" translatable="yes" context="fontsizedialog|FontSizeDialog">Font Sizes</property>
<property name="resizable">False</property>
<property name="modal">True</property>
<property name="type_hint">dialog</property>
@@ -76,7 +76,7 @@
</child>
<child>
<object class="GtkButton" id="default">
- <property name="label" translatable="yes">_Default</property>
+ <property name="label" translatable="yes" context="fontsizedialog|default">_Default</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -119,7 +119,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Base _size:</property>
+ <property name="label" translatable="yes" context="fontsizedialog|label4">Base _size:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">spinB_baseSize:0pt</property>
</object>
@@ -191,7 +191,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Operators:</property>
+ <property name="label" translatable="yes" context="fontsizedialog|label2">_Operators:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">spinB_function:0%</property>
</object>
@@ -205,7 +205,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Limits:</property>
+ <property name="label" translatable="yes" context="fontsizedialog|label3">_Limits:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">spinB_limit:0%</property>
</object>
@@ -245,7 +245,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Text:</property>
+ <property name="label" translatable="yes" context="fontsizedialog|label5">_Text:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">spinB_text:0%</property>
</object>
@@ -259,7 +259,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Functions:</property>
+ <property name="label" translatable="yes" context="fontsizedialog|label7">_Functions:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">spinB_function:0%</property>
</object>
@@ -273,7 +273,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Indexes:</property>
+ <property name="label" translatable="yes" context="fontsizedialog|label6">_Indexes:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">spinB_index:0%</property>
</object>
@@ -316,7 +316,7 @@
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Relative Sizes</property>
+ <property name="label" translatable="yes" context="fontsizedialog|label1">Relative Sizes</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
diff --git a/starmath/uiconfig/smath/ui/fonttypedialog.ui b/starmath/uiconfig/smath/ui/fonttypedialog.ui
index 060854db54ec..898426702775 100644
--- a/starmath/uiconfig/smath/ui/fonttypedialog.ui
+++ b/starmath/uiconfig/smath/ui/fonttypedialog.ui
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="sm">
<requires lib="gtk+" version="3.0"/>
<requires lib="LibreOffice" version="1.0"/>
<object class="GtkDialog" id="FontsDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Fonts</property>
+ <property name="title" translatable="yes" context="fonttypedialog|FontsDialog">Fonts</property>
<property name="resizable">False</property>
<property name="modal">True</property>
<property name="type_hint">dialog</property>
@@ -51,7 +51,7 @@
</child>
<child>
<object class="GtkButton" id="modify:menu1">
- <property name="label" translatable="yes">_Modify</property>
+ <property name="label" translatable="yes" context="fonttypedialog|modify">_Modify</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -79,7 +79,7 @@
</child>
<child>
<object class="GtkButton" id="default">
- <property name="label" translatable="yes">_Default</property>
+ <property name="label" translatable="yes" context="fonttypedialog|default">_Default</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -132,7 +132,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Variables:</property>
+ <property name="label" translatable="yes" context="fonttypedialog|label1">_Variables:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">variableCB</property>
<attributes>
@@ -149,7 +149,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Functions:</property>
+ <property name="label" translatable="yes" context="fonttypedialog|label2">_Functions:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">functionCB</property>
<attributes>
@@ -166,7 +166,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Numbers:</property>
+ <property name="label" translatable="yes" context="fonttypedialog|label3">_Numbers:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">numberCB</property>
<attributes>
@@ -183,7 +183,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Text:</property>
+ <property name="label" translatable="yes" context="fonttypedialog|label4">_Text:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">textCB</property>
<attributes>
@@ -247,7 +247,7 @@
<object class="GtkLabel" id="formulaL">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Formula Fonts</property>
+ <property name="label" translatable="yes" context="fonttypedialog|formulaL">Formula Fonts</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -285,7 +285,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Serif:</property>
+ <property name="label" translatable="yes" context="fonttypedialog|label5">_Serif:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">serifCB</property>
<attributes>
@@ -302,7 +302,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">S_ans-serif:</property>
+ <property name="label" translatable="yes" context="fonttypedialog|label6">S_ans-serif:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">sansCB</property>
<attributes>
@@ -319,7 +319,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">F_ixed-width:</property>
+ <property name="label" translatable="yes" context="fonttypedialog|label7">F_ixed-width:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">fixedCB</property>
<attributes>
@@ -372,7 +372,7 @@
<object class="GtkLabel" id="customL">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Custom Fonts</property>
+ <property name="label" translatable="yes" context="fonttypedialog|customL">Custom Fonts</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -420,7 +420,7 @@
<object class="GtkMenuItem" id="menuitem1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">_Variables</property>
+ <property name="label" translatable="yes" context="fonttypedialog|menuitem1">_Variables</property>
<property name="use_underline">True</property>
</object>
</child>
@@ -428,7 +428,7 @@
<object class="GtkMenuItem" id="menuitem2">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">_Functions</property>
+ <property name="label" translatable="yes" context="fonttypedialog|menuitem2">_Functions</property>
<property name="use_underline">True</property>
</object>
</child>
@@ -436,7 +436,7 @@
<object class="GtkMenuItem" id="menuitem3">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">_Numbers</property>
+ <property name="label" translatable="yes" context="fonttypedialog|menuitem3">_Numbers</property>
<property name="use_underline">True</property>
</object>
</child>
@@ -444,7 +444,7 @@
<object class="GtkMenuItem" id="menuitem4">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">_Text</property>
+ <property name="label" translatable="yes" context="fonttypedialog|menuitem4">_Text</property>
<property name="use_underline">True</property>
</object>
</child>
@@ -452,7 +452,7 @@
<object class="GtkMenuItem" id="menuitem5">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">_Serif</property>
+ <property name="label" translatable="yes" context="fonttypedialog|menuitem5">_Serif</property>
<property name="use_underline">True</property>
</object>
</child>
@@ -460,7 +460,7 @@
<object class="GtkMenuItem" id="menuitem6">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">S_ans-serif</property>
+ <property name="label" translatable="yes" context="fonttypedialog|menuitem6">S_ans-serif</property>
<property name="use_underline">True</property>
</object>
</child>
@@ -468,7 +468,7 @@
<object class="GtkMenuItem" id="menuitem7">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Fixe_d-width</property>
+ <property name="label" translatable="yes" context="fonttypedialog|menuitem7">Fixe_d-width</property>
<property name="use_underline">True</property>
</object>
</child>
diff --git a/starmath/uiconfig/smath/ui/printeroptions.ui b/starmath/uiconfig/smath/ui/printeroptions.ui
index 2ef10834881e..df65a975df68 100644
--- a/starmath/uiconfig/smath/ui/printeroptions.ui
+++ b/starmath/uiconfig/smath/ui/printeroptions.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="sm">
<requires lib="gtk+" version="3.0"/>
<object class="GtkBox" id="box">
<property name="visible">True</property>
@@ -29,7 +29,7 @@
<property name="spacing">6</property>
<child>
<object class="GtkCheckButton" id="title">
- <property name="label" translatable="yes">Title</property>
+ <property name="label" translatable="yes" context="printeroptions|title">Title</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -45,7 +45,7 @@
</child>
<child>
<object class="GtkCheckButton" id="formulatext">
- <property name="label" translatable="yes">Formula text</property>
+ <property name="label" translatable="yes" context="printeroptions|formulatext">Formula text</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -61,7 +61,7 @@
</child>
<child>
<object class="GtkCheckButton" id="borders">
- <property name="label" translatable="yes">Borders</property>
+ <property name="label" translatable="yes" context="printeroptions|borders">Borders</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -83,7 +83,7 @@
<object class="GtkLabel" id="label4">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Contents</property>
+ <property name="label" translatable="yes" context="printeroptions|label4">Contents</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -116,7 +116,7 @@
<property name="spacing">6</property>
<child>
<object class="GtkRadioButton" id="originalsize">
- <property name="label" translatable="yes">Original size</property>
+ <property name="label" translatable="yes" context="printeroptions|originalsize">Original size</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -134,7 +134,7 @@
</child>
<child>
<object class="GtkRadioButton" id="fittopage">
- <property name="label" translatable="yes">Fit to page</property>
+ <property name="label" translatable="yes" context="printeroptions|fittopage">Fit to page</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -156,7 +156,7 @@
<property name="spacing">12</property>
<child>
<object class="GtkRadioButton" id="scaling">
- <property name="label" translatable="yes">Scaling:</property>
+ <property name="label" translatable="yes" context="printeroptions|scaling">Scaling:</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -198,7 +198,7 @@
<object class="GtkLabel" id="label5">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Size</property>
+ <property name="label" translatable="yes" context="printeroptions|label5">Size</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
diff --git a/starmath/uiconfig/smath/ui/savedefaultsdialog.ui b/starmath/uiconfig/smath/ui/savedefaultsdialog.ui
index 00404f3ef5a2..8fe8f882162f 100644
--- a/starmath/uiconfig/smath/ui/savedefaultsdialog.ui
+++ b/starmath/uiconfig/smath/ui/savedefaultsdialog.ui
@@ -1,19 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="sm">
<requires lib="gtk+" version="3.0"/>
<object class="GtkMessageDialog" id="SaveDefaultsDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Save defaults?</property>
+ <property name="title" translatable="yes" context="savedefaultsdialog|SaveDefaultsDialog">Save defaults?</property>
<property name="resizable">False</property>
<property name="modal">True</property>
<property name="type_hint">dialog</property>
<property name="skip_taskbar_hint">True</property>
<property name="message_type">question</property>
<property name="buttons">yes-no</property>
- <property name="text" translatable="yes">Should the changes be saved as defaults?</property>
- <property name="secondary_text" translatable="yes">These changes will apply for all new formulas.</property>
+ <property name="text" translatable="yes" context="savedefaultsdialog|SaveDefaultsDialog">Should the changes be saved as defaults?</property>
+ <property name="secondary_text" translatable="yes" context="savedefaultsdialog|SaveDefaultsDialog">These changes will apply for all new formulas.</property>
<child internal-child="vbox">
<object class="GtkBox" id="messagedialog-vbox">
<property name="can_focus">False</property>
diff --git a/starmath/uiconfig/smath/ui/smathsettings.ui b/starmath/uiconfig/smath/ui/smathsettings.ui
index 3d9eabd93d74..1b94f563e7fa 100644
--- a/starmath/uiconfig/smath/ui/smathsettings.ui
+++ b/starmath/uiconfig/smath/ui/smathsettings.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="sm">
<requires lib="gtk+" version="3.0"/>
<object class="GtkAdjustment" id="adjustment1">
<property name="lower">10</property>
@@ -36,7 +36,7 @@
<property name="spacing">6</property>
<child>
<object class="GtkCheckButton" id="title">
- <property name="label" translatable="yes">_Title row</property>
+ <property name="label" translatable="yes" context="smathsettings|title">_Title row</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -52,7 +52,7 @@
</child>
<child>
<object class="GtkCheckButton" id="text">
- <property name="label" translatable="yes">_Formula text</property>
+ <property name="label" translatable="yes" context="smathsettings|text">_Formula text</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -68,7 +68,7 @@
</child>
<child>
<object class="GtkCheckButton" id="frame">
- <property name="label" translatable="yes">B_order</property>
+ <property name="label" translatable="yes" context="smathsettings|frame">B_order</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -90,7 +90,7 @@
<object class="GtkLabel" id="label4">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Print Options</property>
+ <property name="label" translatable="yes" context="smathsettings|label4">Print Options</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -124,7 +124,7 @@
<property name="homogeneous">True</property>
<child>
<object class="GtkRadioButton" id="sizenormal">
- <property name="label" translatable="yes">O_riginal size</property>
+ <property name="label" translatable="yes" context="smathsettings|sizenormal">O_riginal size</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -142,7 +142,7 @@
</child>
<child>
<object class="GtkRadioButton" id="sizescaled">
- <property name="label" translatable="yes">Fit to _page</property>
+ <property name="label" translatable="yes" context="smathsettings|sizescaled">Fit to _page</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -164,7 +164,7 @@
<property name="spacing">12</property>
<child>
<object class="GtkRadioButton" id="sizezoomed">
- <property name="label" translatable="yes">_Scaling:</property>
+ <property name="label" translatable="yes" context="smathsettings|sizezoomed">_Scaling:</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -207,7 +207,7 @@
<object class="GtkLabel" id="label5">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Print Format</property>
+ <property name="label" translatable="yes" context="smathsettings|label5">Print Format</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -240,7 +240,7 @@
<property name="spacing">6</property>
<child>
<object class="GtkCheckButton" id="norightspaces">
- <property name="label" translatable="yes">Ig_nore ~~ and ' at the end of the line</property>
+ <property name="label" translatable="yes" context="smathsettings|norightspaces">Ig_nore ~~ and ' at the end of the line</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -256,7 +256,7 @@
</child>
<child>
<object class="GtkCheckButton" id="saveonlyusedsymbols">
- <property name="label" translatable="yes">Embed only used symbols (smaller file size)</property>
+ <property name="label" translatable="yes" context="smathsettings|saveonlyusedsymbols">Embed only used symbols (smaller file size)</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -272,7 +272,7 @@
</child>
<child>
<object class="GtkCheckButton" id="autoclosebrackets">
- <property name="label" translatable="yes">Auto close brackets, parentheses and braces</property>
+ <property name="label" translatable="yes" context="smathsettings|autoclosebrackets">Auto close brackets, parentheses and braces</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -294,7 +294,7 @@
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Miscellaneous Options</property>
+ <property name="label" translatable="yes" context="smathsettings|label1">Miscellaneous Options</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
diff --git a/starmath/uiconfig/smath/ui/spacingdialog.ui b/starmath/uiconfig/smath/ui/spacingdialog.ui
index f4f4f955219c..31b490270aa7 100644
--- a/starmath/uiconfig/smath/ui/spacingdialog.ui
+++ b/starmath/uiconfig/smath/ui/spacingdialog.ui
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="sm">
<requires lib="gtk+" version="3.0"/>
<object class="GtkDialog" id="SpacingDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Spacing</property>
+ <property name="title" translatable="yes" context="spacingdialog|SpacingDialog">Spacing</property>
<property name="resizable">False</property>
<property name="modal">True</property>
<property name="type_hint">dialog</property>
@@ -50,7 +50,7 @@
</child>
<child>
<object class="GtkButton" id="category:menu">
- <property name="label" translatable="yes">_Category</property>
+ <property name="label" translatable="yes" context="spacingdialog|category">_Category</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -65,7 +65,7 @@
</child>
<child>
<object class="GtkButton" id="default">
- <property name="label" translatable="yes">_Default</property>
+ <property name="label" translatable="yes" context="spacingdialog|default">_Default</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -247,7 +247,7 @@
</child>
<child>
<object class="GtkCheckButton" id="checkbutton">
- <property name="label" translatable="yes">Scale all brackets</property>
+ <property name="label" translatable="yes" context="spacingdialog|checkbutton">Scale all brackets</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="no_show_all">True</property>
@@ -307,7 +307,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Title</property>
+ <property name="label" translatable="yes" context="spacingdialog|title">Title</property>
<property name="use_underline">True</property>
<attributes>
<attribute name="weight" value="bold"/>
@@ -362,7 +362,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Spacing:</property>
+ <property name="label" translatable="yes" context="spacingdialog|1label1">_Spacing:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -375,7 +375,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Line spacing:</property>
+ <property name="label" translatable="yes" context="spacingdialog|1label2">_Line spacing:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -388,7 +388,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Root spacing:</property>
+ <property name="label" translatable="yes" context="spacingdialog|1label3">_Root spacing:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -466,7 +466,7 @@
<object class="GtkLabel" id="1title">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Spacing</property>
+ <property name="label" translatable="yes" context="spacingdialog|1title">Spacing</property>
<property name="use_underline">True</property>
<attributes>
<attribute name="weight" value="bold"/>
@@ -521,7 +521,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Superscript:</property>
+ <property name="label" translatable="yes" context="spacingdialog|2label1">_Superscript:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -534,7 +534,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">S_ubscript:</property>
+ <property name="label" translatable="yes" context="spacingdialog|2label2">S_ubscript:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -600,7 +600,7 @@
<object class="GtkLabel" id="2title">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Indexes</property>
+ <property name="label" translatable="yes" context="spacingdialog|2title">Indexes</property>
<property name="use_underline">True</property>
<attributes>
<attribute name="weight" value="bold"/>
@@ -655,7 +655,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Numerator:</property>
+ <property name="label" translatable="yes" context="spacingdialog|3label1">_Numerator:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -668,7 +668,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Denominator:</property>
+ <property name="label" translatable="yes" context="spacingdialog|3label2">_Denominator:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -734,7 +734,7 @@
<object class="GtkLabel" id="3title">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Fractions</property>
+ <property name="label" translatable="yes" context="spacingdialog|3title">Fractions</property>
<property name="use_underline">True</property>
<attributes>
<attribute name="weight" value="bold"/>
@@ -789,7 +789,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Excess length:</property>
+ <property name="label" translatable="yes" context="spacingdialog|4label1">_Excess length:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -802,7 +802,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Weight:</property>
+ <property name="label" translatable="yes" context="spacingdialog|4label2">_Weight:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -868,7 +868,7 @@
<object class="GtkLabel" id="4title">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Fraction Bar</property>
+ <property name="label" translatable="yes" context="spacingdialog|4title">Fraction Bar</property>
<property name="use_underline">True</property>
<attributes>
<attribute name="weight" value="bold"/>
@@ -923,7 +923,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Upper limit:</property>
+ <property name="label" translatable="yes" context="spacingdialog|5label1">_Upper limit:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -936,7 +936,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Lower limit:</property>
+ <property name="label" translatable="yes" context="spacingdialog|5label2">_Lower limit:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -1002,7 +1002,7 @@
<object class="GtkLabel" id="5title">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Limits</property>
+ <property name="label" translatable="yes" context="spacingdialog|5title">Limits</property>
<property name="use_underline">True</property>
<attributes>
<attribute name="weight" value="bold"/>
@@ -1057,7 +1057,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Excess size (left/right):</property>
+ <property name="label" translatable="yes" context="spacingdialog|6label1">_Excess size (left/right):</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -1070,7 +1070,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Spacing:</property>
+ <property name="label" translatable="yes" context="spacingdialog|6label2">_Spacing:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -1083,7 +1083,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Excess size:</property>
+ <property name="label" translatable="yes" context="spacingdialog|6label4">_Excess size:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -1161,7 +1161,7 @@
<object class="GtkLabel" id="6title">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Brackets</property>
+ <property name="label" translatable="yes" context="spacingdialog|6title">Brackets</property>
<property name="use_underline">True</property>
<attributes>
<attribute name="weight" value="bold"/>
@@ -1216,7 +1216,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Line spacing:</property>
+ <property name="label" translatable="yes" context="spacingdialog|7label1">_Line spacing:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -1229,7 +1229,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Column spacing:</property>
+ <property name="label" translatable="yes" context="spacingdialog|7label2">_Column spacing:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -1295,7 +1295,7 @@
<object class="GtkLabel" id="7title">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Matrix</property>
+ <property name="label" translatable="yes" context="spacingdialog|7title">Matrix</property>
<property name="use_underline">True</property>
<attributes>
<attribute name="weight" value="bold"/>
@@ -1350,7 +1350,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Primary height:</property>
+ <property name="label" translatable="yes" context="spacingdialog|8label1">_Primary height:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -1363,7 +1363,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Minimum spacing:</property>
+ <property name="label" translatable="yes" context="spacingdialog|8label2">_Minimum spacing:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -1429,7 +1429,7 @@
<object class="GtkLabel" id="8title">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Symbols</property>
+ <property name="label" translatable="yes" context="spacingdialog|8title">Symbols</property>
<property name="use_underline">True</property>
<attributes>
<attribute name="weight" value="bold"/>
@@ -1484,7 +1484,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Excess size:</property>
+ <property name="label" translatable="yes" context="spacingdialog|9label1">_Excess size:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -1497,7 +1497,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Spacing:</property>
+ <property name="label" translatable="yes" context="spacingdialog|9label2">_Spacing:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -1563,7 +1563,7 @@
<object class="GtkLabel" id="9title">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Operators</property>
+ <property name="label" translatable="yes" context="spacingdialog|9title">Operators</property>
<property name="use_underline">True</property>
<attributes>
<attribute name="weight" value="bold"/>
@@ -1618,7 +1618,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Left:</property>
+ <property name="label" translatable="yes" context="spacingdialog|10label1">_Left:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -1631,7 +1631,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Right:</property>
+ <property name="label" translatable="yes" context="spacingdialog|10label2">_Right:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -1644,7 +1644,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Top:</property>
+ <property name="label" translatable="yes" context="spacingdialog|10label3">_Top:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -1657,7 +1657,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Bottom:</property>
+ <property name="label" translatable="yes" context="spacingdialog|10label4">_Bottom:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -1747,7 +1747,7 @@
<object class="GtkLabel" id="10title">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Borders</property>
+ <property name="label" translatable="yes" context="spacingdialog|10title">Borders</property>
<property name="use_underline">True</property>
<attributes>
<attribute name="weight" value="bold"/>
@@ -1862,7 +1862,7 @@
<object class="GtkMenuItem" id="menuitem1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Spacing</property>
+ <property name="label" translatable="yes" context="spacingdialog|menuitem1">Spacing</property>
<property name="use_underline">True</property>
</object>
</child>
@@ -1870,7 +1870,7 @@
<object class="GtkMenuItem" id="menuitem2">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Indexes</property>
+ <property name="label" translatable="yes" context="spacingdialog|menuitem2">Indexes</property>
<property name="use_underline">True</property>
</object>
</child>
@@ -1878,7 +1878,7 @@
<object class="GtkMenuItem" id="menuitem3">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Fractions</property>
+ <property name="label" translatable="yes" context="spacingdialog|menuitem3">Fractions</property>
<property name="use_underline">True</property>
</object>
</child>
@@ -1886,7 +1886,7 @@
<object class="GtkMenuItem" id="menuitem4">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Fraction Bars</property>
+ <property name="label" translatable="yes" context="spacingdialog|menuitem4">Fraction Bars</property>
<property name="use_underline">True</property>
</object>
</child>
@@ -1894,7 +1894,7 @@
<object class="GtkMenuItem" id="menuitem5">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Limits</property>
+ <property name="label" translatable="yes" context="spacingdialog|menuitem5">Limits</property>
<property name="use_underline">True</property>
</object>
</child>
@@ -1902,7 +1902,7 @@
<object class="GtkMenuItem" id="menuitem6">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Brackets</property>
+ <property name="label" translatable="yes" context="spacingdialog|menuitem6">Brackets</property>
<property name="use_underline">True</property>
</object>
</child>
@@ -1910,7 +1910,7 @@
<object class="GtkMenuItem" id="menuitem7">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Matrices</property>
+ <property name="label" translatable="yes" context="spacingdialog|menuitem7">Matrices</property>
<property name="use_underline">True</property>
</object>
</child>
@@ -1918,7 +1918,7 @@
<object class="GtkMenuItem" id="menuitem8">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Symbols</property>
+ <property name="label" translatable="yes" context="spacingdialog|menuitem8">Symbols</property>
<property name="use_underline">True</property>
</object>
</child>
@@ -1926,7 +1926,7 @@
<object class="GtkMenuItem" id="menuitem9">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Operators</property>
+ <property name="label" translatable="yes" context="spacingdialog|menuitem9">Operators</property>
<property name="use_underline">True</property>
</object>
</child>
@@ -1934,7 +1934,7 @@
<object class="GtkMenuItem" id="menuitem10">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Borders</property>
+ <property name="label" translatable="yes" context="spacingdialog|menuitem10">Borders</property>
<property name="use_underline">True</property>
</object>
</child>
diff --git a/starmath/uiconfig/smath/ui/symdefinedialog.ui b/starmath/uiconfig/smath/ui/symdefinedialog.ui
index 0516cfc9f324..84f473032fa5 100644
--- a/starmath/uiconfig/smath/ui/symdefinedialog.ui
+++ b/starmath/uiconfig/smath/ui/symdefinedialog.ui
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
-<interface>
+<interface domain="sm">
<requires lib="gtk+" version="3.0"/>
<requires lib="LibreOffice" version="1.0"/>
<object class="GtkDialog" id="EditSymbols">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes">Edit Symbols</property>
+ <property name="title" translatable="yes" context="symdefinedialog|EditSymbols">Edit Symbols</property>
<property name="modal">True</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
@@ -38,7 +38,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">O_ld symbol set:</property>
+ <property name="label" translatable="yes" context="symdefinedialog|oldSymbolSetText">O_ld symbol set:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">oldSymbolSets</property>
</object>
@@ -83,7 +83,7 @@
<property name="can_focus">False</property>
<property name="margin_top">6</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Old symbol:</property>
+ <property name="label" translatable="yes" context="symdefinedialog|oldSymbolText">_Old symbol:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">oldSymbols</property>
</object>
@@ -154,7 +154,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">_Symbol:</property>
+ <property name="label" translatable="yes" context="symdefinedialog|symbolText">_Symbol:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">symbols</property>
</object>
@@ -168,7 +168,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">Symbol s_et:</property>
+ <property name="label" translatable="yes" context="symdefinedialog|symbolSetText">Symbol s_et:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">symbolSets</property>
</object>
@@ -182,7 +182,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">_Font:</property>
+ <property name="label" translatable="yes" context="symdefinedialog|fontText">_Font:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">fonts</property>
</object>
@@ -196,7 +196,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">S_tyle:</property>
+ <property name="label" translatable="yes" context="symdefinedialog|styleText">S_tyle:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">styles</property>
</object>
@@ -210,7 +210,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">S_ubset:</property>
+ <property name="label" translatable="yes" context="symdefinedialog|fontsSubsetFT">S_ubset:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">fontsSubsetLB</property>
</object>
@@ -384,7 +384,7 @@
</child>
<child>
<object class="GtkButton" id="modify">
- <property name="label" translatable="yes">_Modify</property>
+ <property name="label" translatable="yes" context="symdefinedialog|modify">_Modify</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>