From b85ed3c867f0c3a2ca0d90e4c29d54ef38c976b5 Mon Sep 17 00:00:00 2001
From: Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>
Date: Sun, 13 Nov 2022 01:16:27 +1100
Subject: Show the current image index in gallery in PostFragment.
---
app/src/main/res/layout/item_post_gallery_type.xml | 28 +++++++++++++++---
app/src/main/res/values/strings.xml | 34 ++++++++++++----------
2 files changed, 42 insertions(+), 20 deletions(-)
(limited to 'app/src/main/res')
diff --git a/app/src/main/res/layout/item_post_gallery_type.xml b/app/src/main/res/layout/item_post_gallery_type.xml
index 4ea4579c..a817cd40 100644
--- a/app/src/main/res/layout/item_post_gallery_type.xml
+++ b/app/src/main/res/layout/item_post_gallery_type.xml
@@ -196,11 +196,31 @@
-
+ android:visibility="gone">
+
+
+
+
+
+
Edit Multireddit
Selected Subreddits
Report
- Image %1$,d/%2$d
- Video %1$,d/%2$d
+ Image %1$d/%2$d
+ Video %1$d/%2$d
Send PM
- Image %1$,d/%2$d
- Gif %1$,d/%2$d
- Video %1$,d/%2$d
+ Image %1$d/%2$d
+ Gif %1$d/%2$d
+ Video %1$d/%2$d
Crosspost
Give Award
r/all and r/popular
@@ -201,7 +201,7 @@
The post needs a good title
Hey where is the link?
Please select an image first
- Voting length: %1$,d days
+ Voting length: %1$d days
Posting
Could not post it
Error processing image
@@ -358,7 +358,7 @@
New Message
Subreddit
Award
- %1$,d New Messages
+ %1$d New Messages
Account
Reddit
@@ -382,9 +382,9 @@
Mute Autoplaying Videos
Autoplay NSFW Videos
Autoplay Videos Visible Area Offset (Portrait)
- Start autoplaying videos when %1$,d%% of them are visible
+ Start autoplaying videos when %1$d%% of them are visible
Autoplay Videos Visible Area Offset (Landscape)
- Start autoplaying videos when %1$,d%% of them are visible
+ Start autoplaying videos when %1$d%% of them are visible
Immersive Interface
Does Not Apply to All Pages
Ignore Navigation Bar in Immersive Interface
@@ -636,7 +636,7 @@
Hide Text Post Content
Hide Comment Awards
Show Fewer Toolbar Options Starting From
- Level %1$,d
+ Level %1$d
Show Author Avatar
Reddit User Agreement
Always Show the Number of Child Comments
@@ -688,15 +688,15 @@
Just Now
1 Minute
- %1$,d Minutes
+ %1$d Minutes
1 Hour
- %1$,d Hours
+ %1$d Hours
Yesterday
- %1$,d Days
+ %1$d Days
1 Month
- %1$,d Months
+ %1$d Months
1 Year
- %1$,d Years
+ %1$d Years
Error getting multireddit data
Cannot sync multireddits
@@ -1077,7 +1077,7 @@
Give Award?
Anonymous
- Code: %1$,d/\n Message: %2$s
+ Code: %1$d/\n Message: %2$s
Award given
Failed
@@ -1315,4 +1315,6 @@
Failed to load more posts.\nTap to retry.
No more posts
+ %1$d/%2$d
+
--
cgit v1.2.3