diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2016-11-16 23:25:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-16 23:25:07 +0100 |
commit | ff44adbcb46232900fc40680c5961e7dc02ccecc (patch) | |
tree | e4845f8688b4082f39e1c9befdf7b07fa7d2f300 /settings | |
parent | 50929751b05e9ff09ecad7dde733178f7120e77c (diff) | |
parent | 06d88013288ada5bf7c29962d5f75267df0a8f9f (diff) | |
download | nextcloud-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.php | 16 |
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')) {?> |