Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit 7be7d4a

Browse files
committed
Replace <t> tags with <span class="js-translate">
1 parent dc39f0c commit 7be7d4a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ <h2 class="txt-center">
8181
<i class="ion-android-sync spinner fontSize30 spinner-with-logo-icon"></i>
8282
</div>
8383
<div class="width100 positionTop">
84-
<a class="btn btn-txt rowTop10 marginRight10 pull-right js-indexReload"><i class="ion-android-sync"></i> <t>Reload</t></a>
85-
<a class="btn btn-txt rowTop10 marginRight10 pull-right" href="#home"><i class="ion-home"></i> <t>LoadIndex</t></a>
84+
<a class="btn btn-txt rowTop10 marginRight10 pull-right js-indexReload"><i class="ion-android-sync"></i> <span class="js-translate">Reload</span></a>
85+
<a class="btn btn-txt rowTop10 marginRight10 pull-right" href="#home"><i class="ion-home"></i> <span class="js-translate">LoadIndex</span></a>
8686
</div>
8787
</div>
8888

@@ -114,7 +114,7 @@ <h2 class="txt-center">
114114
$('.js-defaultServerIndexApp').on('click', function(){
115115
app.loadNewServer("http://localhost:18469/api/v1/");
116116
});
117-
$('t').each(function() {
117+
$('.js-translate').each(function() {
118118
var translationKey = $(this).html();
119119
$(this).replaceWith(polyglot.t(translationKey));
120120
});

0 commit comments

Comments
 (0)