Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

Translation of $group label, ignored #27

Open
tanthammar opened this issue Jan 21, 2019 · 0 comments
Open

Translation of $group label, ignored #27

tanthammar opened this issue Jan 21, 2019 · 0 comments

Comments

@tanthammar
Copy link

Translated value $group of the nova media resource is ignored.

Added the key to the json language file.

class Media extends Resource
{
    /**
     * The model the resource corresponds to.
     *
     * @var string
     */
    public static $model = \Spatie\MediaLibrary\Models\Media::class;
    public static $group = 'Attachements';

sv.json
"Attachements": "Bilagor"

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

No branches or pull requests

1 participant