Skip to content

Commit

Permalink
Improved translation.
Browse files Browse the repository at this point in the history
  • Loading branch information
satopian committed Nov 16, 2021
1 parent 567c390 commit df9cacd
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 38 deletions.
8 changes: 4 additions & 4 deletions potiboard2/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,12 +239,12 @@
$dat['h1']=$query.'\'s '.$img_or_com;//h1タグに入る
}
elseif($query!==''){
$dat['title']='postes by '.$query;
$dat['h1']='postes by '.$query;
$dat['title']='posts by '.$query;
$dat['h1']='posts by '.$query;
}
else{
$dat['title']='new postes';
$dat['h1']='new postes';
$dat['title']='new posts';
$dat['h1']='new posts';
}

//ページング
Expand Down
10 changes: 5 additions & 5 deletions potiboard2/theme/mono_catalog.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,18 @@
<header>
<h1><a href="<% echo(self2) %>"><% echo(title) %></a></h1>
<div>
<a href="<% echo(home) %>" target="_top">[home]</a>
<a href="<% echo(home) %>" target="_top">[Home]</a>
<a href="<% echo(self) %>?mode=admin">[Admin mode]</a>
</div>
<hr>
<div>
<nav class="menu">
<a href="<% echo(self2) %>">[top]</a>
<a href="<% echo(self2) %>">[Top]</a>
<% def(for_new_post) %>
<a href="<% echo(self) %>?mode=newpost">[post]</a>
<a href="<% echo(self) %>?mode=newpost">[Post]</a>
<% /def %>
[catalog]
<a href="<% echo(self) %>">[normal mode]</a>
[Catalog]
<a href="<% echo(self) %>">[Normal mode]</a>
<a href="<% echo(self) %>?mode=piccom<% def(resno) %>&amp;resto=<% echo(resno) %><% /def %>">[Recover Images]</a>
<a href="#footer" title="to bottom">[&darr;]</a>
</nav>
Expand Down
26 changes: 13 additions & 13 deletions potiboard2/theme/mono_main.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,18 +76,18 @@
<header id="header">
<h1><a href="<% echo(self2) %>"><% echo(title) %></a></h1>
<div>
<a href="<% echo(home) %>" target="_top">[home]</a>
<a href="<% echo(self) %>?mode=admin">[admin mode]</a>
<a href="<% echo(home) %>" target="_top">[Home]</a>
<a href="<% echo(self) %>?mode=admin">[Admin mode]</a>
</div>
<hr>
<div>
<nav class="menu">
<a href="<% echo(self2) %>">[top]</a>
<a href="<% echo(self2) %>">[Top]</a>
<% def(for_new_post) %>
<a href="<% echo(self) %>?mode=newpost">[post]</a>
<a href="<% echo(self) %>?mode=newpost">[Post]</a>
<% /def %>
<a href="<% echo(self) %>?mode=catalog">[catalog]</a>
[normal mode]
<a href="<% echo(self) %>?mode=catalog">[Catalog]</a>
[Normal mode]
<a href="<% echo(self) %>?mode=piccom<% def(resno) %>&amp;resto=<% echo(resno) %><% /def %>">[Recover Images]</a>
<a href="#footer" title="to bottom">[&darr;]</a>
</nav>
Expand Down Expand Up @@ -125,8 +125,8 @@ <h1><a href="<% echo(self2) %>"><% echo(title) %></a></h1>
<div class="epost">
<form action="<% echo(self) %>" method="post" enctype="multipart/form-data">
<p>
width :<input name="picw" type="number" title="width" class="form" value="<% echo(pdefw) %>" min="300" max="<% echo(pmaxw) %>">
height :<input name="pich" type="number" title="height" class="form" value="<% echo(pdefh) %>" min="300" max="<% echo(pmaxh) %>">
Width :<input name="picw" type="number" title="width" class="form" value="<% echo(pdefw) %>" min="300" max="<% echo(pmaxw) %>">
Height :<input name="pich" type="number" title="height" class="form" value="<% echo(pdefh) %>" min="300" max="<% echo(pmaxh) %>">
<% def(select_app) %>
Tool:
<select name="shi">
Expand Down Expand Up @@ -173,22 +173,22 @@ <h1><a href="<% echo(self2) %>"><% echo(title) %></a></h1>
<td><input class="form" type="text" name="name" size="28" value="" autocomplete="username"></td>
</tr>
<tr>
<td>mail</td>
<td>Mail</td>
<td><input class="form" type="text" name="email" size="28" value="" autocomplete="email"></td>
</tr>
<tr>
<td>URL</td>
<td>Url</td>
<td><input class="form" type="text" name="url" size="28" autocomplete="url"></td>
</tr>
<tr>
<td>sub<% def(usesub) %><% echo(usesub) %><% /def %></td>
<td>Sub<% def(usesub) %><% echo(usesub) %><% /def %></td>
<td>
<input class="form" type="text" name="sub" size="20" value="<% def(resub) %><% echo(resub) %><% /def %>" autocomplete="section-sub">
<input class="button" type="submit" value="WRITE">
<input class="button" type="submit" value="Post">
</td>
</tr>
<tr>
<td>com<% def(usecom) %><% echo(usecom) %><% /def %></td>
<td>Com<% def(usecom) %><% echo(usecom) %><% /def %></td>
<td><textarea class="form" name="com" cols="28" rows="4" wrap="soft" id="p_input_com"></textarea></td>
</tr>
<% def(upfile) %>
Expand Down
24 changes: 12 additions & 12 deletions potiboard2/theme/mono_other.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,17 @@
<header>
<h1><a href="<% echo(self2) %>"><% echo(title) %></a></h1>
<div>
<a href="<% echo(home) %>" target="_top">[home]</a>
<a href="<% echo(self) %>?mode=admin">[admin mode]</a>
<a href="<% echo(home) %>" target="_top">[Home]</a>
<a href="<% echo(self) %>?mode=admin">[Admin mode]</a>
</div>
<hr>
<div>
<nav class="menu">
<a href="<% echo(self2) %>">[top]</a>
<a href="<% echo(self2) %>">[Top]</a>
<% def(for_new_post) %>
<a href="<% echo(self) %>?mode=newpost">[post]</a>
<a href="<% echo(self) %>?mode=newpost">[Post]</a>
<% /def %>
<a href="<% echo(self) %>?mode=catalog">[catalog]</a>
<a href="<% echo(self) %>?mode=catalog">[Catalog]</a>
<a href="<% echo(self) %>">[normal nmode]</a>
<a href="<% echo(self) %>?mode=piccom<% def(resno) %>&amp;resto=<% echo(resno) %><% /def %>">[Recover Images]</a>
<a href="#footer" title="to bottom">[&darr;]</a>
Expand Down Expand Up @@ -132,22 +132,22 @@ <h2 class="oekaki">post form<% def(admin) %> - ADMIN MODE-<% /def %></h2>
<input type="hidden" name="token" value="<% def(token) %><% echo(token) %><% /def %>">
<table>
<tr>
<td>name<% def(usename) %><% echo(usename) %><% /def %></td>
<td>Name<% def(usename) %><% echo(usename) %><% /def %></td>
<td><input class="form" type="text" name="name" size="28" autocomplete="username"<% def(name) %> value="<% echo(name) %>"<% /def %>></td>
</tr>
<tr>
<td>mail</td>
<td>Mail</td>
<td><input class="form" type="text" name="email" size="28" autocomplete="email" <% def(email) %> value="<% echo(email) %>"<% /def %>></td>
</tr>
<tr>
<td>URL</td><td>
<td>Url</td><td>
<input class="form" type="text" name="url" size="28" autocomplete="url"<% def(url) %> value="<% echo(url) %>"<% /def %>></td>
</tr>
<tr>
<td>sub<% def(usesub) %><% echo(usesub) %><% /def %></td>
<td>Sub<% def(usesub) %><% echo(usesub) %><% /def %></td>
<td>
<input class="form" type="text" name="sub" size="20" autocomplete="section-sub"<% def(sub) %> value="<% echo(sub) %>"<% /def %>>
<input class="button" type="submit" value="WRITE">
<input class="button" type="submit" value="Post">
<% def(regist) %>
<input type="hidden" name="mode" value="regist">
<% /def %>
Expand All @@ -173,7 +173,7 @@ <h2 class="oekaki">post form<% def(admin) %> - ADMIN MODE-<% /def %></h2>
</td>
</tr>
<tr>
<td>com<% def(usecom) %><% echo(usecom) %><% /def %></td>
<td>Com<% def(usecom) %><% echo(usecom) %><% /def %></td>
<td><textarea class="form" name="com" cols="48" rows="4" wrap="soft"><% def(com) %><% echo(com) %><% /def %></textarea></td>
</tr>
<% def(upfile) %>
Expand All @@ -189,7 +189,7 @@ <h2 class="oekaki">post form<% def(admin) %> - ADMIN MODE-<% /def %></h2>
<% /def %>
<% def(tmp) %>
<tr>
<td>imgs</td>
<td>Imags</td>
<td><select name="picfile">
<% each(tmp) %><option value="<% echo(tmp/srcname) %>"><% echo(tmp/srcname) %></option><% /each %>
</select></td>
Expand Down
4 changes: 2 additions & 2 deletions potiboard2/theme/mono_paint.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@
<header>
<h1><a href="<% echo(self2) %>"><% echo(title) %></a></h1>
<div>
<a href="<% echo(home) %>" target="_top">[home]</a>
<a href="<% echo(self) %>?mode=admin">[admin mode]</a>
<a href="<% echo(home) %>" target="_top">[Home]</a>
<a href="<% echo(self) %>?mode=admin">[Admin mode]</a>
</div>
<hr>
<div>
Expand Down
4 changes: 2 additions & 2 deletions potiboard2/theme/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ <h1><% echo(pageno) %> <% echo(h1) %></h1>
<% def(comments) %>
<% def(imgsearch) %>
<div class="newimg">
<ul><% each(comments) %><li class="catalog"><a href="<% echo(comments/link) %>" target="_blank"><img src="<% echo(comments/img) %>" alt="「<% echo(comments/sub) %>」イラスト/<% echo(comments/name) %><% echo(comments/postedtime) %>" title="「<% echo(comments/sub) %>」by <% echo(comments/name) %> <% echo(comments/postedtime) %>" loading="lazy"></a></li><% /each %></ul>
<ul><% each(comments) %><li class="catalog"><a href="<% echo(comments/link) %>" target="_blank"><img src="<% echo(comments/img) %>" alt="「<% echo(comments/sub) %>」Illustration/<% echo(comments/name) %><% echo(comments/postedtime) %>" title="「<% echo(comments/sub) %>」by <% echo(comments/name) %> <% echo(comments/postedtime) %>" loading="lazy"></a></li><% /each %></ul>
</div>
<% else %>
<% each(comments) %>
Expand Down Expand Up @@ -126,7 +126,7 @@ <h2><a href="<% echo(comments/link) %>" target="_blank"><% echo(comments/sub) %>
<% def(lastmodified) %>
<p>last modified: <% echo(lastmodified) %></p>
<% /def %>
<p>new postes <% echo(img_or_com) %>.</p>
<p>New posts <% echo(img_or_com) %>.</p>

<footer>
<nav>
Expand Down

0 comments on commit df9cacd

Please sign in to comment.