Add label for url (#90)

Mostlikely URLs should not be rendered but a label "url".
This is now added to the extension.
This commit is contained in:
Daniel Siepmann 2022-11-30 10:00:04 +01:00 committed by GitHub
parent b09a57ad38
commit fd9507b525
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 1 deletions

View file

@ -510,6 +510,11 @@
<target>Fotografieren nicht gestattet</target>
</trans-unit>
<trans-unit id="content.url">
<source>Website</source>
<target>Webseite</target>
</trans-unit>
<trans-unit id="content.petsAllowed.false">
<source>No Pets Allowed</source>
<target>Keine Tiere erlaubt</target>

View file

@ -506,6 +506,10 @@
<source>No Pets Allowed</source>
<target>Animaux pas autoris&#xE9;s</target>
</trans-unit>
<trans-unit id="content.url">
<source>Website</source>
<target>Site internet</target>
</trans-unit>
<trans-unit id="content.petsAllowed.true">
<source>Pets Allowed</source>
<target>Animaux autoris&#xE9;s</target>

View file

@ -435,6 +435,10 @@
<source>ZeroPhotography</source>
</trans-unit>
<trans-unit id="content.url">
<source>Website</source>
</trans-unit>
<trans-unit id="content.petsAllowed.false">
<source>No Pets Allowed</source>
</trans-unit>

View file

@ -17,7 +17,7 @@
{address.fax}
</f:if>
<f:if condition="{url}">
<a href="{url}" referrerpolicy="no-referrer" rel="noreferrer noopener">{url}</a>
<a href="{url}" referrerpolicy="no-referrer" rel="noreferrer noopener">{f:translate(id: 'content.url', extensionName: 'Thuecat')}</a>
</f:if>
</p>
</div>