Skip to content

Commit 757a198

Browse files
committed
translate url added
1 parent 80cc8b7 commit 757a198

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

app/src/main/java/fr/free/nrw/commons/AboutActivity.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,10 @@ public void launchPrivacyPolicy(View view) {
8787
Utils.handleWebUrl(this,Uri.parse("https://github.com/commons-app/apps-android-commons/wiki/Privacy-policy\\"));
8888
}
8989

90+
9091
@OnClick(R.id.about_faq)
9192
public void launchFrequentlyAskedQuesions(View view) {
9293
Utils.handleWebUrl(this,Uri.parse("https://github.com/commons-app/apps-android-commons/wiki/Frequently-Asked-Questions\\"));
9394
}
95+
9496
}

app/src/main/res/layout/activity_about.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,16 @@
123123
android:gravity="center"
124124
android:text="@string/about_privacy_policy" />
125125

126+
<TextView
127+
android:id="@+id/about_translate"
128+
style="?android:textAppearanceSmall"
129+
android:layout_width="wrap_content"
130+
android:layout_height="wrap_content"
131+
android:textColor="@color/primaryColor"
132+
android:layout_marginTop="@dimen/standard_gap"
133+
android:gravity="center"
134+
android:text="@string/about_translate" />
135+
126136
<TextView
127137
android:id="@+id/about_credits"
128138
style="?android:textAppearanceSmall"

app/src/main/res/values/strings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,4 +245,5 @@
245245
<string name="about_rate_us"><u>Rate Us</u></string>
246246
<string name="about_faq">Frequently Asked Questions</string>
247247
<string name="welcome_skip_button">Skip Tutorial</string>
248+
248249
</resources>

0 commit comments

Comments
 (0)