diff --git a/src/locales/en.json b/src/locales/en.json index 49cf8a3..aa11524 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -268,6 +268,10 @@ "string": "Cloud Variables", "context": "Cloud variables section header" }, + "noCloudVariables": { + "string": "This project does not contain cloud variables.", + "context": "Message that appears when the project contain no cloud variables." + }, "mode": { "string": "Mode", "context": "Label to choose how to handle cloud variables" diff --git a/src/p4/PackagerOptions.svelte b/src/p4/PackagerOptions.svelte index efbc73c..b4204c3 100644 --- a/src/p4/PackagerOptions.svelte +++ b/src/p4/PackagerOptions.svelte @@ -455,17 +455,18 @@ -{#if cloudVariables.length > 0} -
{ - resetOptions([ - 'cloudVariables' - ]); - }} - > -
-

{$_('options.cloudVariables')}

+
{ + resetOptions([ + 'cloudVariables' + ]); + }} +> +
+

{$_('options.cloudVariables')}

+ + {#if cloudVariables.length > 0}