Skip to content

Commit 96cbdaa

Browse files
loivseniOvergaard
authored andcommitted
localize changes
1 parent 8d0f63f commit 96cbdaa

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

src/packages/core/property-type/workspace/views/settings/property-workspace-view-settings.element.ts

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -290,19 +290,31 @@ export class UmbPropertyTypeWorkspaceViewSettingsElement extends UmbLitElement i
290290
?checked=${this._data?.visibility?.memberCanView}
291291
@change=${this.#onToggleShowOnMemberProfile}
292292
label=${this.localize.term('contentTypeEditor_showOnMemberProfile')}></uui-toggle>
293-
<small>${this.localize.term('contentTypeEditor_showOnMemberProfileDescription')}</small>
293+
<small>
294+
<umb-localize key="contentTypeEditor_showOnMemberProfileDescription">
295+
Allow this property value to be displayed on the member profile page
296+
</umb-localize>
297+
</small>
294298
295299
<uui-toggle
296300
?checked=${this._data?.visibility?.memberCanEdit}
297301
@change=${this.#onToggleMemberCanEdit}
298302
label=${this.localize.term('contentTypeEditor_memberCanEdit')}></uui-toggle>
299-
<small>${this.localize.term('contentTypeEditor_memberCanEditDescription')}</small>
303+
<small>
304+
<umb-localize key="contentTypeEditor_memberCanEditDescription">
305+
Allow this property value to be edited by the member on their profile page
306+
</umb-localize>
307+
</small>
300308
301309
<uui-toggle
302310
?checked=${this._data?.isSensitive}
303311
@change=${this.#onToggleIsSensitiveData}
304312
label=${this.localize.term('contentTypeEditor_isSensitiveData')}></uui-toggle>
305-
<small>${this.localize.term('contentTypeEditor_isSensitiveDataDescription')}</small>
313+
<small>
314+
<umb-localize key="contentTypeEditor_isSensitiveDataDescription">
315+
Hide this property value from content editors that don't have access to view sensitive information
316+
</umb-localize>
317+
</small>
306318
</div>
307319
</div>`;
308320
}

0 commit comments

Comments
 (0)