Skip to content
This repository was archived by the owner on May 4, 2023. It is now read-only.

Commit 674a28e

Browse files
committed
Add weblate info in README.md
1 parent 99f1f27 commit 674a28e

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,11 @@ For more information please check the [developer documentation](DEVELOPERS.md)
9393

9494
## For translators
9595

96+
Go check here: https://translate.nift4.org/projects/foxmmm/foxmmm/
97+
You may also want to check other project on this site to translate.
98+
99+
Or you can try to do a pull request on GitHub:
100+
96101
See [`app/src/main/res/values/strings.xml`](https://github.com/Fox2Code/FoxMagiskModuleManager/blob/master/app/src/main/res/values/strings.xml)
97102
and [`app/src/main/res/values/arrays.xml`](https://github.com/Fox2Code/FoxMagiskModuleManager/blob/master/app/src/main/res/values/arrays.xml)
98103

app/src/main/java/com/fox2code/mmm/settings/SettingsActivity.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,10 @@ public void onCreatePreferences(Bundle savedInstanceState, String rootKey) {
231231
Log.e(TAG, "Detected language level " + level + ", latest is " + LANGUAGE_SUPPORT_LEVEL);
232232
languageSelector.setSummary(R.string.language_support_outdated);
233233
} else {
234-
if (!"Translated by Fox2Code".equals( // I don't "translate" english
235-
this.getString(R.string.language_translated_by))) {
234+
String translatedBy = this.getString(R.string.language_translated_by);
235+
// I don't "translate" english
236+
if (!("Translated by Fox2Code (Put your name here)".equals(translatedBy) ||
237+
"Translated by Fox2Code".equals(translatedBy))) {
236238
languageSelector.setSummary(R.string.language_translated_by);
237239
} else {
238240
languageSelector.setSummary(null);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
<string name="language_support_outdated">Some translations for the current language are
154154
not up-to-date, please consider contributing to the app translations on GitHub</string>
155155
<!-- Replace with your own username when translating -->
156-
<string name="language_translated_by">Translated by Fox2Code</string>
156+
<string name="language_translated_by">Translated by Fox2Code (Put your name here)</string>
157157
<string name="crash_reporting">Automatically report bugs and performance to the developers</string>
158158
<string name="crash_reporting_desc">If you disable this, the developer will not get automatic bug reports, and this may make troubleshooting harder</string>
159159
<string name="api_key">Androidacy API Key</string>

0 commit comments

Comments
 (0)