Kaydet (Commit) 5390946c authored tarafından Andras Timar's avatar Andras Timar

fdo#80098 make header of Search Result dialog localizable

Change-Id: I16ec29e4f35f00e39d88dd334284db7bf051a846
üst c45be916
......@@ -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)
......
......@@ -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) );
}
......
......@@ -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: */
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