File tree 2 files changed +5
-5
lines changed
java/fr/free/nrw/commons/contributions
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -207,9 +207,11 @@ public void showTabs() {
207
207
*/
208
208
public void setNumOfUploads (int uploadCount ) {
209
209
if (activeFragment == ActiveFragment .CONTRIBUTIONS ) {
210
- setTitle (getResources ().getString (R .string .contributions_fragment ) +" " + getResources ()
210
+ setTitle (getResources ().getString (R .string .contributions_fragment ) +" " + (
211
+ !(uploadCount == 0 ) ?
212
+ getResources ()
211
213
.getQuantityString (R .plurals .contributions_subtitle ,
212
- uploadCount , uploadCount ));
214
+ uploadCount , uploadCount ): getString ( R . string . contributions_subtitle_zero )) );
213
215
}
214
216
}
215
217
Original file line number Diff line number Diff line change 5
5
<item quantity =" other" >%1$d files uploading</item >
6
6
</plurals >
7
7
<plurals name =" contributions_subtitle" >
8
- <!-- zero is not used in english. Category mentioned here for easy reference in future-->
9
- <item quantity =" zero" >@string/contributions_subtitle_zero</item >
10
8
<item quantity =" one" >(%1$d)</item >
11
9
<item quantity =" other" >(%1$d)</item >
12
10
</plurals >
98
96
<string name =" display_list_button" >List</string >
99
97
<string name =" gps_disabled" >GPS is disabled in your device. Would you like to enable it?</string >
100
98
<string name =" enable_gps" >Enable GPS</string >
101
- <string name =" contributions_subtitle_zero" >No uploads yet</string >
99
+ <string name =" contributions_subtitle_zero" >( No uploads yet) </string >
102
100
<string name =" categories_not_found" >No categories matching %1$s found</string >
103
101
<string name =" depictions_not_found" >No Wikidata items matching %1$s found</string >
104
102
<string name =" no_child_classes" >%1$s has no child classes</string >
You can’t perform that action at this time.
0 commit comments