diff --git a/src/locales/en.json b/src/locales/en.json index 71462d5..af685e7 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -157,6 +157,10 @@ "username": { "string": "Username (each \"#\" gets replaced with a random number)" }, + "customUsernameWarning": { + "string": "Be careful when changing the default username as it can cause connections to the default cloud variable server to be blocked. Only the default username is guaranteed to work.", + "context": "Warning that appears when using custom username and cloud variables at the same time." + }, "autoplay": { "string": "Start project automatically instead of showing a big green flag" }, diff --git a/src/p4/PackagerOptions.svelte b/src/p4/PackagerOptions.svelte index 1f80f52..7ae3de5 100644 --- a/src/p4/PackagerOptions.svelte +++ b/src/p4/PackagerOptions.svelte @@ -295,6 +295,11 @@ {$_('options.username')} + {#if $options.username !== defaultOptions.username && cloudVariables.length !== 0} +

+ {$_('options.customUsernameWarning')} +

+ {/if}

{$_('options.stage')}