Merge branch 'unhardcode' into 'main'

Unhardcode footer strings

See merge request PronounsPage/PronounsPage!339
This commit is contained in:
Andrea Vos 2023-05-29 18:16:14 +00:00
commit c66ff0f532
4 changed files with 14 additions and 4 deletions

View File

@ -85,7 +85,7 @@
</div>
<p class="small text-muted text-center">
Version:
<T>footer.version</T>
<VersionCommitLink :hash="versionFrontend"/>
/
<Spinner v-if="versionBackend === undefined"/><span v-else><VersionCommitLink :hash="versionBackend"/></span>
@ -128,8 +128,7 @@
</li>
<li class="mb-2">
<Icon v="tools"/>
Using <a href="https://www.gradientmagic.com/" target="_blank" rel="noopener">gradientmagic.com</a>
and <a href="https://fonts.google.com/noto/specimen/Noto+Color+Emoji" target="_blank" rel="noopener">Noto Color Emoji</a>
<T>footer.using</T>
</li>
</ul>
@ -150,7 +149,7 @@
<li class="mb-2">
<a href="https://gitlab.com/PronounsPage/PronounsPage" target="_blank" rel="noopener">
<Icon v="gitlab" set="b"/>
Source code
<T>api.source</T>
</a>
</li>
<li class="mb-2">

View File

@ -806,6 +806,8 @@ crud:
footer:
license: >
{https://gitlab.com/PronounsPage/PronounsPage=Source code} and content are licensed under {/license=OQL}.
using: >
Using {https://www.gradientmagic.com/=gradientmagic.com} and {https://fonts.google.com/noto/specimen/Noto+Color+Emoji=Noto Color Emoji}
links: 'Contact, social media'
legal: 'Legal'
financial: 'Financial transparency'
@ -825,6 +827,7 @@ footer:
uptime: 'Uptime'
responseTime: 'Avg response time'
month: 'month'
version: 'Version:'
notFound:
message: 'Page was not found'
@ -1029,6 +1032,7 @@ api:
header: 'Public API'
example: 'Example'
query: 'Query string parameters'
source: 'Source code'
quotation:
start: '“'

View File

@ -979,6 +979,8 @@ crud:
footer:
license: >
{https://gitlab.com/PronounsPage/PronounsPage=Source code} and content are licensed under {/license=OQL}.
using: >
Using {https://www.gradientmagic.com/=gradientmagic.com} and {https://fonts.google.com/noto/specimen/Noto+Color+Emoji=Noto Color Emoji}
links: 'Contact & social media'
legal: 'Legal'
financial: 'Financial transparency'
@ -998,6 +1000,7 @@ footer:
uptime: 'Uptime'
responseTime: 'Avg response time'
month: 'month'
version: 'Version:'
notFound:
message: 'Page was not found'
@ -1186,6 +1189,7 @@ api:
header: 'Public API'
example: 'Example'
query: 'Query string parameters'
source: 'Source code'
quotation:
start: '“'

View File

@ -45,6 +45,8 @@ module.exports = [
'footer.stats.keys.visitDuration',
'footer.stats.keys.uptime',
'footer.stats.keys.responseTime',
'footer.using',
'footer.version',
'privacy.header',
'user.avatar.failed',
'user.qr.header',
@ -121,4 +123,5 @@ module.exports = [
'mode.reducedItems',
'user.socialLookup',
'user.socialLookupWhy',
'api.source'
];