AboutFragment: Localize made with love string

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2024-10-26 11:45:33 +05:30
parent 04e9f73181
commit 10635519fc
4 changed files with 7 additions and 5 deletions

View File

@@ -54,6 +54,7 @@ class AboutFragment : BaseFragment<FragmentAboutBinding>() {
BuildConfig.VERSION_NAME,
BuildConfig.VERSION_CODE
)
binding.line3.text = getString(R.string.made_with_love, String(Character.toChars(0x2764)))
binding.epoxyRecycler.layoutManager =
LinearLayoutManager(view.context, RecyclerView.VERTICAL, false)

View File

@@ -72,13 +72,13 @@
tools:text="4.0.1" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/line3"
style="@style/TextAppearance.Aurora.Line3"
android:layout_width="wrap_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/line2"
android:layout_centerHorizontal="true"
android:gravity="center_vertical"
android:text="Made with ❤ in India" />
android:textAlignment="center" />
</RelativeLayout>
<com.airbnb.epoxy.EpoxyRecyclerView

View File

@@ -64,12 +64,12 @@
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/line3"
style="@style/TextAppearance.Aurora.Line3"
android:layout_width="wrap_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/line2"
android:layout_centerHorizontal="true"
android:layout_marginBottom="@dimen/margin_small"
android:text="Made with ❤ in India" />
android:textAlignment="center" />
</RelativeLayout>
<com.airbnb.epoxy.EpoxyRecyclerView

View File

@@ -407,6 +407,7 @@
<string name="disclaimer_subtitle">Accountability and responsibility</string>
<!-- AboutFragment -->
<string name="made_with_love">Made with <xliff:g id="heart_emoji">%1$s</xliff:g> in India</string>
<string name="version" translatable="false">v<xliff:g id="version_name">%1$s</xliff:g> (<xliff:g id="version_code">%2$d</xliff:g>)</string>
<string name="about_aurora_store_title">About Aurora Store</string>
<string name="about_aurora_store_subtitle">Learn more about Aurora Store</string>