Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfbcedf2

Browse files
fix: small update
1 parentde1bc70 commitfbcedf2

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed

‎client/packages/lowcoder/src/comps/comps/tableComp/tableTypes.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export type RowColorViewType = (param: {
137137
columnTitle:string;
138138
})=>string;
139139

140-
constrowHeightLabel="Conditional Row Height";//trans("table.rowColor");
140+
constrowHeightLabel=trans("table.rowHeight");
141141
constRowHeightTempComp=withContext(
142142
newMultiCompBuilder({
143143
height:HeightOrBoolCodeControl,

‎client/packages/lowcoder/src/comps/controls/textOverflowControl.tsx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ import { dropdownAbstractControl } from "./dropdownControl";
44

55
constoverflowOptions=[
66
{
7-
label:"Ellipsis",//trans("autoHeightProp.auto"),
7+
label:trans("textOverflowProp.ellipsis"),
88
value:"ellipsis",
99
},
1010
{
11-
label:"Wrap",//trans("autoHeightProp.fixed"),
11+
label:trans("textOverflowProp.wrap"),
1212
value:"wrap",
1313
},
1414
]asconst;
@@ -20,7 +20,7 @@ export class TextOverflowControl extends TextOverflowTmpControl {
2020
}
2121

2222
overridegetPropertyView(){
23-
returnthis.propertyView({label:"Text Overflow"/*trans("prop.height")*/});
23+
returnthis.propertyView({label:trans("prop.textOverflow")});
2424
}
2525

2626
overridepropertyView(params:ControlParams){

‎client/packages/lowcoder/src/i18n/locales/en.ts‎

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,12 +186,17 @@ export const en = {
186186
"showBody":"Show Body",
187187
"showFooter":"Show Footer",
188188
"maskClosable":"Click Outside to Close",
189-
"showMask":"Show Mask"
189+
"showMask":"Show Mask",
190+
"textOverflow":"Text Overflow",
190191
},
191192
"autoHeightProp":{
192193
"auto":"Auto",
193194
"fixed":"Fixed"
194195
},
196+
"textOverflowProp":{
197+
"ellipsis":"Ellipsis",
198+
"wrap":"Wrap"
199+
},
195200
"labelProp":{
196201
"text":"Label",
197202
"tooltip":"Tooltip",
@@ -1290,9 +1295,11 @@ export const en = {
12901295
"sortChange":"Sort Change",
12911296
"pageChange":"Page Change",
12921297
"refresh":"Refresh",
1293-
"rowColor":"ConditionalRow Color",
1298+
"rowColor":"Conditionalrow color",
12941299
"rowColorDesc":"Conditionally Set the Row Color Based on the Optional Variables: CurrentRow, CurrentOriginalIndex, CurrentIndex, ColumnTitle. For Example: '{{ currentRow.id > 3 ? \"green\" : \"red\" }}'",
1295-
"cellColor":"Conditional Cell Color",
1300+
"rowHeight":"Conditional row height",
1301+
"rowHeightDesc":"Conditionally Set the Row Height Based on the Optional Variables: CurrentRow, CurrentOriginalIndex, CurrentIndex, ColumnTitle. For Example: '{{ currentRow.id > 3 ? \"60px\" : \"40px\" }}'",
1302+
"cellColor":"Conditional cell color",
12961303
"cellColorDesc":"Conditionally Set the Cell Color Based on the Cell Value Using CurrentCell. For Example: '{{ currentCell == 3 ? \"green\" : \"red\" }}'",
12971304
"saveChangesNotBind":"No Event Handler Configured for Saving Changes. Please Bind at Least One Event Handler Before Click.",
12981305
"dynamicColumn":"Use Dynamic Column Setting",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp