summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2016-11-16 23:25:07 +0100
committerGitHub <noreply@github.com>2016-11-16 23:25:07 +0100
commitff44adbcb46232900fc40680c5961e7dc02ccecc (patch)
treee4845f8688b4082f39e1c9befdf7b07fa7d2f300 /settings
parent50929751b05e9ff09ecad7dde733178f7120e77c (diff)
parent06d88013288ada5bf7c29962d5f75267df0a8f9f (diff)
downloadnextcloud-server-ff44adbcb46232900fc40680c5961e7dc02ccecc.tar.gz
nextcloud-server-ff44adbcb46232900fc40680c5961e7dc02ccecc.zip
Merge pull request #2131 from nextcloud/fix-tabs-in-translation
convert text to single line so tabs in translation issue is fixed
Diffstat (limited to 'settings')
-rw-r--r--settings/templates/personal.php16
1 files changed, 10 insertions, 6 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index ea1c7ba6459..69d3660477d 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -182,12 +182,16 @@ if($_['passwordChangeSupported']) {
</a>
<p>
- <?php print_unescaped($l->t('If you want to support the project
- <a href="https://nextcloud.com/contribute"
- target="_blank" rel="noreferrer">join development</a>
- or
- <a href="https://nextcloud.com/contribute"
- target="_blank" rel="noreferrer">spread the word</a>!'));?>
+ <?php print_unescaped(str_replace(
+ [
+ '{contributeopen}',
+ '{linkclose}',
+ ],
+ [
+ '<a href="https://nextcloud.com/contribute" target="_blank" rel="noreferrer">',
+ '</a>',
+ ],
+ $l->t('If you want to support the project {contributeopen}join development{linkclose} or {contributeopen}spread the word{linkclose}!'))); ?>
</p>
<?php if(OC_APP::isEnabled('firstrunwizard')) {?>