File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
java/fr/free/nrw/commons/contributions Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -207,9 +207,11 @@ public void showTabs() {
207207 */
208208 public void setNumOfUploads (int uploadCount ) {
209209 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 ()
211213 .getQuantityString (R .plurals .contributions_subtitle ,
212- uploadCount , uploadCount ));
214+ uploadCount , uploadCount ): getString ( R . string . contributions_subtitle_zero )) );
213215 }
214216 }
215217
Original file line number Diff line number Diff line change 55 <item quantity =" other" >%1$d files uploading</item >
66 </plurals >
77 <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 >
108 <item quantity =" one" >(%1$d)</item >
119 <item quantity =" other" >(%1$d)</item >
1210 </plurals >
9896 <string name =" display_list_button" >List</string >
9997 <string name =" gps_disabled" >GPS is disabled in your device. Would you like to enable it?</string >
10098 <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 >
102100 <string name =" categories_not_found" >No categories matching %1$s found</string >
103101 <string name =" depictions_not_found" >No Wikidata items matching %1$s found</string >
104102 <string name =" no_child_classes" >%1$s has no child classes</string >
You can’t perform that action at this time.
0 commit comments