Skip to content

Need refactoring of lexicon topics #14512

Open
@Ruslan-Aleev

Description

@Ruslan-Aleev

Feature request

Summary

Lexicon topics contain unnecessary entries, for example, in the chunk.inc.php topic there is an entry with the key "chunk" - https://github.com/modxcms/revolution/blob/2.x/core/lexicon/en/chunk.inc.php#L9, but the same entry with the key "chunk" is in the topic https://github.com/modxcms/revolution/blob/2.x/core/lexicon/en/default.inc.php#L58 which is always included in MODX manager.
Why do we need 2 entries for one key?

There are also duplicate entries within the meaning, but with a different key - https://github.com/modxcms/revolution/blob/2.x/core/lexicon/en/default.inc.php#L18 and https://github.com/modxcms/revolution/blob/2.x/core/lexicon/en/default.inc.php#L272 is already a problem with incorrect key names, see PR #14313.

There are unnecessary entries, for example, "Edit TV", "Edit chunk", but it is easier to use one "Edit" entrie
for both TV and chunk. Why such specific entries for the element? There are not only extra lines in the topics, but errors in the code, i.e. used, for example, and "create" and "create_ELEMENT" at the same time, etc.

There are also entries that are written in the wrong topic.

We need to correctly distribute the entries in the topics, remove unnecessary and remove unused.

Related issue(s)/PR(s)

#14313
#13554
#1188

Metadata

Metadata

Assignees

Labels

area-lexiconsIssues related to translations and lexicons implementation.proposalProposal about improvement aka RFC. Need to be discussed before start implementation.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions