forked from friendica/friendica-addons
Merge pull request #1064 from urbalazs/private/urbalazs/catavatar-20201228
[catavatar] Mark string as translatable
This commit is contained in:
commit
dd9edc1ebd
|
@ -50,6 +50,7 @@ function catavatar_addon_settings(App $a, &$s)
|
||||||
'$emailcat' => DI::l10n()->t('Reset to email Cat'),
|
'$emailcat' => DI::l10n()->t('Reset to email Cat'),
|
||||||
'$seed' => DI::pConfig()->get(local_user(), 'catavatar', 'seed', false),
|
'$seed' => DI::pConfig()->get(local_user(), 'catavatar', 'seed', false),
|
||||||
'$header' => DI::l10n()->t('Cat Avatar Settings'),
|
'$header' => DI::l10n()->t('Cat Avatar Settings'),
|
||||||
|
'$setrandomize' => DI::l10n()->t('Set default profile avatar or randomize the cat.'),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<h3>{{$header}}</h3>
|
<h3>{{$header}}</h3>
|
||||||
</span>
|
</span>
|
||||||
<img src="{{$basepath}}/catavatar/{{$uid}}?{{$uncache}}">
|
<img src="{{$basepath}}/catavatar/{{$uid}}?{{$uncache}}">
|
||||||
<p>Set default profile avatar or randomize the cat</p>
|
<p>{{$setrandomize}}</p>
|
||||||
<div class="settings-submit-wrapper" >
|
<div class="settings-submit-wrapper" >
|
||||||
<input type="submit" name="catavatar-usecat"
|
<input type="submit" name="catavatar-usecat"
|
||||||
class="btn btn-primary settings-submit" value="{{$usecat}}" />
|
class="btn btn-primary settings-submit" value="{{$usecat}}" />
|
||||||
|
|
Loading…
Reference in a new issue