Add validation of the imported theme and the corresponding warning message
This commit is contained in:
parent
8f79193883
commit
2a87e29180
3 changed files with 24 additions and 2 deletions
|
@ -50,6 +50,7 @@ const de = {
|
|||
presets: 'Voreinstellungen',
|
||||
export_theme: 'Aktuelles Theme exportieren',
|
||||
import_theme: 'Gespeichertes Theme laden',
|
||||
invalid_theme_imported: 'Die ausgewählte Datei ist kein unterstütztes Pleroma-Theme. Keine Änderungen wurden vorgenommen.',
|
||||
theme_help: 'Benutze HTML Farbcodes (#rrggbb) um dein Farbschema anzupassen',
|
||||
radii_help: 'Kantenrundung (in Pixel) der Oberfläche anpassen',
|
||||
background: 'Hintergrund',
|
||||
|
@ -293,6 +294,7 @@ const en = {
|
|||
export_theme: 'Export current theme',
|
||||
import_theme: 'Load saved theme',
|
||||
theme_help: 'Use hex color codes (#rrggbb) to customize your color theme.',
|
||||
invalid_theme_imported: 'The selected file is not a supported Pleroma theme. No changes to your theme were made.',
|
||||
radii_help: 'Set up interface edge rounding (in pixels)',
|
||||
background: 'Background',
|
||||
foreground: 'Foreground',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue