shop: improve wording

This commit is contained in:
Sébastien Bourdeauducq 2024-02-15 12:34:01 +08:00
parent 67cef120b6
commit 41e20d205c

View File

@ -50,11 +50,11 @@ const shop_data = {
options: [ options: [
{"type": "Group", items:[ {"type": "Group", items:[
{type: "Switch", args: { {type: "Switch", args: {
title: "Include optional Intel® NUC mini-computer with pre-installed ARTIQ software", title: "Optional pre-installed NUC mini-computer",
outvar: "nuc", outvar: "nuc",
tip: "OS: latest stable NixOS with Gnome or KDE with pre-installed ARTIQ software. " + tip: "Pre-installed NixOS desktop with ARTIQ and other scientific software. " +
"Hardware (other choices available): Intel® NUC 13 Pro Kit NUC13ANKi7, i7-1360P CPU, " + "Hardware: Intel® NUC 13 Pro Kit NUC13ANKi7, i7-1360P CPU, " +
"32GB RAM from reputable vendor, 1TB M.2 NVM Express SSD from reputable vendor.", "32GB RAM, 1TB NVMe. Other options contact us.",
fallback: true, fallback: true,
}}, }},
{ {
@ -64,7 +64,7 @@ const shop_data = {
{ {
type: "Radio", type: "Radio",
args: { args: {
title: "Desktop Environment", title: "Desktop Environment:",
outvar: "nuc_desktop", outvar: "nuc_desktop",
variants: ["Gnome", "KDE"], variants: ["Gnome", "KDE"],
fallback: 0, fallback: 0,
@ -72,13 +72,13 @@ const shop_data = {
} }
}, },
{type: "Line", args: {title: "Additional software to be pre-installed", outvar: "software", fallback: "", {type: "Line", args: {title: "Additional software to be pre-installed", outvar: "software", fallback: "",
tip: "Pre-install additional software, if needed."}}, tip: "Most software from nixpkgs can be pre-installed."}},
{"if": [ {"if": [
{"var": "ext_data.has_crate"}, {"var": "ext_data.has_crate"},
{type: "Switch", args: { {type: "Switch", args: {
title: "Include promotional USB stick", title: "Promotional USB stick",
outvar: "include_usb_stick_nuc", outvar: "include_usb_stick_nuc",
tip: "Choose if you need a USB stick with device database and other relevant files. Alternative is to to receive them via other electronic means (e.g. email or cloud).", tip: "Branded USB stick with device database and other relevant files. Files can also be emailed to you.",
fallback: false, fallback: false,
}} }}
]}, ]},
@ -99,7 +99,7 @@ const shop_data = {
{ {
type: "Radio", type: "Radio",
args: { args: {
title: "Shipping options", title: "Shipping options:",
outvar: "shipping", outvar: "shipping",
variants: [ variants: [
"Incoterms 2020 FCA", "Incoterms 2020 FCA",
@ -122,7 +122,7 @@ const shop_data = {
]}, ]},
{"if": [ {"if": [
{"==": [{"var": "shipping"}, "Prepay and add shipping (only available to credit customers)"]}, {"==": [{"var": "shipping"}, "Prepay and add shipping (only available to credit customers)"]},
[{type: "Radio", args: {title: "In case of additional customs fees", [{type: "Radio", args: {title: "In case of additional customs fees:",
outvar: "prepay_fees_handling", fallback: 0, outvar: "prepay_fees_handling", fallback: 0,
variants: [ variants: [
"Add to your final invoice", "Add to your final invoice",
@ -135,7 +135,7 @@ const shop_data = {
], ],
prices: [{ prices: [{
"if": [{"var": "nuc"}, {title: "Include optional pre-installed Intel® NUC mini-computer", price: 1300, disable_patch: {"nuc": false}, id: "nuc"}], "if": [{"var": "nuc"}, {title: "Pre-installed NUC mini-computer", price: 1300, disable_patch: {"nuc": false}, id: "nuc"}],
}], }],
shippingSummary: [ shippingSummary: [
{type: "Label", args: { {type: "Label", args: {