File tree Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -252,7 +252,7 @@ export default class Main extends BaseController {
252
252
text : "Add" ,
253
253
press : ( ) => {
254
254
if ( inputCode . getValue ( ) . trim ( ) . length === 0 ) {
255
- MessageToast . show ( "Transaktionscode darf nicht leer sein ." ) ;
255
+ MessageToast . show ( "Transaction code cannot be empty ." ) ;
256
256
return ;
257
257
}
258
258
void this . handleAddTransaction (
@@ -284,7 +284,7 @@ export default class Main extends BaseController {
284
284
dialog : Dialog
285
285
) : Promise < void > {
286
286
if ( await this . transactionExists ( tcode ) ) {
287
- MessageToast . show ( `Transaktionscode ${ tcode } existiert bereits .` ) ;
287
+ MessageToast . show ( `Transaction ${ tcode } exists already .` ) ;
288
288
} else {
289
289
await this . addTransaction ( tcode , title , description ) ;
290
290
dialog . close ( ) ;
Original file line number Diff line number Diff line change 122
122
</Menu >
123
123
</contextMenu >
124
124
<columns >
125
- <Column width =" 200px" >
125
+ <Column
126
+ width =" {= ${device>/system/desktop} ? '200px' : 'auto' }"
127
+ >
126
128
<Text text =" Transaction code" />
127
129
</Column >
128
- <Column width =" 300px" >
130
+ <Column
131
+ width =" {= ${device>/system/desktop} ? '300px' : 'auto' }"
132
+ >
129
133
<Text text =" Title" />
130
134
</Column >
131
- <Column >
135
+ <Column visible = " {= ${device>/system/desktop} } " >
132
136
<Text text =" Description" />
133
137
</Column >
134
138
<Column hAlign =" Right" />
141
145
<cells >
142
146
<Text text =" {= ${tcode}.toUpperCase() }" />
143
147
<Text text =" { path: 'title' }" />
144
- <Text text =" { path: 'description' }" />
148
+ <Text
149
+ text =" { path: 'description' }"
150
+ visible =" {= ${device>/system/desktop} }"
151
+ />
145
152
<HBox justifyContent =" End" >
146
153
<Button
147
154
icon =" {= ${favorite} ? 'sap-icon://favorite' : 'sap-icon://unfavorite' }"
You can’t perform that action at this time.
0 commit comments