mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-16 17:21:00 +00:00
Added a i18n message in 'stage' partial as sample how to use i18n messages
This commit is contained in:
1 parent
577ecb024f
commit
9b75ade119
5 files changed
+8
-3
No files matched your search
+2
@@ -18,4 +18,6 @@ public interface TextMessages extends Messages {
|
||||
String german();
|
||||
|
||||
String english();
|
||||
|
||||
String fullEventSchedule();
|
||||
}
|
||||
+1
@@ -6,3 +6,4 @@ contact=Contact
|
||||
search=Search
|
||||
german=Deutsch
|
||||
english=English
|
||||
fullEventSchedule=Full event schedule
|
||||
+2
-1
@@ -5,4 +5,5 @@ aboutUs=
|
||||
contact=Kontakt
|
||||
search=Suche
|
||||
german=Deutsch
|
||||
english=English
|
||||
english=English
|
||||
fullEventSchedule=Full event schedule
|
||||
-1
@@ -14,7 +14,6 @@ public class Stage extends Composite {
|
||||
@UiField Label message;
|
||||
@UiField Label message2;
|
||||
@UiField Label name;
|
||||
@UiField Label action;
|
||||
|
||||
interface StageUiBinder extends UiBinder<Widget, Stage> {
|
||||
}
|
||||
|
||||
+3
-1
@@ -18,7 +18,9 @@
|
||||
<div class="{local_res.css.stage_band_message}"><g:Label ui:field='message2' /> -
|
||||
</div>
|
||||
<div class="{local_res.css.stage_band_name}"><g:Label ui:field='name' /></div>
|
||||
<button class="{res.mainCss.button} {local_res.css.stage_band_action}"><g:Label ui:field='action' text='Full event schedule'/></button>
|
||||
<button class="{res.mainCss.button} {local_res.css.stage_band_action}">
|
||||
<ui:text from='{i18n.fullEventSchedule}'/>.
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user