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