Skip to content

Commit

Permalink
fix(i18n): Extract string resources
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-niedermann committed Oct 26, 2023
1 parent 53da14b commit 4f93260
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ public boolean onPreferenceClick(Preference preference) {
.setShareState(CustomTabsIntent.SHARE_STATE_OFF)
.build();
browserIntent.launchUrl(getContext(), Uri.parse("https://liberapay.com/Andrewerr/donate"));
Toast.makeText(getContext(),"Thank you!❤️", Toast.LENGTH_SHORT).show();
Toast.makeText(getContext(), R.string.donation_thank_you, Toast.LENGTH_SHORT).show();
return true;
}
});
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/credits_contributer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
android:id="@+id/userImage"
android:layout_width="42dp"
android:layout_height="42dp"
android:contentDescription="User image"
android:contentDescription="@string/avatar"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:src="@tools:sample/avatars" />
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@
<string name="spreed_name">Nextcloud Talk</string>
<string name="twofactor_nextcloud_notification_name">Two-factor authentication via notification</string>
<string name="updatenotification_name">App updates</string>
<string name="donation_thank_you">Thank you! ❤️</string>
<string name="avatar">Avatar</string>
</resources>

0 comments on commit 4f93260

Please sign in to comment.