diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2019-07-08 11:32:33 +0200 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2019-07-08 15:29:31 +0200 |
commit | bf726e66fecffc05d61b9c6d97dfa82fee9ab2c8 (patch) | |
tree | 6620a8f4f1093af0eba6c08f38bf793aa3890a9c /sc | |
parent | 1165f4008ecadf03685776884f5222ad71814cf4 (diff) |
tdf#126192 (Related) Translate automatic chart axis labels in xls
Automatic axis labels in xls format are created on a different code
path than the ones in OOXML, translate these too
Change-Id: Id1e8a10accf765d40d71c4fcdfec2c1acee832a2
Reviewed-on: https://gerrit.libreoffice.org/75202
Tested-by: Jenkins
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/globstr.hrc | 1 | ||||
-rw-r--r-- | sc/source/filter/excel/xichart.cxx | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/globstr.hrc b/sc/inc/globstr.hrc index e0bc77c3a260..38d182613fdb 100644 --- a/sc/inc/globstr.hrc +++ b/sc/inc/globstr.hrc @@ -353,6 +353,7 @@ #define STR_FUNCTIONLIST_MORE NC_("STR_FUNCTIONLIST_MORE", "More...") #define STR_ERR_INVALID_AREA NC_("STR_ERR_INVALID_AREA", "Invalid range") #define STR_CHARTTITLE NC_("STR_CHARTTITLE", "Chart Title") +#define STR_AXISTITLE NC_("STR_AXISTITLE", "Axis Title") // Templates for data pilot tables. #define STR_PIVOT_STYLENAME_INNER NC_("STR_PIVOT_STYLE_INNER", "Pivot Table Value") #define STR_PIVOT_STYLENAME_RESULT NC_("STR_PIVOT_STYLE_RESULT", "Pivot Table Result") diff --git a/sc/source/filter/excel/xichart.cxx b/sc/source/filter/excel/xichart.cxx index 6c003d53d0d4..cbdedcaa09bc 100644 --- a/sc/source/filter/excel/xichart.cxx +++ b/sc/source/filter/excel/xichart.cxx @@ -3586,7 +3586,7 @@ void XclImpChAxesSet::Finalize() // finalize axis titles const XclImpChText* pDefText = GetChartData().GetDefaultText( EXC_CHTEXTTYPE_AXISTITLE ); - OUString aAutoTitle("Axis Title"); + OUString aAutoTitle(ScResId(STR_AXISTITLE)); lclFinalizeTitle( mxXAxisTitle, pDefText, aAutoTitle ); lclFinalizeTitle( mxYAxisTitle, pDefText, aAutoTitle ); lclFinalizeTitle( mxZAxisTitle, pDefText, aAutoTitle ); |