diff options
author | Andras Timar <andras.timar@collabora.com> | 2014-09-09 09:47:25 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2014-09-09 10:37:39 +0200 |
commit | 5390946c8651bfae8b88e2e9f2a286bcd5fbdf3b (patch) | |
tree | 4da344bd8739f8452cbfe177c02c0e6c88d00af2 /sc/source/ui | |
parent | c45be916f63477e7cd8b0fe54fd6935acf1526e4 (diff) |
fdo#80098 make header of Search Result dialog localizable
Change-Id: I16ec29e4f35f00e39d88dd334284db7bf051a846
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/dialogs/searchresults.cxx | 3 | ||||
-rw-r--r-- | sc/source/ui/src/scstring.src | 15 |
2 files changed, 17 insertions, 1 deletions
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: */ |