translation fixes

master
Floens 7 years ago
parent 33bf7d9795
commit 64f1f91d73
  1. 4
      Clover/app/src/main/java/org/floens/chan/ui/layout/ThreadLayout.java
  2. 7
      Clover/app/src/main/res/values/strings.xml

@ -472,8 +472,8 @@ public class ThreadLayout extends CoordinatorLayout implements
public void showNewPostsNotification(boolean show, int more) {
if (show) {
if (!threadListLayout.scrolledToBottom()) {
String text = getContext().getString(R.string.thread_new_posts,
more, getContext().getResources().getQuantityString(R.plurals.posts, more, more));
String text = getContext().getResources()
.getQuantityString(R.plurals.thread_new_posts, more, more);
newPostsNotification = Snackbar.make(this, text, Snackbar.LENGTH_LONG);
newPostsNotification.setAction(R.string.thread_new_posts_goto, new OnClickListener() {

@ -148,7 +148,10 @@ Re-enable this permission in the app settings if you permanently disabled it."</
<string name="thread_load_failed_retry">Retry</string>
<string name="thread_archived">Archived</string>
<string name="thread_closed">Closed</string>
<string name="thread_new_posts">%1$d new %2$s</string>
<plurals name="thread_new_posts">
<item quantity="one">%d new post</item>
<item quantity="other">%d new posts</item>
</plurals>
<string name="thread_new_posts_goto">View</string>
<string name="thread_empty_select">Please select a thread</string>
<string name="thread_up_down_hint">Scroll to top/bottom</string>
@ -295,7 +298,7 @@ Re-enable this permission in the app settings if you permanently disabled it."</
<string name="reply_error_message">Error posting: %s</string>
<string name="reply_success">Post successful</string>
<string name="reply_captcha_text">Type the text</string>
<string name="reply_comment_button_quote">&gt;</string>
<string name="reply_comment_button_quote" translatable="false">&gt;</string>
<string name="reply_comment_button_spoiler">[s]</string>
<string name="delete_confirm">Delete your post?</string>

Loading…
Cancel
Save