Skip to content

Javascript error in Piwigo v14 in Italian translation #2077

@fra27v

Description

@fra27v

Hi guys,

I would like to report a bug in the v14 in its Italian translation (previous version worked ok).

The impacted page is admin.php?page=album-2 and the error is triggered when the button saving the album properties is clicked.
The error is
Uncaught SyntaxError: Unexpected identified 'album'
In order to fix, I changed line 1253 of file language/it_IT/admin.lang.php
from
$lang['This albums is already in related categories list'] = 'Quest\'album è già nell\'elenco degli album associati';
to
$lang['This albums is already in related categories list'] = 'Quest\\\'album è già nell\\\'elenco degli album associati';
I'm not expert enough on Piwigo to know how translations are managed, so I don't create any pull request.
Nevertheless, I hope this post can help fixing the bug.

Cheers,

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions