Template for create and edit step for postal address assets

pull/10/head
Jens Pelzetter 2021-05-14 17:52:47 +02:00
parent c64155af7b
commit 6b125c532f
8 changed files with 567 additions and 29 deletions

View File

@ -24,8 +24,10 @@ import org.librecms.assets.PostalAddress;
import org.librecms.contentsection.AssetManager;
import org.librecms.contentsection.AssetRepository;
import java.util.Arrays;
import java.util.Locale;
import java.util.Map;
import java.util.stream.Collectors;
import javax.enterprise.context.RequestScoped;
import javax.inject.Inject;
@ -44,18 +46,34 @@ public class PostalAddressCreateStep
private static final String FORM_PARAMS_NAME = "name";
private static final String FORM_PARAMS_TITLE = "title";
private static final String FORM_PARAM_INITIAL_LOCALE = "locale";
@Inject
private AssetManager assetManager;
@Inject
private AssetRepository assetRepo;
@Inject
private GlobalizationHelper globalizationHelper;
private String name;
private String title;
private String initialLocale;
private String address;
private String postalCode;
private String city;
private String state;
private String isoCountryCode;
@Override
public String showCreateStep() {
return "/org/librecms/ui/assets/postaladdress/create-postaladdress.xhtml";
@ -76,14 +94,14 @@ public class PostalAddressCreateStep
);
return showCreateStep();
}
final String name = formParams.get(FORM_PARAMS_NAME)[0];
name = formParams.get(FORM_PARAMS_NAME)[0];
if (!name.matches("^([a-zA-Z0-9_-]*)$")) {
addMessage(
"danger",
globalizationHelper
.getLocalizedTextsUtil(getBundle())
.getText("postaladdress.createstep.name.error.invalid")
.getLocalizedTextsUtil(getBundle())
.getText("postaladdress.createstep.name.error.invalid")
);
return showCreateStep();
}
@ -99,8 +117,8 @@ public class PostalAddressCreateStep
);
return showCreateStep();
}
final String title = formParams.get(FORM_PARAMS_TITLE)[0];
title = formParams.get(FORM_PARAMS_TITLE)[0];
if (!formParams.containsKey(FORM_PARAM_INITIAL_LOCALE)
|| formParams.get(FORM_PARAM_INITIAL_LOCALE) == null
|| formParams.get(FORM_PARAM_INITIAL_LOCALE).length == 0) {
@ -112,32 +130,31 @@ public class PostalAddressCreateStep
);
return showCreateStep();
}
final Locale locale = new Locale(
formParams.get(FORM_PARAM_INITIAL_LOCALE)[0]
);
final String address = formParams.get("address")[0];
final String postalCode = formParams.get("postalCode")[0];
final String city = formParams.get("city")[0];
final String state = formParams.get("state")[0];
final String isoCountryCode = formParams.get("isoCountryCode")[0];
initialLocale = formParams.get(FORM_PARAM_INITIAL_LOCALE)[0];
final Locale locale = new Locale(initialLocale);
address = formParams.get("address")[0];
postalCode = formParams.get("postalCode")[0];
city = formParams.get("city")[0];
state = formParams.get("state")[0];
isoCountryCode = formParams.get("isoCountryCode")[0];
final PostalAddress postalAddress = assetManager.createAsset(
name,
name,
title,
locale,
getFolder(),
locale,
getFolder(),
PostalAddress.class
);
postalAddress.setAddress(address);
postalAddress.setPostalCode(postalCode);
postalAddress.setCity(city);
postalAddress.setState(state);
postalAddress.setIsoCountryCode(isoCountryCode);
assetRepo.save(postalAddress);
return String.format(
"redirect:/%s/assets/%s/%s/@postaladdress-edit",
getContentSectionLabel(),
@ -145,7 +162,6 @@ public class PostalAddressCreateStep
name
);
}
@Override
public String getAssetType() {
@ -171,4 +187,50 @@ public class PostalAddressCreateStep
return MvcAssetStepsConstants.BUNDLE;
}
public String getName() {
return name;
}
public String getTitle() {
return title;
}
public String getInitialLocale() {
return initialLocale;
}
public String getAddress() {
return address;
}
public String getPostalCode() {
return postalCode;
}
public String getCity() {
return city;
}
public String getState() {
return state;
}
public String getIsoCountryCode() {
return isoCountryCode;
}
public Map<String, String> getCountries() {
return Arrays
.stream(Locale.getISOCountries())
.map(country -> new Locale(country))
.collect(
Collectors.toMap(
Locale::toString,
locale -> locale.getDisplayCountry(
globalizationHelper.getNegotiatedLocale()
)
)
);
}
}

