This is an automated email from the ASF dual-hosted git repository.

mseidel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 466ce6ef4f Cleanup resource file
466ce6ef4f is described below

commit 466ce6ef4f63b5a6086e7e5364a6bd687fb6bf31
Author: mseidel <[email protected]>
AuthorDate: Fri Sep 26 13:51:51 2025 +0200

    Cleanup resource file
---
 .../source/deployment/gui/dp_gui_dialog2.src       | 281 ++++++++++-----------
 1 file changed, 139 insertions(+), 142 deletions(-)

diff --git a/main/desktop/source/deployment/gui/dp_gui_dialog2.src 
b/main/desktop/source/deployment/gui/dp_gui_dialog2.src
index d2fb73b544..485f4553c7 100644
--- a/main/desktop/source/deployment/gui/dp_gui_dialog2.src
+++ b/main/desktop/source/deployment/gui/dp_gui_dialog2.src
@@ -1,5 +1,5 @@
 /**************************************************************
- * 
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -7,197 +7,194 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * 
+ *
  *************************************************************/
 
-
-
 #include "svtools/controldims.hrc"
 #include "dp_gui.hrc"
 
 ModelessDialog RID_DLG_EXTENSION_MANAGER
 {
-    HelpId = HID_PACKAGE_MANAGER;
-    Text [ en-US ] = "Extension Manager";
-
-    Size = MAP_APPFONT( 300, 200 );
-    OutputSize = TRUE;
-    SVLook = TRUE;
-    Moveable = TRUE;
-    Closeable = TRUE;
-    Sizeable = TRUE;
-    Hide = TRUE;
-
-    PushButton RID_EM_BTN_ADD
-    {
-        HelpID = "desktop:PushButton:RID_DLG_EXTENSION_MANAGER:RID_EM_BTN_ADD";
-        TabStop = TRUE;
-        Text [ en-US ] = "~Add...";
-               Size = MAP_APPFONT(RSC_CD_PUSHBUTTON_WIDTH, 
RSC_CD_PUSHBUTTON_HEIGHT );
-    };
-
-    PushButton RID_EM_BTN_CHECK_UPDATES
-    {
-        HelpID = 
"desktop:PushButton:RID_DLG_EXTENSION_MANAGER:RID_EM_BTN_CHECK_UPDATES";
-        TabStop = TRUE;
-        Text [ en-US ] = "Check for ~Updates...";
-               Size = MAP_APPFONT(RSC_CD_PUSHBUTTON_WIDTH, 
RSC_CD_PUSHBUTTON_HEIGHT );
-    };
-
-    FixedText RID_EM_FT_GET_EXTENSIONS
-    {
-        NoLabel = TRUE;
-        TabStop = TRUE;
-        Text [ en-US ] = "Get more extensions online...";
-               Size = MAP_APPFONT(RSC_CD_PUSHBUTTON_WIDTH, 
RSC_CD_FIXEDTEXT_HEIGHT );
-    };
-
-    FixedText RID_EM_FT_PROGRESS
-    {
-        Hide = TRUE;
-        Right = TRUE;
-        Text [ en-US ] = "Adding %EXTENSION_NAME";
-               Size = MAP_APPFONT(RSC_CD_PUSHBUTTON_WIDTH, 
RSC_CD_FIXEDTEXT_HEIGHT );
-    };
-
-    CancelButton RID_EM_BTN_CANCEL
-    {
-        TabStop = TRUE;
-        Hide = TRUE;
-               Size = MAP_APPFONT(RSC_CD_PUSHBUTTON_WIDTH, 
RSC_CD_PUSHBUTTON_HEIGHT );
-    };
-
-    OKButton RID_EM_BTN_CLOSE
-    {
-        TabStop = TRUE;
-        DefButton = TRUE;
-        Text [ en-US ] = "Close";
-               Size = MAP_APPFONT(RSC_CD_PUSHBUTTON_WIDTH, 
RSC_CD_PUSHBUTTON_HEIGHT );
-    };
-
-    HelpButton RID_EM_BTN_HELP
-    {
-        TabStop = TRUE;
-               Size = MAP_APPFONT(RSC_CD_PUSHBUTTON_WIDTH, 
RSC_CD_PUSHBUTTON_HEIGHT );
-    };
+       HelpId = HID_PACKAGE_MANAGER;
+       Text [ en-US ] = "Extension Manager" ;
+
+       Size = MAP_APPFONT ( 300, 200 ) ;
+       OutputSize = TRUE ;
+       SVLook = TRUE ;
+       Moveable = TRUE ;
+       Closeable = TRUE ;
+       Sizeable = TRUE ;
+       Hide = TRUE ;
+
+       PushButton RID_EM_BTN_ADD
+       {
+               HelpID = 
"desktop:PushButton:RID_DLG_EXTENSION_MANAGER:RID_EM_BTN_ADD" ;
+               TabStop = TRUE ;
+               Text [ en-US ] = "~Add..." ;
+               Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, 
RSC_CD_PUSHBUTTON_HEIGHT ) ;
+       };
+
+       PushButton RID_EM_BTN_CHECK_UPDATES
+       {
+               HelpID = 
"desktop:PushButton:RID_DLG_EXTENSION_MANAGER:RID_EM_BTN_CHECK_UPDATES" ;
+               TabStop = TRUE ;
+               Text [ en-US ] = "Check for ~Updates..." ;
+               Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, 
RSC_CD_PUSHBUTTON_HEIGHT ) ;
+       };
+
+       FixedText RID_EM_FT_GET_EXTENSIONS
+       {
+               NoLabel = TRUE ;
+               TabStop = TRUE ;
+               Text [ en-US ] = "Get more extensions online..." ;
+               Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, 
RSC_CD_FIXEDTEXT_HEIGHT ) ;
+       };
+
+       FixedText RID_EM_FT_PROGRESS
+       {
+               Hide = TRUE ;
+               Right = TRUE ;
+               Text [ en-US ] = "Adding %EXTENSION_NAME" ;
+               Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, 
RSC_CD_FIXEDTEXT_HEIGHT ) ;
+       };
+
+       CancelButton RID_EM_BTN_CANCEL
+       {
+               TabStop = TRUE ;
+               Hide = TRUE ;
+               Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, 
RSC_CD_PUSHBUTTON_HEIGHT ) ;
+       };
+
+       OKButton RID_EM_BTN_CLOSE
+       {
+               TabStop = TRUE ;
+               DefButton = TRUE ;
+               Text [ en-US ] = "Close" ;
+               Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, 
RSC_CD_PUSHBUTTON_HEIGHT ) ;
+       };
+
+       HelpButton RID_EM_BTN_HELP
+       {
+               TabStop = TRUE ;
+               Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, 
RSC_CD_PUSHBUTTON_HEIGHT ) ;
+       };
 };
 
 ModalDialog RID_DLG_UPDATE_REQUIRED
 {
-    HelpId = HID_PACKAGE_MANAGER_UPD_REQ;
-    Text [ en-US ] = "Extension Update Required";
-
-    Size = MAP_APPFONT( 300, 200 );
-    OutputSize = TRUE;
-    SVLook = TRUE;
-    Moveable = TRUE;
-    Closeable = TRUE;
-    Sizeable = TRUE;
-    Hide = TRUE;
-
-    FixedText RID_EM_FT_MSG
-    {
-        Text [ en-US ] = "%PRODUCTNAME has been updated to a new version. Some 
installed %PRODUCTNAME extensions are not compatible with this version and need 
to be updated before they can be used.";
-        WordBreak = TRUE;
-        NoLabel = TRUE;
-        Size = MAP_APPFONT( 280, 3*RSC_BS_CHARHEIGHT );
-        Pos = MAP_APPFONT( 5, 5 );
-    };
-
-    FixedText RID_EM_FT_PROGRESS
-    {
-        Hide = TRUE;
-        Right = TRUE;
-        Text [ en-US ] = "Adding %EXTENSION_NAME";
-               Size = MAP_APPFONT(RSC_CD_PUSHBUTTON_WIDTH, 
RSC_CD_FIXEDTEXT_HEIGHT );
-    };
-
-    HelpButton RID_EM_BTN_HELP
-    {
-        TabStop = TRUE;
-               Size = MAP_APPFONT(RSC_CD_PUSHBUTTON_WIDTH, 
RSC_CD_PUSHBUTTON_HEIGHT );
-    };
-
-    PushButton RID_EM_BTN_CHECK_UPDATES
-    {
-        HelpID = 
"desktop:PushButton:RID_DLG_UPDATE_REQUIRED:RID_EM_BTN_CHECK_UPDATES";
-        TabStop = TRUE;
-        Text [ en-US ] = "Check for ~Updates...";
-               Size = MAP_APPFONT(RSC_CD_PUSHBUTTON_WIDTH, 
RSC_CD_PUSHBUTTON_HEIGHT );
-    };
-
-    PushButton RID_EM_BTN_CLOSE
-    {
-        HelpID = "desktop:PushButton:RID_DLG_UPDATE_REQUIRED:RID_EM_BTN_CLOSE";
-        TabStop = TRUE;
-        DefButton = TRUE;
-        Text [ en-US ] = "Disable all";
-               Size = MAP_APPFONT(RSC_CD_PUSHBUTTON_WIDTH, 
RSC_CD_PUSHBUTTON_HEIGHT );
-    };
-
-    CancelButton RID_EM_BTN_CANCEL
-    {
-        TabStop = TRUE;
-        Hide = TRUE;
-               Size = MAP_APPFONT(RSC_CD_PUSHBUTTON_WIDTH, 
RSC_CD_PUSHBUTTON_HEIGHT );
-    };
-
+       HelpId = HID_PACKAGE_MANAGER_UPD_REQ;
+       Text [ en-US ] = "Extension Update Required" ;
+
+       Size = MAP_APPFONT ( 300, 200 ) ;
+       OutputSize = TRUE ;
+       SVLook = TRUE ;
+       Moveable = TRUE ;
+       Closeable = TRUE ;
+       Sizeable = TRUE ;
+       Hide = TRUE ;
+
+       FixedText RID_EM_FT_MSG
+       {
+               Text [ en-US ] = "%PRODUCTNAME has been updated to a new 
version. Some installed %PRODUCTNAME extensions are not compatible with this 
version and need to be updated before they can be used." ;
+               WordBreak = TRUE ;
+               NoLabel = TRUE ;
+               Size = MAP_APPFONT ( 280, 3 * RSC_BS_CHARHEIGHT ) ;
+               Pos = MAP_APPFONT ( 5, 5 ) ;
+       };
+
+       FixedText RID_EM_FT_PROGRESS
+       {
+               Hide = TRUE ;
+               Right = TRUE ;
+               Text [ en-US ] = "Adding %EXTENSION_NAME" ;
+               Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, 
RSC_CD_FIXEDTEXT_HEIGHT ) ;
+       };
+
+       HelpButton RID_EM_BTN_HELP
+       {
+               TabStop = TRUE ;
+               Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, 
RSC_CD_PUSHBUTTON_HEIGHT ) ;
+       };
+
+       PushButton RID_EM_BTN_CHECK_UPDATES
+       {
+               HelpID = 
"desktop:PushButton:RID_DLG_UPDATE_REQUIRED:RID_EM_BTN_CHECK_UPDATES" ;
+               TabStop = TRUE ;
+               Text [ en-US ] = "Check for ~Updates..." ;
+               Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, 
RSC_CD_PUSHBUTTON_HEIGHT ) ;
+       };
+
+       PushButton RID_EM_BTN_CLOSE
+       {
+               HelpID = 
"desktop:PushButton:RID_DLG_UPDATE_REQUIRED:RID_EM_BTN_CLOSE" ;
+               TabStop = TRUE ;
+               DefButton = TRUE ;
+               Text [ en-US ] = "Disable all" ;
+               Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, 
RSC_CD_PUSHBUTTON_HEIGHT ) ;
+       };
+
+       CancelButton RID_EM_BTN_CANCEL
+       {
+               TabStop = TRUE ;
+               Hide = TRUE ;
+               Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, 
RSC_CD_PUSHBUTTON_HEIGHT ) ;
+       };
 };
 
 Image RID_IMG_WARNING
 {
-    ImageBitmap = Bitmap { File = "caution_16.png"; };
+       ImageBitmap = Bitmap { File = "caution_16.png" ; } ;
 };
 
 Image RID_IMG_WARNING_HC
 {
-    ImageBitmap = Bitmap { File = "caution_16_h.png"; };
+       ImageBitmap = Bitmap { File = "caution_16_h.png" ; } ;
 };
 
 Image RID_IMG_LOCKED
 {
-    ImageBitmap = Bitmap { File = "lock_16.png"; };
+       ImageBitmap = Bitmap { File = "lock_16.png" ; } ;
 };
 
 Image RID_IMG_LOCKED_HC
 {
-    ImageBitmap = Bitmap { File = "lock_16_h.png"; };
+       ImageBitmap = Bitmap { File = "lock_16_h.png" ; } ;
 };
 
 Image RID_IMG_SHARED
 {
-    ImageBitmap = Bitmap { File = "shared_16.png"; };
+       ImageBitmap = Bitmap { File = "shared_16.png" ; } ;
 };
 
 Image RID_IMG_SHARED_HC
 {
-    ImageBitmap = Bitmap { File = "shared_16_h.png"; };
+       ImageBitmap = Bitmap { File = "shared_16_h.png" ; } ;
 };
 
 Image RID_IMG_EXTENSION
 {
-    ImageBitmap = Bitmap { File = "extension_32.png"; };
+       ImageBitmap = Bitmap { File = "extension_32.png" ; } ;
 };
 
 Image RID_IMG_EXTENSION_HC
 {
-    ImageBitmap = Bitmap { File = "extension_32_h.png"; };
+       ImageBitmap = Bitmap { File = "extension_32_h.png" ; } ;
 };
 
 QueryBox RID_QUERYBOX_INSTALL_FOR_ALL
 {
-    Buttons = WB_YES_NO_CANCEL;
-    DefButton = WB_DEF_YES;
-    Message[en-US] = "Make sure that no further users are working with the 
same %PRODUCTNAME, when installing an extension for all users in a multi user 
environment.\n\nFor whom do you want to install the extension?\n";
+       Buttons = WB_YES_NO_CANCEL ;
+       DefButton = WB_DEF_YES ;
+       Message [en-US] = "Make sure that no further users are working with the 
same %PRODUCTNAME, when installing an extension for all users in a multi user 
environment.\n\nFor whom do you want to install the extension?\n" ;
 };
 
 
