diff options
| author | winter | 2024-12-31 14:30:16 +0000 |
|---|---|---|
| committer | winter | 2024-12-31 14:30:16 +0000 |
| commit | ad554b48e7dc355d9b33eede98f4e3e829fd867e (patch) | |
| tree | eb11cd4357bdbe2964b9d04495ab2e6c7212d9ed /misc/__.php | |
| parent | 721674973ca0a4d98cd081e9ff130c3356ddac03 (diff) | |
switch to my own translations system
i really don't like gettext
Diffstat (limited to 'misc/__.php')
| -rw-r--r-- | misc/__.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/misc/__.php b/misc/__.php new file mode 100644 index 0000000..af6366a --- /dev/null +++ b/misc/__.php @@ -0,0 +1,7 @@ +<?php + +use Digitigrade\Text; + +function __(string $key): string { + return (new Text($key))->__tostring(); +}
\ No newline at end of file |
