In FlatPress 1.4.1, by duplicating a style of the Leggero theme (e.g. flatmaas-rev), the admin panel continues to display the same name and description, regardless of changes in style.conf.php or the existence of theme.conf.php. It seems that the style metadata is hardcoded or not re-evaluated.
Could anyone out there give me hand with this?
Thanks in advance for any assistance you can provide!
Duplicate names and descriptions when creating new style
- fraenkiman
- FlatPress Coder
- Posts: 478
- Joined: Thu Feb 03, 2022 7:25 pm
- Location: Berlin, Germany
- Contact:
Re: Duplicate names and descriptions when creating new style
Hello maurobio,
Since FlatPress 1.4, theme and style descriptions can be localized.
So take a look at the directory fp-interface/themes/leggero/flatmaas-rev/lang/style.<your FlatPress language setting>.php for styles and the directory fp-interface/themes/leggero/lang/theme.<your FlatPress language setting>.php.
Best regards,
Frank
Since FlatPress 1.4, theme and style descriptions can be localized.
So take a look at the directory fp-interface/themes/leggero/flatmaas-rev/lang/style.<your FlatPress language setting>.php for styles and the directory fp-interface/themes/leggero/lang/theme.<your FlatPress language setting>.php.
Best regards,
Frank
My
Re: Duplicate names and descriptions when creating new style
Hello, fraenkiman!
Thank you very much for your helpful answer (complete with an informative screenshot)! I will try modifying the language file (in my case, the Brazilian Portuguese one).
With warmest regards,
Thank you very much for your helpful answer (complete with an informative screenshot)! I will try modifying the language file (in my case, the Brazilian Portuguese one).
With warmest regards,
Who is online
Users browsing this forum: No registered users and 0 guests