tdf#134882 Change label in the dialog: 'fit' is replaced with 'shrink'

...because shrink is the only effect of this option to the text.

Change-Id: I63783c05ac92803a6de6581d858590904a9e8275
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142138
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
diff --git a/sc/inc/globstr.hrc b/sc/inc/globstr.hrc
index edabc01..9aaf84c 100644
--- a/sc/inc/globstr.hrc
+++ b/sc/inc/globstr.hrc
@@ -330,8 +330,8 @@
#define STR_SCATTR_PAGE_PRINTDIR                NC_("STR_SCATTR_PAGE_PRINTDIR", "Print direction")
#define STR_SCATTR_PAGE_FIRSTPAGENO             NC_("STR_SCATTR_PAGE_FIRSTPAGENO", "First page number")
#define STR_SCATTR_PAGE_SCALE                   NC_("STR_SCATTR_PAGE_SCALE", "Reduce/enlarge printout")
#define STR_SCATTR_PAGE_SCALETOPAGES            NC_("STR_SCATTR_PAGE_SCALETOPAGES", "Fit print range(s) on number of pages")
#define STR_SCATTR_PAGE_SCALETO                 NC_("STR_SCATTR_PAGE_SCALETO", "Fit print range(s) to width/height")
#define STR_SCATTR_PAGE_SCALETOPAGES            NC_("STR_SCATTR_PAGE_SCALETOPAGES", "Shrink print range(s) on number of pages")
#define STR_SCATTR_PAGE_SCALETO                 NC_("STR_SCATTR_PAGE_SCALETO", "Shrink print range(s) to width/height")
#define STR_SCATTR_PAGE_SCALE_WIDTH             NC_("STR_SCATTR_PAGE_SCALE_WIDTH", "Width")
#define STR_SCATTR_PAGE_SCALE_HEIGHT            NC_("STR_SCATTR_PAGE_SCALE_HEIGHT", "Height")
#define STR_SCATTR_PAGE_SCALE_PAGES             NNC_("STR_SCATTR_PAGE_SCALE_PAGES", "One page", "%1 pages")
diff --git a/sc/qa/uitest/pageFormat/tdf123508.py b/sc/qa/uitest/pageFormat/tdf123508.py
index 041e375..7e1f7e9 100644
--- a/sc/qa/uitest/pageFormat/tdf123508.py
+++ b/sc/qa/uitest/pageFormat/tdf123508.py
@@ -23,8 +23,8 @@ class tdf123508(UITestCase):
            scalingMode = xDialog.getChild("comboLB_SCALEMODE")
            spinEDSCALEPAGEWIDTH = xDialog.getChild("spinED_SCALEPAGEWIDTH")
            spinEDSCALEPAGEHEIGHT = xDialog.getChild("spinED_SCALEPAGEHEIGHT")
            #select "Fit print range(s) to width/height"  from the scale mode drop-down list
            select_by_text(scalingMode, "Fit print range(s) to width/height")
            #select "Shrink print range(s) to width/height"  from the scale mode drop-down list
            select_by_text(scalingMode, "Shrink print range(s) to width/height")
            #define a value for the page, e.g.: width   2; height  2
            spinEDSCALEPAGEWIDTH.executeAction("UP", tuple())
            spinEDSCALEPAGEHEIGHT.executeAction("UP", tuple())
@@ -38,7 +38,7 @@ class tdf123508(UITestCase):
            spinEDSCALEPAGEWIDTH = xDialog.getChild("spinED_SCALEPAGEWIDTH")
            spinEDSCALEPAGEHEIGHT = xDialog.getChild("spinED_SCALEPAGEHEIGHT")

            self.assertEqual(get_state_as_dict(scalingMode)["SelectEntryText"], "Fit print range(s) to width/height")
            self.assertEqual(get_state_as_dict(scalingMode)["SelectEntryText"], "Shrink print range(s) to width/height")
            self.assertEqual(get_state_as_dict(spinEDSCALEPAGEWIDTH)["Text"], "2")
            self.assertEqual(get_state_as_dict(spinEDSCALEPAGEHEIGHT)["Text"], "2")

diff --git a/sc/uiconfig/scalc/ui/sheetprintpage.ui b/sc/uiconfig/scalc/ui/sheetprintpage.ui
index 41ee7c0..082457b 100644
--- a/sc/uiconfig/scalc/ui/sheetprintpage.ui
+++ b/sc/uiconfig/scalc/ui/sheetprintpage.ui
@@ -642,8 +642,8 @@
                <property name="can-focus">False</property>
                <items>
                  <item translatable="yes" context="sheetprintpage|comboLB_SCALEMODE">Reduce/enlarge printout</item>
                  <item translatable="yes" context="sheetprintpage|comboLB_SCALEMODE">Fit print range(s) to width/height</item>
                  <item translatable="yes" context="sheetprintpage|comboLB_SCALEMODE">Fit print range(s) on number of pages</item>
                  <item translatable="yes" context="sheetprintpage|comboLB_SCALEMODE">Shrink print range(s) to width/height</item>
                  <item translatable="yes" context="sheetprintpage|comboLB_SCALEMODE">Shrink print range(s) on number of pages</item>
                </items>
                <child internal-child="accessible">
                  <object class="AtkObject" id="comboLB_SCALEMODE-atkobject">