summaryrefslogtreecommitdiff
path: root/sc/source/ui/src
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-11-15 23:37:42 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-11-15 23:39:29 +0100
commit29206b09ca6bf2dfc5596b91fc80a0c1b62dcd6b (patch)
tree472e659bdf1b488e518f29ff749163ae0a72af23 /sc/source/ui/src
parentee1af6790434bd9364334ffe14cdba21979b6381 (diff)
ui part for conditional date formats
Change-Id: I96893aaa016e6947d354aac4d7bc88da693095da
Diffstat (limited to 'sc/source/ui/src')
-rw-r--r--sc/source/ui/src/condformatdlg.src25
-rw-r--r--sc/source/ui/src/globstr.src4
2 files changed, 29 insertions, 0 deletions
diff --git a/sc/source/ui/src/condformatdlg.src b/sc/source/ui/src/condformatdlg.src
index 8318cc1ebee3..ab988665a353 100644
--- a/sc/source/ui/src/condformatdlg.src
+++ b/sc/source/ui/src/condformatdlg.src
@@ -121,6 +121,7 @@ Control RID_COND_ENTRY
"All Cells";
"Cell value is";
"Formula is";
+ "Date is";
};
};
ListBox LB_CELLIS_TYPE
@@ -309,6 +310,30 @@ Control RID_COND_ENTRY
Size = MAP_APPFONT( 60, 14 );
Text [ en-US ] = "More options ...";
};
+ ListBox LB_DATE_TYPE
+ {
+ Pos = MAP_APPFONT( 100, 15 );
+ Size = MAP_APPFONT( 100, 60 );
+ Border = TRUE;
+ DropDown = TRUE;
+ DDExtraWidth = TRUE;
+ StringList [ en-US ] =
+ {
+ "Today";
+ "Yesterday";
+ "Tomorrow";
+ "Last 7 days";
+ "This week";
+ "Last week";
+ "Next week";
+ "This month";
+ "Last month";
+ "Next month";
+ "This year";
+ "Last year";
+ "Next year";
+ };
+ };
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/src/globstr.src b/sc/source/ui/src/globstr.src
index 226bb1ab920d..49e9176296ea 100644
--- a/sc/source/ui/src/globstr.src
+++ b/sc/source/ui/src/globstr.src
@@ -1911,6 +1911,10 @@ Resource RID_GLOBSTR
{
Text [ en-US ] = "Top Percent";
};
+ String STR_COND_DATE
+ {
+ Text [ en-US ] = "Date is";
+ };
String STR_COND_BOTTOM_PERCENT
{
Text [ en-US ] = "Bottom Percent";