Skip to content

Commit 1c88db0

Browse files
committed
Optimize the installation page
1 parent 550abdb commit 1c88db0

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

options/locale/locale_en-US.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,8 @@ license_desc = Go get <a target="_blank" rel="noopener noreferrer" href="%[1]s">
244244

245245
[install]
246246
install = Installation
247+
installing = Installing
248+
installing_desc = Installing now, please wait
247249
title = Initial Configuration
248250
docker_helper = If you run Gitea inside Docker, please read the <a target="_blank" rel="noopener noreferrer" href="%s">documentation</a> before changing any settings.
249251
require_db_desc = Gitea requires MySQL, PostgreSQL, MSSQL, SQLite3 or TiDB (MySQL protocol).

templates/post-install.tmpl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,17 @@
66
<div class="home">
77
<div class="ui stackable middle very relaxed page grid">
88
<div class="sixteen wide center aligned centered column">
9+
<h3 class="ui top attached">
10+
{{ctx.Locale.Tr "install.installing"}}
11+
</h3>
912
<div>
10-
<img src="{{AssetUrlPrefix}}/img/loading.png" alt="{{ctx.Locale.Tr "loading"}}">
13+
<img src="{{AssetUrlPrefix}}/img/loading.png" alt="{{ctx.Locale.Tr "install.installing"}}">
1114
</div>
1215
</div>
1316
</div>
1417
<div class="ui stackable middle very relaxed page grid">
1518
<div class="sixteen wide center aligned centered column">
16-
<p><a id="goto-user-login" href="{{AppSubUrl}}/user/login">{{ctx.Locale.Tr "loading"}}</a></p>
19+
<p><a id="goto-user-login" href="{{AppSubUrl}}/user/login">{{ctx.Locale.Tr "install.installing_desc"}}...</a></p>
1720
</div>
1821
</div>
1922
</div>

0 commit comments

Comments
 (0)