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

translation: unify base path in string source comments #1834

merged 1 commit into from May 21, 2019


None yet
2 participants
Copy link

commented May 21, 2019

In Ren'Py translations, there are comments about the original path containing the translatable string:

# game/script.rpy:27
translate french start_a170b500:

    # e "You've created a new Ren'Py game."
    e "You've created a new Ren'Py game."

translate french strings:

    # script.rpy:7
    old "Eileen"
    new "Eileen"

The script path is not consistent between translate blocks and single strings.

This patch makes them consistent (and incidentally improves the quality of my PO exporter's output ;)), using Ren'Py function elide_filename.

script.rpy:27 -> game/script.rpy:27
00accessibility.rpy:76 -> renpy/common/00accessibility.rpy:76

@renpytom renpytom merged commit 1345469 into renpy:master May 21, 2019

@Beuc Beuc deleted the Beuc:patch-unify_tl_source_comment branch May 24, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.