X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmain%2Fresources%2Ftemplates%2FeditProfile.html;h=ddc08a905a84de1018f298359c87e415e5ef3eda;hb=680e37c46752febf555a04334e98f1017fdfca17;hp=ecde2f7f49b04040bd085c3dd747a71f826db564;hpb=ecf753a31601e558b681daab0598009fe9eec99a;p=Sone.git diff --git a/src/main/resources/templates/editProfile.html b/src/main/resources/templates/editProfile.html index ecde2f7..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>