mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
Create strings will be written on tabs for contributions and nearby
This commit is contained in:
parent
7540e0379e
commit
44b49d3336
2 changed files with 4 additions and 3 deletions
|
|
@ -53,8 +53,6 @@ public class ContributionsActivity
|
||||||
initDrawer();
|
initDrawer();
|
||||||
setTitle(getString(R.string.navigation_item_home)); // Should I create a new string variable with another name instead?
|
setTitle(getString(R.string.navigation_item_home)); // Should I create a new string variable with another name instead?
|
||||||
|
|
||||||
//prepareForContributions();
|
|
||||||
//prepareForNearby();
|
|
||||||
// Add tabs and fragments after Auth cookie received
|
// Add tabs and fragments after Auth cookie received
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -83,7 +81,7 @@ public class ContributionsActivity
|
||||||
//contributionsFragment = ((NewContributionsFragment)contributionsActivityPagerAdapter.getItem(CONTRIBUTIONS_TAB_POSITION));
|
//contributionsFragment = ((NewContributionsFragment)contributionsActivityPagerAdapter.getItem(CONTRIBUTIONS_TAB_POSITION));
|
||||||
|
|
||||||
if (uploadServiceIntent != null) { // If auth cookie already acquired
|
if (uploadServiceIntent != null) { // If auth cookie already acquired
|
||||||
((NewContributionsFragment)contributionsActivityPagerAdapter.getItem(CONTRIBUTIONS_TAB_POSITION)).onAuthCookieAcquired(uploadServiceIntent);
|
// TODO Neslihan ((ContributionsFragment)contributionsActivityPagerAdapter.getItem(CONTRIBUTIONS_TAB_POSITION)).onAuthCookieAcquired(uploadServiceIntent);
|
||||||
}
|
}
|
||||||
//nearbyFragment = ((NewNearbyFragment)contributionsActivityPagerAdapter.getItem(NEARBY_TAB_POSITION));
|
//nearbyFragment = ((NewNearbyFragment)contributionsActivityPagerAdapter.getItem(NEARBY_TAB_POSITION));
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -352,4 +352,7 @@
|
||||||
<string name="images_reverted_explanation">The percentage of images you have uploaded to Commons that were not deleted</string>
|
<string name="images_reverted_explanation">The percentage of images you have uploaded to Commons that were not deleted</string>
|
||||||
<string name="images_used_explanation">The number of images you have uploaded to Commons that were used in Wikimedia articles</string>
|
<string name="images_used_explanation">The number of images you have uploaded to Commons that were used in Wikimedia articles</string>
|
||||||
<string name="notifications_channel_name_all">Commons Notification</string>
|
<string name="notifications_channel_name_all">Commons Notification</string>
|
||||||
|
|
||||||
|
<string name="contributions_fragment">Contributions</string>
|
||||||
|
<string name="nearby_fragment">Nearby</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue