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

Custom field caption #74

Closed
Crutchmaster opened this issue Oct 11, 2021 · 3 comments
Closed

Custom field caption #74

Crutchmaster opened this issue Oct 11, 2021 · 3 comments

Comments

@Crutchmaster
Copy link

Name is latin only. How about caption with custom utf string?

@creecros
Copy link
Owner

I do not understand the request.

@Crutchmaster
Copy link
Author

Crutchmaster commented Oct 12, 2021

    private function fixHumanName($human_name = '')
    {
        // Remove special characters (remove the below line to support non latin characters)
        $human_name = preg_replace('/[^A-Za-z0-9_\s-]/', '', $human_name);
...

$human_name accept only A-Za-z0-9_\s-. All other utf chars will be cut. If I want not latin chars, I must edit code or edit human_name field in metadata_type table. It might be worth making a caption field?

@creecros
Copy link
Owner

#61

you are welcome to make a pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants