diff options
author | Samuel Mehrbrodt <s.mehrbrodt@gmail.com> | 2012-08-27 11:10:20 +0200 |
---|---|---|
committer | Björn Michaelsen <bjoern.michaelsen@canonical.com> | 2012-08-27 11:11:36 +0000 |
commit | 097a0b91add3fa0d2b142804bf040940010f7658 (patch) | |
tree | b02b1b099a30ac50cb38f66d5e87d6ceb2027916 /sfx2 | |
parent | 926fe8298be1a2d4a22277a5e9ecf4e2582b0b21 (diff) |
Modified the wording of the Save-on-Exit-Dialog
Change-Id: Ie3a02efc4541754ba553909ad03a115258890351
Reviewed-on: https://gerrit.libreoffice.org/491
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/inc/sfx2/sfx.hrc | 1 | ||||
-rw-r--r-- | sfx2/source/doc/QuerySaveDocument.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/doc/doc.src | 8 |
3 files changed, 8 insertions, 2 deletions
diff --git a/sfx2/inc/sfx2/sfx.hrc b/sfx2/inc/sfx2/sfx.hrc index 0d44061795b0..c215a18aae91 100644 --- a/sfx2/inc/sfx2/sfx.hrc +++ b/sfx2/inc/sfx2/sfx.hrc @@ -162,6 +162,7 @@ #define STR_KB (RID_SFX_START+112) #define STR_MB (RID_SFX_START+113) #define STR_GB (RID_SFX_START+114) +#define STR_QUERY_SAVE_DOCUMENT_TITLE (RID_SFX_START+115) #define STR_STANDARD_SHORTCUT (RID_SFX_START+117) #define STR_REPAIREDDOCUMENT (RID_SFX_START+118) diff --git a/sfx2/source/doc/QuerySaveDocument.cxx b/sfx2/source/doc/QuerySaveDocument.cxx index 2510e9ab03d4..49448eb5fe9e 100644 --- a/sfx2/source/doc/QuerySaveDocument.cxx +++ b/sfx2/source/doc/QuerySaveDocument.cxx @@ -36,6 +36,7 @@ short ExecuteQuerySaveDocument(Window* _pParent,const String& _rTitle) aText.SearchAndReplace( DEFINE_CONST_UNICODE( "$(DOC)" ), _rTitle ); QueryBox aQBox( _pParent, WB_YES_NO_CANCEL | WB_DEF_YES, aText ); + aQBox.SetText(SfxResId(STR_QUERY_SAVE_DOCUMENT_TITLE).toString()); // Window title aQBox.SetButtonText( BUTTONID_NO, SfxResId(STR_NOSAVEANDCLOSE).toString() ); aQBox.SetButtonText( BUTTONID_YES, SfxResId(STR_SAVEDOC).toString() ); return aQBox.Execute(); diff --git a/sfx2/source/doc/doc.src b/sfx2/source/doc/doc.src index 3b5293dcbbf3..640283d2f69a 100644 --- a/sfx2/source/doc/doc.src +++ b/sfx2/source/doc/doc.src @@ -46,9 +46,13 @@ QueryBox MSG_REGION_NOTEMPTY DefButton = WB_DEF_NO ; Message [ en-US ] = "The category is not empty.\nDelete anyway?" ; }; +String STR_QUERY_SAVE_DOCUMENT_TITLE +{ + Text [ en-US ] = "Save document" ; +}; String STR_QUERY_SAVE_DOCUMENT { - Text [ en-US ] = "The document \"$(DOC)\" has been modified.\nDo you want to save your changes?" ; + Text [ en-US ] = "Save changes to document \"$(DOC)\" before closing?" ; }; Bitmap BMP_STYLES_CLOSED { File = "newex.bmp" ; }; Bitmap BMP_STYLES_OPENED { File = "newex.bmp" ; }; @@ -307,7 +311,7 @@ String STR_DOCTYPENAME_MESSAGE String STR_NOSAVEANDCLOSE { - Text [ en-US ] = "~Discard" ; + Text [ en-US ] = "Close ~without saving" ; }; String STR_PACKNGO_NOACCESS |