mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-22 22:12:24 +01:00
Add translation template to package translation page
This commit is contained in:
parent
3eae7efddd
commit
5983b5c420
@ -26,6 +26,13 @@
|
||||
{{ _("Translating content meta - lua_api.md") }}
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<h3 id="template">{{ _("Translation template") }}</h3>
|
||||
<pre><code># textdomain: {{ package.name }}
|
||||
|
||||
{{ package.title | replace("@", "@@") | replace("=", "@=") }} =
|
||||
{{ package.short_desc | replace("@", "@@") | replace("=", "@=") }} =
|
||||
</code></pre>
|
||||
{% else %}
|
||||
<p>
|
||||
{{ _("%(title)s is available in %(num)d languages.", title=package.title, num=num) }}
|
||||
|
Loading…
Reference in New Issue
Block a user