sc/inc/sc.hrc | 6 ++++++ sc/source/ui/dialogs/searchresults.cxx | 3 ++- sc/source/ui/src/scstring.src | 15 +++++++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-)
New commits: commit 5390946c8651bfae8b88e2e9f2a286bcd5fbdf3b Author: Andras Timar <andras.ti...@collabora.com> Date: Tue Sep 9 09:47:25 2014 +0200 fdo#80098 make header of Search Result dialog localizable Change-Id: I16ec29e4f35f00e39d88dd334284db7bf051a846 diff --git a/sc/inc/sc.hrc b/sc/inc/sc.hrc index db71dbe..420d149 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 26471ba..ba6e8dd 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 cc07d2c..ffa400b 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: */ _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits