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 المخادعة",
|
||||
"Occupation": "الاحتلال",
|
||||
"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",
|
||||
"Occupation": "Ocupació",
|
||||
"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",
|
||||
"Occupation": "Ngalwedigaeth",
|
||||
"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",
|
||||
"Occupation": "Besetzung",
|
||||
"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",
|
||||
"Occupation": "Occupation",
|
||||
"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",
|
||||
"Occupation": "Ocupación",
|
||||
"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",
|
||||
"Occupation": "Occupation",
|
||||
"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",
|
||||
"Occupation": "Slí bheatha",
|
||||
"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": "स्पूफ जीपीएस जीपीएस मेटाडेटा के लिए शहर",
|
||||
"Occupation": "व्यवसाय",
|
||||
"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",
|
||||
"Occupation": "Occupazione",
|
||||
"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画像メタデータの都市",
|
||||
"Occupation": "職業",
|
||||
"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",
|
||||
"Occupation": "Sinet",
|
||||
"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",
|
||||
"Occupation": "Occupation",
|
||||
"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",
|
||||
"Occupation": "Ocupação",
|
||||
"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",
|
||||
"Occupation": "Занятие",
|
||||
"Artists": "Художники",
|
||||
"Graphic Design": "Графический дизайн"
|
||||
"Graphic Design": "Графический дизайн",
|
||||
"Import Theme": "Импортировать тему",
|
||||
"Export Theme": "Экспортная тема"
|
||||
}
|
||||
|
|
|
@ -444,5 +444,7 @@
|
|||
"City for spoofed GPS image metadata": "欺骗性GPS影像元数据的城市",
|
||||
"Occupation": "职业",
|
||||
"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
|
||||
"""
|
||||
imageFormats = getImageFormats()
|
||||
themeFormats = '.zip, .gz'
|
||||
path = path.replace('/inbox', '').replace('/outbox', '')
|
||||
path = path.replace('/shares', '')
|
||||
nickname = getNicknameFromActor(path)
|
||||
|
@ -1334,6 +1335,18 @@ def htmlEditProfile(cssCache: {}, translate: {}, baseDir: str, path: str,
|
|||
'<option value="' + themeName +
|
||||
'" selected>')
|
||||
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'
|
||||
|
||||
if adminNickname:
|
||||
|
|
Loading…
Reference in New Issue