mirror of https://gitlab.com/bashrc2/epicyon
If there are more than ten accounts then make them into a dropdown
parent
2d0fdc2f64
commit
8f21dafc6b
|
@ -346,5 +346,6 @@
|
||||||
"Filter": "منقي",
|
"Filter": "منقي",
|
||||||
"Filter out words": "تصفية الكلمات",
|
"Filter out words": "تصفية الكلمات",
|
||||||
"Unfilter": "غير مرشح",
|
"Unfilter": "غير مرشح",
|
||||||
"Unfilter words": "الكلمات غير المصفاة"
|
"Unfilter words": "الكلمات غير المصفاة",
|
||||||
|
"Show Accounts": "إظهار الحسابات"
|
||||||
}
|
}
|
||||||
|
|
|
@ -346,5 +346,6 @@
|
||||||
"Filter": "Filtre",
|
"Filter": "Filtre",
|
||||||
"Filter out words": "Filtra les paraules",
|
"Filter out words": "Filtra les paraules",
|
||||||
"Unfilter": "Sense filtre",
|
"Unfilter": "Sense filtre",
|
||||||
"Unfilter words": "Paraules sense filtre"
|
"Unfilter words": "Paraules sense filtre",
|
||||||
|
"Show Accounts": "Mostra comptes"
|
||||||
}
|
}
|
||||||
|
|
|
@ -346,5 +346,6 @@
|
||||||
"Filter": "Hidlo",
|
"Filter": "Hidlo",
|
||||||
"Filter out words": "Hidlo geiriau",
|
"Filter out words": "Hidlo geiriau",
|
||||||
"Unfilter": "Di-hid",
|
"Unfilter": "Di-hid",
|
||||||
"Unfilter words": "Geiriau di-hid"
|
"Unfilter words": "Geiriau di-hid",
|
||||||
|
"Show Accounts": "Dangos Cyfrifon"
|
||||||
}
|
}
|
||||||
|
|
|
@ -346,5 +346,6 @@
|
||||||
"Filter": "Filter",
|
"Filter": "Filter",
|
||||||
"Filter out words": "Wörter herausfiltern",
|
"Filter out words": "Wörter herausfiltern",
|
||||||
"Unfilter": "Filter entfernen",
|
"Unfilter": "Filter entfernen",
|
||||||
"Unfilter words": "Wörter herausfiltern"
|
"Unfilter words": "Wörter herausfiltern",
|
||||||
|
"Show Accounts": "Konten anzeigen"
|
||||||
}
|
}
|
||||||
|
|
|
@ -346,5 +346,6 @@
|
||||||
"Filter": "Filter",
|
"Filter": "Filter",
|
||||||
"Filter out words": "Filter out words",
|
"Filter out words": "Filter out words",
|
||||||
"Unfilter": "Unfilter",
|
"Unfilter": "Unfilter",
|
||||||
"Unfilter words": "Unfilter words"
|
"Unfilter words": "Unfilter words",
|
||||||
|
"Show Accounts": "Show Accounts"
|
||||||
}
|
}
|
||||||
|
|
|
@ -346,5 +346,6 @@
|
||||||
"Filter": "Filtrar",
|
"Filter": "Filtrar",
|
||||||
"Filter out words": "Filtrar palabras",
|
"Filter out words": "Filtrar palabras",
|
||||||
"Unfilter": "Unfilter",
|
"Unfilter": "Unfilter",
|
||||||
"Unfilter words": "Palabras sin filtrar"
|
"Unfilter words": "Palabras sin filtrar",
|
||||||
|
"Show Accounts": "Mostrar cuentas"
|
||||||
}
|
}
|
||||||
|
|
|
@ -346,5 +346,6 @@
|
||||||
"Filter": "Filtre",
|
"Filter": "Filtre",
|
||||||
"Filter out words": "Filtrer les mots",
|
"Filter out words": "Filtrer les mots",
|
||||||
"Unfilter": "Non filtrer",
|
"Unfilter": "Non filtrer",
|
||||||
"Unfilter words": "Mots non filtrés"
|
"Unfilter words": "Mots non filtrés",
|
||||||
|
"Show Accounts": "Afficher les comptes"
|
||||||
}
|
}
|
||||||
|
|
|
@ -346,5 +346,6 @@
|
||||||
"Filter": "Scagaire",
|
"Filter": "Scagaire",
|
||||||
"Filter out words": "Scag focail amach",
|
"Filter out words": "Scag focail amach",
|
||||||
"Unfilter": "Neamhleithleach",
|
"Unfilter": "Neamhleithleach",
|
||||||
"Unfilter words": "Focail neamhleithleacha"
|
"Unfilter words": "Focail neamhleithleacha",
|
||||||
|
"Show Accounts": "Taispeáin Cuntais"
|
||||||
}
|
}
|
||||||
|
|
|
@ -346,5 +346,6 @@
|
||||||
"Filter": "फ़िल्टर",
|
"Filter": "फ़िल्टर",
|
||||||
"Filter out words": "शब्दों को फ़िल्टर करें",
|
"Filter out words": "शब्दों को फ़िल्टर करें",
|
||||||
"Unfilter": "Unfilter",
|
"Unfilter": "Unfilter",
|
||||||
"Unfilter words": "अनफ़िल्टर शब्द"
|
"Unfilter words": "अनफ़िल्टर शब्द",
|
||||||
|
"Show Accounts": "खाते दिखाएं"
|
||||||
}
|
}
|
||||||
|
|
|
@ -346,5 +346,6 @@
|
||||||
"Filter": "Filtro",
|
"Filter": "Filtro",
|
||||||
"Filter out words": "Filtra le parole",
|
"Filter out words": "Filtra le parole",
|
||||||
"Unfilter": "Unfilter",
|
"Unfilter": "Unfilter",
|
||||||
"Unfilter words": "Parole non filtrate"
|
"Unfilter words": "Parole non filtrate",
|
||||||
|
"Show Accounts": "Mostra account"
|
||||||
}
|
}
|
||||||
|
|
|
@ -346,5 +346,6 @@
|
||||||
"Filter": "フィルタ",
|
"Filter": "フィルタ",
|
||||||
"Filter out words": "単語を除外する",
|
"Filter out words": "単語を除外する",
|
||||||
"Unfilter": "フィルタリング解除",
|
"Unfilter": "フィルタリング解除",
|
||||||
"Unfilter words": "単語のフィルタリングを解除する"
|
"Unfilter words": "単語のフィルタリングを解除する",
|
||||||
|
"Show Accounts": "アカウントを表示する"
|
||||||
}
|
}
|
||||||
|
|
|
@ -342,5 +342,6 @@
|
||||||
"Filter": "Filter",
|
"Filter": "Filter",
|
||||||
"Filter out words": "Filter out words",
|
"Filter out words": "Filter out words",
|
||||||
"Unfilter": "Unfilter",
|
"Unfilter": "Unfilter",
|
||||||
"Unfilter words": "Unfilter words"
|
"Unfilter words": "Unfilter words",
|
||||||
|
"Show Accounts": "Show Accounts"
|
||||||
}
|
}
|
||||||
|
|
|
@ -346,5 +346,6 @@
|
||||||
"Filter": "Filtro",
|
"Filter": "Filtro",
|
||||||
"Filter out words": "Filtrar palavras",
|
"Filter out words": "Filtrar palavras",
|
||||||
"Unfilter": "Unfilter",
|
"Unfilter": "Unfilter",
|
||||||
"Unfilter words": "Palavras sem filtro"
|
"Unfilter words": "Palavras sem filtro",
|
||||||
|
"Show Accounts": "Mostrar contas"
|
||||||
}
|
}
|
||||||
|
|
|
@ -346,5 +346,6 @@
|
||||||
"Filter": "Фильтр",
|
"Filter": "Фильтр",
|
||||||
"Filter out words": "Отфильтровать слова",
|
"Filter out words": "Отфильтровать слова",
|
||||||
"Unfilter": "Нефильтровать",
|
"Unfilter": "Нефильтровать",
|
||||||
"Unfilter words": "Не фильтровать слова"
|
"Unfilter words": "Не фильтровать слова",
|
||||||
|
"Show Accounts": "Показать счета"
|
||||||
}
|
}
|
||||||
|
|
|
@ -346,5 +346,6 @@
|
||||||
"Filter": "过滤",
|
"Filter": "过滤",
|
||||||
"Filter out words": "过滤掉单词",
|
"Filter out words": "过滤掉单词",
|
||||||
"Unfilter": "取消过滤",
|
"Unfilter": "取消过滤",
|
||||||
"Unfilter words": "未过滤字词"
|
"Unfilter words": "未过滤字词",
|
||||||
|
"Show Accounts": "显示帐户"
|
||||||
}
|
}
|
||||||
|
|
|
@ -155,14 +155,6 @@ def htmlModerationInfo(cssCache: {}, translate: {},
|
||||||
|
|
||||||
infoShown = False
|
infoShown = False
|
||||||
|
|
||||||
cols = 5
|
|
||||||
infoForm += '<div class="container">\n'
|
|
||||||
infoForm += '<table class="accountsTable">\n'
|
|
||||||
infoForm += ' <colgroup>\n'
|
|
||||||
for col in range(cols):
|
|
||||||
infoForm += ' <col span="1" class="accountsTableCol">\n'
|
|
||||||
infoForm += ' </colgroup>\n'
|
|
||||||
infoForm += '<tr>\n'
|
|
||||||
accounts = []
|
accounts = []
|
||||||
for subdir, dirs, files in os.walk(baseDir + '/accounts'):
|
for subdir, dirs, files in os.walk(baseDir + '/accounts'):
|
||||||
for acct in dirs:
|
for acct in dirs:
|
||||||
|
@ -174,6 +166,18 @@ def htmlModerationInfo(cssCache: {}, translate: {},
|
||||||
break
|
break
|
||||||
accounts.sort()
|
accounts.sort()
|
||||||
|
|
||||||
|
cols = 5
|
||||||
|
if len(accounts) > 10:
|
||||||
|
infoForm += '<details><summary><b>' + translate['Show Accounts']
|
||||||
|
infoForm += '</b></summary>\n'
|
||||||
|
infoForm += '<div class="container">\n'
|
||||||
|
infoForm += '<table class="accountsTable">\n'
|
||||||
|
infoForm += ' <colgroup>\n'
|
||||||
|
for col in range(cols):
|
||||||
|
infoForm += ' <col span="1" class="accountsTableCol">\n'
|
||||||
|
infoForm += ' </colgroup>\n'
|
||||||
|
infoForm += '<tr>\n'
|
||||||
|
|
||||||
col = 0
|
col = 0
|
||||||
for acct in accounts:
|
for acct in accounts:
|
||||||
acctNickname = acct.split('@')[0]
|
acctNickname = acct.split('@')[0]
|
||||||
|
@ -200,6 +204,8 @@ def htmlModerationInfo(cssCache: {}, translate: {},
|
||||||
infoForm += '</tr>\n<tr>\n'
|
infoForm += '</tr>\n<tr>\n'
|
||||||
infoForm += '</tr>\n</table>\n'
|
infoForm += '</tr>\n</table>\n'
|
||||||
infoForm += '</div>\n'
|
infoForm += '</div>\n'
|
||||||
|
if len(accounts) > 10:
|
||||||
|
infoForm += '</details>\n'
|
||||||
|
|
||||||
suspendedFilename = baseDir + '/accounts/suspended.txt'
|
suspendedFilename = baseDir + '/accounts/suspended.txt'
|
||||||
if os.path.isfile(suspendedFilename):
|
if os.path.isfile(suspendedFilename):
|
||||||
|
|
Loading…
Reference in New Issue