You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 26, 2022. It is now read-only.
Manage the magic strings like dynamicForm.action in an Interface.
Actual/Current Behavior
There are a lot of hard-coded strings in the templates that are needed by transloco to perform translation on the property defined by these strings.
Steps to Implement This Feature
Create an interface for dynamicForm key from the JSON files.
Create an interface for the following first level of nested keys under dynamicForm in the language JSON files:
action
error
label
placeholder
title
Update components to use the new DynamicForm class when initializing a new form.
Testing Steps
If you are not a member of this project, skip this step
Open the site.
On any of the list views, create/update a record and verify that the form title, labels, placeholders, error messages & buttons content are displayed properly.
Change the language selection & verify that the above step is still valid.
The text was updated successfully, but these errors were encountered:
Desired Use Case
Manage the magic strings like
dynamicForm.action
in an Interface.Actual/Current Behavior
There are a lot of hard-coded strings in the templates that are needed by transloco to perform translation on the property defined by these strings.
Steps to Implement This Feature
dynamicForm
key from the JSON files.dynamicForm
in the language JSON files:DynamicForm
class when initializing a new form.Testing Steps
If you are not a member of this project, skip this step
The text was updated successfully, but these errors were encountered: