브랜드명 템플릿화 적용:
- 다국어 메시지 파일(title.html) `{brand.name}` 사용으로 수정
- HTML 제목 태그 내 문자열 치환 로직 추가
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
title.html=DJBank Partner Portal
|
||||
title.html={brand.name} API Portal
|
||||
password.not.match=Password is not matched
|
||||
authnumber.not.match=Auth number is not matched.
|
||||
apim.route.register.file=File
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
title.html=DJBank \uD30C\uD2B8\uB108\uD3EC\uD0C8
|
||||
title.html={brand.name} API \uD3EC\uD0C8
|
||||
apim.route.register.file=\uCCA8\uBD80\uD30C\uC77C
|
||||
field.required=\uD544\uC218 \uC785\uB825\uD56D\uBAA9\uC785\uB2C8\uB2E4.
|
||||
companyName=\uD68C\uC0AC\uBA85
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
xmlns:sec="http://www.thymeleaf.org/extras/spring-security">
|
||||
|
||||
<head th:fragment="headFragment">
|
||||
<title th:text="#{title.html}">개발자 포털</title>
|
||||
<title th:text="${#strings.replace(#messages.msg('title.html'), '{brand.name}', brandName)}">개발자 포털</title>
|
||||
|
||||
<meta content="https://www.eactive.co.kr/" property="og:url"/>
|
||||
<meta charset="UTF-8"/>
|
||||
|
||||
Reference in New Issue
Block a user