mirror of https://gitlab.com/bashrc2/epicyon
Searchable by dropdown
parent
8a07b8d924
commit
95c8e3ea48
|
@ -700,5 +700,7 @@
|
|||
"Pronouns": "الضمائر",
|
||||
"Music": "موسيقى",
|
||||
"Art": "فن",
|
||||
"Reply Controls": "عناصر التحكم في الرد"
|
||||
"Reply Controls": "عناصر التحكم في الرد",
|
||||
"Searchable by": "قابلة للبحث بواسطة",
|
||||
"Yourself": "نفسك"
|
||||
}
|
||||
|
|
|
@ -700,5 +700,7 @@
|
|||
"Pronouns": "সর্বনাম",
|
||||
"Music": "সঙ্গীত",
|
||||
"Art": "শিল্প",
|
||||
"Reply Controls": "উত্তর নিয়ন্ত্রণ"
|
||||
"Reply Controls": "উত্তর নিয়ন্ত্রণ",
|
||||
"Searchable by": "দ্বারা অনুসন্ধানযোগ্য",
|
||||
"Yourself": "নিজেকে"
|
||||
}
|
||||
|
|
|
@ -700,5 +700,7 @@
|
|||
"Pronouns": "Els pronoms",
|
||||
"Music": "Música",
|
||||
"Art": "Art",
|
||||
"Reply Controls": "Controls de resposta"
|
||||
"Reply Controls": "Controls de resposta",
|
||||
"Searchable by": "Cercable per",
|
||||
"Yourself": "Tu mateix"
|
||||
}
|
||||
|
|
|
@ -700,5 +700,7 @@
|
|||
"Pronouns": "Rhagenwau",
|
||||
"Music": "Cerddoriaeth",
|
||||
"Art": "Celf",
|
||||
"Reply Controls": "Rheolaethau Ymateb"
|
||||
"Reply Controls": "Rheolaethau Ymateb",
|
||||
"Searchable by": "Chwiliadwy gan",
|
||||
"Yourself": "Eich Hun"
|
||||
}
|
||||
|
|
|
@ -700,5 +700,7 @@
|
|||
"Pronouns": "Pronomen",
|
||||
"Music": "Musik",
|
||||
"Art": "Kunst",
|
||||
"Reply Controls": "Antwortsteuerung"
|
||||
"Reply Controls": "Antwortsteuerung",
|
||||
"Searchable by": "Durchsuchbar nach",
|
||||
"Yourself": "Selbst"
|
||||
}
|
||||
|
|
|
@ -700,5 +700,7 @@
|
|||
"Pronouns": "Αντωνυμίες",
|
||||
"Music": "Μουσική",
|
||||
"Art": "Τέχνη",
|
||||
"Reply Controls": "Στοιχεία ελέγχου απάντησης"
|
||||
"Reply Controls": "Στοιχεία ελέγχου απάντησης",
|
||||
"Searchable by": "Δυνατότητα αναζήτησης από",
|
||||
"Yourself": "Σύ ο ίδιος"
|
||||
}
|
||||
|
|
|
@ -700,5 +700,7 @@
|
|||
"Pronouns": "Pronouns",
|
||||
"Music": "Music",
|
||||
"Art": "Art",
|
||||
"Reply Controls": "Reply Controls"
|
||||
"Reply Controls": "Reply Controls",
|
||||
"Searchable by": "Searchable by",
|
||||
"Yourself": "Yourself"
|
||||
}
|
||||
|
|
|
@ -700,5 +700,7 @@
|
|||
"Pronouns": "Pronombres",
|
||||
"Music": "Música",
|
||||
"Art": "Arte",
|
||||
"Reply Controls": "Controles de respuesta"
|
||||
"Reply Controls": "Controles de respuesta",
|
||||
"Searchable by": "Buscable por",
|
||||
"Yourself": "Tú mismo"
|
||||
}
|
||||
|
|
|
@ -700,5 +700,7 @@
|
|||
"Pronouns": "ضمایر",
|
||||
"Music": "موسیقی",
|
||||
"Art": "هنر",
|
||||
"Reply Controls": "کنترل های پاسخ"
|
||||
"Reply Controls": "کنترل های پاسخ",
|
||||
"Searchable by": "قابل جستجو توسط",
|
||||
"Yourself": "خودت"
|
||||
}
|
||||
|
|
|
@ -700,5 +700,7 @@
|
|||
"Pronouns": "Pronominit",
|
||||
"Music": "Musiikki",
|
||||
"Art": "Taide",
|
||||
"Reply Controls": "Vastausohjaimet"
|
||||
"Reply Controls": "Vastausohjaimet",
|
||||
"Searchable by": "Haettavissa",
|
||||
"Yourself": "itseäsi"
|
||||
}
|
||||
|
|
|
@ -700,5 +700,7 @@
|
|||
"Pronouns": "Pronoms",
|
||||
"Music": "Musique",
|
||||
"Art": "Art",
|
||||
"Reply Controls": "Contrôles de réponse"
|
||||
"Reply Controls": "Contrôles de réponse",
|
||||
"Searchable by": "Recherchable par",
|
||||
"Yourself": "Toi-même"
|
||||
}
|
||||
|
|
|
@ -700,5 +700,7 @@
|
|||
"Pronouns": "Forainmneacha",
|
||||
"Music": "Ceol",
|
||||
"Art": "Ealaín",
|
||||
"Reply Controls": "Rialuithe Freagra"
|
||||
"Reply Controls": "Rialuithe Freagra",
|
||||
"Searchable by": "Inchuardaithe ag",
|
||||
"Yourself": "Tú féin"
|
||||
}
|
||||
|
|
|
@ -700,5 +700,7 @@
|
|||
"Pronouns": "כינויים",
|
||||
"Music": "מוּסִיקָה",
|
||||
"Art": "אָמָנוּת",
|
||||
"Reply Controls": "פקדי תגובה"
|
||||
"Reply Controls": "פקדי תגובה",
|
||||
"Searchable by": "ניתן לחיפוש לפי",
|
||||
"Yourself": "עַצמְךָ"
|
||||
}
|
||||
|
|
|
@ -700,5 +700,7 @@
|
|||
"Pronouns": "सर्वनाम",
|
||||
"Music": "संगीत",
|
||||
"Art": "कला",
|
||||
"Reply Controls": "उत्तर नियंत्रण"
|
||||
"Reply Controls": "उत्तर नियंत्रण",
|
||||
"Searchable by": "द्वारा खोजा जा सकता है",
|
||||
"Yourself": "अपने आप को"
|
||||
}
|
||||
|
|
|
@ -700,5 +700,7 @@
|
|||
"Pronouns": "Pronomi",
|
||||
"Music": "Musica",
|
||||
"Art": "Arte",
|
||||
"Reply Controls": "Controlli di risposta"
|
||||
"Reply Controls": "Controlli di risposta",
|
||||
"Searchable by": "Ricercabile per",
|
||||
"Yourself": "Te stesso"
|
||||
}
|
||||
|
|
|
@ -700,5 +700,7 @@
|
|||
"Pronouns": "代名詞",
|
||||
"Music": "音楽",
|
||||
"Art": "美術",
|
||||
"Reply Controls": "返信コントロール"
|
||||
"Reply Controls": "返信コントロール",
|
||||
"Searchable by": "検索可能",
|
||||
"Yourself": "あなた自身"
|
||||
}
|
||||
|
|
|
@ -700,5 +700,7 @@
|
|||
"Pronouns": "대명사",
|
||||
"Music": "음악",
|
||||
"Art": "미술",
|
||||
"Reply Controls": "답변 제어"
|
||||
"Reply Controls": "답변 제어",
|
||||
"Searchable by": "검색 가능",
|
||||
"Yourself": "당신 자신"
|
||||
}
|
||||
|
|
|
@ -700,5 +700,7 @@
|
|||
"Pronouns": "Cînavk",
|
||||
"Music": "Mûzîk",
|
||||
"Art": "Fen",
|
||||
"Reply Controls": "Reply Controls"
|
||||
"Reply Controls": "Reply Controls",
|
||||
"Searchable by": "Lêgerîn ji hêla",
|
||||
"Yourself": "Xwe"
|
||||
}
|
||||
|
|
|
@ -700,5 +700,7 @@
|
|||
"Pronouns": "Voornaamwoorden",
|
||||
"Music": "Muziek",
|
||||
"Art": "Kunst",
|
||||
"Reply Controls": "Antwoordbedieningen"
|
||||
"Reply Controls": "Antwoordbedieningen",
|
||||
"Searchable by": "Doorzoekbaar op",
|
||||
"Yourself": "Jezelf"
|
||||
}
|
||||
|
|
|
@ -696,5 +696,7 @@
|
|||
"Pronouns": "Pronouns",
|
||||
"Music": "Music",
|
||||
"Art": "Art",
|
||||
"Reply Controls": "Reply Controls"
|
||||
"Reply Controls": "Reply Controls",
|
||||
"Searchable by": "Searchable by",
|
||||
"Yourself": "Yourself"
|
||||
}
|
||||
|
|
|
@ -700,5 +700,7 @@
|
|||
"Pronouns": "Zaimki",
|
||||
"Music": "Muzyka",
|
||||
"Art": "Sztuka",
|
||||
"Reply Controls": "Kontrola odpowiedzi"
|
||||
"Reply Controls": "Kontrola odpowiedzi",
|
||||
"Searchable by": "Można wyszukiwać według",
|
||||
"Yourself": "Się"
|
||||
}
|
||||
|
|
|
@ -700,5 +700,7 @@
|
|||
"Pronouns": "Pronomes",
|
||||
"Music": "Música",
|
||||
"Art": "Arte",
|
||||
"Reply Controls": "Controles de resposta"
|
||||
"Reply Controls": "Controles de resposta",
|
||||
"Searchable by": "Pesquisável por",
|
||||
"Yourself": "Tu próprio"
|
||||
}
|
||||
|
|
|
@ -700,5 +700,7 @@
|
|||
"Pronouns": "Местоимения",
|
||||
"Music": "Музыка",
|
||||
"Art": "Искусство",
|
||||
"Reply Controls": "Ответить Элементы управления"
|
||||
"Reply Controls": "Ответить Элементы управления",
|
||||
"Searchable by": "Поиск по",
|
||||
"Yourself": "Сам"
|
||||
}
|
||||
|
|
|
@ -700,5 +700,7 @@
|
|||
"Pronouns": "Viwakilishi",
|
||||
"Music": "Muziki",
|
||||
"Art": "Sanaa",
|
||||
"Reply Controls": "Vidhibiti vya Kujibu"
|
||||
"Reply Controls": "Vidhibiti vya Kujibu",
|
||||
"Searchable by": "Inaweza kutafutwa na",
|
||||
"Yourself": "Mwenyewe"
|
||||
}
|
||||
|
|
|
@ -700,5 +700,7 @@
|
|||
"Pronouns": "Zamirler",
|
||||
"Music": "Müzik",
|
||||
"Art": "Sanat",
|
||||
"Reply Controls": "Cevap Kontrolleri"
|
||||
"Reply Controls": "Cevap Kontrolleri",
|
||||
"Searchable by": "Aranabilir",
|
||||
"Yourself": "Kendin"
|
||||
}
|
||||
|
|
|
@ -700,5 +700,7 @@
|
|||
"Pronouns": "Займенники",
|
||||
"Music": "музика",
|
||||
"Art": "ст",
|
||||
"Reply Controls": "Елементи керування відповідями"
|
||||
"Reply Controls": "Елементи керування відповідями",
|
||||
"Searchable by": "Можливість пошуку за",
|
||||
"Yourself": "себе"
|
||||
}
|
||||
|
|
|
@ -700,5 +700,7 @@
|
|||
"Pronouns": "פּראָנאָונס",
|
||||
"Music": "מוזיק",
|
||||
"Art": "קונסט",
|
||||
"Reply Controls": "ענטפער קאָנטראָלס"
|
||||
"Reply Controls": "ענטפער קאָנטראָלס",
|
||||
"Searchable by": "זוך דורך",
|
||||
"Yourself": "זיך"
|
||||
}
|
||||
|
|
|
@ -700,5 +700,7 @@
|
|||
"Pronouns": "代词",
|
||||
"Music": "音乐",
|
||||
"Art": "艺术",
|
||||
"Reply Controls": "回复控制"
|
||||
"Reply Controls": "回复控制",
|
||||
"Searchable by": "可搜索",
|
||||
"Yourself": "你自己"
|
||||
}
|
||||
|
|
|
@ -965,6 +965,8 @@ def html_new_post(edit_post_params: {},
|
|||
replies_section += \
|
||||
'<input type="hidden" name="commentsEnabled" ' + \
|
||||
'value="true">\n'
|
||||
|
||||
# Language used dropdown
|
||||
supported_languages = get_supported_languages(base_dir)
|
||||
languages_dropdown = '<select id="themeDropdown" ' + \
|
||||
'name="languagesDropdown" class="theme">'
|
||||
|
@ -986,6 +988,32 @@ def html_new_post(edit_post_params: {},
|
|||
' <label class="labels">' + \
|
||||
translate['Language used'] + '</label>\n'
|
||||
replies_section += languages_dropdown
|
||||
|
||||
# searchable by dropdown
|
||||
searchables = {
|
||||
'yourself': translate['Yourself'],
|
||||
'public': translate['Public'],
|
||||
'followers': translate['Followers'],
|
||||
'mutuals': translate['Mutuals']
|
||||
}
|
||||
searchable_by_dropdown = '<select id="themeDropdown" ' + \
|
||||
'name="searchableByDropdown" class="theme">'
|
||||
searchable_by_default = 'yourself'
|
||||
for srch, srch_text in searchables.items():
|
||||
if srch != searchable_by_default:
|
||||
searchable_by_dropdown += \
|
||||
' <option value="' + srch + '">' + \
|
||||
srch_text + '</option>'
|
||||
else:
|
||||
searchable_by_dropdown += \
|
||||
' <option value="' + srch + '" selected="">' + \
|
||||
srch_text + '</option>'
|
||||
replies_section += \
|
||||
' <label class="labels">🔎 ' + \
|
||||
translate['Searchable by'] + '</label>\n'
|
||||
replies_section += searchable_by_dropdown
|
||||
|
||||
# buy link
|
||||
buy_link_str = translate['Buy link']
|
||||
replies_section += edit_text_field(buy_link_str, 'buyUrl',
|
||||
default_buy_site, 'https://...')
|
||||
|
|
Loading…
Reference in New Issue