Skip to content

Too many params weird wording #1196

@carsakiller

Description

@carsakiller

The warning for too many parameters provided to a function call is worded incorrectly
image

Source

https://github.com/sumneko/lua-language-server/blob/d99c23af4bf8be944f58b374141dbfb81d48b5f5/locale/en-us/script.lua#L36

Proposed Solution

It should be replaced with something like:
This function expects a maximum of {:d} argument(s) but instead it is receiving {:d}.
So that it reads:

This function expects a maximum of 3 argument(s) but instead it is receiving 4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationHas to do with documentation either in the wiki or in the repo

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions