[catavatar] Mark string as translatable

pull/1064/head
Balázs Úr 2020-12-28 23:26:25 +01:00
parent 8235b2511e
commit 4f155fc8a1
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'), '$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.'),
]); ]);
} }

View File

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