This is an automated email from the ASF dual-hosted git repository. mseidel pushed a commit to branch AOO41X in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/AOO41X by this push: new c10842208f Cleaned up resource files c10842208f is described below commit c10842208f897fffb514deae06dc123610db9a65 Author: mseidel <msei...@apache.org> AuthorDate: Sat Sep 12 15:36:26 2020 +0200 Cleaned up resource files (cherry picked from commit a30e0b2c7f273644228216bfd3f6dc5c3ce12d34) --- main/cui/source/dialogs/postdlg.src | 116 ++++++++++++++---------------------- main/sc/addin/rot13/rot13.src | 19 +++--- main/sd/source/core/glob.src | 33 +++++----- 3 files changed, 72 insertions(+), 96 deletions(-) diff --git a/main/cui/source/dialogs/postdlg.src b/main/cui/source/dialogs/postdlg.src index fc15d2f794..2fed679e73 100644 --- a/main/cui/source/dialogs/postdlg.src +++ b/main/cui/source/dialogs/postdlg.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,152 +7,124 @@ * 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 --------------------------------------------------------------- + +// include --------------------------------------------------------------- #include <cuires.hrc> #include "postdlg.hrc" #include "helpid.hrc" #include <svx/dialogs.hrc> // for RID_SVXDLG_POSTIT - // RID_SVXDLG_POSTIT ----------------------------------------------------- +// RID_SVXDLG_POSTIT ----------------------------------------------------- ModalDialog RID_SVXDLG_POSTIT { HelpId = HID_POSTIT_DIALOG ; OutputSize = TRUE ; SvLook = TRUE ; - Size = MAP_APPFONT ( 198 , 134 ) ; + Size = MAP_APPFONT ( 198, 134 ) ; Text [ en-US ] = "Note" ; Moveable = TRUE ; FixedText FT_LASTEDITLABEL { - Pos = MAP_APPFONT ( 12 , 14 ) ; - Size = MAP_APPFONT ( 34 , 8 ) ; + Pos = MAP_APPFONT ( 12, 14 ) ; + Size = MAP_APPFONT ( 34, 8 ) ; Text [ en-US ] = "Author" ; Left = TRUE ; }; FixedText FT_LASTEDIT { - Pos = MAP_APPFONT ( 48 , 14 ) ; - Size = MAP_APPFONT ( 83 , 8 ) ; + Pos = MAP_APPFONT ( 48, 14 ) ; + Size = MAP_APPFONT ( 83, 8 ) ; Left = TRUE ; }; FixedText FT_EDIT { - Pos = MAP_APPFONT ( 12 , 27 ) ; - Size = MAP_APPFONT ( 100 , 8 ) ; + Pos = MAP_APPFONT ( 12, 27 ) ; + Size = MAP_APPFONT ( 100, 8 ) ; Text [ en-US ] = "~Text" ; Left = TRUE ; }; MultiLineEdit ED_EDIT { - HelpID = "cui:MultiLineEdit:RID_SVXDLG_POSTIT:ED_EDIT"; + HelpID = "cui:MultiLineEdit:RID_SVXDLG_POSTIT:ED_EDIT" ; Border = TRUE ; - Pos = MAP_APPFONT ( 12 , 38 ) ; - Size = MAP_APPFONT ( 123 , 72 ) ; + Pos = MAP_APPFONT ( 12, 38 ) ; + Size = MAP_APPFONT ( 123, 72 ) ; Left = TRUE ; VScroll = TRUE ; HScroll = TRUE ; IgnoreTab = TRUE ; }; - FixedLine FL_POSTIT + FixedLine FL_POSTIT { - Pos = MAP_APPFONT ( 6 , 3 ) ; - Size = MAP_APPFONT ( 129 , 8 ) ; + Pos = MAP_APPFONT ( 6, 3 ) ; + Size = MAP_APPFONT ( 129, 8 ) ; Text [ en-US ] = "Contents" ; }; OKButton BTN_POST_OK { - Pos = MAP_APPFONT ( 141 , 6 ) ; - Size = MAP_APPFONT ( 50 , 15 ) ; + Pos = MAP_APPFONT ( 141, 6 ) ; + Size = MAP_APPFONT ( 50, 15 ) ; DefButton = TRUE ; }; CancelButton BTN_POST_CANCEL { - Pos = MAP_APPFONT ( 141 , 23 ) ; - Size = MAP_APPFONT ( 50 , 15 ) ; + Pos = MAP_APPFONT ( 141, 23 ) ; + Size = MAP_APPFONT ( 50, 15 ) ; }; HelpButton BTN_POST_HELP { - Pos = MAP_APPFONT ( 141 , 40 ) ; - Size = MAP_APPFONT ( 50 , 15 ) ; + Pos = MAP_APPFONT ( 141, 40 ) ; + Size = MAP_APPFONT ( 50, 15 ) ; }; ImageButton BTN_PREV { - HelpID = "cui:ImageButton:RID_SVXDLG_POSTIT:BTN_PREV"; - Pos = MAP_APPFONT ( 141 , 60 ) ; - Size = MAP_APPFONT ( 24 , 14 ) ; + HelpID = "cui:ImageButton:RID_SVXDLG_POSTIT:BTN_PREV" ; + Pos = MAP_APPFONT ( 141, 60 ) ; + Size = MAP_APPFONT ( 24, 14 ) ; Symbol = IMAGEBUTTON_ARROW_LEFT ; }; ImageButton BTN_NEXT { - HelpID = "cui:ImageButton:RID_SVXDLG_POSTIT:BTN_NEXT"; - Pos = MAP_APPFONT ( 167 , 60 ) ; - Size = MAP_APPFONT ( 24 , 14 ) ; + HelpID = "cui:ImageButton:RID_SVXDLG_POSTIT:BTN_NEXT" ; + Pos = MAP_APPFONT ( 167, 60 ) ; + Size = MAP_APPFONT ( 24, 14 ) ; Symbol = IMAGEBUTTON_ARROW_RIGHT ; }; - FixedText FT_AUTHOR - { - Pos = MAP_APPFONT ( 12 , 116 ) ; - Size = MAP_APPFONT ( 60 , 8 ) ; - Text [ en-US ] = "~Insert"; + FixedText FT_AUTHOR + { + Pos = MAP_APPFONT ( 12, 116 ) ; + Size = MAP_APPFONT ( 60, 8 ) ; + Text [ en-US ] = "~Insert" ; }; - PushButton BTN_AUTHOR + PushButton BTN_AUTHOR { - HelpID = "cui:PushButton:RID_SVXDLG_POSTIT:BTN_AUTHOR"; - Pos = MAP_APPFONT ( 75 , 114 ) ; - Size = MAP_APPFONT ( 60 , 14 ) ; - Text [ en-US ] = "Author" ; + HelpID = "cui:PushButton:RID_SVXDLG_POSTIT:BTN_AUTHOR" ; + Pos = MAP_APPFONT ( 75, 114 ) ; + Size = MAP_APPFONT ( 60, 14 ) ; + Text [ en-US ] = "Author" ; }; - // lokale Strings + // local strings String STR_NOTIZ_EDIT { Text [ en-US ] = "Edit Note" ; }; String STR_NOTIZ_INSERT { - /* ### ACHTUNG: Neuer Text in Resource? Notiz einf�gen : Notiz einf�gen */ - /* ### ACHTUNG: Neuer Text in Resource? Notiz einf�gen : Notiz einf�gen */ Text [ en-US ] = "Insert note" ; }; }; - // ********************************************************************** EOF - - - - - - - - - - - - - - - - - - - - - - - - - - - +// ********************************************************************** EOF diff --git a/main/sc/addin/rot13/rot13.src b/main/sc/addin/rot13/rot13.src index 0b53e17574..46e035fbb1 100644 --- a/main/sc/addin/rot13/rot13.src +++ b/main/sc/addin/rot13/rot13.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,20 +7,21 @@ * 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 "sc.hrc" // Definition RID_XXX in StarCalc + +#include "sc.hrc" // Definition RID_XXX in Calc #include "rot13.hrc" /* #i54546# The code belonging to this resource file is sample code for the @@ -39,16 +40,18 @@ Resource RID_SC_ADDIN_ROT13 { String ROT13_DESC // Description { - Text = "ROT13 Algorithm, each alphabetical character of the text is rotated by 13 in the alphabet"; + Text = "ROT13 Algorithm, each alphabetical character of the text is rotated by 13 in the alphabet" ; }; String ROT13_PAR1_NAME // Name of Parameter 1 { - Text = "Text"; + Text = "Text" ; }; String ROT13_PAR1_DESC // Description of Parameter 1 { - Text = "The text that is to be rotated"; + Text = "The text that is to be rotated" ; }; }; + +// ********************************************************************** EOF diff --git a/main/sd/source/core/glob.src b/main/sd/source/core/glob.src index 77d3fd112a..495c7a04b4 100644 --- a/main/sd/source/core/glob.src +++ b/main/sd/source/core/glob.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,20 +7,19 @@ * 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. - * + * *************************************************************/ -/* StarView ressource file */ #define __RSC @@ -170,7 +169,7 @@ String STR_PRESVIEWSHELL }; String STR_PREVIEWVIEWSHELL { - Text [ en-US ] = "Preview Window"; + Text [ en-US ] = "Preview Window" ; }; String STR_TEXTOBJECTBARSHELL { @@ -192,27 +191,27 @@ String STR_GLUEPOINTSOBJECTBARSHELL { Text [ en-US ] = "Glue Points Mode" ; }; -/* nicht uebersetzen */ +/* do not translate */ String STR_LAYOUT_TITLE { Text = "Titel" ; }; -/* nicht uebersetzen */ +/* do not translate */ String STR_LAYOUT_OUTLINE { Text = "Gliederung" ; }; -/* nicht uebersetzen */ +/* do not translate */ String STR_LAYOUT_BACKGROUND { Text = "Hintergrund" ; }; -/* nicht uebersetzen */ +/* do not translate */ String STR_LAYOUT_BACKGROUNDOBJECTS { Text = "Hintergrundobjekte" ; }; -/* nicht uebersetzen */ +/* do not translate */ String STR_LAYOUT_NOTES { Text = "Notizen" ; @@ -241,7 +240,7 @@ String STR_NOT_ENOUGH_MEMORY { Text [ en-US ] = "Not enough memory!\nThe action will be aborted." ; }; -/* nicht uebersetzen */ +/* do not translate */ String STR_LAYOUT_SUBTITLE { Text = "Untertitel" ; @@ -317,7 +316,7 @@ String STR_PSEUDOSHEET_TITLE }; String STR_PSEUDOSHEET_SUBTITLE { - Text [ en-US ] = "Subtitle"; + Text [ en-US ] = "Subtitle" ; }; String STR_PSEUDOSHEET_OUTLINE { @@ -352,7 +351,7 @@ String STR_TABLEOBJECTBARSHELL String STR_POWERPOINT_IMPORT { - Text [ en-US ] = "PowerPoint Import"; + Text [ en-US ] = "PowerPoint Import" ; }; String STR_POOLSHEET_ARROW @@ -381,11 +380,11 @@ Resource RID_SD_ERRHDL }; String ERR_CODE ( ERRCODE_CLASS_READ , ERR_FORMAT_FILE_ROWCOL ) { - Text [ en-US ] = "Format error discovered in the file in sub-document $(ARG1) at position $(ARG2)(row,col)."; + Text [ en-US ] = "Format error discovered in the file in sub-document $(ARG1) at position $(ARG2)(row,col)." ; }; String ERR_CODE ( ERRCODE_CLASS_READ , WARN_FORMAT_FILE_ROWCOL ) { - Text [ en-US ] = "Format error discovered in the file in sub-document $(ARG1) at position $(ARG2)(row,col)."; + Text [ en-US ] = "Format error discovered in the file in sub-document $(ARG1) at position $(ARG2)(row,col)." ; }; }; @@ -422,3 +421,5 @@ String STR_POOLSHEET_LAST_COLUMN { Text [ en-US ] = "Last column" ; }; + +// ********************************************************************** EOF