You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ms...@apache.org on 2022/03/23 20:54:55 UTC
[openoffice] branch AOO42X updated: Make 'Insert Rows/Insert Columns' better translatable by putting it in a single String
This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/AOO42X by this push:
new 6ebe916 Make 'Insert Rows/Insert Columns' better translatable by putting it in a single String
6ebe916 is described below
commit 6ebe9162bcb7937500d8087dc13985155cdbee45
Author: mseidel <ms...@apache.org>
AuthorDate: Wed Mar 23 21:52:13 2022 +0100
Make 'Insert Rows/Insert Columns' better translatable by putting it in a single String
(cherry picked from commit afd5c4c039be82978e9e24c0537d44345de4a733)
---
main/cui/source/dialogs/insrc.cxx | 6 +++---
main/cui/source/dialogs/insrc.src | 5 ++---
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/main/cui/source/dialogs/insrc.cxx b/main/cui/source/dialogs/insrc.cxx
index 9c758fd..1aedbd6 100644
--- a/main/cui/source/dialogs/insrc.cxx
+++ b/main/cui/source/dialogs/insrc.cxx
@@ -56,14 +56,14 @@ SvxInsRowColDlg::SvxInsRowColDlg(Window* pParent, bool bCol, const rtl::OString&
bColumn( bCol )
{
FreeResource();
- String aTmp( GetText() );
+ String aTmp;
if( bColumn )
{
- aTmp += aCol;
+ aTmp = aCol;
}
else
{
- aTmp += aRow;
+ aTmp = aRow;
}
SetText( aTmp );
SetHelpId( sHelpId );
diff --git a/main/cui/source/dialogs/insrc.src b/main/cui/source/dialogs/insrc.src
index 1c30520..4d9aeec 100644
--- a/main/cui/source/dialogs/insrc.src
+++ b/main/cui/source/dialogs/insrc.src
@@ -30,7 +30,6 @@ ModalDialog DLG_INS_ROW_COL
OutputSize = TRUE ;
SVLook = TRUE ;
Size = MAP_APPFONT ( 136 , 84 ) ;
- Text [ en-US ] = "Insert" ;
Moveable = TRUE ;
OKButton BT_OK
{
@@ -105,11 +104,11 @@ ModalDialog DLG_INS_ROW_COL
};
String STR_ROW
{
- Text [ en-US ] = " Rows" ;
+ Text [ en-US ] = " Insert Rows" ;
};
String STR_COL
{
- Text [ en-US ] = " Columns" ;
+ Text [ en-US ] = " Insert Columns" ;
};
};