Kaydet (Commit) cf65baa9 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

InfoBox MSG_DOUBLE_SHORTNAME and MSG_NO_GLOSSARIES to String

Change-Id: Ie3934ebc3209b8ba0358cca5fad9883e3b8cd262
üst 15344d04
......@@ -430,7 +430,7 @@ IMPL_LINK( SwGlossaryDlg, MenuHdl, Menu *, pMn )
const OUString aShortName(m_pShortNameEdit->GetText());
if(pGlossaryHdl->HasShortName(aShortName))
{
InfoBox(this, SW_RES(MSG_DOUBLE_SHORTNAME)).Execute();
MessageDialog(this, SW_RES(STR_DOUBLE_SHORTNAME), VCL_MESSAGE_INFO).Execute();
m_pShortNameEdit->SetSelection(Selection(0, SELECTION_MAX));
m_pShortNameEdit->GrabFocus();
return 1;
......@@ -567,7 +567,7 @@ IMPL_LINK( SwGlossaryDlg, MenuHdl, Menu *, pMn )
Init();
else
{
InfoBox(this, SW_RES( MSG_NO_GLOSSARIES )).Execute();
MessageDialog(this, SW_RES( STR_NO_GLOSSARIES ), VCL_MESSAGE_INFO).Execute();
}
}
}
......@@ -785,7 +785,7 @@ IMPL_LINK_NOARG(SwNewGlosNameDlg, Rename)
if( pDlg->pGlossaryHdl->HasShortName(m_pNewShort->GetText())
&& sNew != m_pOldShort->GetText() )
{
InfoBox(this, SW_RES(MSG_DOUBLE_SHORTNAME)).Execute();
MessageDialog(this, SW_RES(STR_DOUBLE_SHORTNAME), VCL_MESSAGE_INFO).Execute();
m_pNewShort->GrabFocus();
}
else
......
......@@ -22,9 +22,9 @@
#include "helpid.h"
#include "access.hrc"
InfoBox MSG_DOUBLE_SHORTNAME
String STR_DOUBLE_SHORTNAME
{
Message [ en-US ] = "Shortcut name already exists. Please choose another name." ;
Text [ en-US ] = "Shortcut name already exists. Please choose another name." ;
};
QueryBox MSG_QUERY_DELETE
{
......@@ -48,9 +48,9 @@ String STR_SAVE_GLOSSARY
{
Text[ en-US ] = "Save AutoText";
};
InfoBox MSG_NO_GLOSSARIES
String STR_NO_GLOSSARIES
{
Message [ en-US ] = "There is no AutoText in this file.";
Text [ en-US ] = "There is no AutoText in this file.";
};
String STR_MY_AUTOTEXT
......
......@@ -28,11 +28,11 @@
#define DLG_TAB_OUTLINE (RC_MISC_BEGIN + 31)
#define MSG_DOUBLE_SHORTNAME (RC_MISC_BEGIN + 30)
#define STR_DOUBLE_SHORTNAME (RC_MISC_BEGIN + 30)
#define MSG_QUERY_DELETE (RC_MISC_BEGIN + 31)
#define STR_QUERY_DELETE_GROUP1 (RC_MISC_BEGIN + 32)
#define STR_QUERY_DELETE_GROUP2 (RC_MISC_BEGIN + 33)
#define MSG_NO_GLOSSARIES (RC_MISC_BEGIN + 34)
#define STR_NO_GLOSSARIES (RC_MISC_BEGIN + 34)
#define MSG_SRTERR (RC_MISC_BEGIN + 42)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment