From d7f85cb471038498332195c9a1bdea794ec32068 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Tue, 29 Sep 2020 00:09:33 +0800 Subject: Add translation contributors in Settigs->About->Translation. --- app/src/main/res/drawable/flag_brazil.xml | 21 +++++++ app/src/main/res/drawable/flag_china.xml | 24 ++++++++ app/src/main/res/drawable/flag_croatia.xml | 72 ++++++++++++++++++++++ app/src/main/res/drawable/flag_france.xml | 15 +++++ app/src/main/res/drawable/flag_germany.xml | 15 +++++ app/src/main/res/drawable/flag_greece.xml | 24 ++++++++ app/src/main/res/drawable/flag_hungary.xml | 15 +++++ app/src/main/res/drawable/flag_india.xml | 24 ++++++++ app/src/main/res/drawable/flag_italy.xml | 15 +++++ app/src/main/res/drawable/flag_japan.xml | 12 ++++ app/src/main/res/drawable/flag_norway.xml | 24 ++++++++ app/src/main/res/drawable/flag_portugal.xml | 21 +++++++ app/src/main/res/drawable/flag_romania.xml | 15 +++++ app/src/main/res/drawable/flag_russia.xml | 15 +++++ app/src/main/res/drawable/flag_south_korea.xml | 69 +++++++++++++++++++++ app/src/main/res/drawable/flag_spain.xml | 15 +++++ app/src/main/res/drawable/flag_sweden.xml | 21 +++++++ app/src/main/res/drawable/flag_turkey.xml | 15 +++++ app/src/main/res/drawable/flag_vietnam.xml | 12 ++++ app/src/main/res/layout/fragment_translation.xml | 7 +++ .../res/layout/item_translation_contributor.xml | 42 +++++++++++++ app/src/main/res/values/strings.xml | 3 + app/src/main/res/xml/about_preferences.xml | 5 ++ 23 files changed, 501 insertions(+) create mode 100644 app/src/main/res/drawable/flag_brazil.xml create mode 100644 app/src/main/res/drawable/flag_china.xml create mode 100644 app/src/main/res/drawable/flag_croatia.xml create mode 100644 app/src/main/res/drawable/flag_france.xml create mode 100644 app/src/main/res/drawable/flag_germany.xml create mode 100644 app/src/main/res/drawable/flag_greece.xml create mode 100644 app/src/main/res/drawable/flag_hungary.xml create mode 100644 app/src/main/res/drawable/flag_india.xml create mode 100644 app/src/main/res/drawable/flag_italy.xml create mode 100644 app/src/main/res/drawable/flag_japan.xml create mode 100644 app/src/main/res/drawable/flag_norway.xml create mode 100644 app/src/main/res/drawable/flag_portugal.xml create mode 100644 app/src/main/res/drawable/flag_romania.xml create mode 100644 app/src/main/res/drawable/flag_russia.xml create mode 100644 app/src/main/res/drawable/flag_south_korea.xml create mode 100644 app/src/main/res/drawable/flag_spain.xml create mode 100644 app/src/main/res/drawable/flag_sweden.xml create mode 100644 app/src/main/res/drawable/flag_turkey.xml create mode 100644 app/src/main/res/drawable/flag_vietnam.xml create mode 100644 app/src/main/res/layout/fragment_translation.xml create mode 100644 app/src/main/res/layout/item_translation_contributor.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/drawable/flag_brazil.xml b/app/src/main/res/drawable/flag_brazil.xml new file mode 100644 index 00000000..04e3485b --- /dev/null +++ b/app/src/main/res/drawable/flag_brazil.xml @@ -0,0 +1,21 @@ + + + + + + + diff --git a/app/src/main/res/drawable/flag_china.xml b/app/src/main/res/drawable/flag_china.xml new file mode 100644 index 00000000..e0dceaaf --- /dev/null +++ b/app/src/main/res/drawable/flag_china.xml @@ -0,0 +1,24 @@ + + + + + + + + diff --git a/app/src/main/res/drawable/flag_croatia.xml b/app/src/main/res/drawable/flag_croatia.xml new file mode 100644 index 00000000..ae31dba0 --- /dev/null +++ b/app/src/main/res/drawable/flag_croatia.xml @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/drawable/flag_france.xml b/app/src/main/res/drawable/flag_france.xml new file mode 100644 index 00000000..19e2182c --- /dev/null +++ b/app/src/main/res/drawable/flag_france.xml @@ -0,0 +1,15 @@ + + + + + diff --git a/app/src/main/res/drawable/flag_germany.xml b/app/src/main/res/drawable/flag_germany.xml new file mode 100644 index 00000000..a17c08b9 --- /dev/null +++ b/app/src/main/res/drawable/flag_germany.xml @@ -0,0 +1,15 @@ + + + + + diff --git a/app/src/main/res/drawable/flag_greece.xml b/app/src/main/res/drawable/flag_greece.xml new file mode 100644 index 00000000..7dfc2da0 --- /dev/null +++ b/app/src/main/res/drawable/flag_greece.xml @@ -0,0 +1,24 @@ + + + + + + + + diff --git a/app/src/main/res/drawable/flag_hungary.xml b/app/src/main/res/drawable/flag_hungary.xml new file mode 100644 index 00000000..21a9f40c --- /dev/null +++ b/app/src/main/res/drawable/flag_hungary.xml @@ -0,0 +1,15 @@ + + + + + diff --git a/app/src/main/res/drawable/flag_india.xml b/app/src/main/res/drawable/flag_india.xml new file mode 100644 index 00000000..7e96cbbe --- /dev/null +++ b/app/src/main/res/drawable/flag_india.xml @@ -0,0 +1,24 @@ + + + + + + + + diff --git a/app/src/main/res/drawable/flag_italy.xml b/app/src/main/res/drawable/flag_italy.xml new file mode 100644 index 00000000..dbf19c86 --- /dev/null +++ b/app/src/main/res/drawable/flag_italy.xml @@ -0,0 +1,15 @@ + + + + + diff --git a/app/src/main/res/drawable/flag_japan.xml b/app/src/main/res/drawable/flag_japan.xml new file mode 100644 index 00000000..5653cbbb --- /dev/null +++ b/app/src/main/res/drawable/flag_japan.xml @@ -0,0 +1,12 @@ + + + + diff --git a/app/src/main/res/drawable/flag_norway.xml b/app/src/main/res/drawable/flag_norway.xml new file mode 100644 index 00000000..ecb80eda --- /dev/null +++ b/app/src/main/res/drawable/flag_norway.xml @@ -0,0 +1,24 @@ + + + + + + + + diff --git a/app/src/main/res/drawable/flag_portugal.xml b/app/src/main/res/drawable/flag_portugal.xml new file mode 100644 index 00000000..a0e92558 --- /dev/null +++ b/app/src/main/res/drawable/flag_portugal.xml @@ -0,0 +1,21 @@ + + + + + + + diff --git a/app/src/main/res/drawable/flag_romania.xml b/app/src/main/res/drawable/flag_romania.xml new file mode 100644 index 00000000..e6daa579 --- /dev/null +++ b/app/src/main/res/drawable/flag_romania.xml @@ -0,0 +1,15 @@ + + + + + diff --git a/app/src/main/res/drawable/flag_russia.xml b/app/src/main/res/drawable/flag_russia.xml new file mode 100644 index 00000000..08ec9553 --- /dev/null +++ b/app/src/main/res/drawable/flag_russia.xml @@ -0,0 +1,15 @@ + + + + + diff --git a/app/src/main/res/drawable/flag_south_korea.xml b/app/src/main/res/drawable/flag_south_korea.xml new file mode 100644 index 00000000..5481b529 --- /dev/null +++ b/app/src/main/res/drawable/flag_south_korea.xml @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/drawable/flag_spain.xml b/app/src/main/res/drawable/flag_spain.xml new file mode 100644 index 00000000..b3e03266 --- /dev/null +++ b/app/src/main/res/drawable/flag_spain.xml @@ -0,0 +1,15 @@ + + + + + diff --git a/app/src/main/res/drawable/flag_sweden.xml b/app/src/main/res/drawable/flag_sweden.xml new file mode 100644 index 00000000..fe24454d --- /dev/null +++ b/app/src/main/res/drawable/flag_sweden.xml @@ -0,0 +1,21 @@ + + + + + + + diff --git a/app/src/main/res/drawable/flag_turkey.xml b/app/src/main/res/drawable/flag_turkey.xml new file mode 100644 index 00000000..57be045c --- /dev/null +++ b/app/src/main/res/drawable/flag_turkey.xml @@ -0,0 +1,15 @@ + + + + + diff --git a/app/src/main/res/drawable/flag_vietnam.xml b/app/src/main/res/drawable/flag_vietnam.xml new file mode 100644 index 00000000..a7e76979 --- /dev/null +++ b/app/src/main/res/drawable/flag_vietnam.xml @@ -0,0 +1,12 @@ + + + + diff --git a/app/src/main/res/layout/fragment_translation.xml b/app/src/main/res/layout/fragment_translation.xml new file mode 100644 index 00000000..69234bd3 --- /dev/null +++ b/app/src/main/res/layout/fragment_translation.xml @@ -0,0 +1,7 @@ + + \ No newline at end of file diff --git a/app/src/main/res/layout/item_translation_contributor.xml b/app/src/main/res/layout/item_translation_contributor.xml new file mode 100644 index 00000000..7054a892 --- /dev/null +++ b/app/src/main/res/layout/item_translation_contributor.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index ce787a3c..018969fa 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -490,6 +490,7 @@ Floating Action Button Data Saving Mode In data saving mode, preview images are in lower resolution. + Translation Cannot get the link @@ -907,5 +908,7 @@ Code: %1$d/\n Message: %2$s Award given Failed + + Hello blank fragment diff --git a/app/src/main/res/xml/about_preferences.xml b/app/src/main/res/xml/about_preferences.xml index a73f9aaa..74a17eaa 100644 --- a/app/src/main/res/xml/about_preferences.xml +++ b/app/src/main/res/xml/about_preferences.xml @@ -10,6 +10,11 @@ app:title="@string/settings_credits_master_title" app:fragment="ml.docilealligator.infinityforreddit.Settings.CreditsPreferenceFragment" /> + +