# HG changeset patch # User Thomas De Schampheleire # Date 2019-04-16 22:25:27 # Node ID 11caff9ee818dbbb758048eadd7d643ed4117792 # Parent 5bb7a18b0431b13da9777016435c61223bd1ffd8 model,templates: make text argument to h.link_to translatable strings The first argument to h.link_to() is the link text. It should be marked as translatable to other languages. diff --git a/kallithea/templates/admin/gists/edit.html b/kallithea/templates/admin/gists/edit.html --- a/kallithea/templates/admin/gists/edit.html +++ b/kallithea/templates/admin/gists/edit.html @@ -33,7 +33,7 @@
${h.literal(_('Gist was update since you started editing. Copy your changes and click %(here)s to reload new version.') - % {'here': h.link_to('here',h.url('edit_gist', gist_id=c.gist.gist_access_id))})} + % {'here': h.link_to(_('here'),h.url('edit_gist', gist_id=c.gist.gist_access_id))})}