diff options
-rw-r--r-- | cui/source/inc/cuires.hrc | 2 | ||||
-rw-r--r-- | cui/source/options/optgdlg.cxx | 4 | ||||
-rw-r--r-- | cui/source/options/optgdlg.src | 6 |
3 files changed, 5 insertions, 7 deletions
diff --git a/cui/source/inc/cuires.hrc b/cui/source/inc/cuires.hrc index 7e2d0e203bb1..587857cc7edd 100644 --- a/cui/source/inc/cuires.hrc +++ b/cui/source/inc/cuires.hrc @@ -27,7 +27,7 @@ // RID_SVX_START + 0 unused #define RID_SVX_MSGBOX_OPTIONS_RESTART (RID_SVX_START + 1) -#define RID_SVX_MSGBOX_LANGUAGE_RESTART (RID_SVX_START + 2) +#define RID_SVXSTR_LANGUAGE_RESTART (RID_SVX_START + 2) #define RID_CUIIMG_HARDDISK (RID_SVX_START + 4) #define RID_CUIIMG_LIB (RID_SVX_START + 5) diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index b083e68574fb..b80faa3bb3cc 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -27,7 +27,7 @@ #include <sfx2/viewfrm.hxx> #include <sfx2/imgmgr.hxx> #include <vcl/configsettings.hxx> -#include <vcl/msgbox.hxx> +#include <vcl/layout.hxx> #include <vcl/mnemonic.hxx> #include <i18nlangtag/mslangid.hxx> #include <i18nlangtag/languagetag.hxx> @@ -1231,7 +1231,7 @@ bool OfaLanguagesTabPage::FillItemSet( SfxItemSet* rSet ) xProp->setPropertyValue(sUserLocaleKey, makeAny(aLangString)); Reference< XChangesBatch >(xProp, UNO_QUERY_THROW)->commitChanges(); // display info - InfoBox aBox(this, CUI_RES(RID_SVX_MSGBOX_LANGUAGE_RESTART)); + MessageDialog aBox(this, CUI_RES(RID_SVXSTR_LANGUAGE_RESTART), VCL_MESSAGE_INFO); aBox.Execute(); // tell quickstarter to stop being a veto listener diff --git a/cui/source/options/optgdlg.src b/cui/source/options/optgdlg.src index 537c1505b7c5..206fb3af7567 100644 --- a/cui/source/options/optgdlg.src +++ b/cui/source/options/optgdlg.src @@ -20,11 +20,9 @@ #include <cuires.hrc> #include "helpid.hrc" -// ******************************************************************* - -InfoBox RID_SVX_MSGBOX_LANGUAGE_RESTART +String RID_SVXSTR_LANGUAGE_RESTART { - Message [ en-US ] = "The language setting of the user interface has been updated and will take effect the next time you start %PRODUCTNAME %PRODUCTVERSION"; + Text [ en-US ] = "The language setting of the user interface has been updated and will take effect the next time you start %PRODUCTNAME %PRODUCTVERSION"; }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |