Skip to content
This repository was archived by the owner on Sep 24, 2018. It is now read-only.
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

Open

Description

@danielbachhuber

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.

Related #2053 (comment)

Activity

  1. added this to the 2.0 Beta 12 milestone on Jan 20, 2016
  2. rmccue commented on Jan 20, 2016

    @rmccue
    Member

    Could we offload this to the post type registration labels?

  3. danielbachhuber commented on Jan 20, 2016

    @danielbachhuber
    MemberAuthor

    Could we offload this to the post type registration labels?

    The entire string, or just the source of the subject?

  4. danielbachhuber commented on Jan 29, 2016

    @danielbachhuber
    MemberAuthor

    I think it's a lot of new strings to try and include in labels, so we should use generic "resource" language instead.

  5. removed their assignment
    on Feb 5, 2016
  6. ramiy commented on Nov 23, 2016

    @ramiy

    @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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions