diff options
-rw-r--r-- | sc/inc/sc.hrc | 6 | ||||
-rw-r--r-- | sc/source/ui/dialogs/searchresults.cxx | 3 | ||||
-rw-r--r-- | sc/source/ui/src/scstring.src | 15 |
3 files changed, 23 insertions, 1 deletions
diff --git a/sc/inc/sc.hrc b/sc/inc/sc.hrc index db71dbee528a..420d1492497a 100644 --- a/sc/inc/sc.hrc +++ b/sc/inc/sc.hrc @@ -915,6 +915,12 @@ #define SCSTR_PRINT_OPTIONS (STR_START + 216) #define SCSTR_WARN_ME_IN_FUTURE_CHECK (STR_START + 217) +// header of search result dialog + +#define STR_SHEET (STR_START + 218) +#define STR_CELL (STR_START + 219) +#define STR_CONTENT (STR_START + 220) + // navigator - in the same order as SC_CONTENT_... #define SCSTR_CONTENT_ROOT (STR_START + 250) #define SCSTR_CONTENT_TABLE (STR_START + 251) diff --git a/sc/source/ui/dialogs/searchresults.cxx b/sc/source/ui/dialogs/searchresults.cxx index 26471baba9fb..ba6e8ddaa372 100644 --- a/sc/source/ui/dialogs/searchresults.cxx +++ b/sc/source/ui/dialogs/searchresults.cxx @@ -18,6 +18,7 @@ #include "rangeutl.hxx" #include "tabvwsh.hxx" #include <sc.hrc> +#include "scresid.hxx" namespace sc { @@ -34,7 +35,7 @@ SearchResultsDlg::SearchResultsDlg( SfxBindings* _pBindings, Window* pParent, sa mpList = new SvSimpleTable(*pContainer); long nTabs[] = {3, 0, 40, 60}; mpList->SetTabs(&nTabs[0]); - mpList->InsertHeaderEntry("Sheet\tCell\tContent"); + mpList->InsertHeaderEntry(SC_RESSTR(STR_SHEET) + "\t" + SC_RESSTR(STR_CELL) + "\t" + SC_RESSTR(STR_CONTENT)); mpList->SetSelectHdl( LINK(this, SearchResultsDlg, ListSelectHdl) ); } diff --git a/sc/source/ui/src/scstring.src b/sc/source/ui/src/scstring.src index cc07d2c79a5a..ffa400bd8f7c 100644 --- a/sc/source/ui/src/scstring.src +++ b/sc/source/ui/src/scstring.src @@ -967,4 +967,19 @@ String STR_SUM Text [ en-US ] = "Total" ; }; +String STR_SHEET +{ + Text [ en-US ] = "Sheet" ; +}; + +String STR_CELL +{ + Text [ en-US ] = "Cell" ; +}; + +String STR_CONTENT +{ + Text [ en-US ] = "Content" ; +}; + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |