mirror of https://gitlab.com/bashrc2/epicyon
Theme import and export buttons
parent
f43923f31e
commit
57ec76624a
|
@ -444,5 +444,7 @@
|
||||||
"City for spoofed GPS image metadata": "مدينة للبيانات الوصفية لصور GPS المخادعة",
|
"City for spoofed GPS image metadata": "مدينة للبيانات الوصفية لصور GPS المخادعة",
|
||||||
"Occupation": "الاحتلال",
|
"Occupation": "الاحتلال",
|
||||||
"Artists": "الفنانين",
|
"Artists": "الفنانين",
|
||||||
"Graphic Design": "التصميم الجرافيكي"
|
"Graphic Design": "التصميم الجرافيكي",
|
||||||
|
"Import Theme": "استيراد الموضوع",
|
||||||
|
"Export Theme": "موضوع التصدير"
|
||||||
}
|
}
|
||||||
|
|
|
@ -444,5 +444,7 @@
|
||||||
"City for spoofed GPS image metadata": "Ciutat per a metadades d'imatges GPS falsificades",
|
"City for spoofed GPS image metadata": "Ciutat per a metadades d'imatges GPS falsificades",
|
||||||
"Occupation": "Ocupació",
|
"Occupation": "Ocupació",
|
||||||
"Artists": "Artistes",
|
"Artists": "Artistes",
|
||||||
"Graphic Design": "Disseny gràfic"
|
"Graphic Design": "Disseny gràfic",
|
||||||
|
"Import Theme": "Importació temàtica",
|
||||||
|
"Export Theme": "Tema d'exportació"
|
||||||
}
|
}
|
||||||
|
|
|
@ -444,5 +444,7 @@
|
||||||
"City for spoofed GPS image metadata": "Dinas ar gyfer metadata delwedd GPS spoofed",
|
"City for spoofed GPS image metadata": "Dinas ar gyfer metadata delwedd GPS spoofed",
|
||||||
"Occupation": "Ngalwedigaeth",
|
"Occupation": "Ngalwedigaeth",
|
||||||
"Artists": "Artistiaid",
|
"Artists": "Artistiaid",
|
||||||
"Graphic Design": "Dylunio Graffig"
|
"Graphic Design": "Dylunio Graffig",
|
||||||
|
"Import Theme": "Thema Mewnforio",
|
||||||
|
"Export Theme": "Thema Allforio"
|
||||||
}
|
}
|
||||||
|
|
|
@ -444,5 +444,7 @@
|
||||||
"City for spoofed GPS image metadata": "Stadt für gefälschte GPS-Bildmetadaten",
|
"City for spoofed GPS image metadata": "Stadt für gefälschte GPS-Bildmetadaten",
|
||||||
"Occupation": "Besetzung",
|
"Occupation": "Besetzung",
|
||||||
"Artists": "Künstler",
|
"Artists": "Künstler",
|
||||||
"Graphic Design": "Grafikdesign"
|
"Graphic Design": "Grafikdesign",
|
||||||
|
"Import Theme": "Theme importieren",
|
||||||
|
"Export Theme": "Theme exportieren"
|
||||||
}
|
}
|
||||||
|
|
|
@ -444,5 +444,7 @@
|
||||||
"City for spoofed GPS image metadata": "City for spoofed GPS image metadata",
|
"City for spoofed GPS image metadata": "City for spoofed GPS image metadata",
|
||||||
"Occupation": "Occupation",
|
"Occupation": "Occupation",
|
||||||
"Artists": "Artists",
|
"Artists": "Artists",
|
||||||
"Graphic Design": "Graphic Design"
|
"Graphic Design": "Graphic Design",
|
||||||
|
"Import Theme": "Import Theme",
|
||||||
|
"Export Theme": "Export Theme"
|
||||||
}
|
}
|
||||||
|
|
|
@ -444,5 +444,7 @@
|
||||||
"City for spoofed GPS image metadata": "Ciudad para metadatos de imagen GPS falsificados",
|
"City for spoofed GPS image metadata": "Ciudad para metadatos de imagen GPS falsificados",
|
||||||
"Occupation": "Ocupación",
|
"Occupation": "Ocupación",
|
||||||
"Artists": "Artistas",
|
"Artists": "Artistas",
|
||||||
"Graphic Design": "Diseño gráfico"
|
"Graphic Design": "Diseño gráfico",
|
||||||
|
"Import Theme": "Tema de importación",
|
||||||
|
"Export Theme": "Tema de exportación"
|
||||||
}
|
}
|
||||||
|
|
|
@ -444,5 +444,7 @@
|
||||||
"City for spoofed GPS image metadata": "Ville pour les métadonnées d'image GPS falsifiées",
|
"City for spoofed GPS image metadata": "Ville pour les métadonnées d'image GPS falsifiées",
|
||||||
"Occupation": "Occupation",
|
"Occupation": "Occupation",
|
||||||
"Artists": "Artistes",
|
"Artists": "Artistes",
|
||||||
"Graphic Design": "Conception graphique"
|
"Graphic Design": "Conception graphique",
|
||||||
|
"Import Theme": "Import thème",
|
||||||
|
"Export Theme": "Thème d'exportation"
|
||||||
}
|
}
|
||||||
|
|
|
@ -444,5 +444,7 @@
|
||||||
"City for spoofed GPS image metadata": "Cathair le haghaidh meiteashonraí íomhá GPS spoofed",
|
"City for spoofed GPS image metadata": "Cathair le haghaidh meiteashonraí íomhá GPS spoofed",
|
||||||
"Occupation": "Slí bheatha",
|
"Occupation": "Slí bheatha",
|
||||||
"Artists": "Ealaíontóirí",
|
"Artists": "Ealaíontóirí",
|
||||||
"Graphic Design": "Dearadh grafach"
|
"Graphic Design": "Dearadh grafach",
|
||||||
|
"Import Theme": "Téama Iompórtáil",
|
||||||
|
"Export Theme": "Téama Easpórtála"
|
||||||
}
|
}
|
||||||
|
|
|
@ -444,5 +444,7 @@
|
||||||
"City for spoofed GPS image metadata": "स्पूफ जीपीएस जीपीएस मेटाडेटा के लिए शहर",
|
"City for spoofed GPS image metadata": "स्पूफ जीपीएस जीपीएस मेटाडेटा के लिए शहर",
|
||||||
"Occupation": "व्यवसाय",
|
"Occupation": "व्यवसाय",
|
||||||
"Artists": "कलाकार की",
|
"Artists": "कलाकार की",
|
||||||
"Graphic Design": "ग्राफ़िक डिज़ाइन"
|
"Graphic Design": "ग्राफ़िक डिज़ाइन",
|
||||||
|
"Import Theme": "आयात विषय",
|
||||||
|
"Export Theme": "निर्यात विषय"
|
||||||
}
|
}
|
||||||
|
|
|
@ -444,5 +444,7 @@
|
||||||
"City for spoofed GPS image metadata": "Città per metadati di immagini GPS falsificate",
|
"City for spoofed GPS image metadata": "Città per metadati di immagini GPS falsificate",
|
||||||
"Occupation": "Occupazione",
|
"Occupation": "Occupazione",
|
||||||
"Artists": "Artiste",
|
"Artists": "Artiste",
|
||||||
"Graphic Design": "Graphic design"
|
"Graphic Design": "Graphic design",
|
||||||
|
"Import Theme": "Tema dell'importazione",
|
||||||
|
"Export Theme": "Esportare tema"
|
||||||
}
|
}
|
||||||
|
|
|
@ -444,5 +444,7 @@
|
||||||
"City for spoofed GPS image metadata": "なりすましGPS画像メタデータの都市",
|
"City for spoofed GPS image metadata": "なりすましGPS画像メタデータの都市",
|
||||||
"Occupation": "職業",
|
"Occupation": "職業",
|
||||||
"Artists": "アーティスト",
|
"Artists": "アーティスト",
|
||||||
"Graphic Design": "グラフィックデザイン"
|
"Graphic Design": "グラフィックデザイン",
|
||||||
|
"Import Theme": "輸入テーマ",
|
||||||
|
"Export Theme": "テーマをエクスポートします"
|
||||||
}
|
}
|
||||||
|
|
|
@ -444,5 +444,7 @@
|
||||||
"City for spoofed GPS image metadata": "Bajar ji bo metadata wêneya GPS ya xapînok",
|
"City for spoofed GPS image metadata": "Bajar ji bo metadata wêneya GPS ya xapînok",
|
||||||
"Occupation": "Sinet",
|
"Occupation": "Sinet",
|
||||||
"Artists": "Hunermend",
|
"Artists": "Hunermend",
|
||||||
"Graphic Design": "Sêwirana grafîkî"
|
"Graphic Design": "Sêwirana grafîkî",
|
||||||
|
"Import Theme": "Mijara Import",
|
||||||
|
"Export Theme": "Mijara Export"
|
||||||
}
|
}
|
||||||
|
|
|
@ -440,5 +440,7 @@
|
||||||
"City for spoofed GPS image metadata": "City for spoofed GPS image metadata",
|
"City for spoofed GPS image metadata": "City for spoofed GPS image metadata",
|
||||||
"Occupation": "Occupation",
|
"Occupation": "Occupation",
|
||||||
"Artists": "Artists",
|
"Artists": "Artists",
|
||||||
"Graphic Design": "Graphic Design"
|
"Graphic Design": "Graphic Design",
|
||||||
|
"Import Theme": "Import Theme",
|
||||||
|
"Export Theme": "Export Theme"
|
||||||
}
|
}
|
||||||
|
|
|
@ -444,5 +444,7 @@
|
||||||
"City for spoofed GPS image metadata": "Cidade para metadados de imagem GPS falsificados",
|
"City for spoofed GPS image metadata": "Cidade para metadados de imagem GPS falsificados",
|
||||||
"Occupation": "Ocupação",
|
"Occupation": "Ocupação",
|
||||||
"Artists": "Artistas",
|
"Artists": "Artistas",
|
||||||
"Graphic Design": "Design gráfico"
|
"Graphic Design": "Design gráfico",
|
||||||
|
"Import Theme": "Importar tema",
|
||||||
|
"Export Theme": "Exportar tema"
|
||||||
}
|
}
|
||||||
|
|
|
@ -444,5 +444,7 @@
|
||||||
"City for spoofed GPS image metadata": "Город для поддельных метаданных изображения GPS",
|
"City for spoofed GPS image metadata": "Город для поддельных метаданных изображения GPS",
|
||||||
"Occupation": "Занятие",
|
"Occupation": "Занятие",
|
||||||
"Artists": "Художники",
|
"Artists": "Художники",
|
||||||
"Graphic Design": "Графический дизайн"
|
"Graphic Design": "Графический дизайн",
|
||||||
|
"Import Theme": "Импортировать тему",
|
||||||
|
"Export Theme": "Экспортная тема"
|
||||||
}
|
}
|
||||||
|
|
|
@ -444,5 +444,7 @@
|
||||||
"City for spoofed GPS image metadata": "欺骗性GPS影像元数据的城市",
|
"City for spoofed GPS image metadata": "欺骗性GPS影像元数据的城市",
|
||||||
"Occupation": "职业",
|
"Occupation": "职业",
|
||||||
"Artists": "艺人",
|
"Artists": "艺人",
|
||||||
"Graphic Design": "平面设计"
|
"Graphic Design": "平面设计",
|
||||||
|
"Import Theme": "进口主题",
|
||||||
|
"Export Theme": "出口主题"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1085,6 +1085,7 @@ def htmlEditProfile(cssCache: {}, translate: {}, baseDir: str, path: str,
|
||||||
"""Shows the edit profile screen
|
"""Shows the edit profile screen
|
||||||
"""
|
"""
|
||||||
imageFormats = getImageFormats()
|
imageFormats = getImageFormats()
|
||||||
|
themeFormats = '.zip, .gz'
|
||||||
path = path.replace('/inbox', '').replace('/outbox', '')
|
path = path.replace('/inbox', '').replace('/outbox', '')
|
||||||
path = path.replace('/shares', '')
|
path = path.replace('/shares', '')
|
||||||
nickname = getNicknameFromActor(path)
|
nickname = getNicknameFromActor(path)
|
||||||
|
@ -1334,6 +1335,18 @@ def htmlEditProfile(cssCache: {}, translate: {}, baseDir: str, path: str,
|
||||||
'<option value="' + themeName +
|
'<option value="' + themeName +
|
||||||
'" selected>')
|
'" selected>')
|
||||||
graphicsStr += themesDropdown
|
graphicsStr += themesDropdown
|
||||||
|
|
||||||
|
graphicsStr += \
|
||||||
|
' <label class="labels">' + \
|
||||||
|
translate['Import Theme'] + '</label>\n'
|
||||||
|
graphicsStr += ' <input type="file" id="importTheme" '
|
||||||
|
graphicsStr += 'name="importTheme" '
|
||||||
|
graphicsStr += 'accept="' + themeFormats + '">\n'
|
||||||
|
graphicsStr += \
|
||||||
|
' <button type="submit" class="button" ' + \
|
||||||
|
'name="exportTheme">' + \
|
||||||
|
translate['Export Theme'] + '</button>\n'
|
||||||
|
|
||||||
graphicsStr += ' </div></details>\n'
|
graphicsStr += ' </div></details>\n'
|
||||||
|
|
||||||
if adminNickname:
|
if adminNickname:
|
||||||
|
|
Loading…
Reference in New Issue