sc/inc/globstr.hrc                     |    4 ++--
 sc/qa/uitest/pageFormat/tdf123508.py   |    6 +++---
 sc/uiconfig/scalc/ui/sheetprintpage.ui |    4 ++--
 3 files changed, 7 insertions(+), 7 deletions(-)

New commits:
commit c4f5d456e5801843f00a43afd9c0fa43c412d265
Author:     Bogdan B <buzea.bog...@libreoffice.org>
AuthorDate: Tue Nov 1 21:50:57 2022 +0200
Commit:     Adolfo Jayme Barrientos <fit...@ubuntu.com>
CommitDate: Wed Nov 2 11:13:22 2022 +0100

    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 <fit...@ubuntu.com>
    Tested-by: Adolfo Jayme Barrientos <fit...@ubuntu.com>

diff --git a/sc/inc/globstr.hrc b/sc/inc/globstr.hrc
index edabc014d7bf..9aaf84c8af7a 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 041e375a7478..7e1f7e987b45 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 41ee7c089d2d..082457ba5747 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">

Reply via email to