diff options
author | Mario <mario@mariovavti.com> | 2021-10-15 19:30:38 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-10-15 19:30:38 +0000 |
commit | bb31a4620e227e21acb573c82a081142ff965114 (patch) | |
tree | 1297e7a9ea9e8c718959a8349126f270d145560c /Zotlabs | |
parent | 7aaade8b23175977f756ad7cb9d147fda0b2f344 (diff) | |
download | volse-hubzilla-bb31a4620e227e21acb573c82a081142ff965114.tar.gz volse-hubzilla-bb31a4620e227e21acb573c82a081142ff965114.tar.bz2 volse-hubzilla-bb31a4620e227e21acb573c82a081142ff965114.zip |
notes: provide translateable strings
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Widget/Notes.php | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/Zotlabs/Widget/Notes.php b/Zotlabs/Widget/Notes.php index 66c90ef7d..659b62390 100644 --- a/Zotlabs/Widget/Notes.php +++ b/Zotlabs/Widget/Notes.php @@ -18,14 +18,24 @@ class Notes { $tpl = get_markup_template('notes.tpl'); $o = replace_macros($tpl, array( - '$banner' => t('Notes'), '$text' => $text, '$html' => bbcode($text), - '$save' => t('Save'), '$app' => ((isset($arr['app'])) ? true : false), - '$hidden' => ((isset($arr['hidden'])) ? true : false) + '$hidden' => ((isset($arr['hidden'])) ? true : false), + '$strings' => [ + 'title' => t('Notes'), + 'read' => t('Read mode'), + 'edit' => t('Edit mode'), + 'editing' => t('Editing'), + 'saving' => t('Saving'), + 'saved' => t('Saved'), + 'dots' => '<span class="jumping-dots"><span class="dot-1">.</span><span class="dot-2">.</span><span class="dot-3">.</span></span>' + ] )); + + + return $o; } } |