@@ -205,7 +202,7 @@ QueryBox RID_QUERYBOX_INSTALL_FOR_ALL
 // ---------------------------------------------------
 //     row 1 | multi line edit
 // ---------------------------------------------------
-//  row 2 | fixed text 
+//  row 2 | fixed text
 // ---------------------------------------------------
 //  row 3 | img   | fixed text   | fixed text | button
 // ----------------------------------------------------
@@ -213,7 +210,7 @@ QueryBox RID_QUERYBOX_INSTALL_FOR_ALL
 // ---------------------------------------------------
 //  row 5 |fixed line
 // ---------------------------------------------------
-//  row 6 |       |       |button  | button 
+//  row 6 |       |       |button  | button
 // ---------------------------------------------------
 //        | col 1 | col 2 | col3   | col4      | col5
 
@@ -222,7 +219,7 @@ QueryBox RID_QUERYBOX_INSTALL_FOR_ALL
 
 #define ROW1_Y RSC_SP_DLG_INNERBORDER_TOP
 #define ROW1_HEIGHT 16*RSC_CD_FIXEDTEXT_HEIGHT
-#define ROW2_Y  ROW1_Y+ROW1_HEIGHT+RSC_SP_CTRL_GROUP_Y
+#define ROW2_Y ROW1_Y+ROW1_HEIGHT+RSC_SP_CTRL_GROUP_Y
 #define ROW2_HEIGHT 2*RSC_CD_FIXEDTEXT_HEIGHT
 #define ROW3_Y ROW2_Y+ROW2_HEIGHT+RSC_SP_CTRL_GROUP_Y
 #define ROW3_HEIGHT 3*RSC_CD_FIXEDTEXT_HEIGHT
@@ -249,4 +246,4 @@ QueryBox RID_QUERYBOX_INSTALL_FOR_ALL
 #define LIC_DLG_WIDTH 
COL5_X+RSC_CD_PUSHBUTTON_WIDTH+RSC_SP_DLG_INNERBORDER_RIGHT
 #define BODYWIDTH 
LIC_DLG_WIDTH-RSC_SP_DLG_INNERBORDER_LEFT-RSC_SP_DLG_INNERBORDER_RIGHT
 
-
+// ********************************************************************** EOF

Reply via email to