aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-07-13 09:47:50 +0000
committerMario <mario@mariovavti.com>2023-07-13 09:47:50 +0000
commit70b8c57d220aaaa361967343e2ca7dfa62632569 (patch)
treeca2c5d42d192bb0841b43b821f7cd1c95bbde609 /Zotlabs/Lib
parent3d866e89757b8aafe58489f9575f6895029090d1 (diff)
downloadvolse-hubzilla-70b8c57d220aaaa361967343e2ca7dfa62632569.tar.gz
volse-hubzilla-70b8c57d220aaaa361967343e2ca7dfa62632569.tar.bz2
volse-hubzilla-70b8c57d220aaaa361967343e2ca7dfa62632569.zip
basic per item rtl language support - issue ##1780
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/ThreadItem.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php
index 14c9500ff..7fa621470 100644
--- a/Zotlabs/Lib/ThreadItem.php
+++ b/Zotlabs/Lib/ThreadItem.php
@@ -506,7 +506,8 @@ class ThreadItem {
'contact_id' => (($contact) ? $contact['abook_id'] : ''),
'moderate' => ($item['item_blocked'] == ITEM_MODERATED),
'moderate_approve' => t('Approve'),
- 'moderate_delete' => t('Delete')
+ 'moderate_delete' => t('Delete'),
+ 'rtl' => in_array($item['lang'], rtl_languages())
);