Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: ValuePrefix/-Suffix for Widget string #110

Closed
samtrion opened this issue Mar 11, 2024 · 2 comments
Closed

Feature Request: ValuePrefix/-Suffix for Widget string #110

samtrion opened this issue Mar 11, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@samtrion
Copy link

samtrion commented Mar 11, 2024

I would like to strongly structure certain areas of my website and assign the translationKey uniformly. e.g. the translationKey of my blog posts should be pre-assigned with post-. This value prefix should not be editable.

Unfortunately, I got this idea from the existing prefix / suffix implementation, but there is a different functionality here.

@kyoshino kyoshino added the enhancement New feature or request label Mar 11, 2024
@kyoshino
Copy link
Member

kyoshino commented Mar 11, 2024

Well yes, I’ve implemented decaporg/decap-cms#6836 a few weeks ago, but I think prefix and suffix for the UI visibility purpose are ill-named. Another PR decaporg/decap-cms#6675 I have also implemented uses prefix in the right way.

I think no one uses it in Sveltia CMS yet; I could rename the current prefix/suffix properties to something else, say before_input/after_input, and implement this as prefix/suffix.

@samtrion
Copy link
Author

I think no one uses it in Sveltia CMS yet; I could rename the current prefix/suffix properties to something else, say before_input/after_input, and implement this as prefix/suffix.

Sounds promising.

@kyoshino kyoshino self-assigned this Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants