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 Sep 24, 2018. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 24, 2018. It is now read-only.
Make error strings and argument descriptions controller-specific #2056
Throughout the codebase, we have static strings like 'Sorry, you are not allowed to create new posts.' and "The date the object was published, in the site's timezone.".
Generally, strings should be dynamic based on the controller.
@danielbachhuber using labels is a very good idea, but you need to make sure that it can be translated well to all the languages. In some edge cases using "plural" in English is not necessary sounds good in other languages.
Activity
rmccue commentedon Jan 20, 2016
Could we offload this to the post type registration
labels?danielbachhuber commentedon Jan 20, 2016
The entire string, or just the source of the subject?
danielbachhuber commentedon Jan 29, 2016
I think it's a lot of new strings to try and include in
labels, so we should use generic "resource" language instead.ramiy commentedon Nov 23, 2016
@danielbachhuber using labels is a very good idea, but you need to make sure that it can be translated well to all the languages. In some edge cases using "plural" in English is not necessary sounds good in other languages.