mirror of https://gitlab.com/bashrc2/epicyon
Import and export section within profile
parent
04aa5c61c4
commit
854d0dc25c
|
@ -569,5 +569,6 @@
|
||||||
"Dogwhistle words": "كلمات Dogwhistle",
|
"Dogwhistle words": "كلمات Dogwhistle",
|
||||||
"Content warnings will be added for the following": "ستتم إضافة تحذيرات المحتوى لما يلي",
|
"Content warnings will be added for the following": "ستتم إضافة تحذيرات المحتوى لما يلي",
|
||||||
"nowplaying": "الان العب",
|
"nowplaying": "الان العب",
|
||||||
"NowPlaying": "الان العب"
|
"NowPlaying": "الان العب",
|
||||||
|
"Import and Export": "استيراد وتصدير"
|
||||||
}
|
}
|
||||||
|
|
|
@ -569,5 +569,6 @@
|
||||||
"Dogwhistle words": "কুকুরের হুইসেল শব্দ",
|
"Dogwhistle words": "কুকুরের হুইসেল শব্দ",
|
||||||
"Content warnings will be added for the following": "নিম্নলিখিত জন্য বিষয়বস্তু সতর্কতা যোগ করা হবে",
|
"Content warnings will be added for the following": "নিম্নলিখিত জন্য বিষয়বস্তু সতর্কতা যোগ করা হবে",
|
||||||
"nowplaying": "এখন চলছে",
|
"nowplaying": "এখন চলছে",
|
||||||
"NowPlaying": "এখন চলছে"
|
"NowPlaying": "এখন চলছে",
|
||||||
|
"Import and Export": "আমদানি এবং রপ্তানি"
|
||||||
}
|
}
|
||||||
|
|
|
@ -569,5 +569,6 @@
|
||||||
"Dogwhistle words": "Paraules de xiulet",
|
"Dogwhistle words": "Paraules de xiulet",
|
||||||
"Content warnings will be added for the following": "S'afegiran advertències de contingut per al següent",
|
"Content warnings will be added for the following": "S'afegiran advertències de contingut per al següent",
|
||||||
"nowplaying": "arajugant",
|
"nowplaying": "arajugant",
|
||||||
"NowPlaying": "AraJugant"
|
"NowPlaying": "AraJugant",
|
||||||
|
"Import and Export": "Importació i Exportació"
|
||||||
}
|
}
|
||||||
|
|
|
@ -569,5 +569,6 @@
|
||||||
"Dogwhistle words": "Geiriau chwibanogl",
|
"Dogwhistle words": "Geiriau chwibanogl",
|
||||||
"Content warnings will be added for the following": "Bydd rhybuddion cynnwys yn cael eu hychwanegu ar gyfer y canlynol",
|
"Content warnings will be added for the following": "Bydd rhybuddion cynnwys yn cael eu hychwanegu ar gyfer y canlynol",
|
||||||
"nowplaying": "nawrynchwarae",
|
"nowplaying": "nawrynchwarae",
|
||||||
"NowPlaying": "NawrYnChwarae"
|
"NowPlaying": "NawrYnChwarae",
|
||||||
|
"Import and Export": "Mewnforio ac Allforio"
|
||||||
}
|
}
|
||||||
|
|
|
@ -569,5 +569,6 @@
|
||||||
"Dogwhistle words": "Hundepfeife Worte",
|
"Dogwhistle words": "Hundepfeife Worte",
|
||||||
"Content warnings will be added for the following": "Inhaltswarnungen werden für Folgendes hinzugefügt",
|
"Content warnings will be added for the following": "Inhaltswarnungen werden für Folgendes hinzugefügt",
|
||||||
"nowplaying": "läuftgerade",
|
"nowplaying": "läuftgerade",
|
||||||
"NowPlaying": "LäuftGerade"
|
"NowPlaying": "LäuftGerade",
|
||||||
|
"Import and Export": "Import und Export"
|
||||||
}
|
}
|
||||||
|
|
|
@ -569,5 +569,6 @@
|
||||||
"Dogwhistle words": "Σφυρίχτρα λέξεις",
|
"Dogwhistle words": "Σφυρίχτρα λέξεις",
|
||||||
"Content warnings will be added for the following": "Θα προστεθούν προειδοποιήσεις περιεχομένου για τα ακόλουθα",
|
"Content warnings will be added for the following": "Θα προστεθούν προειδοποιήσεις περιεχομένου για τα ακόλουθα",
|
||||||
"nowplaying": "τώραπαίζει",
|
"nowplaying": "τώραπαίζει",
|
||||||
"NowPlaying": "ΤώραΠαίζει"
|
"NowPlaying": "ΤώραΠαίζει",
|
||||||
|
"Import and Export": "Εισάγω και εξάγω"
|
||||||
}
|
}
|
||||||
|
|
|
@ -569,5 +569,6 @@
|
||||||
"Dogwhistle words": "Dogwhistle words",
|
"Dogwhistle words": "Dogwhistle words",
|
||||||
"Content warnings will be added for the following": "Content warnings will be added for the following",
|
"Content warnings will be added for the following": "Content warnings will be added for the following",
|
||||||
"nowplaying": "nowplaying",
|
"nowplaying": "nowplaying",
|
||||||
"NowPlaying": "NowPlaying"
|
"NowPlaying": "NowPlaying",
|
||||||
|
"Import and Export": "Import and Export"
|
||||||
}
|
}
|
||||||
|
|
|
@ -569,5 +569,6 @@
|
||||||
"Dogwhistle words": "Palabras de silbato para perros",
|
"Dogwhistle words": "Palabras de silbato para perros",
|
||||||
"Content warnings will be added for the following": "Se agregarán advertencias de contenido para lo siguiente",
|
"Content warnings will be added for the following": "Se agregarán advertencias de contenido para lo siguiente",
|
||||||
"nowplaying": "jugandoahora",
|
"nowplaying": "jugandoahora",
|
||||||
"NowPlaying": "JugandoAhora"
|
"NowPlaying": "JugandoAhora",
|
||||||
|
"Import and Export": "Importar y exportar"
|
||||||
}
|
}
|
||||||
|
|
|
@ -569,5 +569,6 @@
|
||||||
"Dogwhistle words": "Mots de sifflet de chien",
|
"Dogwhistle words": "Mots de sifflet de chien",
|
||||||
"Content warnings will be added for the following": "Des avertissements de contenu seront ajoutés pour les éléments suivants",
|
"Content warnings will be added for the following": "Des avertissements de contenu seront ajoutés pour les éléments suivants",
|
||||||
"nowplaying": "lectureencours",
|
"nowplaying": "lectureencours",
|
||||||
"NowPlaying": "LectureEnCours"
|
"NowPlaying": "LectureEnCours",
|
||||||
|
"Import and Export": "Importer et exporter"
|
||||||
}
|
}
|
||||||
|
|
|
@ -569,5 +569,6 @@
|
||||||
"Dogwhistle words": "Focail feadóg mhadra",
|
"Dogwhistle words": "Focail feadóg mhadra",
|
||||||
"Content warnings will be added for the following": "Cuirfear rabhaidh ábhair leis maidir leis na nithe seo a leanas",
|
"Content warnings will be added for the following": "Cuirfear rabhaidh ábhair leis maidir leis na nithe seo a leanas",
|
||||||
"nowplaying": "anoisagimirt",
|
"nowplaying": "anoisagimirt",
|
||||||
"NowPlaying": "AnoisAgImirt"
|
"NowPlaying": "AnoisAgImirt",
|
||||||
|
"Import and Export": "Iompórtáil agus Easpórtáil"
|
||||||
}
|
}
|
||||||
|
|
|
@ -569,5 +569,6 @@
|
||||||
"Dogwhistle words": "कुत्ते की सीटी शब्द",
|
"Dogwhistle words": "कुत्ते की सीटी शब्द",
|
||||||
"Content warnings will be added for the following": "निम्नलिखित के लिए सामग्री चेतावनियां जोड़ दी जाएंगी",
|
"Content warnings will be added for the following": "निम्नलिखित के लिए सामग्री चेतावनियां जोड़ दी जाएंगी",
|
||||||
"nowplaying": "अब खेल रहे हैं",
|
"nowplaying": "अब खेल रहे हैं",
|
||||||
"NowPlaying": "अब खेल रहे हैं"
|
"NowPlaying": "अब खेल रहे हैं",
|
||||||
|
"Import and Export": "आयात और निर्यात"
|
||||||
}
|
}
|
||||||
|
|
|
@ -569,5 +569,6 @@
|
||||||
"Dogwhistle words": "Parole da fischietto",
|
"Dogwhistle words": "Parole da fischietto",
|
||||||
"Content warnings will be added for the following": "Verranno aggiunti avvisi sui contenuti per quanto segue",
|
"Content warnings will be added for the following": "Verranno aggiunti avvisi sui contenuti per quanto segue",
|
||||||
"nowplaying": "ora giocando",
|
"nowplaying": "ora giocando",
|
||||||
"NowPlaying": "OraGiocando"
|
"NowPlaying": "OraGiocando",
|
||||||
|
"Import and Export": "Importazione e esportazione"
|
||||||
}
|
}
|
||||||
|
|
|
@ -569,5 +569,6 @@
|
||||||
"Dogwhistle words": "犬笛の言葉",
|
"Dogwhistle words": "犬笛の言葉",
|
||||||
"Content warnings will be added for the following": "以下のコンテンツ警告が追加されます",
|
"Content warnings will be added for the following": "以下のコンテンツ警告が追加されます",
|
||||||
"nowplaying": "再生中",
|
"nowplaying": "再生中",
|
||||||
"NowPlaying": "再生中"
|
"NowPlaying": "再生中",
|
||||||
|
"Import and Export": "インポートとエクスポート"
|
||||||
}
|
}
|
||||||
|
|
|
@ -569,5 +569,6 @@
|
||||||
"Dogwhistle words": "개 휘파람 단어",
|
"Dogwhistle words": "개 휘파람 단어",
|
||||||
"Content warnings will be added for the following": "다음에 대한 콘텐츠 경고가 추가됩니다.",
|
"Content warnings will be added for the following": "다음에 대한 콘텐츠 경고가 추가됩니다.",
|
||||||
"nowplaying": "지금 재생",
|
"nowplaying": "지금 재생",
|
||||||
"NowPlaying": "지금 재생"
|
"NowPlaying": "지금 재생",
|
||||||
|
"Import and Export": "가져오기 및 내보내기"
|
||||||
}
|
}
|
||||||
|
|
|
@ -569,5 +569,6 @@
|
||||||
"Dogwhistle words": "Peyvên kûçikê",
|
"Dogwhistle words": "Peyvên kûçikê",
|
||||||
"Content warnings will be added for the following": "Hişyariyên naverokê dê ji bo jêrîn werin zêdekirin",
|
"Content warnings will be added for the following": "Hişyariyên naverokê dê ji bo jêrîn werin zêdekirin",
|
||||||
"nowplaying": "nihadilîze",
|
"nowplaying": "nihadilîze",
|
||||||
"NowPlaying": "NihaDilîze"
|
"NowPlaying": "NihaDilîze",
|
||||||
|
"Import and Export": "Import û Export"
|
||||||
}
|
}
|
||||||
|
|
|
@ -569,5 +569,6 @@
|
||||||
"Dogwhistle words": "Hondenfluitwoorden",
|
"Dogwhistle words": "Hondenfluitwoorden",
|
||||||
"Content warnings will be added for the following": "Er worden inhoudswaarschuwingen toegevoegd voor het volgende:",
|
"Content warnings will be added for the following": "Er worden inhoudswaarschuwingen toegevoegd voor het volgende:",
|
||||||
"nowplaying": "nuaanhetspelen",
|
"nowplaying": "nuaanhetspelen",
|
||||||
"NowPlaying": "NuAanHetSpelen"
|
"NowPlaying": "NuAanHetSpelen",
|
||||||
|
"Import and Export": "Importeren en exporteren"
|
||||||
}
|
}
|
||||||
|
|
|
@ -565,5 +565,6 @@
|
||||||
"Dogwhistle words": "Dogwhistle words",
|
"Dogwhistle words": "Dogwhistle words",
|
||||||
"Content warnings will be added for the following": "Content warnings will be added for the following",
|
"Content warnings will be added for the following": "Content warnings will be added for the following",
|
||||||
"nowplaying": "nowplaying",
|
"nowplaying": "nowplaying",
|
||||||
"NowPlaying": "NowPlaying"
|
"NowPlaying": "NowPlaying",
|
||||||
|
"Import and Export": "Import and Export"
|
||||||
}
|
}
|
||||||
|
|
|
@ -569,5 +569,6 @@
|
||||||
"Dogwhistle words": "Słowa gwizdka na psa",
|
"Dogwhistle words": "Słowa gwizdka na psa",
|
||||||
"Content warnings will be added for the following": "Ostrzeżenia dotyczące treści zostaną dodane do następujących",
|
"Content warnings will be added for the following": "Ostrzeżenia dotyczące treści zostaną dodane do następujących",
|
||||||
"nowplaying": "terazgra",
|
"nowplaying": "terazgra",
|
||||||
"NowPlaying": "TerazGra"
|
"NowPlaying": "TerazGra",
|
||||||
|
"Import and Export": "Importuj i eksportuj"
|
||||||
}
|
}
|
||||||
|
|
|
@ -569,5 +569,6 @@
|
||||||
"Dogwhistle words": "Palavras de apito",
|
"Dogwhistle words": "Palavras de apito",
|
||||||
"Content warnings will be added for the following": "Avisos de conteúdo serão adicionados para os seguintes",
|
"Content warnings will be added for the following": "Avisos de conteúdo serão adicionados para os seguintes",
|
||||||
"nowplaying": "agorajogando",
|
"nowplaying": "agorajogando",
|
||||||
"NowPlaying": "AgoraJogando"
|
"NowPlaying": "AgoraJogando",
|
||||||
|
"Import and Export": "Importar e exportar"
|
||||||
}
|
}
|
||||||
|
|
|
@ -569,5 +569,6 @@
|
||||||
"Dogwhistle words": "Собачий свисток",
|
"Dogwhistle words": "Собачий свисток",
|
||||||
"Content warnings will be added for the following": "Предупреждения о содержании будут добавлены для следующих",
|
"Content warnings will be added for the following": "Предупреждения о содержании будут добавлены для следующих",
|
||||||
"nowplaying": "сейчасиграет",
|
"nowplaying": "сейчасиграет",
|
||||||
"NowPlaying": "СейчасИграет"
|
"NowPlaying": "СейчасИграет",
|
||||||
|
"Import and Export": "Импорт и экспорт"
|
||||||
}
|
}
|
||||||
|
|
|
@ -569,5 +569,6 @@
|
||||||
"Dogwhistle words": "Maneno ya mbwa",
|
"Dogwhistle words": "Maneno ya mbwa",
|
||||||
"Content warnings will be added for the following": "Maonyo ya maudhui yataongezwa kwa yafuatayo",
|
"Content warnings will be added for the following": "Maonyo ya maudhui yataongezwa kwa yafuatayo",
|
||||||
"nowplaying": "inachezasasa",
|
"nowplaying": "inachezasasa",
|
||||||
"NowPlaying": "InachezaSasa"
|
"NowPlaying": "InachezaSasa",
|
||||||
|
"Import and Export": "Ingiza na Hamisha"
|
||||||
}
|
}
|
||||||
|
|
|
@ -569,5 +569,6 @@
|
||||||
"Dogwhistle words": "İtiraf sözleri",
|
"Dogwhistle words": "İtiraf sözleri",
|
||||||
"Content warnings will be added for the following": "Aşağıdakiler için içerik uyarıları eklenecek",
|
"Content warnings will be added for the following": "Aşağıdakiler için içerik uyarıları eklenecek",
|
||||||
"nowplaying": "şimdioynuyor",
|
"nowplaying": "şimdioynuyor",
|
||||||
"NowPlaying": "ŞimdiOynuyor"
|
"NowPlaying": "ŞimdiOynuyor",
|
||||||
|
"Import and Export": "İthalat ve ihracat"
|
||||||
}
|
}
|
||||||
|
|
|
@ -569,5 +569,6 @@
|
||||||
"Dogwhistle words": "Собачі слова",
|
"Dogwhistle words": "Собачі слова",
|
||||||
"Content warnings will be added for the following": "Попередження про вміст буде додано для наступних",
|
"Content warnings will be added for the following": "Попередження про вміст буде додано для наступних",
|
||||||
"nowplaying": "заразграє",
|
"nowplaying": "заразграє",
|
||||||
"NowPlaying": "ЗаразГрає"
|
"NowPlaying": "ЗаразГрає",
|
||||||
|
"Import and Export": "Імпорт та експорт"
|
||||||
}
|
}
|
||||||
|
|
|
@ -569,5 +569,6 @@
|
||||||
"Dogwhistle words": "דאָגווהיסטלע ווערטער",
|
"Dogwhistle words": "דאָגווהיסטלע ווערטער",
|
||||||
"Content warnings will be added for the following": "אינהאַלט וואָרנינגז וועט זיין מוסיף פֿאַר די פאלגענדע",
|
"Content warnings will be added for the following": "אינהאַלט וואָרנינגז וועט זיין מוסיף פֿאַר די פאלגענדע",
|
||||||
"nowplaying": "איצט פּלייַינג",
|
"nowplaying": "איצט פּלייַינג",
|
||||||
"NowPlaying": "איצט פּלייַינג"
|
"NowPlaying": "איצט פּלייַינג",
|
||||||
|
"Import and Export": "אַרייַנפיר און עקספּאָרט"
|
||||||
}
|
}
|
||||||
|
|
|
@ -569,5 +569,6 @@
|
||||||
"Dogwhistle words": "狗哨的话",
|
"Dogwhistle words": "狗哨的话",
|
||||||
"Content warnings will be added for the following": "将为以下内容添加内容警告",
|
"Content warnings will be added for the following": "将为以下内容添加内容警告",
|
||||||
"nowplaying": "现在玩",
|
"nowplaying": "现在玩",
|
||||||
"NowPlaying": "现在玩"
|
"NowPlaying": "现在玩",
|
||||||
|
"Import and Export": "进出口"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1970,7 +1970,7 @@ def _html_edit_profile_background(news_instance: bool, translate: {}) -> str:
|
||||||
return edit_profile_form
|
return edit_profile_form
|
||||||
|
|
||||||
|
|
||||||
def _html_edit_profile_contact_info(nickname: str, domain: str,
|
def _html_edit_profile_contact_info(nickname: str,
|
||||||
email_address: str,
|
email_address: str,
|
||||||
xmpp_address: str,
|
xmpp_address: str,
|
||||||
matrix_address: str,
|
matrix_address: str,
|
||||||
|
@ -1982,7 +1982,6 @@ def _html_edit_profile_contact_info(nickname: str, domain: str,
|
||||||
"""Contact Information section of edit profile screen
|
"""Contact Information section of edit profile screen
|
||||||
"""
|
"""
|
||||||
edit_profile_form = begin_edit_section(translate['Contact Details'])
|
edit_profile_form = begin_edit_section(translate['Contact Details'])
|
||||||
|
|
||||||
edit_profile_form += edit_text_field(translate['Email'],
|
edit_profile_form += edit_text_field(translate['Email'],
|
||||||
'email', email_address)
|
'email', email_address)
|
||||||
edit_profile_form += edit_text_field(translate['XMPP'],
|
edit_profile_form += edit_text_field(translate['XMPP'],
|
||||||
|
@ -1995,19 +1994,27 @@ def _html_edit_profile_contact_info(nickname: str, domain: str,
|
||||||
briar_address)
|
briar_address)
|
||||||
edit_profile_form += edit_text_field('Cwtch', 'cwtchAddress',
|
edit_profile_form += edit_text_field('Cwtch', 'cwtchAddress',
|
||||||
cwtch_address)
|
cwtch_address)
|
||||||
|
edit_profile_form += end_edit_section()
|
||||||
|
return edit_profile_form
|
||||||
|
|
||||||
|
|
||||||
|
def _html_edit_profile_import_export(nickname: str, domain: str,
|
||||||
|
translate: {}) -> str:
|
||||||
|
"""Contact Information section of edit profile screen
|
||||||
|
"""
|
||||||
|
edit_profile_form = begin_edit_section(translate['Import and Export'])
|
||||||
edit_profile_form += \
|
edit_profile_form += \
|
||||||
'<a href="/users/' + nickname + \
|
'<p><a href="/users/' + nickname + \
|
||||||
'/followingaccounts"><label class="labels">' + \
|
'/followingaccounts"><label class="labels">' + \
|
||||||
translate['Following'] + '</label></a>'
|
translate['Following'] + '</label></a>'
|
||||||
edit_profile_form += \
|
edit_profile_form += \
|
||||||
' <a href="/users/' + nickname + '/followingaccounts.csv" ' + \
|
' <a href="/users/' + nickname + '/followingaccounts.csv" ' + \
|
||||||
'download="' + nickname + '@' + domain + '_following.csv">' + \
|
'download="' + nickname + '@' + domain + '_following.csv">' + \
|
||||||
'<label class="labels">⇩ CSV</label></a>'
|
'<label class="labels">⇩ CSV</label></a></p>\n'
|
||||||
edit_profile_form += \
|
edit_profile_form += \
|
||||||
' | <a href="/users/' + nickname + \
|
'<p><a href="/users/' + nickname + \
|
||||||
'/followersaccounts"><label class="labels">' + \
|
'/followersaccounts"><label class="labels">' + \
|
||||||
translate['Followers'] + '</label></a><br>\n'
|
translate['Followers'] + '</label></a><br></p>\n'
|
||||||
|
|
||||||
edit_profile_form += end_edit_section()
|
edit_profile_form += end_edit_section()
|
||||||
return edit_profile_form
|
return edit_profile_form
|
||||||
|
|
||||||
|
@ -2406,12 +2413,16 @@ def html_edit_profile(server, translate: {},
|
||||||
|
|
||||||
# Contact information
|
# Contact information
|
||||||
edit_profile_form += \
|
edit_profile_form += \
|
||||||
_html_edit_profile_contact_info(nickname, domain, email_address,
|
_html_edit_profile_contact_info(nickname, email_address,
|
||||||
xmpp_address, matrix_address,
|
xmpp_address, matrix_address,
|
||||||
ssb_address, tox_address,
|
ssb_address, tox_address,
|
||||||
briar_address,
|
briar_address,
|
||||||
cwtch_address, translate)
|
cwtch_address, translate)
|
||||||
|
|
||||||
|
# Import and export
|
||||||
|
edit_profile_form += \
|
||||||
|
_html_edit_profile_import_export(nickname, domain, translate)
|
||||||
|
|
||||||
# Encryption Keys
|
# Encryption Keys
|
||||||
edit_profile_form += \
|
edit_profile_form += \
|
||||||
_html_edit_profile_encryption_keys(pgp_fingerprint,
|
_html_edit_profile_encryption_keys(pgp_fingerprint,
|
||||||
|
|
Loading…
Reference in New Issue