summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2010-11-15 15:51:19 -0500
committerKohei Yoshida <kyoshida@novell.com>2010-11-15 15:51:19 -0500
commit80f8f41235d61bee38075e3932297f05404578f5 (patch)
treecd81473da56942e0c215eb986ddc3c445e62e85a
parent310da2ca87d5fa604b7bd836437a325035007c88 (diff)
Fixed English strings: locked cells -> protected cells.
In the cell properties dialog, we use the wording 'protected'. Let's be consistent in the sheet protection dialog too.
-rw-r--r--sc/source/ui/inc/protectiondlg.hrc4
-rw-r--r--sc/source/ui/miscdlgs/protectiondlg.cxx4
-rw-r--r--sc/source/ui/miscdlgs/protectiondlg.src10
3 files changed, 9 insertions, 9 deletions
diff --git a/sc/source/ui/inc/protectiondlg.hrc b/sc/source/ui/inc/protectiondlg.hrc
index 52e57040922c..2f7cc5ee21a8 100644
--- a/sc/source/ui/inc/protectiondlg.hrc
+++ b/sc/source/ui/inc/protectiondlg.hrc
@@ -40,5 +40,5 @@
#define FT_OPTIONS 10
#define CLB_OPTIONS 11
-#define ST_SELECT_LOCKED_CELLS 50
-#define ST_SELECT_UNLOCKED_CELLS 51
+#define ST_SELECT_PROTECTED_CELLS 50
+#define ST_SELECT_UNPROTECTED_CELLS 51
diff --git a/sc/source/ui/miscdlgs/protectiondlg.cxx b/sc/source/ui/miscdlgs/protectiondlg.cxx
index d66bd541a174..4a8fbc15b4e7 100644
--- a/sc/source/ui/miscdlgs/protectiondlg.cxx
+++ b/sc/source/ui/miscdlgs/protectiondlg.cxx
@@ -62,8 +62,8 @@ ScTableProtectionDlg::ScTableProtectionDlg(Window* pParent) :
maBtnCancel (this, ScResId(BTN_CANCEL)),
maBtnHelp (this, ScResId(BTN_HELP)),
- maSelectLockedCells(ScResId(ST_SELECT_LOCKED_CELLS)),
- maSelectUnlockedCells(ScResId(ST_SELECT_UNLOCKED_CELLS))
+ maSelectLockedCells(ScResId(ST_SELECT_PROTECTED_CELLS)),
+ maSelectUnlockedCells(ScResId(ST_SELECT_UNPROTECTED_CELLS))
{
Init();
FreeResource();
diff --git a/sc/source/ui/miscdlgs/protectiondlg.src b/sc/source/ui/miscdlgs/protectiondlg.src
index 6b62efb4c784..d009f824580b 100644
--- a/sc/source/ui/miscdlgs/protectiondlg.src
+++ b/sc/source/ui/miscdlgs/protectiondlg.src
@@ -56,7 +56,7 @@ ModalDialog RID_SCDLG_TABPROTECTION
Pos = MAP_APPFONT ( 6 , 6 ) ;
Size = MAP_APPFONT ( 150 , 10 );
- Text [ en-US ] = "P~rotect this sheet and the contents of locked cells" ;
+ Text [ en-US ] = "P~rotect this sheet and the contents of protected cells" ;
};
FixedText FT_PASSWORD1
@@ -115,13 +115,13 @@ ModalDialog RID_SCDLG_TABPROTECTION
TabStop = TRUE ;
};
- String ST_SELECT_LOCKED_CELLS
+ String ST_SELECT_PROTECTED_CELLS
{
- Text [ en-US ] = "Select locked cells";
+ Text [ en-US ] = "Select protected cells";
};
- String ST_SELECT_UNLOCKED_CELLS
+ String ST_SELECT_UNPROTECTED_CELLS
{
- Text [ en-US ] = "Select unlocked cells";
+ Text [ en-US ] = "Select unprotected cells";
};
};