diff --git a/includes/i18n/de.php b/includes/i18n/de.php
index d0e4de7..80312b5 100644
--- a/includes/i18n/de.php
+++ b/includes/i18n/de.php
@@ -22,6 +22,7 @@ $i18n = [
'subscriptions' => "Abonnements",
'stats' => "Statistiken",
'settings' => "Einstellungen",
+ 'admin' => "Admin",
'about' => "Über",
'logout' => "Logout",
// Subscriptions page
diff --git a/includes/i18n/el.php b/includes/i18n/el.php
index 58e2774..23a301c 100644
--- a/includes/i18n/el.php
+++ b/includes/i18n/el.php
@@ -22,6 +22,7 @@ $i18n = [
'subscriptions' => "Συνδρομές",
'stats' => "Στατιστικές",
'settings' => "Ρυθμίσεις",
+ 'admin' => "Διαχείριση",
'about' => "Για εμάς",
'logout' => "Αποσύνδεση",
// Subscriptions page
diff --git a/includes/i18n/en.php b/includes/i18n/en.php
index 0d571fc..0cb324e 100644
--- a/includes/i18n/en.php
+++ b/includes/i18n/en.php
@@ -22,6 +22,7 @@ $i18n = [
'subscriptions' => "Subscriptions",
'stats' => "Statistics",
'settings' => "Settings",
+ 'admin' => "Admin",
'about' => "About",
'logout' => "Logout",
// Subscriptions page
diff --git a/includes/i18n/es.php b/includes/i18n/es.php
index 7222e76..4d76faa 100644
--- a/includes/i18n/es.php
+++ b/includes/i18n/es.php
@@ -22,6 +22,7 @@ $i18n = [
'subscriptions' => "Suscripciones",
'stats' => "Estadísticas",
'settings' => "Configuración",
+ 'admin' => "Admin",
'about' => "Acerca de",
'logout' => "Cerrar Sesión",
// Subscriptions page
diff --git a/includes/i18n/fr.php b/includes/i18n/fr.php
index d6a1bfd..e8bd441 100644
--- a/includes/i18n/fr.php
+++ b/includes/i18n/fr.php
@@ -22,6 +22,7 @@ $i18n = [
'subscriptions' => "Abonnements",
'stats' => "Statistiques",
'settings' => "Paramètres",
+ 'admin' => "Admin",
'about' => "À propos",
'logout' => "Déconnexion",
// Page d'abonnements
diff --git a/includes/i18n/it.php b/includes/i18n/it.php
index 92bf820..f19269d 100644
--- a/includes/i18n/it.php
+++ b/includes/i18n/it.php
@@ -24,6 +24,7 @@ $i18n = [
'subscriptions' => 'Abbonamenti',
'stats' => 'Statistiche',
'settings' => 'Impostazioni',
+ 'admin' => 'Amministrazione',
'about' => 'Informazioni',
'logout' => 'Esci',
diff --git a/includes/i18n/jp.php b/includes/i18n/jp.php
index 52eb54d..f72d3c2 100644
--- a/includes/i18n/jp.php
+++ b/includes/i18n/jp.php
@@ -22,6 +22,7 @@ $i18n = [
'subscriptions' => "定期購入",
'stats' => "統計",
'settings' => "設定",
+ 'admin' => "管理者",
'about' => "About",
'logout' => "ログアウト",
// Subscriptions page
diff --git a/includes/i18n/ko.php b/includes/i18n/ko.php
index 9772f3f..d37e945 100644
--- a/includes/i18n/ko.php
+++ b/includes/i18n/ko.php
@@ -22,6 +22,7 @@ $i18n = [
'subscriptions' => "구독",
'stats' => "통계",
'settings' => "설정",
+ 'admin' => "관리자",
'about' => "정보",
'logout' => "로그아웃",
// Subscriptions page
diff --git a/includes/i18n/languages.php b/includes/i18n/languages.php
index 3217ce8..366e303 100644
--- a/includes/i18n/languages.php
+++ b/includes/i18n/languages.php
@@ -1,26 +1,25 @@
Language Name
+ // File Name => Language Name
$languages = [
// English first
- "en" => "English",
+ "en" => ["name" => "English", "dir" => "ltr"],
// Remaining sorted alphabetically by language code
- "de" => "Deutsch",
- "el" => "Ελληνικά",
- "es" => "Español",
- "fr" => "Français",
- "it" => "Italiano",
- "jp" => "日本語",
- "ko" => "한국어",
- "pl" => "Polski",
- "pt" => "Português",
- "pt_br" => "Português Brasileiro",
- "ru" => "Русский",
- "sr_lat" => "Srpski",
- "sr" => "Српски",
- "tr" => "Türkçe",
- "zh_cn" => "简体中文",
- "zh_tw" => "繁體中文",
+ "de" => ["name" => "Deutsch", "dir" => "ltr"],
+ "el" => ["name" => "Ελληνικά", "dir" => "ltr"],
+ "es" => ["name" => "Español", "dir" => "ltr"],
+ "fr" => ["name" => "Français", "dir" => "ltr"],
+ "it" => ["name" => "Italiano", "dir" => "ltr"],
+ "jp" => ["name" => "日本語", "dir" => "ltr"],
+ "ko" => ["name" => "한국어", "dir" => "ltr"],
+ "pl" => ["name" => "Polski", "dir" => "ltr"],
+ "pt" => ["name" => "Português", "dir" => "ltr"],
+ "pt_br" => ["name" => "Português Brasileiro", "dir" => "ltr"],
+ "ru" => ["name" => "Русский", "dir" => "ltr"],
+ "sr_lat" => ["name" => "Srpski", "dir" => "ltr"],
+ "sr" => ["name" => "Српски", "dir" => "ltr"],
+ "tr" => ["name" => "Türkçe", "dir" => "ltr"],
+ "zh_cn" => ["name" => "简体中文", "dir" => "ltr"],
+ "zh_tw" => ["name" => "繁體中文", "dir" => "ltr"],
]
-
-?>
+
+?>
\ No newline at end of file
diff --git a/includes/i18n/pl.php b/includes/i18n/pl.php
index 656d04b..c69467f 100644
--- a/includes/i18n/pl.php
+++ b/includes/i18n/pl.php
@@ -22,6 +22,7 @@ $i18n = [
'subscriptions' => "Subskrypcje",
'stats' => "Statystyki",
'settings' => "Ustawienia",
+ 'admin' => "Admin",
'about' => "O aplikacji",
'logout' => "Wyloguj się",
// Subscriptions page
diff --git a/includes/i18n/pt.php b/includes/i18n/pt.php
index 6701f5f..5376f1e 100644
--- a/includes/i18n/pt.php
+++ b/includes/i18n/pt.php
@@ -22,6 +22,7 @@ $i18n = [
'subscriptions' => "Subscrições",
'stats' => "Estatísticas",
'settings' => "Definições",
+ 'admin' => "Administração",
'about' => "Sobre",
'logout' => "Terminar Sessão",
// Subscriptions page
diff --git a/includes/i18n/pt_br.php b/includes/i18n/pt_br.php
index b10a32b..f9c6d5d 100644
--- a/includes/i18n/pt_br.php
+++ b/includes/i18n/pt_br.php
@@ -22,6 +22,7 @@ $i18n = [
'subscriptions' => "Assinaturas",
'stats' => "Estatísticas",
'settings' => "Configurações",
+ 'admin' => "Admin",
'about' => "Sobre",
'logout' => "Sair",
// Subscriptions page
diff --git a/includes/i18n/ru.php b/includes/i18n/ru.php
index daffc28..134583d 100644
--- a/includes/i18n/ru.php
+++ b/includes/i18n/ru.php
@@ -22,6 +22,7 @@ $i18n = [
'subscriptions' => "Подписки",
'stats' => "Статистика",
'settings' => "Настройки",
+ 'admin' => "Администратор",
'about' => "О программе",
'logout' => "Выйти",
// Subscriptions page
diff --git a/includes/i18n/sr.php b/includes/i18n/sr.php
index 7436ba8..38e967f 100644
--- a/includes/i18n/sr.php
+++ b/includes/i18n/sr.php
@@ -22,6 +22,7 @@ $i18n = [
'subscriptions' => "Претплате",
'stats' => "Статистике",
'settings' => "Подешавања",
+ 'admin' => "Админ",
'about' => "О апликацији",
'logout' => "Одјава",
// Страница са претплатама
diff --git a/includes/i18n/sr_lat.php b/includes/i18n/sr_lat.php
index daaee79..8d2bd23 100644
--- a/includes/i18n/sr_lat.php
+++ b/includes/i18n/sr_lat.php
@@ -22,6 +22,7 @@ $i18n = [
'subscriptions' => "Pretplate",
'stats' => "Statistike",
'settings' => "Podešavanja",
+ 'admin' => "Admin",
'about' => "O aplikaciji",
'logout' => "Odjava",
// Stranica sa pretplatama
diff --git a/includes/i18n/tr.php b/includes/i18n/tr.php
index 70fb754..76e82d3 100644
--- a/includes/i18n/tr.php
+++ b/includes/i18n/tr.php
@@ -22,6 +22,7 @@ $i18n = [
'subscriptions' => "Abonelikler",
'stats' => "İstatistikler",
'settings' => "Ayarlar",
+ 'admin' => "Yönetici",
'about' => "Hakkında",
'logout' => "Çıkış Yap",
// Subscriptions page
diff --git a/includes/i18n/zh_cn.php b/includes/i18n/zh_cn.php
index e0fcf01..ea0ffcb 100644
--- a/includes/i18n/zh_cn.php
+++ b/includes/i18n/zh_cn.php
@@ -24,6 +24,7 @@ $i18n = [
'subscriptions' => "订阅",
'stats' => "统计",
'settings' => "设置",
+ 'admin' => "管理员",
'about' => "关于",
'logout' => "登出",
diff --git a/includes/i18n/zh_tw.php b/includes/i18n/zh_tw.php
index 8f85972..a6d759c 100644
--- a/includes/i18n/zh_tw.php
+++ b/includes/i18n/zh_tw.php
@@ -22,6 +22,7 @@ $i18n = [
'subscriptions' => "訂閱",
'stats' => "統計",
'settings' => "設定",
+ 'admin' => "管理員",
'about' => "關於",
'logout' => "登出",
// 訂閱頁面
diff --git a/login.php b/login.php
index aec52c7..6b7c6a3 100644
--- a/login.php
+++ b/login.php
@@ -77,7 +77,7 @@ if (isset($_POST['username']) && isset($_POST['password'])) {
}
?>
-
+
@@ -94,7 +94,7 @@ if (isset($_POST['username']) && isset($_POST['password'])) {
>
-
+
diff --git a/registration.php b/registration.php
index 0b13f07..225b5f0 100644
--- a/registration.php
+++ b/registration.php
@@ -91,7 +91,7 @@ if (isset($_POST['username'])) {
}
?>
-
+
@@ -109,7 +109,7 @@ if (isset($_POST['username'])) {
-
+
@@ -157,10 +157,10 @@ if (isset($_POST['username'])) {
-
-
- = translate('backup_and_restore', $i18n) ?>
-
-
-
-
-
- = translate('restore_info', $i18n) ?>
-
-
-
-
diff --git a/styles/login.css b/styles/login.css
index 5508cdd..869cbd7 100644
--- a/styles/login.css
+++ b/styles/login.css
@@ -74,6 +74,11 @@ label {
cursor: pointer;
}
+.rtl .form-group-inline label {
+ margin-right: 8px;
+ margin-left: 0px;
+}
+
input {
box-sizing: border-box;
}
diff --git a/styles/styles.css b/styles/styles.css
index a1d2f61..f98c301 100644
--- a/styles/styles.css
+++ b/styles/styles.css
@@ -123,11 +123,9 @@ header .logo .logo-image {
color: black;
padding: 14px 18px;
text-decoration: none;
- display: block;
-}
-
-.dropdown-content a > i {
- margin-right: 12px;
+ display: flex;
+ flex-direction: row;
+ gap: 12px;
}
.dropdown-content a:hover {
@@ -233,6 +231,11 @@ main > .contain {
font-size: 20px;
}
+.rtl .top-actions > .search > .search-icon {
+ float: left;
+ right: -15px;
+}
+
.subscriptions {
display: flex;
flex-direction: column;
@@ -340,6 +343,12 @@ main > .contain {
margin-right: 12px;
}
+.rtl .subscription .price img {
+ margin-right: 0px;
+ margin-left: 12px;
+
+}
+
.subscription .actions {
flex-basis: auto;
}
@@ -359,6 +368,7 @@ main > .contain {
.subscription-secondary > span {
justify-content: flex-start;
flex-basis: 33%;
+ gap: 10px;
}
.subscription-secondary > .url {
@@ -367,10 +377,16 @@ main > .contain {
cursor: pointer;
}
+.rtl .subscription-secondary > .url {
+ margin-left: 0px;
+ margin-right: auto;
+}
+
.subscription-notes > span {
display: flex;
align-items: center;
font-size: 14px;
+ gap: 10px;
}
@media (max-width: 768px) {
@@ -403,7 +419,6 @@ main > .contain {
.subscription-secondary img,
.subscription-notes img {
height: 20px;
- margin-right: 10px;
}
.subscription-secondary .url img {
@@ -812,6 +827,12 @@ header #avatar {
color: var(--accent-color);
}
+.rtl .credits-list > p > span > a,
+.rtl .settings-notes > p > span > a {
+ margin-left: 0px;
+ margin-right: 5px;
+}
+
.credits-list > p > span > a:visited,
.settings-notes > p > span > a:visited {
color: var(--accent-color);
@@ -823,6 +844,12 @@ header #avatar {
margin-right: 5px;
}
+.rtl .settings-notes > p > i,
+.rtl .account-section .notes > p > i {
+ margin-right: 0px;
+ margin-left: 5px;
+}
+
.form-group {
margin-bottom: 20px;
}
@@ -1249,6 +1276,11 @@ textarea.thin {
color: gray;
}
+.rtl .close-form {
+ right: auto;
+ left: 15px;
+}
+
.sort-container {
position: relative;
}
@@ -1270,6 +1302,11 @@ textarea.thin {
z-index: 2;
}
+.rtl .sort-options {
+ left: 0px;
+ right: auto;
+}
+
@media (max-width: 380px) {
.sort-container {
flex-grow: 1;
@@ -1293,6 +1330,10 @@ textarea.thin {
cursor: pointer;
}
+.rtl .sort-options > ul > li {
+ padding: 14px 18px 14px 35px;
+}
+
.sort-options > ul > li:last-of-type {
border-bottom: none;
}
@@ -1308,6 +1349,10 @@ textarea.thin {
background-position: center right 10px;
}
+.rtl .sort-options > ul > li.selected {
+ background-position: center left 10px;
+}
+
.subscription-list-title {
font-size: 18px;
padding: 4px;
@@ -1594,6 +1639,12 @@ textarea.thin {
margin-top: 6px;
}
+.rtl .filtermenu-content {
+ left: 0;
+ right: auto;
+
+}
+
@media (max-width: 354px) {
.on-dashboard .filtermenu-content {
right: -94px;
@@ -1647,6 +1698,10 @@ textarea.thin {
background-position: center right 10px;
}
+.rtl .filtermenu-content .filter-item.selected {
+ background-position: center left 10px;
+}
+
.filtermenu-content .filter-title.filter-clear {
color: var(--hover-color);
font-weight: normal;
@@ -1657,6 +1712,11 @@ textarea.thin {
margin-right: 8px;
}
+.rtl .filtermenu-content .filter-title.filter-clear > i {
+ margin-left: 8px;
+ margin-right: 0px;
+}
+
.filtermenu-content .filter-item:hover,
.filtermenu-content .filter-title:hover {
background-color: #f1f1f1;