add basic RTL support, drop default language key

This commit is contained in:
El RIDO
2023-09-19 07:29:00 +02:00
parent 896a49c8cf
commit 5c97443d1d
43 changed files with 53 additions and 59 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
<?php
use PrivateBin\I18n;
?><!DOCTYPE html>
<html lang="<?php echo I18n::_('en'); ?>">
<html lang="<?php echo I18n::getLanguage(); ?>"<?php echo I18n::isRtl() ? ' dir="rtl"' : ''; ?>>
<head>
<meta charset="utf-8" />
<meta http-equiv="Content-Security-Policy" content="<?php echo I18n::encode($CSPHEADER); ?>">