Browse Source

[catavatar] Mark string as translatable

pull/1064/head
Balázs Úr 11 months ago
parent
commit
4f155fc8a1
  1. 1
      catavatar/catavatar.php
  2. 2
      catavatar/templates/settings.tpl

1
catavatar/catavatar.php

@ -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.'),
]);
}

2
catavatar/templates/settings.tpl

@ -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}}" />

Loading…
Cancel
Save