X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FeditProfile.html;h=ddc08a905a84de1018f298359c87e415e5ef3eda;hb=26dbc1f7ba2c4243d8cc07986b0e943a2238ea08;hp=8a1b7d781a4d25b7b1eeabd201ba84a4a100e1e2;hpb=76e7a20f5212d9c202dbe92e958834ce3f99bd0e;p=Sone.git diff --git a/src/main/resources/templates/editProfile.html b/src/main/resources/templates/editProfile.html index 8a1b7d7..ddc08a9 100644 --- a/src/main/resources/templates/editProfile.html +++ b/src/main/resources/templates/editProfile.html @@ -28,7 +28,7 @@ registerInputTextareaSwap("#sone #edit-profile input[name=birth-year]", birthYearDefaultText, "birth-year", true, true); }); getTranslation("WebInterface.DefaultText.FieldName", function(fieldNameDefaultText) { - registerInputTextareaSwap("#sone #add-profile-field input[name=field-name]", fieldNameDefaultText, "field-name", true, true); + registerInputTextareaSwap("#sone #add-profile-field input[name=field-name]", fieldNameDefaultText, "field-name", false, true); }); <%foreach fields field> @@ -180,6 +180,23 @@ +
<%= Page.EditProfile.Avatar.Description|l10n|html>
+ +<%= Page.EditProfile.Error.DuplicateFieldName|l10n|replace needle="{fieldName}" replacementKey="fieldName"|html>
+<%= Page.EditProfile.Error.DuplicateFieldName|l10n|replace needle=="{fieldName}" replacement=fieldName|html>
<%/if>