From dc05a825e71316e6f602e5c8dfcd3d10ecb6252f Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Wed, 18 Jul 2012 15:24:46 +0200 Subject: Revert "hrc cleanup: Remove unused Strings in sc", fdo#52207 This commit is totally broken and removes a lot of still used strings. Please TEST commits before removing stuff!!!! This reverts commit c1ea4676ba67185a933fce387a66666e87095070. Change-Id: I065c17385ced86857c938e4102b9473d622ac59d --- sc/inc/sc.hrc | 66 +++++++++++ sc/source/ui/navipi/navipi.src | 25 ++++ sc/source/ui/src/scstring.src | 254 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 345 insertions(+) diff --git a/sc/inc/sc.hrc b/sc/inc/sc.hrc index 19e9396f9917..e92ec8cd162f 100644 --- a/sc/inc/sc.hrc +++ b/sc/inc/sc.hrc @@ -687,6 +687,14 @@ #define RID_MN_INSERT_FIELDS (SC_RESOURCE_START+63) #define STR_START (SC_RESOURCE_START+100) +#define STR_ROWHEIGHT (STR_START) +#define STR_ROWHEIGHT_TITLE (STR_START + 1) +#define STR_OPT_ROWHEIGHT (STR_START + 2) +#define STR_OPT_ROWHEIGHT_TITLE (STR_START + 3) +#define STR_COLWIDTH (STR_START + 4) +#define STR_COLWIDTH_TITLE (STR_START + 5) +#define STR_OPT_COLWIDTH (STR_START + 6) +#define STR_OPT_COLWIDTH_TITLE (STR_START + 7) #define SCSTR_UNDEFINED (STR_START + 8) #define SCSTR_NONAME (STR_START + 9) #define SCSTR_NONE (STR_START + 10) @@ -694,12 +702,18 @@ #define SCSTR_FILTER_NOTEMPTY (STR_START + 12) #define SCSTR_COLUMN (STR_START + 13) #define SCSTR_ROW (STR_START + 14) +#define SCSTR_NEW (STR_START + 15) #define SCSTR_ADD (STR_START + 16) +#define SCSTR_REMOVE (STR_START + 17) +#define SCSTR_CANCEL (STR_START + 18) #define SCSTR_MODIFY (STR_START + 19) +#define SCSTR_SHOWTABLE (STR_START + 20) +#define SCSTR_HIDDENTABLES (STR_START + 21) #define SCSTR_SELECTDB (STR_START + 22) #define SCSTR_AREAS (STR_START + 23) #define SCSTR_TABLE (STR_START + 24) #define SCSTR_NAME (STR_START + 25) +#define SCSTR_INSTABLE (STR_START + 26) #define SCSTR_APDTABLE (STR_START + 27) #define SCSTR_RENAMETAB (STR_START + 28) #define STR_INSERTGRAPHIC (STR_START + 29) @@ -713,17 +727,28 @@ #define SCSTR_PROTECTDOC (STR_START + 39) #define SCSTR_UNPROTECTDOC (STR_START + 40) +#define SCSTR_PROTECTTAB (STR_START + 41) #define SCSTR_UNPROTECTTAB (STR_START + 42) #define SCSTR_PASSWORD (STR_START + 43) #define SCSTR_PASSWORDOPT (STR_START + 44) #define SCSTR_WRONGPASSWORD (STR_START + 45) #define SCSTR_PIVOTSHELL (STR_START + 46) +#define SCSTR_END (STR_START + 47) +#define SCSTR_STAT_PRINT (STR_START + 48) #define SCSTR_UNKNOWN (STR_START + 49) +#define SCSTR_CHAR_ATTRS (STR_START + 50) #define SCSTR_ALL (STR_START + 51) #define SCSTR_STDFILTER (STR_START + 52) +// Cfg-Item-names +#define SCSTR_CFG_APP (STR_START + 53) +#define SCSTR_CFG_DOC (STR_START + 54) +#define SCSTR_CFG_VIEW (STR_START + 55) +#define SCSTR_CFG_SPELLCHECK (STR_START + 56) +#define SCSTR_CFG_PRINT (STR_START + 57) + #define SCSTR_AUDITSHELL (STR_START + 58) #define SCSTR_CHARSET_USER (STR_START + 59) @@ -731,8 +756,12 @@ #define SCSTR_FIELDSEP (STR_START + 61) #define SCSTR_TEXTSEP (STR_START + 62) +#define SCSTR_CFG_INPUT (STR_START + 65) + #define SCSTR_TOP10FILTER (STR_START + 66) +#define SCSTR_CFG_NAVIPI (STR_START + 67) + #define SCSTR_DRAWFORMSHELL (STR_START + 70) #define SCSTR_CELLSHELL (STR_START + 71) #define SCSTR_FORMATSHELL (STR_START + 72) @@ -741,6 +770,12 @@ #define SCSTR_GRAPHICSHELL (STR_START + 75) #define SCSTR_PAGEBREAKSHELL (STR_START + 76) +#define SCSTR_GRFILTER_OPENERROR (STR_START + 77) +#define SCSTR_GRFILTER_IOERROR (STR_START + 78) +#define SCSTR_GRFILTER_FORMATERROR (STR_START + 79) +#define SCSTR_GRFILTER_VERSIONERROR (STR_START + 80) +#define SCSTR_GRFILTER_FILTERERROR (STR_START + 81) +#define SCSTR_GRFILTER_TOOBIG (STR_START + 82) #define SCSTR_UNDO_GRAFFILTER (STR_START + 83) #define SCSTR_CHG_PROTECT (STR_START + 86) @@ -756,9 +791,26 @@ #define STR_REPLCELLSWARN (STR_START + 91) #define SCSTR_DPFUNCLISTBOX (STR_START + 92) +#define SCSTR_ALLFILTER (STR_START + 94) #define SCSTR_MOREBTN_MOREOPTIONS (STR_START + 95) #define SCSTR_MOREBTN_FEWEROPTIONS (STR_START + 96) +// items + +#define SCSTR_HOR_JUSTIFY_LEFT (STR_START + 100) +#define SCSTR_HOR_JUSTIFY_CENTER (STR_START + 101) +#define SCSTR_HOR_JUSTIFY_RIGHT (STR_START + 102) +#define SCSTR_HOR_JUSTIFY_BLOCK (STR_START + 103) +#define SCSTR_HOR_JUSTIFY_REPEAT (STR_START + 104) +#define SCSTR_HOR_JUSTIFY_STANDARD (STR_START + 105) +#define SCSTR_VER_JUSTIFY_TOP (STR_START + 106) +#define SCSTR_VER_JUSTIFY_CENTER (STR_START + 107) +#define SCSTR_VER_JUSTIFY_BOTTOM (STR_START + 108) +#define SCSTR_VER_JUSTIFY_STANDARD (STR_START + 109) +#define SCSTR_ORIENTATION_TOPBOTTOM (STR_START + 110) +#define SCSTR_ORIENTATION_BOTTOMTOP (STR_START + 111) +#define SCSTR_ORIENTATION_STANDARD (STR_START + 112) + // accessibility // CSV import @@ -795,6 +847,10 @@ #define STR_ACC_EDITLINE_NAME (STR_START + 174) #define STR_ACC_EDITLINE_DESCR (STR_START + 175) +// EditCell +#define STR_ACC_EDITCELL_NAME (STR_START + 176) +#define STR_ACC_EDITCELL_DESCR (STR_START + 177) + // DataPilot #define STR_ACC_DATAPILOT_ROW_DESCR (STR_START + 178) #define STR_ACC_DATAPILOT_COL_DESCR (STR_START + 179) @@ -803,10 +859,15 @@ #define STR_ACC_DATAPILOT_PAGE_DESCR (STR_START + 182) #define STR_ACC_TOOLBAR_FORMULA (STR_START + 184) +#define STR_ACC_DOC_SPREADSHEET (STR_START + 185) +#define STR_ACC_DOC_PREVIEW_SUFFIX (STR_START + 186) +#define STR_ACC_DOC_SPREADSHEET_READONLY (STR_START + 187) #define SCSTR_SHORT_SCDOC_NAME (STR_START + 211) #define SCSTR_LONG_SCDOC_NAME (STR_START + 212) +#define SCSTR_CLPBRD_CLEAR (STR_START + 213) + #define SCSTR_FORMULA_AUTOCORRECTION (STR_START + 214) #define SCSTR_RENAMEOBJECT (STR_START + 215) @@ -818,6 +879,11 @@ #define SCSTR_CONTENT_TABLE (STR_START + 251) #define SCSTR_CONTENT_RANGENAME (STR_START + 252) #define SCSTR_CONTENT_DBAREA (STR_START + 253) +#define SCSTR_CONTENT_GRAPHIC (STR_START + 254) +#define SCSTR_CONTENT_OLEOBJECT (STR_START + 255) +#define SCSTR_CONTENT_NOTE (STR_START + 256) +#define SCSTR_CONTENT_AREALINK (STR_START + 257) +#define SCSTR_CONTENT_DRAWING (STR_START + 258) // some space for extensions // input, quickhelp strings (HelpText now using HelpId from help) diff --git a/sc/source/ui/navipi/navipi.src b/sc/source/ui/navipi/navipi.src index a53ca821c179..ea3c911c69d1 100644 --- a/sc/source/ui/navipi/navipi.src +++ b/sc/source/ui/navipi/navipi.src @@ -272,6 +272,31 @@ String SCSTR_CONTENT_DBAREA Text [ en-US ] = "Database ranges" ; }; +String SCSTR_CONTENT_GRAPHIC +{ + Text [ en-US ] = "Graphics" ; +}; + +String SCSTR_CONTENT_OLEOBJECT +{ + Text [ en-US ] = "OLE objects" ; +}; + +String SCSTR_CONTENT_NOTE +{ + Text [ en-US ] = "Comments" ; +}; + +String SCSTR_CONTENT_AREALINK +{ + Text [ en-US ] = "Linked areas" ; +}; + +String SCSTR_CONTENT_DRAWING +{ + Text [ en-US ] = "Drawing objects"; +}; + // PopupMenu ------------------------------------------------------------- Menu RID_POPUP_DROPMODE { diff --git a/sc/source/ui/src/scstring.src b/sc/source/ui/src/scstring.src index 6e9117cb7a72..50335dc123d4 100644 --- a/sc/source/ui/src/scstring.src +++ b/sc/source/ui/src/scstring.src @@ -116,6 +116,46 @@ String SCSTR_AUDITSHELL // ----------------------------------------------------------------------- +String STR_ROWHEIGHT +{ + Text [ en-US ] = "Height" ; +}; + +String STR_OPT_ROWHEIGHT +{ + Text [ en-US ] = "Add" ; +}; + +String STR_ROWHEIGHT_TITLE +{ + Text [ en-US ] = "Row Height" ; +}; + +String STR_OPT_ROWHEIGHT_TITLE +{ + Text [ en-US ] = "Optimal Row Height" ; +}; + +String STR_COLWIDTH +{ + Text [ en-US ] = "Width" ; +}; + +String STR_OPT_COLWIDTH +{ + Text [ en-US ] = "Add" ; +}; + +String STR_COLWIDTH_TITLE +{ + Text [ en-US ] = "Column Width" ; +}; + +String STR_OPT_COLWIDTH_TITLE +{ + Text [ en-US ] = "Optimal Column Width" ; +}; + String SCSTR_UNDEFINED { Text [ en-US ] = "- undefined -" ; @@ -171,16 +211,41 @@ String SCSTR_ROW Text [ en-US ] = "Row" ; }; +String SCSTR_NEW +{ + Text [ en-US ] = "~New" ; +}; + String SCSTR_ADD { Text [ en-US ] = "~Add" ; }; +String SCSTR_REMOVE +{ + Text [ en-US ] = "~Delete" ; +}; + +String SCSTR_CANCEL +{ + Text [ en-US ] = "Cance~l" ; +}; + String SCSTR_MODIFY { Text [ en-US ] = "Modif~y" ; }; +String SCSTR_SHOWTABLE +{ + Text [ en-US ] = "Show Sheet" ; +}; + +String SCSTR_HIDDENTABLES +{ + Text [ en-US ] = "Hidden Sheets" ; +}; + String SCSTR_SELECTDB { Text [ en-US ] = "Select Database Range" ; @@ -201,6 +266,11 @@ String SCSTR_NAME Text [ en-US ] = "Name" ; }; +String SCSTR_INSTABLE +{ + Text [ en-US ] = "Insert Sheet" ; +}; + String SCSTR_APDTABLE { Text [ en-US ] = "Append Sheet" ; @@ -233,6 +303,71 @@ String STR_INSERTGRAPHIC // Attribute +String SCSTR_HOR_JUSTIFY_LEFT +{ + Text [ en-US ] = "Align left" ; +}; + +String SCSTR_HOR_JUSTIFY_CENTER +{ + Text [ en-US ] = "Centered horizontally" ; +}; + +String SCSTR_HOR_JUSTIFY_RIGHT +{ + Text [ en-US ] = "Align right" ; +}; + +String SCSTR_HOR_JUSTIFY_BLOCK +{ + Text [ en-US ] = "Justify" ; +}; + +String SCSTR_HOR_JUSTIFY_REPEAT +{ + Text [ en-US ] = "Repeat alignment" ; +}; + +String SCSTR_HOR_JUSTIFY_STANDARD +{ + Text [ en-US ] = "Horizontal alignment default" ; +}; + +String SCSTR_VER_JUSTIFY_TOP +{ + Text [ en-US ] = "Align to top" ; +}; + +String SCSTR_VER_JUSTIFY_CENTER +{ + Text [ en-US ] = "Centered vertically" ; +}; + +String SCSTR_VER_JUSTIFY_BOTTOM +{ + Text [ en-US ] = "Align to bottom" ; +}; + +String SCSTR_VER_JUSTIFY_STANDARD +{ + Text [ en-US ] = "Vertical alignment default" ; +}; + +String SCSTR_ORIENTATION_TOPBOTTOM +{ + Text [ en-US ] = "Top to bottom" ; +}; + +String SCSTR_ORIENTATION_BOTTOMTOP +{ + Text [ en-US ] = "Bottom to Top" ; +}; + +String SCSTR_ORIENTATION_STANDARD +{ + Text [ en-US ] = "Default orientation" ; +}; + String SCSTR_PROTECTDOC { Text [ en-US ] = "Protect Document" ; @@ -243,6 +378,11 @@ String SCSTR_UNPROTECTDOC Text [ en-US ] = "Unprotect document" ; }; +String SCSTR_PROTECTTAB +{ + Text [ en-US ] = "Protect Sheet" ; +}; + String SCSTR_UNPROTECTTAB { Text [ en-US ] = "Unprotect sheet" ; @@ -273,11 +413,67 @@ String SCSTR_WRONGPASSWORD Text [ en-US ] = "Incorrect Password" ; }; +String SCSTR_END +{ + Text [ en-US ] = "~End" ; +}; + +String SCSTR_STAT_PRINT +{ + Text [ en-US ] = "Printing..." ; +}; + String SCSTR_UNKNOWN { Text [ en-US ] = "Unknown" ; }; +String SCSTR_CHAR_ATTRS +{ + Text [ en-US ] = "Font Attributes" ; +}; + + +String SCSTR_CLPBRD_CLEAR +{ + Text [ en-US ] = "You have a large amount of data saved in the clipboard.\nDo you want the clipboard contents to be available in other applications?" ; +}; + +String SCSTR_CFG_APP +{ + Text [ en-US ] = "System Options" ; +}; + +String SCSTR_CFG_DOC +{ + Text [ en-US ] = "Document Options" ; +}; + +String SCSTR_CFG_VIEW +{ + Text [ en-US ] = "View Options" ; +}; + +String SCSTR_CFG_INPUT +{ + Text [ en-US ] = "Input Options" ; +}; + +String SCSTR_CFG_SPELLCHECK +{ + Text [ en-US ] = "Spelling Options" ; +}; + +String SCSTR_CFG_PRINT +{ + Text [ en-US ] = "Print Options" ; +}; + +String SCSTR_CFG_NAVIPI +{ + Text [ en-US ] = "Navigator Settings" ; +}; + String SCSTR_VALID_MINIMUM { Text [ en-US ] = "~Minimum" ; @@ -332,6 +528,36 @@ String SCSTR_FORMULA_AUTOCORRECTION //! the graphics filter error strings should be moved to svx or offapp! +String SCSTR_GRFILTER_OPENERROR +{ + Text [ en-US ] = "Graphics file can not be opened" ; +}; + +String SCSTR_GRFILTER_IOERROR +{ + Text [ en-US ] = "Graphics file can not be read" ; +}; + +String SCSTR_GRFILTER_FORMATERROR +{ + Text [ en-US ] = "Unknown graphic format" ; +}; + +String SCSTR_GRFILTER_VERSIONERROR +{ + Text [ en-US ] = "This graphic file version is not supported" ; +}; + +String SCSTR_GRFILTER_FILTERERROR +{ + Text [ en-US ] = "Graphics filter not found" ; +}; + +String SCSTR_GRFILTER_TOOBIG +{ + Text [ en-US ] = "Not enough memory available to insert graphics." ; +}; + String SCSTR_UNDO_GRAFFILTER { Text [ en-US ] = "Graphics Filter" ; @@ -360,6 +586,11 @@ String STR_REPLCELLSWARN Text [ en-US ] = "You are pasting data into cells that already contain data.\nDo you really want to overwrite the existing data?"; }; +String SCSTR_ALLFILTER +{ + Text [ en-US ] = "~All"; +}; + String STR_ACC_CSVRULER_NAME { Text [ en-US ] = "Ruler"; @@ -490,6 +721,16 @@ String STR_ACC_EDITLINE_DESCR Text [ en-US ] = "This is where you enter or edit text, numbers and formulas."; }; +String STR_ACC_EDITCELL_NAME +{ + Text [ en-US ] = "Cell %1"; +}; + +String STR_ACC_EDITCELL_DESCR +{ + Text = ""; +}; + String STR_ACC_DATAPILOT_ROW_DESCR { Text [ en-US ] = "Fields that you drop here will be displayed as rows in the final pivot table."; @@ -529,6 +770,19 @@ String STR_ACC_TOOLBAR_FORMULA { Text [ en-US ] = "Formula Tool Bar"; }; +String STR_ACC_DOC_SPREADSHEET +{ + Text [ en-US ] = "%PRODUCTNAME Spreadsheets"; +}; +String STR_ACC_DOC_SPREADSHEET_READONLY +{ + Text [ en-US ] = "(read-only)"; +}; +String STR_ACC_DOC_PREVIEW_SUFFIX +{ + Text [ en-US ] = "(Preview mode)"; +}; + String SCSTR_MOREBTN_MOREOPTIONS { Text [ en-US ] = "More ~Options"; -- cgit