zetkin / lyra

3 stars 3 forks source link

Generate source file without leading slash #141

Open WULCAN opened 3 days ago

WULCAN commented 3 days ago

Description

This PR fixes a bug where new translations got a source file prefixed with /, like an asbolute path, when the english translation's sourcefile was in the root of the translation path.

Source files prefixed with slash breaks the code that writes translations to disk when we create pull requests.

Related issues

This relates to #126