diff options
| author | winter | 2025-03-10 20:13:40 +0000 |
|---|---|---|
| committer | winter | 2025-03-10 20:13:40 +0000 |
| commit | 30fa49bc3fa4f94184d693932e838c0672f24a16 (patch) | |
| tree | d15bccf49c5c15905bb581e2f394b281ce852ee3 /misc/__.php | |
| parent | 2bd4a086b0f50b1b88faf846da91267290ca4b07 (diff) | |
add user rss/atom feeds
Diffstat (limited to 'misc/__.php')
| -rw-r--r-- | misc/__.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/__.php b/misc/__.php index af6366a..e0c09ab 100644 --- a/misc/__.php +++ b/misc/__.php @@ -4,4 +4,8 @@ use Digitigrade\Text; function __(string $key): string { return (new Text($key))->__tostring(); +} + +function __f(string $key, mixed ...$args): string { + return sprintf(__($key), ...$args); }
\ No newline at end of file |
