From: Tim Düsterhus Date: Fri, 27 Aug 2021 09:26:53 +0000 (+0200) Subject: Add placeholder to the 'path' input in DevtoolsProjectAddForm X-Git-Tag: 5.4.5_RC_1~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b93e8253b6c785bb7b99c3538c8a05ee3d30bc01;p=GitHub%2FWoltLab%2FWCF.git Add placeholder to the 'path' input in DevtoolsProjectAddForm --- diff --git a/wcfsetup/install/files/lib/acp/form/DevtoolsProjectAddForm.class.php b/wcfsetup/install/files/lib/acp/form/DevtoolsProjectAddForm.class.php index 503dd57296..ae8746f6ce 100644 --- a/wcfsetup/install/files/lib/acp/form/DevtoolsProjectAddForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/DevtoolsProjectAddForm.class.php @@ -140,6 +140,7 @@ class DevtoolsProjectAddForm extends AbstractFormBuilderForm TextFormField::create('path') ->label('wcf.acp.devtools.project.path') ->description('wcf.acp.devtools.project.path.description') + ->placeholder(WCF_DIR) ->required() ->addValidator(new FormFieldValidator('validPath', function (TextFormField $formField) { // ensure that unified directory separators are used diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index 80eef8de32..719961887a 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -419,7 +419,7 @@ - + getPackageArchive()->getOpenRequirements()|empty}class="jsDevtoolsInstallPackage"{else}class="jsStaticDialog" data-dialog-id="openPackageRequirements"{/if}>{if LANGUAGE_USE_INFORMAL_VARIANT}Willst du{else}Wollen Sie{/if} das Paket installieren?]]> diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index c55c805f43..62d7463d23 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -396,7 +396,7 @@ - + getPackageArchive()->getOpenRequirements()|empty}class="jsDevtoolsInstallPackage"{else}class="jsStaticDialog" data-dialog-id="openPackageRequirements"{/if}>Do you want to install the package?]]>