Changed language display on client to Indonesia/Indonesian
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Login{% endblock %}
|
||||
{% block title %}Masuk{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<form method="post">
|
||||
<h2>Login</h2>
|
||||
|
||||
<label for="username">Username: </label>
|
||||
<input type="text" name="username" value="" placeholder="Type your username" maxlength="25" autocomplete="off">
|
||||
<input type="text" name="username" value="" placeholder="Tulis username" maxlength="25" autocomplete="off">
|
||||
|
||||
<br>
|
||||
|
||||
<label for="password">Password: </label>
|
||||
<input type="password" name="password" value="" placeholder="Type your password">
|
||||
<input type="password" name="password" value="" placeholder="Tulis password">
|
||||
|
||||
<input type="hidden" name="_method" value="put">
|
||||
|
||||
@@ -20,6 +20,6 @@
|
||||
|
||||
<br>
|
||||
|
||||
<button type="submit">Login</button>
|
||||
<button type="submit">Masuk</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
||||
@@ -7,17 +7,17 @@
|
||||
<h2>Registrasi</h2>
|
||||
|
||||
<label for="full_name">Nama Lengkap: </label>
|
||||
<input type="text" name="full_name" value="" placeholder="Type your name" maxlength="50" autocomplete="off">
|
||||
<input type="text" name="full_name" value="" placeholder="Tulis nama anda" maxlength="50" autocomplete="off">
|
||||
|
||||
<br>
|
||||
|
||||
<label for="username">Username: </label>
|
||||
<input type="text" name="username" value="" placeholder="Type your username" maxlength="25" autocomplete="off">
|
||||
<input type="text" name="username" value="" placeholder="Tulis username" maxlength="25" autocomplete="off">
|
||||
|
||||
<br>
|
||||
|
||||
<label for="password">Password: </label>
|
||||
<input type="password" name="password" value="" placeholder="Type your password">
|
||||
<input type="password" name="password" value="" placeholder="Tulis password">
|
||||
|
||||
<input type="hidden" name="_method" value="post">
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Edit Pengumuman{% endblock %}
|
||||
{% block title %}Ubah Pengumuman{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<form method="post">
|
||||
@@ -57,7 +57,7 @@
|
||||
<label>Diubah pada: </label>
|
||||
<span>
|
||||
{% if post.edited_at is empty %}
|
||||
Tidak pernah
|
||||
-
|
||||
{% else %}
|
||||
{{ post.edited_at }}
|
||||
{% endif %}
|
||||
@@ -105,7 +105,7 @@
|
||||
disabled
|
||||
{% endif %}
|
||||
>
|
||||
Edit
|
||||
Ubah
|
||||
</button>
|
||||
</form>
|
||||
|
||||
@@ -119,7 +119,7 @@
|
||||
<!-- Token -->
|
||||
<input type="hidden" name="_token" value="{{ token }}">
|
||||
|
||||
<button type="submit">Nonaktif</button>
|
||||
<button type="submit">Nonaktifkan</button>
|
||||
</form>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
@@ -15,17 +15,17 @@
|
||||
|
||||
<br>
|
||||
|
||||
<label for="expired_at">Berlaku dari</label>
|
||||
<label for="expired_at">Berlaku dari: </label>
|
||||
<input type="date" name="valid_at" value="{{ timestamp }}">
|
||||
|
||||
<br>
|
||||
|
||||
<label for="expired_at">Berlaku sampai</label>
|
||||
<label for="expired_at">Berlaku sampai: </label>
|
||||
<input type="date" name="expired_at" value="{{ timestamp }}">
|
||||
|
||||
<br>
|
||||
|
||||
<label for="content">Konten</label>
|
||||
<label for="content">Konten: </label>
|
||||
<textarea name="content" rows="3" cols="30" maxlength="255"></textarea>
|
||||
|
||||
<input type="hidden" name="creator" value="{{ user }}">
|
||||
@@ -41,6 +41,6 @@
|
||||
|
||||
<br>
|
||||
|
||||
<button type="submit">Entry</button>
|
||||
<button type="submit">Unggah</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
<input type="hidden" name="_addon" value="kategori">
|
||||
<input type="hidden" name="_token" value="{{ token }}">
|
||||
|
||||
<button type="submit">Remove</button>
|
||||
<button type="submit">Nonaktifkan</button>
|
||||
</form>
|
||||
</li><br>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<form method="post">
|
||||
<label for="category">Tambah</label>
|
||||
<label for="category">Nama Kategori: </label>
|
||||
<input type="text" name="category" value="" placeholder="Kategori">
|
||||
|
||||
<input type="hidden" name="_method" value="post">
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
<input type="hidden" name="_token" value="{{ token }}">
|
||||
|
||||
<button type="submit">Entry</button>
|
||||
<button type="submit">Tambah</button>
|
||||
</form>
|
||||
|
||||
</form>
|
||||
|
||||
@@ -29,6 +29,6 @@
|
||||
{% if status %}
|
||||
<a href="/posts/entry">+ Tambah Pengumuman</a>
|
||||
<a href="/posts/category">+ Tambah Kategori</a>
|
||||
<a href="/logout">Logout</a>
|
||||
<a href="/logout">Keluar</a>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Sorry :-({% endblock %}
|
||||
{% block title %}Maaf, terjadi kesalahan :'({% endblock %}
|
||||
|
||||
{% block body %}
|
||||
|
||||
<h2>URL not found - Error 404</h2>
|
||||
Cannot specify the requested URL. Checking typo ...<br>
|
||||
<span style="font-size: small;">Sshh! No typos.</span>
|
||||
<h2>404 - Halaman tidak ditemukan</h2>
|
||||
Tidak dapat menemukan halaman yang anda cari.<br>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Sorry :-({% endblock %}
|
||||
{% block title %}Maaf, terjadi kesalahan :'({% endblock %}
|
||||
|
||||
{% block body %}
|
||||
|
||||
<h2>Invalid Token</h2>
|
||||
Your token is no longer valid. Please try again.<br>
|
||||
<h2>498 - Token tidak berlaku</h2>
|
||||
Token anda sudah tidak berlaku. Silahkan coba lagi.<br>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Sorry :-({% endblock %}
|
||||
{% block title %}Maaf, terjadi kesalahan :'({% endblock %}
|
||||
|
||||
{% block body %}
|
||||
|
||||
<h2>Aw, crap!</h2>
|
||||
We couldn't get what you want. Please come back home.
|
||||
<h2>500 - Kesalahan Server</h2>
|
||||
Terjadi masalah pada server. Silahkan coba dalam beberapa saat, atau hubungi admin.
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user