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

InfoBox RID_SVX_MSGBOX_LANGUAGE_RESTART to String

Change-Id: Ideeb3ae8aa6493fc2d2a761d46f95baf0158c6e8
üst 922ae902
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
// RID_SVX_START + 0 unused // RID_SVX_START + 0 unused
#define RID_SVX_MSGBOX_OPTIONS_RESTART (RID_SVX_START + 1) #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_HARDDISK (RID_SVX_START + 4)
#define RID_CUIIMG_LIB (RID_SVX_START + 5) #define RID_CUIIMG_LIB (RID_SVX_START + 5)
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#include <sfx2/viewfrm.hxx> #include <sfx2/viewfrm.hxx>
#include <sfx2/imgmgr.hxx> #include <sfx2/imgmgr.hxx>
#include <vcl/configsettings.hxx> #include <vcl/configsettings.hxx>
#include <vcl/msgbox.hxx> #include <vcl/layout.hxx>
#include <vcl/mnemonic.hxx> #include <vcl/mnemonic.hxx>
#include <i18nlangtag/mslangid.hxx> #include <i18nlangtag/mslangid.hxx>
#include <i18nlangtag/languagetag.hxx> #include <i18nlangtag/languagetag.hxx>
...@@ -1231,7 +1231,7 @@ bool OfaLanguagesTabPage::FillItemSet( SfxItemSet* rSet ) ...@@ -1231,7 +1231,7 @@ bool OfaLanguagesTabPage::FillItemSet( SfxItemSet* rSet )
xProp->setPropertyValue(sUserLocaleKey, makeAny(aLangString)); xProp->setPropertyValue(sUserLocaleKey, makeAny(aLangString));
Reference< XChangesBatch >(xProp, UNO_QUERY_THROW)->commitChanges(); Reference< XChangesBatch >(xProp, UNO_QUERY_THROW)->commitChanges();
// display info // 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(); aBox.Execute();
// tell quickstarter to stop being a veto listener // tell quickstarter to stop being a veto listener
......
...@@ -20,11 +20,9 @@ ...@@ -20,11 +20,9 @@
#include <cuires.hrc> #include <cuires.hrc>
#include "helpid.hrc" #include "helpid.hrc"
// ******************************************************************* String RID_SVXSTR_LANGUAGE_RESTART
InfoBox RID_SVX_MSGBOX_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: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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