View File

@ -324,6 +324,12 @@ public class PostalAddressEditStep extends AbstractMvcAssetEditStep {
public String getIsoCountryCode() {
return getPostalAddress().getIsoCountryCode();
}
public String getCountry() {
return new Locale(getPostalAddress()
.getIsoCountryCode())
.getDisplayCountry(globalizationHelper.getNegotiatedLocale());
}
@POST
@Path("/properties")
@ -374,8 +380,9 @@ public class PostalAddressEditStep extends AbstractMvcAssetEditStep {
.collect(
Collectors.toMap(
Locale::toString,
locale -> locale.getDisplayCountry(globalizationHelper
.getNegotiatedLocale())
locale -> locale.getDisplayCountry(
globalizationHelper.getNegotiatedLocale()
)
)
);
}

View File

@ -0,0 +1,21 @@
<!DOCTYPE html [<!ENTITY times '&#215;'>]>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<ui:composition template="/WEB-INF/views/org/librecms/ui/contentsection/contentsection.xhtml">
<ui:define name="main">
<c:forEach items="#{CmsMessages.messages.entrySet}"
var="message">
<div class="alert alert-#{message.key}" role="alert">
#{message.value}
</div>
</c:forEach>
<ui:insert name="editStep" />
</ui:define>
</ui:composition>
</html>

View File

@ -1 +1,103 @@
<!DOCTYPE html [<!ENTITY times '&#215;'>]>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:bootstrap="http://xmlns.jcp.org/jsf/composite/components/bootstrap"
xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
xmlns:libreccm="http://xmlns.jcp.org/jsf/composite/components/libreccm"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<ui:composition template="/WEB-INF/views/org/librecms/ui/contentsection/contentsection.xhtml">
<ui:define name="main">
<div class="container">
<h1>#{CmsAssetsStepsDefaultMessagesBundle["postaladdress.createform.title"]}</h1>
<c:forEach items="#{CmsPostalAddressCreateStep.messages.entrySet()}"
var="message">
<div class="alert alert-#{message.key}" role="alert">
#{message.value}
</div>
</c:forEach>
<form action="#{mvc.basePath}/#{CmsPostalAddressCreateStep.contentSectionLabel}/assets/#{CmsPostalAddressCreateStep.folderPath}@create/#{CmsPostalAddressCreateStep.assetType}"
method="post">
<bootstrap:formGroupText
help="#{CmsAssetsStepsDefaultMessagesBundle['createform.name.help']}"
inputId="name"
label="#{CmsAssetsStepsDefaultMessagesBundle['createform.name.label']}"
name="name"
pattern="^([a-zA-Z0-9_-]*)$"
required="true"
value="#{CmsPostalAddressCreateStep.name}"
/>
<bootstrap:formGroupSelect
help="#{CmsAssetsStepsDefaultMessagesBundle['createform.initial_locale.help']}"
inputId="locale"
label="#{CmsAssetsStepsDefaultMessagesBundle['createform.initial_locale.label']}"
name="locale"
options="#{CmsPostalAddressCreateStep.availableLocales}"
required="true"
selectedOptions="#{[CmsPostalAddressCreate.initialLocale]}"
/>
<bootstrap:formGroupText
help="#{CmsAssetsStepsDefaultMessagesBundle['createform.title.help']}"
inputId="title"
label="#{CmsAssetsStepsDefaultMessagesBundle['createform.title.label']}"
name="title"
required="true"
/>
<bootstrap:formGroupTextarea
cols="80"
help="#{CmsAssetsStepsDefaultMessagesBundle['createform.postaladdress.address.help']}"
inputId="address"
label="#{CmsAssetsStepsDefaultMessagesBundle['createform.postaladdress.address.label']}"
name="address"
rows="10"
/>
<bootstrap:formGroupText
help="#{CmsAssetsStepsDefaultMessagesBundle['createform.postaladdress.postalcode.help']}"
inputId="postalCode"
label="#{CmsAssetsStepsDefaultMessagesBundle['createform.postaladdress.postalcode.label']}"
name="postalCode"
/>
<bootstrap:formGroupText
help="#{CmsAssetsStepsDefaultMessagesBundle['createform.postaladdress.city.help']}"
inputId="city"
label="#{CmsAssetsStepsDefaultMessagesBundle['createform.postaladdress.city.label']}"
name="city"
/>
<bootstrap:formGroupText
help="#{CmsAssetsStepsDefaultMessagesBundle['createform.postaladdress.state.help']}"
inputId="state"
label="#{CmsAssetsStepsDefaultMessagesBundle['createform.postaladdress.state.label']}"
name="state"
/>
<bootstrap:formGroupSelect
help="#{CmsAssetsStepsDefaultMessagesBundle['createform.postaladdress.country.help']}"
inputId="isoCountryCode"
label="#{CmsAssetsStepsDefaultMessagesBundle['createform.postaladdress.country.label']}"
name="isoCountryCode"
options="#{CmsPostalAddressCreateStep.countries}"
/>
<a class="btn btn-warning"
href="#{mvc.basePath}/#{CmsPostalAddressCreateStep.contentSectionLabel}/assetsfolders/#{CmsPostalAddressCreateStep.folderPath}">
#{CmsAssetsStepsDefaultMessagesBundle['createform.cancel']}
</a>
<button class="btn btn-success"
type="submit">
#{CmsAssetsStepsDefaultMessagesBundle['createform.submit']}
</button>
</form>
</div>
</ui:define>
</ui:composition>
</html>

View File

@ -1 +1,223 @@
<!DOCTYPE html [<!ENTITY times '&#215;'>]>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:bootstrap="http://xmlns.jcp.org/jsf/composite/components/bootstrap"
xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
xmlns:libreccm="http://xmlns.jcp.org/jsf/composite/components/libreccm"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<ui:composition template="/WEB-INF/views/org/librecms/ui/contentsections/assets/editstep.xhtml">
<h2>#{CmsAssetsStepsDefaultMessagesBundle.getMessage('postaladdress.editstep.header', [CmsPostalAddressEditStep.name])}</h2>
<h3>#{CmsAssetsStepsDefaultMessagesBundle['editstep.name.header']}</h3>
<div class="d-flex">
<pre class="mr-2">#{CmsPostalAddressEditStep.name}</pre>
<c:if test="#{CmsPostalAddressEditStep.canEdit}">
<button class="btn btn-primary btn-sm"
data-toggle="modal"
data-target="#name-edit-dialog"
type="button">
<bootstrap:svgIcon icon="pen" />
<span class="sr-only">
#{CmsAssetsStepsDefaultMessagesBundle['editstep.name.edit']}
</span>
</button>
</c:if>
</div>
<c:if test="#{CmsPostalAddressEditStep.canEdit}">
<div aria-hidden="true"
aria-labelledby="name-edit-dialog-title"
class="modal fade"
id="name-edit-dialog"
tabindex="-1">
<div class="modal-dialog">
<form action="#{mvc.basePath}/#{ContentSectionModel.sectionName}/assets/#{CmsSelectedAssetModel.assetPath}/@edit-postaladdress/name"
class="modal-content"
method="post">
<div class="modal-header">
<h4 class="modal-title"
id="name-edit-dialog-title">
#{CmsAssetsStepsDefaultMessagesBundle['editstep.name.edit.title']}
</h4>
<button aria-label="#{CmsAssetsStepsDefaultMessagesBundle['editstep.name.edit.close']}"
class="close"
data-dismiss="modal"
type="button">
<bootstrap:svgIcon icon="x" />
</button>
</div>
<div class="modal-body">
<bootstrap:formGroupText
help="#{CmsAssetsStepsDefaultMessagesBundle['editstep.name.help']}"
inputId="name"
label="#{CmsAssetsStepsDefaultMessagesBundle['editstep.name.label']}"
name="name"
pattern="^([a-zA-Z0-9_-]*)$"
required="true"
value="#{CmsPostalAddressEditStep.name}"
/>
</div>
<div class="modal-footer">
<button class="btn btn-warning"
data-dismiss="modal"
type="button">
#{CmsAssetsStepsDefaultMessagesBundle['editstep.name.close']}
</button>
<button class="btn btn-success"
type="submit">
#{CmsAssetsStepsDefaultMessagesBundle['editstep.name.submit']}
</button>
</div>
</form>
</div>
</div>
</c:if>
<libreccm:localizedStringEditor
addButtonLabel="#{CmsAssetsStepsDefaultMessagesBundle['editstep.title.add_button.label']}"
addDialogCancelLabel="#{CmsAssetsStepsDefaultMessagesBundle['editstep.title.add.cancel']}"
addDialogLocaleSelectHelp="#{CmsAssetsStepsDefaultMessagesBundle['editstep.title.add.locale.help']}"
addDialogLocaleSelectLabel="#{CmsAssetsStepsDefaultMessagesBundle['editstep.title.add.locale.label']}"
addDialogSubmitLabel="#{CmsAssetsStepsDefaultMessagesBundle['editstep.title.add.submit']}"
addDialogTitle="#{CmsAssetsStepsDefaultMessagesBundle['editstep.title.add.header']}"
addDialogValueHelp="#{CmsAssetsStepsDefaultMessagesBundle['editstep.title.add.value.help']}"
addDialogValueLabel="#{CmsAssetsStepsDefaultMessagesBundle['editstep.title.add.value.label']}"
addMethod="#{mvc.basePath}/#{ContentSectionModel.sectionName}/assets/#{CmsSelectedAssetModel.assetPath}/@postaladdress-edit/title/@add"
editButtonLabel="#{CmsAssetsStepsDefaultMessagesBundle['editstep.title.edit']}"
editDialogCancelLabel="#{CmsAssetsStepsDefaultMessagesBundle['editstep.title.edit.cancel']}"
editDialogSubmitLabel="#{CmsAssetsStepsDefaultMessagesBundle['editstep.title.edit.submit']}"
editDialogTitle="#{CmsAssetsStepsDefaultMessagesBundle['editstep.title.edit.header']}"
editDialogValueHelp="#{CmsAssetsStepsDefaultMessagesBundle['editstep.title.edit.value.help']}"
editDialogValueLabel="#{CmsAssetsStepsDefaultMessagesBundle['editstep.title.edit.value.label']}"
editMethod="#{mvc.basePath}/#{ContentSectionModel.sectionName}/assets/#{CmsSelectedAssetModel.assetPath}/@postaladdress-edit/title/@edit"
editorId="title-editor"
hasUnusedLocales="#{!CmsPostalAddressEditStep.unusedTitleLocales.isEmpty()}"
headingLevel="3"
objectIdentifier="#{CmsSelectedAssetModel.assetPath}"
readOnly="#{!CmsPostalAddressEditStep.canEdit}"
removeButtonLabel="#{CmsAssetsStepsDefaultMessagesBundle['editstep.title.remove']}"
removeDialogCancelLabel="#{CmsAssetsStepsDefaultMessagesBundle['editstep.title.remove.cancel']}"
removeDialogSubmitLabel="#{CmsAssetsStepsDefaultMessagesBundle['editstep.title.remove.submit']}"
removeDialogText="#{CmsAssetsStepsDefaultMessagesBundle['editstep.title.remove.text']}"
removeDialogTitle="#{CmsAssetsStepsDefaultMessagesBundle['editstep.title.remove.title']}"
removeMethod="#{mvc.basePath}/#{ContentSectionModel.sectionName}/assets/#{CmsSelectedAssetModel.assetPath}/@postaladdress-edit/title/@remove"
title="#{CmsAssetsStepsDefaultMessagesBundle['editstep.title.header']}"
unusedLocales="#{CmsPostalAddressEditStep.unusedTitleLocales}"
values="#{CmsPostalAddressEditStep.titleValues}"
/>
<h3>#{CmsAssetsStepsDefaultMessagesBundle['postaladdress.editstep.properties.header']}</h3>
<c:if test="#{CmsPostalAddressEditStep.canEdit}">
<div class="text-right">
<button class="btn btn-primary"
data-toggle="modal"
data-target="#properties-edit-dialog"
type="button">
<bootstrap:svgIcon icon="pen" />
<span class="sr-only">#{CmsAssetsStepsDefaultMessagesBundle['postaladdress.editstep.properties.edit']}</span>
</button>
</div>
<div aria-hidden="true"
aria-labelledby="properties-edit-dialog-title"
class="modal fade"
id="properties-edit-dialog"
tabindex="-1">
<div class="modal-dialog">
<form action="#{mvc.basePath}/#{ContentSectionModel.sectionName}/assets/#{CmsSelectedAssetModel.assetPath}/@postaladdress-edit/properties"
class="modal-content"
method="post">
<div class="modal-header">
<h4 class="modal-title"
id="properties-edit-dialog-title">
#{CmsAssetsStepsDefaultMessagesBundle['postaladdress.editstep.properties.edit.title']}
</h4>
<button
aria-label="#{CmsAssetsStepsDefaultMessagesBundle['postaladdress.editstep.properties.edit.close']}"
class="close"
data-dismiss="modal"
type="button">
<bootstrap:svgIcon icon="x" />
</button>
</div>
<div class="modal-body">
<bootstrap:formGroupTextarea
cols="80"
help="#{CmsAssetsStepsDefaultMessagesBundle['postaladdress.editstep.properties.edit.address.help']}"
inputId="address"
label="#{CmsAssetsStepsDefaultMessagesBundle['postaladdress.editstep.properties.address.label']}"
name="address"
rows="10"
value="#{CmsPostalAddressEditStep.address}"
/>
<bootstrap:formGroupText
help="#{CmsAssetsStepsDefaultMessagesBundle['postaladdress.editstep.properties.edit.postal_code.help']}"
inputId="postalCode"
label="#{CmsAssetsStepsDefaultMessagesBundle['postaladdress.editstep.properties.postal_code.label']}"
name="postalCode"
value="#{CmsPostalAddressEditStep.postalCode}"
/>
<bootstrap:formGroupText
help="#{CmsAssetsStepsDefaultMessagesBundle['postaladdress.editstep.properties.edit.city.help']}"
inputId="city"
label="#{CmsAssetsStepsDefaultMessagesBundle['postaladdress.editstep.properties.city.label']}"
name="city"
value="#{CmsPostalAddressEditStep.city}"
/>
<bootstrap:formGroupText
help="#{CmsAssetsStepsDefaultMessagesBundle['postaladdress.editstep.properties.edit.state.help']}"
inputId="state"
label="#{CmsAssetsStepsDefaultMessagesBundle['postaladdress.editstep.properties.state.label']}"
name="state"
value="#{CmsPostalAddressEditStep.state}"
/>
<bootstrap:formGroupSelect
help="#{CmsAssetsStepsDefaultMessagesBundle['postaladdress.editstep.properties.edit.country.help']}"
inputId="isoCountryCode"
label="#{CmsAssetsStepsDefaultMessagesBundle['postaladdress.editstep.properties.country.label']}"
name="isoCountryCode"
options="#{CmsPostalAddressEditStep.countries}"
selectedOptions="#{[CmsPostalAddressEditStep.isoCountryCode]}"
/>
</div>
<div class="modal-footer">
<button class="btn btn-warning"
data-dismiss="modal"
type="button">
#{CmsAssetsStepsDefaultMessagesBundle['postaladdress.editstep.properties.edit.close']}
</button>
<button class="btn btn-success"
type="submit">
#{CmsAssetsStepsDefaultMessagesBundle['postaladdress.editstep.properties.edit.submit']}
</button>
</div>
</form>
</div>
</div>
</c:if>
<dl>
<div>
<dt>#{CmsAssetsStepsDefaultMessagesBundle['postaladdress.editstep.properties.address.label']}</dt>
<dd>#{CmsPostalAddressEditStep.address}</dd>
</div>
<div>
<dt>#{CmsAssetsStepsDefaultMessagesBundle['postaladdress.editstep.properties.postal_code.label']}</dt>
<dd>#{CmsPostalAddressEditStep.postalCode}</dd>
</div>
<div>
<dt>#{CmsAssetsStepsDefaultMessagesBundle['postaladdress.editstep.properties.city.label']}</dt>
<dd>#{CmsPostalAddressEditStep.city}</dd>
</div>
<div>
<dt>#{CmsAssetsStepsDefaultMessagesBundle['postaladdress.editstep.properties.state.label']}</dt>
<dd>#{CmsPostalAddressEditStep.state}</dd>
</div>
<div>
<dt>#{CmsAssetsStepsDefaultMessagesBundle['postaladdress.editstep.properties.country.label']}</dt>
<dd>#{CmsPostalAddressEditStep.country}</dd>
</div>
</dl>
</ui:composition>
</html>

View File

@ -44,7 +44,7 @@
class="close"
data-dismiss="modal"
type="button">
<bootstrap:svgIcon icon="x-circle" />
<bootstrap:svgIcon icon="x" />
</button>
</div>
<div class="modal-body">

View File

@ -1,3 +1,65 @@
create_step=Access denied
asset.edit.denied=Access denied.
postaladdress.createform.title=Create new postal address
createform.name.help=The name of the new asset. Can only contain the letters a to z, A to Z, numbers, the underscore and the dash.
createform.name.label=Name
createform.initial_locale.help=Initial locale of the new asset.
createform.initial_locale.label=Language
createform.title.help=The title of the new asset.
createform.title.label=Title
createform.postaladdress.address.help=Additional address lines of the postal address, eg. Building K, Floor 42.
createform.postaladdress.address.label=Additional address lines
createform.postaladdress.postalcode.help=The postal code of the address.
createform.postaladdress.postalcode.label=Postal Code
createform.postaladdress.city.help=The city part of the address.
createform.postaladdress.city.label=City
createform.postaladdress.state.help=The state part of the address. Not relevant for most countries.
createform.postaladdress.state.label=State
createform.postaladdress.country.help=The country part of the address.
createform.postaladdress.country.label=Country
createform.cancel=Cancel
createform.submit=Create asset
postaladdress.editstep.header=Edit postal address {0}
editstep.name.header=Name
editstep.name.edit=Rename asset
editstep.name.edit.title=Rename asset
editstep.name.edit.close=Cancel
editstep.name.help=The name of the asset. Can only contain the letters a to z, A to Z, numbers, the underscore and the dash.
editstep.name.label=Name
editstep.name.submit=Rename asset
editstep.title.add_button.label=Add localized title
editstep.title.add.cancel=Cancel
editstep.title.add.locale.help=The locale of the new localized title.
editstep.title.add.locale.label=Locale
editstep.title.add.submit=Add localized title
editstep.title.add.header=Add localized title
editstep.title.add.value.help=The new localized title.
editstep.title.add.value.label=Title
editstep.title.edit=Edit
editstep.title.edit.cancel=Cancel
editstep.title.edit.submit=Save
editstep.title.edit.header=Edit localized title
editstep.title.edit.value.help=The localized title.
editstep.title.edit.value.label=Title
editstep.title.remove=Remove
editstep.title.remove.cancel=Cancel
editstep.title.remove.submit=Remove
editstep.title.remove.text=Are you sure to remvoe the following localized title?
editstep.title.remove.title=Remove localized title
editstep.title.header=Asset Title
postaladdress.editstep.properties.header=Postal Address Properties
postaladdress.editstep.properties.edit=Edit properties
postaladdress.editstep.properties.edit.title=Edit postal address properties
postaladdress.editstep.properties.edit.close=Cancel
postaladdress.editstep.properties.edit.address.help=Additional address lines of the postal address, eg. Building K, Floor 42.
postaladdress.editstep.properties.address.label=Additional address lines
postaladdress.editstep.properties.edit.postal_code.help=The postal code of the address.
postaladdress.editstep.properties.postal_code.label=Postal code
postaladdress.editstep.properties.edit.city.help=The city part of the address.
postaladdress.editstep.properties.city.label=City
postaladdress.editstep.properties.edit.state.help=The postal code of the address.
postaladdress.editstep.properties.state.label=State
postaladdress.editstep.properties.edit.country.help=The country part of the address.
postaladdress.editstep.properties.country.label=Country
postaladdress.editstep.properties.edit.submit=Save

View File

@ -1,3 +1,65 @@
create_step=Zugriff verweigert
asset.edit.denied=Zugriff verweigert
postaladdress.createform.title=Neue Postanschrift anlegen
createform.name.help=Der Name des neuen Assets. Darf nur die Buchstaben a bis z, A bis Z, Zahlen, den Unterstrich und den Bindestrich enthalten.
createform.name.label=Name
createform.initial_locale.help=Initiale Sprache des neuen Assets.
createform.initial_locale.label=Sprache
createform.title.help=Der Titel des neuen Assets.
createform.title.label=Titel
createform.postaladdress.address.help=Zus\u00e4tzliche Angaben f\u00fcr die Adresse, z.B. Geb\u00e4ude K, Ebene 42.
createform.postaladdress.address.label=Zus\u00e4tzliche Angaben
createform.postaladdress.postalcode.help=Die Postleitzahl der Adresse.
createform.postaladdress.postalcode.label=Postleitzahl
createform.postaladdress.city.help=Die Stadt- oder Ortsangabe der Adresse.
createform.postaladdress.city.label=Ort
createform.postaladdress.state.help=Angabe des Bundesstaates. F\u00fcr die meisten L\u00e4nder nicht notwendig.
createform.postaladdress.state.label=Bundesstaat
createform.postaladdress.country.help=Das Land, in dem sich die Adresse befindet.
createform.postaladdress.country.label=Land
createform.cancel=Abbrechen
createform.submit=Asset anlegen
postaladdress.editstep.header=Postanschrift {0} bearbeiten
editstep.name.header=Name
editstep.name.edit=Asset umbenennen
editstep.name.edit.title=Asset umbenennen
editstep.name.edit.close=Abbrechen
editstep.name.help=Der Name des Assets. Darf nur die Buchstaben a bis z, A bis Z, Zahlen, den Unterstrich und den Bindestrich enthalten.
editstep.name.label=Name
editstep.name.submit=Asset umbenennen
editstep.title.add_button.label=Lokalisierten Titel hinzuf\u00fcgen
editstep.title.add.cancel=Abbrechen
editstep.title.add.locale.help=Die Sprache des neuen lokalisierten Titels.
editstep.title.add.locale.label=Sprache
editstep.title.add.submit=Lokalisierten Titel hinzuf\u00fcgen
editstep.title.add.header=Lokalisierten Titel hinzuf\u00fcgen
editstep.title.add.value.help=Der neue lokalisierte Titel.
editstep.title.add.value.label=Titel
editstep.title.edit=Bearbeiten
editstep.title.edit.cancel=Abbrechen
editstep.title.edit.submit=Speichern
editstep.title.edit.header=Lokalisierten Titel bearbeiten
editstep.title.edit.value.help=Der lokalisierte Titel.
editstep.title.edit.value.label=Titel
editstep.title.remove=Entfernen
editstep.title.remove.cancel=Abbrechen
editstep.title.remove.submit=Entfernen
editstep.title.remove.text=Sind Sie sicher, dass Sie diesen lokaliserten Titel entfernen wollen?
editstep.title.remove.title=Remove localized title
editstep.title.header=Asset Titel
postaladdress.editstep.properties.header=Eigenschaften der Postanschrift
postaladdress.editstep.properties.edit=Eigenschaften bearbeiten
postaladdress.editstep.properties.edit.title=Eigenschaften der Postanschrift bearbeiten
postaladdress.editstep.properties.edit.close=Abbrechen
postaladdress.editstep.properties.edit.address.help=Zus\u00e4tzliche Angaben f\u00fcr die Adresse, z.B. Geb\u00e4ude K, Ebene 42.
postaladdress.editstep.properties.address.label=Zus\u00e4tzliche Angaben
postaladdress.editstep.properties.edit.postal_code.help=Die Postleitzahl der Adresse.
postaladdress.editstep.properties.postal_code.label=Postleitzahl
postaladdress.editstep.properties.edit.city.help=Die Stadt- oder Ortsangabe der Adresse.
postaladdress.editstep.properties.city.label=Ort
postaladdress.editstep.properties.edit.state.help=Die Postleitzahl der Adresse.
postaladdress.editstep.properties.state.label=Bundesstaat
postaladdress.editstep.properties.edit.country.help=Das Land, in dem sich die Adresse befindet.
postaladdress.editstep.properties.country.label=Land
postaladdress.editstep.properties.edit.submit=Speichern