summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-05-21 22:13:53 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-05-21 22:14:33 -0400
commit05d7608616351cb6f5a9e06398c545813947006c (patch)
tree784991b71b196647adbbe7bbc7c75605aac2a801
parentf79fa791ce3d5b18b1b159546d2f6fb594a364d4 (diff)
Label t-test and F-test for their respective dialogs.
Change-Id: I8afab424c051453005432c5291af49eb208dd22c
-rw-r--r--sc/source/ui/StatisticsDialogs/FTestDialog.cxx4
-rw-r--r--sc/source/ui/StatisticsDialogs/StatisticsDialogs.hrc6
-rw-r--r--sc/source/ui/StatisticsDialogs/StatisticsDialogs.src10
-rw-r--r--sc/source/ui/StatisticsDialogs/TTestDialog.cxx4
-rw-r--r--sc/uiconfig/scalc/ui/ttestdialog.ui1
5 files changed, 20 insertions, 5 deletions
diff --git a/sc/source/ui/StatisticsDialogs/FTestDialog.cxx b/sc/source/ui/StatisticsDialogs/FTestDialog.cxx
index 407037669f3d..6f07778805d2 100644
--- a/sc/source/ui/StatisticsDialogs/FTestDialog.cxx
+++ b/sc/source/ui/StatisticsDialogs/FTestDialog.cxx
@@ -42,7 +42,9 @@ ScFTestDialog::ScFTestDialog(
ScStatisticsTwoVariableDialog(
pSfxBindings, pChildWindow, pParent, pViewData,
"TTestDialog", "modules/scalc/ui/ttestdialog.ui" )
-{}
+{
+ SetText(SC_STRLOAD(RID_STATISTICS_DLGS, STR_FTEST));
+}
ScFTestDialog::~ScFTestDialog()
{}
diff --git a/sc/source/ui/StatisticsDialogs/StatisticsDialogs.hrc b/sc/source/ui/StatisticsDialogs/StatisticsDialogs.hrc
index f07332e9e641..3cbed4275dd2 100644
--- a/sc/source/ui/StatisticsDialogs/StatisticsDialogs.hrc
+++ b/sc/source/ui/StatisticsDialogs/StatisticsDialogs.hrc
@@ -53,8 +53,10 @@
#define STR_COVARIANCE_UNDO_NAME 63
#define STR_EXPONENTIAL_SMOOTHING_UNDO_NAME 64
#define STR_MOVING_AVERAGE_UNDO_NAME 65
-#define STR_TTEST_UNDO_NAME 66
-#define STR_FTEST_UNDO_NAME 67
+#define STR_TTEST 66
+#define STR_FTEST 67
+#define STR_TTEST_UNDO_NAME 68
+#define STR_FTEST_UNDO_NAME 69
#define STR_COLUMN_LABEL_TEMPLATE 70
#define STR_ROW_LABEL_TEMPLATE 71
diff --git a/sc/source/ui/StatisticsDialogs/StatisticsDialogs.src b/sc/source/ui/StatisticsDialogs/StatisticsDialogs.src
index 702f54f1b6db..b08401935762 100644
--- a/sc/source/ui/StatisticsDialogs/StatisticsDialogs.src
+++ b/sc/source/ui/StatisticsDialogs/StatisticsDialogs.src
@@ -268,6 +268,16 @@ Resource RID_STATISTICS_DLGS
Text [ en-US ] = "Sampling";
};
+ String STR_TTEST
+ {
+ Text [ en-US ] = "t-test";
+ };
+
+ String STR_FTEST
+ {
+ Text [ en-US ] = "F-test";
+ };
+
String STR_TTEST_UNDO_NAME
{
Text [ en-US ] = "t-test";
diff --git a/sc/source/ui/StatisticsDialogs/TTestDialog.cxx b/sc/source/ui/StatisticsDialogs/TTestDialog.cxx
index 228063d6a07b..9e335c9b8b14 100644
--- a/sc/source/ui/StatisticsDialogs/TTestDialog.cxx
+++ b/sc/source/ui/StatisticsDialogs/TTestDialog.cxx
@@ -42,7 +42,9 @@ ScTTestDialog::ScTTestDialog(
ScStatisticsTwoVariableDialog(
pSfxBindings, pChildWindow, pParent, pViewData,
"TTestDialog", "modules/scalc/ui/ttestdialog.ui" )
-{}
+{
+ SetText(SC_STRLOAD(RID_STATISTICS_DLGS, STR_TTEST));
+}
ScTTestDialog::~ScTTestDialog()
{}
diff --git a/sc/uiconfig/scalc/ui/ttestdialog.ui b/sc/uiconfig/scalc/ui/ttestdialog.ui
index 4fd3dec3c8e7..86ba27d87c55 100644
--- a/sc/uiconfig/scalc/ui/ttestdialog.ui
+++ b/sc/uiconfig/scalc/ui/ttestdialog.ui
@@ -6,7 +6,6 @@
<object class="GtkDialog" id="TTestDialog">
<property name="can_focus">False</property>
<property name="border_width">5</property>
- <property name="title" translatable="yes">Moving Average</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">