[app] Fix translators (#1104)
This commit is contained in:
parent
2b3e60def4
commit
d226ce5e21
|
|
@ -283,7 +283,7 @@ public class SettingsFragment extends BaseFragment {
|
|||
Preference translation_contributors = findPreference("translation_contributors");
|
||||
if (translation_contributors != null) {
|
||||
var translators = HtmlCompat.fromHtml(getString(R.string.translators), HtmlCompat.FROM_HTML_MODE_LEGACY);
|
||||
if (TextUtils.isEmpty(translators)) {
|
||||
if (translators.equals("null")) {
|
||||
translation_contributors.setVisible(false);
|
||||
} else {
|
||||
translation_contributors.setSummary(translators);
|
||||
|
|
|
|||
|
|
@ -33,8 +33,7 @@
|
|||
<string name="module_repo">Repository</string>
|
||||
<string name="module_repo_summary">Module repository (Beta)</string>
|
||||
<string name="about_view_source_code"><![CDATA[View source code at %1$s<br/>Join our %2$s channel]]></string>
|
||||
<string name="about_translators">Translators: %s</string>
|
||||
<string name="translators" comment="Dear translators, please add your home page here following the format. There can be more than one translator. So feel free to append yourself."><![CDATA[<a href="https://github.com/LSPosed/LSPosed">LSPosed Devs</a>]]></string>
|
||||
<string name="translators" comment="Dear translators, please add your home page here following the format. There can be more than one translator. So feel free to append yourself.">null</string>
|
||||
|
||||
<string name="install">Install</string>
|
||||
<string name="install_summary">Tap to install LSPosed</string>
|
||||
|
|
|
|||
Loading…
Reference in New Issue