Merge pull request #1064 from urbalazs/private/urbalazs/catavatar-20201228

[catavatar] Mark string as translatable
This commit is contained in:
Michael Vogel 2020-12-28 23:44:03 +01:00 committed by GitHub
commit dd9edc1ebd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -50,6 +50,7 @@ function catavatar_addon_settings(App $a, &$s)
'$emailcat' => DI::l10n()->t('Reset to email Cat'),
'$seed' => DI::pConfig()->get(local_user(), 'catavatar', 'seed', false),
'$header' => DI::l10n()->t('Cat Avatar Settings'),
'$setrandomize' => DI::l10n()->t('Set default profile avatar or randomize the cat.'),
]);
}

View File

@ -9,7 +9,7 @@
<h3>{{$header}}</h3>
</span>
<img src="{{$basepath}}/catavatar/{{$uid}}?{{$uncache}}">
<p>Set default profile avatar or randomize the cat</p>
<p>{{$setrandomize}}</p>
<div class="settings-submit-wrapper" >
<input type="submit" name="catavatar-usecat"
class="btn btn-primary settings-submit" value="{{$usecat}}" />