[Libreoffice-commits] core.git: sc/inc sc/source

Gabor Kelemen (via logerrit) logerrit at kemper.freedesktop.org
Mon Jul 8 13:30:22 UTC 2019


 sc/inc/globstr.hrc                 |    1 +
 sc/source/filter/excel/xichart.cxx |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

New commits:
commit bf726e66fecffc05d61b9c6d97dfa82fee9ab2c8
Author:     Gabor Kelemen <kelemen.gabor2 at nisz.hu>
AuthorDate: Mon Jul 8 11:32:33 2019 +0200
Commit:     Katarina Behrens <Katarina.Behrens at cib.de>
CommitDate: Mon Jul 8 15:29:31 2019 +0200

    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 at cib.de>

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 );


More information about the Libreoffice-commits mailing list