プロジェクト

全般

プロフィール

« | » 

リビジョン 179b25e1

高徹 高橋 徹 さんが9ヶ月前に追加

Add i18n messages

差分を表示:

learn/java/spring/SpringThoroughIntroduction/hello_mvc_thymeleaf/src/main/resources/messages.properties
top.greeting=Hello, world!
learn/java/spring/SpringThoroughIntroduction/hello_mvc_thymeleaf/src/main/resources/messages_ja.properties
top.greeting=こんにちは、Thymeleafの世界
learn/java/spring/SpringThoroughIntroduction/hello_mvc_thymeleaf/src/main/resources/templates/index.html
<title>Welcome</title>
</head>
<body>
<h1>Hello Thymeleaf World!</h1>
<h1 th:text="#{top.greeting}">Hello Thymeleaf World!</h1>
<ul>
<li><a href="./echo/input.html" th:href="@{/echo}">Echo Application</a></li>
</ul>

他の形式にエクスポート: Unified diff