[Libreoffice-commits] .: sc/source

Kohei Yoshida kohei at kemper.freedesktop.org
Mon Nov 15 12:52:42 PST 2010


 sc/source/ui/inc/protectiondlg.hrc      |    4 ++--
 sc/source/ui/miscdlgs/protectiondlg.cxx |    4 ++--
 sc/source/ui/miscdlgs/protectiondlg.src |   10 +++++-----
 3 files changed, 9 insertions(+), 9 deletions(-)

New commits:
commit 7df1cfcc96a7c3445ab53e330c35e18c530c77b3
Author: Kohei Yoshida <kyoshida at novell.com>
Date:   Mon Nov 15 15:51:19 2010 -0500

    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.

diff --git a/sc/source/ui/inc/protectiondlg.hrc b/sc/source/ui/inc/protectiondlg.hrc
index 7bee772..fd3c3a7 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 87185fd..d6502ad 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 34ad406..e6dbdc1 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";
     };
 };


More information about the Libreoffice-commits mailing list