Resolves tdf#161395 - Rename Whole Number to Integer
Change-Id: Id4cce115823781e5f2a4870d38d1f456cdf417a5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168395 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
This commit is contained in:
parent
31490e9bd9
commit
199ffecd95
5 changed files with 8 additions and 8 deletions
|
@ -4248,7 +4248,7 @@ const TranslateId SC_OPCODE_RANDARRAY_ARY[] =
|
|||
NC_("SC_OPCODE_RANDARRAY", "Max"),
|
||||
NC_("SC_OPCODE_RANDARRAY", "The upper limit of the generated numbers."),
|
||||
NC_("SC_OPCODE_RANDARRAY", "Integers"),
|
||||
NC_("SC_OPCODE_RANDARRAY", "Return whole numbers (TRUE) or decimal values (FALSE).")
|
||||
NC_("SC_OPCODE_RANDARRAY", "Return integer (TRUE) or decimal (FALSE) values.")
|
||||
};
|
||||
|
||||
// -=*# Resource for function UNIQUE #*=-
|
||||
|
|
|
@ -25,7 +25,7 @@ class DetectiveCircle(UITestCase):
|
|||
|
||||
#Select the cells to be validated
|
||||
gridwin.executeAction("SELECT", mkPropertyValues({"CELL": "A3"}))
|
||||
#Apply Data > Validity ... > Whole Numbers
|
||||
#Apply Data > Validity ... > Integer
|
||||
with self.ui_test.execute_dialog_through_command(".uno:Validation") as xDialog:
|
||||
xTabs = xDialog.getChild("tabcontrol")
|
||||
select_pos(xTabs, "0")
|
||||
|
@ -34,7 +34,7 @@ class DetectiveCircle(UITestCase):
|
|||
xdata = xDialog.getChild("data")
|
||||
xmin = xDialog.getChild("min")
|
||||
|
||||
select_by_text(xallow, "Whole Numbers")
|
||||
select_by_text(xallow, "Integer")
|
||||
xallowempty.executeAction("CLICK", tuple())
|
||||
select_by_text(xdata, "equal")
|
||||
xmin.executeAction("TYPE", mkPropertyValues({"TEXT":"5"}))
|
||||
|
|
|
@ -26,7 +26,7 @@ class EvaluateFormulaInputs(UITestCase):
|
|||
|
||||
#Select the cells to be validated
|
||||
gridwin.executeAction("SELECT", mkPropertyValues({"CELL": "A4"}))
|
||||
#Apply Data > Validity ... > Whole Numbers
|
||||
#Apply Data > Validity ... > Integer
|
||||
with self.ui_test.execute_dialog_through_command(".uno:Validation") as xDialog:
|
||||
xTabs = xDialog.getChild("tabcontrol")
|
||||
select_pos(xTabs, "0")
|
||||
|
@ -35,7 +35,7 @@ class EvaluateFormulaInputs(UITestCase):
|
|||
xdata = xDialog.getChild("data")
|
||||
xmin = xDialog.getChild("min")
|
||||
|
||||
select_by_text(xallow, "Whole Numbers")
|
||||
select_by_text(xallow, "Integer")
|
||||
xallowempty.executeAction("CLICK", tuple())
|
||||
select_by_text(xdata, "equal")
|
||||
xmin.executeAction("TYPE", mkPropertyValues({"TEXT":"A3"}))
|
||||
|
|
|
@ -29,7 +29,7 @@ class validity(UITestCase):
|
|||
xmin = xDialog.getChild("min")
|
||||
xmax = xDialog.getChild("max")
|
||||
|
||||
select_by_text(xallow, "Whole Numbers")
|
||||
select_by_text(xallow, "Integer")
|
||||
xallowempty.executeAction("CLICK", tuple())
|
||||
select_by_text(xdata, "valid range")
|
||||
xmin.executeAction("TYPE", mkPropertyValues({"TEXT":"1"}))
|
||||
|
@ -42,7 +42,7 @@ class validity(UITestCase):
|
|||
xmin = xDialog.getChild("min")
|
||||
xmax = xDialog.getChild("max")
|
||||
|
||||
self.assertEqual(get_state_as_dict(xallow)["SelectEntryText"], "Whole Numbers")
|
||||
self.assertEqual(get_state_as_dict(xallow)["SelectEntryText"], "Integer")
|
||||
self.assertEqual(get_state_as_dict(xallowempty)["Selected"], "false")
|
||||
self.assertEqual(get_state_as_dict(xdata)["SelectEntryText"], "valid range")
|
||||
self.assertEqual(get_state_as_dict(xmin)["Text"], "1")
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
<property name="can-focus">False</property>
|
||||
<items>
|
||||
<item id="0" translatable="yes" context="validationcriteriapage|liststore1">All values</item>
|
||||
<item id="1" translatable="yes" context="validationcriteriapage|liststore1">Whole Numbers</item>
|
||||
<item id="1" translatable="yes" context="validationcriteriapage|liststore1">Integer</item>
|
||||
<item id="2" translatable="yes" context="validationcriteriapage|liststore1">Decimal</item>
|
||||
<item id="3" translatable="yes" context="validationcriteriapage|liststore1">Date</item>
|
||||
<item id="4" translatable="yes" context="validationcriteriapage|liststore1">Time</item>
|
||||
|
|
Loading…
Reference in a new issue