Some corrections to English UI text (#506)

* Update some UI strings for more natural English

* Correct message text

* Correct message text

* Update the strings everywhere

Because they are also used as base messages for other languages
This commit is contained in:
Hugh
2019-03-29 19:12:21 +00:00
committed by Baptiste Gelez
parent c7ee779f51
commit a674df3a77
21 changed files with 164 additions and 110 deletions
+1 -1
View File
@@ -22,7 +22,7 @@
}
</div>
} else {
<p class="center">@i18n!(ctx.1, "Nothing to see here yet. Try to subscribe to more people.")</p>
<p class="center">@i18n!(ctx.1, "Nothing to see here yet. Try subscribing to more people.")</p>
}
@paginate(ctx.1, page, n_pages)
})
+1 -1
View File
@@ -31,7 +31,7 @@
<a class="button icon icon-message-circle" href="?responding_to=@comm.id">@i18n!(ctx.1, "Respond")</a>
@if ctx.2.clone().map(|u| u.id == author.id).unwrap_or(false) {
<form class="inline icon icon-trash" method="post" action="@uri!(comments::delete: blog = blog, slug = slug, id = comm.id)">
<input onclick="return confirm('Are you sure you?')" type="submit" value="@i18n!(ctx.1, "Delete this comment")">
<input onclick="return confirm('@i18n!(ctx.1, "Are you sure?")')" type="submit" value="@i18n!(ctx.1, "Delete this comment")">
</form>
}
@for res in &comment_tree.responses {
+1 -1
View File
@@ -38,7 +38,7 @@
<a href="@uri!(posts::edit: blog = &blog.fqn, slug = &article.slug)">@i18n!(ctx.1, "Edit")</a>
&mdash;
<form class="inline" method="post" action="@uri!(posts::delete: blog_name = &blog.fqn, slug = &article.slug)">
<input onclick="return confirm('Are you sure you?')" type="submit" value="@i18n!(ctx.1, "Delete this article")">
<input onclick="return confirm('@i18n!(ctx.1, "Are you sure?")')" type="submit" value="@i18n!(ctx.1, "Delete this article")">
</form>
}
@if !article.published {
+1 -1
View File
@@ -35,7 +35,7 @@
<textarea id="editor-content" name="content" rows="20">@Html(&form.content)</textarea>
<small id="editor-left">@content_len</small>
<p>
@i18n!(ctx.1, "You can upload medias to your gallery, and copy their Markdown code in your articles to insert them.")
@i18n!(ctx.1, "You can upload media to your gallery, and copy their Markdown code in your articles to insert them.")
<a href="@uri!(medias::new)">@i18n!(ctx.1, "Upload media")</a>
</p>
+1 -1
View File
@@ -13,7 +13,7 @@
@if page == 1 {
<h2>@i18n!(ctx.1, "No result for your query")</h2>
} else {
<h2>@i18n!(ctx.1, "No more result for your query")</h2>
<h2>@i18n!(ctx.1, "No more results for your query")</h2>
}
</section>
} else {