summaryrefslogtreecommitdiff
path: root/cui/source/options/optpath.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-11-26 01:01:47 +0200
committerCaolán McNamara <caolanm@redhat.com>2021-12-03 18:00:15 +0100
commit335ffc0f7bff71112a336e803ab5e0857f1f3771 (patch)
tree329151550a582df1304b504c3013be47a3b3ab70 /cui/source/options/optpath.cxx
parent42387cd10802912891fc2b7554e92d5c0c79b0f1 (diff)
don't use SVXSTR for translation ids that are in cui.mo
use that just for the ones in svx.mo. This just changes the programmer-level #define and keeps the translator-level message context the same to avoid triggering any retranslations. Change-Id: I3ca90618e27c4d7abbc77de1096e67bafe49e7ea Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125832 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source/options/optpath.cxx')
-rw-r--r--cui/source/options/optpath.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/cui/source/options/optpath.cxx b/cui/source/options/optpath.cxx
index bdd7db2ca89e..39c9b69fd392 100644
--- a/cui/source/options/optpath.cxx
+++ b/cui/source/options/optpath.cxx
@@ -66,7 +66,7 @@ struct OptPath_Impl
Reference< css::util::XPathSettings > m_xPathSettings;
OptPath_Impl()
- : m_sMultiPathDlg(CuiResId(RID_SVXSTR_EDIT_PATHS))
+ : m_sMultiPathDlg(CuiResId(RID_CUISTR_EDIT_PATHS))
{
}
};
@@ -250,39 +250,39 @@ void SvxPathTabPage::Reset( const SfxItemSet* )
switch (static_cast<SvtPathOptions::Paths>(i))
{
case SvtPathOptions::Paths::AutoCorrect:
- pId = RID_SVXSTR_KEY_AUTOCORRECT_DIR;
+ pId = RID_CUISTR_KEY_AUTOCORRECT_DIR;
break;
case SvtPathOptions::Paths::AutoText:
- pId = RID_SVXSTR_KEY_GLOSSARY_PATH;
+ pId = RID_CUISTR_KEY_GLOSSARY_PATH;
break;
case SvtPathOptions::Paths::Backup:
- pId = RID_SVXSTR_KEY_BACKUP_PATH;
+ pId = RID_CUISTR_KEY_BACKUP_PATH;
break;
case SvtPathOptions::Paths::Gallery:
- pId = RID_SVXSTR_KEY_GALLERY_DIR;
+ pId = RID_CUISTR_KEY_GALLERY_DIR;
break;
case SvtPathOptions::Paths::Graphic:
- pId = RID_SVXSTR_KEY_GRAPHICS_PATH;
+ pId = RID_CUISTR_KEY_GRAPHICS_PATH;
break;
case SvtPathOptions::Paths::Temp:
- pId = RID_SVXSTR_KEY_TEMP_PATH;
+ pId = RID_CUISTR_KEY_TEMP_PATH;
break;
case SvtPathOptions::Paths::Template:
- pId = RID_SVXSTR_KEY_TEMPLATE_PATH;
+ pId = RID_CUISTR_KEY_TEMPLATE_PATH;
break;
case SvtPathOptions::Paths::Dictionary:
- pId = RID_SVXSTR_KEY_DICTIONARY_PATH;
+ pId = RID_CUISTR_KEY_DICTIONARY_PATH;
break;
case SvtPathOptions::Paths::Classification:
- pId = RID_SVXSTR_KEY_CLASSIFICATION_PATH;
+ pId = RID_CUISTR_KEY_CLASSIFICATION_PATH;
break;
#if OSL_DEBUG_LEVEL > 1
case SvtPathOptions::Paths::Linguistic:
- pId = RID_SVXSTR_KEY_LINGUISTIC_DIR;
+ pId = RID_CUISTR_KEY_LINGUISTIC_DIR;
break;
#endif
case SvtPathOptions::Paths::Work:
- pId = RID_SVXSTR_KEY_WORK_PATH;
+ pId = RID_CUISTR_KEY_WORK_PATH;
break;
default: break;
}