mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-03-26 07:52:20 +02:00
Use .po
file as target for edit link on translations (#394)
This commit is contained in:
parent
6f878dcf8f
commit
be5263010a
@ -158,9 +158,16 @@
|
||||
</a>
|
||||
{{/if}}
|
||||
{{#if git_repository_edit_url}}
|
||||
{{#if (eq language "en")}}
|
||||
<a href="{{git_repository_edit_url}}" title="Suggest an edit" aria-label="Suggest an edit">
|
||||
<i id="git-edit-button" class="fa fa-edit"></i>
|
||||
</a>
|
||||
{{else}}
|
||||
<a href="https://github.com/google/comprehensive-rust/edit/main/po/{{language}}.po"
|
||||
title="Suggest an edit to the translation" aria-label="Suggest an edit to the translation">
|
||||
<i id="git-edit-button" class="fa fa-edit"></i>
|
||||
</a>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user