fix: background upload, finish 7.0 translation support

This commit is contained in:
David Ralph
2022-06-05 15:43:49 +01:00
parent f413f4e31c
commit 7df77d33e4
14 changed files with 256 additions and 23 deletions

View File

@@ -207,12 +207,18 @@ export default class Create extends PureComponent {
<div className="smallBanner"> <div className="smallBanner">
<div className="content"> <div className="content">
<span className="title" style={{ textTransform: 'capitalize' }}> <span className="title" style={{ textTransform: 'capitalize' }}>
Create {this.state.addonMetadata.type} Pack {getMessage('modals.main.addons.create.metadata.create_type', {
type: this.state.addonMetadata.type,
})}
</span>
<span className="subtitle">
{getMessage(
'modals.main.addons.create.metadata.descriptions.' + this.addonMetadata.type,
) || 'marketplace'}
</span> </span>
<span className="subtitle">Description of what is being made</span>
</div> </div>
<button> <button>
Example {getMessage('modals.main.addons.create.metadata.example')}
<MdDownload /> <MdDownload />
</button> </button>
</div> </div>
@@ -229,8 +235,8 @@ export default class Create extends PureComponent {
<span className="title">{getMessage('modals.main.marketplace.product.version')}</span> <span className="title">{getMessage('modals.main.marketplace.product.version')}</span>
<span className="subtitle"> <span className="subtitle">
<InfoTooltip <InfoTooltip
title="Information" title={getMessage('modals.main.addons.create.information')}
subtitle="Running away is easy It's the leaving that's hard Running away is easy It's the leaving that's hard" subtitle={getMessage('modals.main.addons.create.metadata.information_subtitle')}
/> />
</span> </span>
</div> </div>
@@ -379,7 +385,7 @@ export default class Create extends PureComponent {
<SettingsItem <SettingsItem
final={true} final={true}
title={getMessage('modals.main.addons.create.photos.title')} title={getMessage('modals.main.addons.create.photos.title')}
subtitle={'Import from custom settings.'} subtitle={getMessage('modals.main.addons.create.import_custom')}
> >
<div className="themesToggleArea"> <div className="themesToggleArea">
<div className="options"> <div className="options">
@@ -411,14 +417,14 @@ export default class Create extends PureComponent {
<div className="smallBanner"> <div className="smallBanner">
<div className="content"> <div className="content">
<span className="title" style={{ textTransform: 'capitalize' }}> <span className="title" style={{ textTransform: 'capitalize' }}>
Next step, Publishing... {getMessage('modals.main.addons.create.publishing.title')}
</span> </span>
<span className="subtitle"> <span className="subtitle">
Visit the Mue Knowledgebase on information on how to publish your newly created addon. {getMessage('modals.main.addons.create.publishing.subtitle')}
</span> </span>
</div> </div>
<button> <button>
Learn More {getMessage('modals.main.addons.create.publishing.button')}
<MdOpenInNew /> <MdOpenInNew />
</button> </button>
</div> </div>

View File

@@ -23,7 +23,7 @@ export default class FileUpload extends PureComponent {
}); });
const settingsSize = new TextEncoder().encode(JSON.stringify(settings)).length; const settingsSize = new TextEncoder().encode(JSON.stringify(settings)).length;
if (videoCheck(file) === true) { if (videoCheck(file.type) === true) {
if (settingsSize + file.size > 4850000) { if (settingsSize + file.size > 4850000) {
return toast(this.getMessage('toasts.no_storage')); return toast(this.getMessage('toasts.no_storage'));
} }
@@ -32,7 +32,7 @@ export default class FileUpload extends PureComponent {
} }
// todo: change number // todo: change number
compressAccurately(file, 200).then(async (res) => { compressAccurately(file, 300).then(async (res) => {
if (settingsSize + res.size > 4850000) { if (settingsSize + res.size > 4850000) {
return toast(this.getMessage('toasts.no_storage')); return toast(this.getMessage('toasts.no_storage'));
} }

View File

@@ -67,7 +67,10 @@ export default class BackgroundSettings extends PureComponent {
const { getMessage } = this; const { getMessage } = this;
const interval = ( const interval = (
<SettingsItem title="Interval" subtitle="Change how often the background is updated"> <SettingsItem
title={getMessage('modals.main.settings.sections.background.interval.title')}
subtitle={getMessage('modals.mani.settings.sections.background.intervanl.subtitle')}
>
<Dropdown <Dropdown
label={getMessage('modals.main.settings.sections.background.interval.title')} label={getMessage('modals.main.settings.sections.background.interval.title')}
name="backgroundchange" name="backgroundchange"
@@ -96,8 +99,8 @@ export default class BackgroundSettings extends PureComponent {
const APISettings = ( const APISettings = (
<> <>
<SettingsItem <SettingsItem
title="API Settings" title={getMessage('modals.main.settings.sections.background.api')}
subtitle="Options for the getting an image from an external service (API)" subtitle={getMessage('modals.main.settings.sections.background.api_subtitle')}
> >
{this.state.backgroundCategories[0] === getMessage('modals.main.loading') ? ( {this.state.backgroundCategories[0] === getMessage('modals.main.loading') ? (
<> <>
@@ -244,7 +247,9 @@ export default class BackgroundSettings extends PureComponent {
<span className="title"> <span className="title">
{getMessage('modals.main.settings.sections.background.source.title')} {getMessage('modals.main.settings.sections.background.source.title')}
</span> </span>
<span className="subtitle">Select where to get background images from</span> <span className="subtitle">
{getMessage('modals.main.settings.sections.background.source.subtitle')}
</span>
</div> </div>
</div> </div>
<div className="action"> <div className="action">
@@ -284,7 +289,9 @@ export default class BackgroundSettings extends PureComponent {
<span className="title"> <span className="title">
{getMessage('modals.main.settings.sections.background.effects.title')} {getMessage('modals.main.settings.sections.background.effects.title')}
</span> </span>
<span className="subtitle">Add effects to the background image</span> <span className="subtitle">
{getMessage('modals.main.settings.sections.background.effects.subtitle')}
</span>
</div> </div>
</div> </div>
<div className="action"> <div className="action">
@@ -296,8 +303,8 @@ export default class BackgroundSettings extends PureComponent {
) : null} ) : null}
{this.state.backgroundSettingsSection !== true && this.state.effects !== true ? ( {this.state.backgroundSettingsSection !== true && this.state.effects !== true ? (
<SettingsItem <SettingsItem
title="Display" title={getMessage('modals.main.settings.sections.background.display')}
subtitle="Change how background and photo information are loaded" subtitle={getMessage('modals.main.settings.sections.background.display_subtitle')}
final={true} final={true}
> >
<Checkbox <Checkbox
@@ -332,7 +339,7 @@ export default class BackgroundSettings extends PureComponent {
<> <>
<SettingsItem <SettingsItem
title={getMessage('modals.main.settings.sections.background.source.title')} title={getMessage('modals.main.settings.sections.background.source.title')}
subtitle="Select where to get background images from" subtitle={getMessage('modals.main.settings.sections.background.source.subtitle')}
> >
<Dropdown <Dropdown
label={getMessage('modals.main.settings.sections.background.type.title')} label={getMessage('modals.main.settings.sections.background.type.title')}
@@ -371,7 +378,7 @@ export default class BackgroundSettings extends PureComponent {
this.state.effects ? ( this.state.effects ? (
<SettingsItem <SettingsItem
title={getMessage('modals.main.settings.sections.background.effects.title')} title={getMessage('modals.main.settings.sections.background.effects.title')}
subtitle="Add effects to the background image" subtitle={getMessage('modals.main.settings.sections.background.effects.subtitle')}
final={true} final={true}
> >
<Slider <Slider

View File

@@ -142,7 +142,7 @@ export default class CustomSettings extends PureComponent {
}); });
const settingsSize = new TextEncoder().encode(JSON.stringify(settings)).length; const settingsSize = new TextEncoder().encode(JSON.stringify(settings)).length;
if (videoCheck(file) === true) { if (videoCheck(file.type) === true) {
if (settingsSize + file.size > 4850000) { if (settingsSize + file.size > 4850000) {
return toast(this.getMessage('toasts.no_storage')); return toast(this.getMessage('toasts.no_storage'));
} }
@@ -150,7 +150,7 @@ export default class CustomSettings extends PureComponent {
return this.customBackground(file, false, this.state.currentBackgroundIndex); return this.customBackground(file, false, this.state.currentBackgroundIndex);
} }
compressAccurately(file, 200).then(async (res) => { compressAccurately(file, 300).then(async (res) => {
if (settingsSize + res.size > 4850000) { if (settingsSize + res.size > 4850000) {
return toast(this.getMessage('toasts.no_storage')); return toast(this.getMessage('toasts.no_storage'));
} }
@@ -165,7 +165,7 @@ export default class CustomSettings extends PureComponent {
return ( return (
<> <>
{this.props.interval} {this.props.interval}
<div className="settingsRow" style={{ alignItems: 'flex-start' }}> <div className="settingsRow settingsNoBorder" style={{ alignItems: 'flex-start' }}>
<div className="content"> <div className="content">
<div className="images-row"> <div className="images-row">
{this.state.customBackground.map((url, index) => ( {this.state.customBackground.map((url, index) => (

View File

@@ -180,6 +180,7 @@
}, },
"effects": { "effects": {
"title": "Effekte", "title": "Effekte",
"subtitle": "Add effects to the background images",
"blur": "Unschärfe anpassen", "blur": "Unschärfe anpassen",
"brightness": "Helligkeit anpassen", "brightness": "Helligkeit anpassen",
"filters": { "filters": {
@@ -202,6 +203,7 @@
}, },
"source": { "source": {
"title": "Quelle", "title": "Quelle",
"subtitle": "Select where to get background images from",
"api": "Hintergrund API", "api": "Hintergrund API",
"custom_background": "Benutzerdefinierter Hintergrund", "custom_background": "Benutzerdefinierter Hintergrund",
"custom_colour": "Benutzerdefinierter Hintergrundfarbe", "custom_colour": "Benutzerdefinierter Hintergrundfarbe",
@@ -223,8 +225,13 @@
"datasaver": "Datensparer" "datasaver": "Datensparer"
} }
}, },
"display": "Display",
"display_subtitle": "Change how background and photo information are loaded",
"api": "API Settings",
"api_subtitle": "Options for getting an image from an external service (API)",
"interval": { "interval": {
"title": "Ändern Sie alle", "title": "Ändern Sie alle",
"subtitle": "Change how often the background is updated",
"minute": "Minute", "minute": "Minute",
"half_hour": "Halbe Stunde", "half_hour": "Halbe Stunde",
"hour": "Stunde", "hour": "Stunde",
@@ -517,7 +524,22 @@
}, },
"create": { "create": {
"title": "Erstellen", "title": "Erstellen",
"example": "Example",
"other_title": "Add-on erstellen", "other_title": "Add-on erstellen",
"create_type": "Create {type} Pack",
"descriptions": {
"settings": "",
"photo_pack": "",
"quote_pack": ""
},
"information": "Information",
"information_subtitle": "For example: 1.2.3 (major update, minor update, patch update)",
"import_custom": "Import from custom settings.",
"publishing": {
"title": "Next step, Publishing...",
"subtitle": "Visit the Mue Knowledgebase on information on how to publish your newly created addon.",
"button": "Learn more"
},
"metadata": { "metadata": {
"name": "Name", "name": "Name",
"icon_url": "Icon URL", "icon_url": "Icon URL",

View File

@@ -180,6 +180,7 @@
}, },
"effects": { "effects": {
"title": "Effects", "title": "Effects",
"subtitle": "Add effects to the background images",
"blur": "Adjust blur", "blur": "Adjust blur",
"brightness": "Adjust brightness", "brightness": "Adjust brightness",
"filters": { "filters": {
@@ -202,6 +203,7 @@
}, },
"source": { "source": {
"title": "Source", "title": "Source",
"subtitle": "Select where to get background images from",
"api": "Background API", "api": "Background API",
"custom_background": "Custom background", "custom_background": "Custom background",
"custom_colour": "Custom background colour", "custom_colour": "Custom background colour",
@@ -223,8 +225,13 @@
"datasaver": "Data Saver" "datasaver": "Data Saver"
} }
}, },
"display": "Display",
"display_subtitle": "Change how background and photo information are loaded",
"api": "API Settings",
"api_subtitle": "Options for getting an image from an external service (API)",
"interval": { "interval": {
"title": "Change every", "title": "Change every",
"subtitle": "Change how often the background is updated",
"minute": "Minute", "minute": "Minute",
"half_hour": "Half hour", "half_hour": "Half hour",
"hour": "Hour", "hour": "Hour",
@@ -516,7 +523,22 @@
}, },
"create": { "create": {
"title": "Create", "title": "Create",
"example": "Example",
"other_title": "Create Add-on", "other_title": "Create Add-on",
"create_type": "Create {type} Pack",
"descriptions": {
"settings": "",
"photo_pack": "",
"quote_pack": ""
},
"information": "Information",
"information_subtitle": "For example: 1.2.3 (major update, minor update, patch update)",
"import_custom": "Import from custom settings.",
"publishing": {
"title": "Next step, Publishing...",
"subtitle": "Visit the Mue Knowledgebase on information on how to publish your newly created addon.",
"button": "Learn more"
},
"metadata": { "metadata": {
"name": "Name", "name": "Name",
"icon_url": "Icon URL", "icon_url": "Icon URL",

View File

@@ -180,6 +180,7 @@
}, },
"effects": { "effects": {
"title": "Effects", "title": "Effects",
"subtitle": "Add effects to the background images",
"blur": "Adjust blur", "blur": "Adjust blur",
"brightness": "Adjust brightness", "brightness": "Adjust brightness",
"filters": { "filters": {
@@ -202,6 +203,7 @@
}, },
"source": { "source": {
"title": "Source", "title": "Source",
"subtitle": "Select where to get background images from",
"api": "Background API", "api": "Background API",
"custom_background": "Custom background", "custom_background": "Custom background",
"custom_colour": "Custom background color", "custom_colour": "Custom background color",
@@ -223,8 +225,13 @@
"datasaver": "Data Saver" "datasaver": "Data Saver"
} }
}, },
"display": "Display",
"display_subtitle": "Change how background and photo information are loaded",
"api": "API Settings",
"api_subtitle": "Options for getting an image from an external service (API)",
"interval": { "interval": {
"title": "Change every", "title": "Change every",
"subtitle": "Change how often the background is updated",
"minute": "Minute", "minute": "Minute",
"half_hour": "Half hour", "half_hour": "Half hour",
"hour": "Hour", "hour": "Hour",
@@ -516,7 +523,22 @@
}, },
"create": { "create": {
"title": "Create", "title": "Create",
"example": "Example",
"other_title": "Create Add-on", "other_title": "Create Add-on",
"create_type": "Create {type} Pack",
"descriptions": {
"settings": "",
"photo_pack": "",
"quote_pack": ""
},
"information": "Information",
"information_subtitle": "For example: 1.2.3 (major update, minor update, patch update)",
"import_custom": "Import from custom settings.",
"publishing": {
"title": "Next step, Publishing...",
"subtitle": "Visit the Mue Knowledgebase on information on how to publish your newly created addon.",
"button": "Learn more"
},
"metadata": { "metadata": {
"name": "Name", "name": "Name",
"icon_url": "Icon URL", "icon_url": "Icon URL",

View File

@@ -180,6 +180,7 @@
}, },
"effects": { "effects": {
"title": "Efectos", "title": "Efectos",
"subtitle": "Add effects to the background images",
"blur": "Ajustar difuminado", "blur": "Ajustar difuminado",
"brightness": "Ajustar brillo", "brightness": "Ajustar brillo",
"filters": { "filters": {
@@ -202,6 +203,7 @@
}, },
"source": { "source": {
"title": "Fuente", "title": "Fuente",
"subtitle": "Select where to get background images from",
"api": "API de fondos", "api": "API de fondos",
"custom_background": "Fondo personalizado", "custom_background": "Fondo personalizado",
"custom_colour": "Color del fondo personalizado", "custom_colour": "Color del fondo personalizado",
@@ -223,8 +225,13 @@
"datasaver": "Ahorro de datos" "datasaver": "Ahorro de datos"
} }
}, },
"display": "Display",
"display_subtitle": "Change how background and photo information are loaded",
"api": "API Settings",
"api_subtitle": "Options for getting an image from an external service (API)",
"interval": { "interval": {
"title": "Cambiar cada", "title": "Cambiar cada",
"subtitle": "Change how often the background is updated",
"minute": "Minuto", "minute": "Minuto",
"half_hour": "Media hora", "half_hour": "Media hora",
"hour": "Hora", "hour": "Hora",
@@ -516,7 +523,22 @@
}, },
"create": { "create": {
"title": "Crear", "title": "Crear",
"example": "Example",
"other_title": "Crear complemento", "other_title": "Crear complemento",
"create_type": "Create {type} Pack",
"descriptions": {
"settings": "",
"photo_pack": "",
"quote_pack": ""
},
"information": "Information",
"information_subtitle": "For example: 1.2.3 (major update, minor update, patch update)",
"import_custom": "Import from custom settings.",
"publishing": {
"title": "Next step, Publishing...",
"subtitle": "Visit the Mue Knowledgebase on information on how to publish your newly created addon.",
"button": "Learn more"
},
"metadata": { "metadata": {
"name": "Nombre", "name": "Nombre",
"icon_url": "URL del icono", "icon_url": "URL del icono",

View File

@@ -180,6 +180,7 @@
}, },
"effects": { "effects": {
"title": "Effets", "title": "Effets",
"subtitle": "Add effects to the background images",
"blur": "Ajuster le flou", "blur": "Ajuster le flou",
"brightness": "Ajuster la luminosité", "brightness": "Ajuster la luminosité",
"filters": { "filters": {
@@ -202,6 +203,7 @@
}, },
"source": { "source": {
"title": "Source", "title": "Source",
"subtitle": "Select where to get background images from",
"api": "Source", "api": "Source",
"custom_background": "Arrière-plan personnalisé", "custom_background": "Arrière-plan personnalisé",
"custom_colour": "Couleur d'arrière-plan personnalisée", "custom_colour": "Couleur d'arrière-plan personnalisée",
@@ -223,8 +225,13 @@
"datasaver": "Data Saver" "datasaver": "Data Saver"
} }
}, },
"display": "Display",
"display_subtitle": "Change how background and photo information are loaded",
"api": "API Settings",
"api_subtitle": "Options for getting an image from an external service (API)",
"interval": { "interval": {
"title": "Change every", "title": "Change every",
"subtitle": "Change how often the background is updated",
"minute": "Minute", "minute": "Minute",
"half_hour": "Half hour", "half_hour": "Half hour",
"hour": "Hour", "hour": "Hour",
@@ -516,7 +523,22 @@
}, },
"create": { "create": {
"title": "Create", "title": "Create",
"example": "Example",
"other_title": "Create Add-on", "other_title": "Create Add-on",
"create_type": "Create {type} Pack",
"descriptions": {
"settings": "",
"photo_pack": "",
"quote_pack": ""
},
"information": "Information",
"information_subtitle": "For example: 1.2.3 (major update, minor update, patch update)",
"import_custom": "Import from custom settings.",
"publishing": {
"title": "Next step, Publishing...",
"subtitle": "Visit the Mue Knowledgebase on information on how to publish your newly created addon.",
"button": "Learn more"
},
"metadata": { "metadata": {
"name": "Name", "name": "Name",
"icon_url": "Icon URL", "icon_url": "Icon URL",

View File

@@ -180,6 +180,7 @@
}, },
"effects": { "effects": {
"title": "Efek", "title": "Efek",
"subtitle": "Add effects to the background images",
"blur": "Sesuaikan blur", "blur": "Sesuaikan blur",
"brightness": "Sesuaikan kecerahan", "brightness": "Sesuaikan kecerahan",
"filters": { "filters": {
@@ -202,6 +203,7 @@
}, },
"source": { "source": {
"title": "Sumber", "title": "Sumber",
"subtitle": "Select where to get background images from",
"api": "Background API", "api": "Background API",
"custom_background": "Background kustom", "custom_background": "Background kustom",
"custom_colour": "Background warna kustom", "custom_colour": "Background warna kustom",
@@ -223,8 +225,13 @@
"datasaver": "Data Saver" "datasaver": "Data Saver"
} }
}, },
"display": "Display",
"display_subtitle": "Change how background and photo information are loaded",
"api": "API Settings",
"api_subtitle": "Options for getting an image from an external service (API)",
"interval": { "interval": {
"title": "Ubah setiap", "title": "Ubah setiap",
"subtitle": "Change how often the background is updated",
"minute": "Menit", "minute": "Menit",
"half_hour": "Setengah jam", "half_hour": "Setengah jam",
"hour": "Jam", "hour": "Jam",
@@ -516,7 +523,22 @@
}, },
"create": { "create": {
"title": "Buat", "title": "Buat",
"example": "Example",
"other_title": "Buat Add-on", "other_title": "Buat Add-on",
"create_type": "Create {type} Pack",
"descriptions": {
"settings": "",
"photo_pack": "",
"quote_pack": ""
},
"information": "Information",
"information_subtitle": "For example: 1.2.3 (major update, minor update, patch update)",
"import_custom": "Import from custom settings.",
"publishing": {
"title": "Next step, Publishing...",
"subtitle": "Visit the Mue Knowledgebase on information on how to publish your newly created addon.",
"button": "Learn more"
},
"metadata": { "metadata": {
"name": "Nama", "name": "Nama",
"icon_url": "URL Ikon", "icon_url": "URL Ikon",

View File

@@ -180,6 +180,7 @@
}, },
"effects": { "effects": {
"title": "Effects", "title": "Effects",
"subtitle": "Add effects to the background images",
"blur": "Vervaging instellen", "blur": "Vervaging instellen",
"brightness": "Adjust brightness", "brightness": "Adjust brightness",
"filters": { "filters": {
@@ -202,6 +203,7 @@
}, },
"source": { "source": {
"title": "Source", "title": "Source",
"subtitle": "Select where to get background images from",
"api": "Achtergrond-api", "api": "Achtergrond-api",
"custom_background": "Aangepaste achtergrond", "custom_background": "Aangepaste achtergrond",
"custom_colour": "Aangepaste achtergrondkleur", "custom_colour": "Aangepaste achtergrondkleur",
@@ -223,8 +225,13 @@
"datasaver": "Data Saver" "datasaver": "Data Saver"
} }
}, },
"display": "Display",
"display_subtitle": "Change how background and photo information are loaded",
"api": "API Settings",
"api_subtitle": "Options for getting an image from an external service (API)",
"interval": { "interval": {
"title": "Change every", "title": "Change every",
"subtitle": "Change how often the background is updated",
"minute": "Minute", "minute": "Minute",
"half_hour": "Half hour", "half_hour": "Half hour",
"hour": "Hour", "hour": "Hour",
@@ -516,7 +523,22 @@
}, },
"create": { "create": {
"title": "Create", "title": "Create",
"example": "Example",
"other_title": "Create Add-on", "other_title": "Create Add-on",
"create_type": "Create {type} Pack",
"descriptions": {
"settings": "",
"photo_pack": "",
"quote_pack": ""
},
"information": "Information",
"information_subtitle": "For example: 1.2.3 (major update, minor update, patch update)",
"import_custom": "Import from custom settings.",
"publishing": {
"title": "Next step, Publishing...",
"subtitle": "Visit the Mue Knowledgebase on information on how to publish your newly created addon.",
"button": "Learn more"
},
"metadata": { "metadata": {
"name": "Name", "name": "Name",
"icon_url": "Icon URL", "icon_url": "Icon URL",

View File

@@ -180,6 +180,7 @@
}, },
"effects": { "effects": {
"title": "Effects", "title": "Effects",
"subtitle": "Add effects to the background images",
"blur": "Juster Blur", "blur": "Juster Blur",
"brightness": "Adjust brightness", "brightness": "Adjust brightness",
"filters": { "filters": {
@@ -202,6 +203,7 @@
}, },
"source": { "source": {
"title": "Source", "title": "Source",
"subtitle": "Select where to get background images from",
"api": "Bakgrunn API", "api": "Bakgrunn API",
"custom_background": "Personlig bakgrunn", "custom_background": "Personlig bakgrunn",
"custom_colour": "Personlig Bakgrunn Farge", "custom_colour": "Personlig Bakgrunn Farge",
@@ -223,8 +225,13 @@
"datasaver": "Data Saver" "datasaver": "Data Saver"
} }
}, },
"display": "Display",
"display_subtitle": "Change how background and photo information are loaded",
"api": "API Settings",
"api_subtitle": "Options for getting an image from an external service (API)",
"interval": { "interval": {
"title": "Change every", "title": "Change every",
"subtitle": "Change how often the background is updated",
"minute": "Minute", "minute": "Minute",
"half_hour": "Half hour", "half_hour": "Half hour",
"hour": "Hour", "hour": "Hour",
@@ -516,7 +523,22 @@
}, },
"create": { "create": {
"title": "Create", "title": "Create",
"example": "Example",
"other_title": "Create Add-on", "other_title": "Create Add-on",
"create_type": "Create {type} Pack",
"descriptions": {
"settings": "",
"photo_pack": "",
"quote_pack": ""
},
"information": "Information",
"information_subtitle": "For example: 1.2.3 (major update, minor update, patch update)",
"import_custom": "Import from custom settings.",
"publishing": {
"title": "Next step, Publishing...",
"subtitle": "Visit the Mue Knowledgebase on information on how to publish your newly created addon.",
"button": "Learn more"
},
"metadata": { "metadata": {
"name": "Name", "name": "Name",
"icon_url": "Icon URL", "icon_url": "Icon URL",

View File

@@ -180,6 +180,7 @@
}, },
"effects": { "effects": {
"title": "Effects", "title": "Effects",
"subtitle": "Add effects to the background images",
"blur": "Размытие", "blur": "Размытие",
"brightness": "Яркость", "brightness": "Яркость",
"filters": { "filters": {
@@ -202,6 +203,7 @@
}, },
"source": { "source": {
"title": "Source", "title": "Source",
"subtitle": "Select where to get background images from",
"api": "API для фона", "api": "API для фона",
"custom_background": "Пользовательский фон", "custom_background": "Пользовательский фон",
"custom_colour": "Пользовательский цвет фон", "custom_colour": "Пользовательский цвет фон",
@@ -223,8 +225,13 @@
"datasaver": "Data Saver" "datasaver": "Data Saver"
} }
}, },
"display": "Display",
"display_subtitle": "Change how background and photo information are loaded",
"api": "API Settings",
"api_subtitle": "Options for getting an image from an external service (API)",
"interval": { "interval": {
"title": "Change every", "title": "Change every",
"subtitle": "Change how often the background is updated",
"minute": "Minute", "minute": "Minute",
"half_hour": "Half hour", "half_hour": "Half hour",
"hour": "Hour", "hour": "Hour",
@@ -516,7 +523,22 @@
}, },
"create": { "create": {
"title": "Create", "title": "Create",
"example": "Example",
"other_title": "Create Add-on", "other_title": "Create Add-on",
"create_type": "Create {type} Pack",
"descriptions": {
"settings": "",
"photo_pack": "",
"quote_pack": ""
},
"information": "Information",
"information_subtitle": "For example: 1.2.3 (major update, minor update, patch update)",
"import_custom": "Import from custom settings.",
"publishing": {
"title": "Next step, Publishing...",
"subtitle": "Visit the Mue Knowledgebase on information on how to publish your newly created addon.",
"button": "Learn more"
},
"metadata": { "metadata": {
"name": "Name", "name": "Name",
"icon_url": "Icon URL", "icon_url": "Icon URL",

View File

@@ -180,6 +180,7 @@
}, },
"effects": { "effects": {
"title": "背景特效", "title": "背景特效",
"subtitle": "Add effects to the background images",
"blur": "模糊程度", "blur": "模糊程度",
"brightness": "更改亮度", "brightness": "更改亮度",
"filters": { "filters": {
@@ -202,6 +203,7 @@
}, },
"source": { "source": {
"title": "来源", "title": "来源",
"subtitle": "Select where to get background images from",
"api": "背景来源", "api": "背景来源",
"custom_background": "自定义背景 (支持图片/视频)", "custom_background": "自定义背景 (支持图片/视频)",
"custom_colour": "自定义背景颜色", "custom_colour": "自定义背景颜色",
@@ -223,8 +225,13 @@
"datasaver": "省流模式" "datasaver": "省流模式"
} }
}, },
"display": "Display",
"display_subtitle": "Change how background and photo information are loaded",
"api": "API Settings",
"api_subtitle": "Options for getting an image from an external service (API)",
"interval": { "interval": {
"title": "更改频率", "title": "更改频率",
"subtitle": "Change how often the background is updated",
"minute": "每分钟", "minute": "每分钟",
"half_hour": "每半小时", "half_hour": "每半小时",
"hour": "每小时", "hour": "每小时",
@@ -516,7 +523,22 @@
}, },
"create": { "create": {
"title": "创建", "title": "创建",
"example": "Example",
"other_title": "创建插件", "other_title": "创建插件",
"create_type": "Create {type} Pack",
"descriptions": {
"settings": "",
"photo_pack": "",
"quote_pack": ""
},
"information": "Information",
"information_subtitle": "For example: 1.2.3 (major update, minor update, patch update)",
"import_custom": "Import from custom settings.",
"publishing": {
"title": "Next step, Publishing...",
"subtitle": "Visit the Mue Knowledgebase on information on how to publish your newly created addon.",
"button": "Learn more"
},
"metadata": { "metadata": {
"name": "名称", "name": "名称",
"icon_url": "图标URL", "icon_url": "图标URL",