Add German language
MODIFY
app/src/main/assets/contributors.json
app/src/main/assets/contributors.json
{
"displayName": "Dinolek",
"githubUsername": "Dinolek"
+ },
+ {
+ "displayName": "Mateusz Idziejczak",
+ "githubUsername": "PanTajemnic"
}
]

MODIFY
app/src/main/java/io/github/wulkanowy/ui/modules/about/AboutFragment.kt
app/src/main/java/io/github/wulkanowy/ui/modules/about/AboutFragment.kt
@@ -46,7 +46,7 @@ class AboutFragment : BaseFragment(), AboutView, MainView.TitledView {
override val creatorsRes: Triple<String, String, Drawable?>?
get() = context?.run {
- Triple(getString(R.string.about_creator), getString(R.string.about_creator_summary), getCompatDrawable(R.drawable.ic_about_creator))
+ Triple(getString(R.string.about_contributor), getString(R.string.about_contributor_summary), getCompatDrawable(R.drawable.ic_about_creator))
}
override val feedbackRes: Triple<String, String, Drawable?>?

MODIFY
app/src/main/java/io/github/wulkanowy/ui/modules/about/contributor/ContributorItem.kt
app/src/main/java/io/github/wulkanowy/ui/modules/about/contributor/ContributorItem.kt
@@ -10,12 +10,12 @@ import eu.davidea.viewholders.FlexibleViewHolder
import io.github.wulkanowy.R
import io.github.wulkanowy.data.pojos.AppCreator
import kotlinx.android.extensions.LayoutContainer
-import kotlinx.android.synthetic.main.item_creator.*
+import kotlinx.android.synthetic.main.item_contributor.*
class ContributorItem(val creator: AppCreator) :
AbstractFlexibleItem<ContributorItem.ViewHolder>() {
- override fun getLayoutRes() = R.layout.item_creator
+ override fun getLayoutRes() = R.layout.item_contributor
override fun createViewHolder(view: View, adapter: FlexibleAdapter<IFlexible<*>>) = ViewHolder(view, adapter)

MODIFY
app/src/main/res/layout/fragment_creator.xml
app/src/main/res/layout/fragment_creator.xml
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
- android:layout_height="match_parent"
- xmlns:app="http://schemas.android.com/apk/res-auto">
+ android:layout_height="match_parent">
<me.zhanghai.android.materialprogressbar.MaterialProgressBar
android:id="@+id/creatorProgress"
android:layout_marginBottom="8dp"
android:layout_marginLeft="32dp"
android:layout_marginRight="32dp"
- android:text="@string/creator_see_more" />
+ android:text="@string/contributor_see_more" />
</LinearLayout>
</FrameLayout>

RENAME
app/src/main/res/layout/item_creator.xml
app/src/main/res/layout/item_contributor.xml
android:id="@+id/creatorItemAvatar"
android:layout_width="40dp"
android:layout_height="40dp"
- android:contentDescription="@string/creator_avatar_description"
+ android:contentDescription="@string/contributor_avatar_description"
android:layout_marginLeft="16dp"
android:layout_marginStart="16dp"
android:layout_marginTop="8dp"

ADD
app/src/main/res/values-de-v29/preferences_values.xml
+<?xml version="1.0" encoding="utf-8"?>
+<resources xmlns:tools="http://schemas.android.com/tools">
+ <string-array name="app_theme_entries" tools:ignore="InconsistentArrays">
+ <item>System Thema</item>
+ <item>Licht</item>
+ <item>Dunkel</item>
+ <item>Schwarz (AMOLED)</item>
+ </string-array>
+</resources>

MODIFY
app/src/main/res/values/strings.xml
app/src/main/res/values/strings.xml
<!--About-->
<string name="about_version">App version</string>
- <string name="about_creator">Contributors</string>
- <string name="about_creator_summary">List of Wulkanowy developers</string>
+ <string name="about_contributor">Contributors</string>
+ <string name="about_contributor_summary">List of Wulkanowy developers</string>
<string name="about_feedback">Report a bug</string>
<string name="about_feedback_summary">Send a bug report via e-mail</string>
<string name="about_faq">FAQ</string>
<string name="license_dialog_title">License</string>
- <!--Creators-->
- <string name="creator_avatar_description">Avatar</string>
- <string name="creator_see_more">See more on GitHub</string>
+ <!--Contributor-->
+ <string name="contributor_avatar_description">Avatar</string>
+ <string name="contributor_see_more">See more on GitHub</string>
<!--Log viewer-->

Add German language (#712)