String fix

This commit is contained in:
FlyingP1g FlyingP1g
2022-07-12 17:30:48 +03:00
parent 57bd5789d4
commit 0ae94e9579
2 changed files with 5 additions and 3 deletions

View File

@@ -83,7 +83,9 @@ public class AboutFragment extends Fragment {
}
});
if (!getDefault().getLanguage()
.equals(ENGLISH.toString())) {
.equals(ENGLISH.toString()) &&
getString(R.string.translated_by).length() != 0 &&
getString(R.string.translator_name).length() != 0) {
translatedBy.setVisibility(View.VISIBLE);
translatedBy.setText(getString(
R.string.translated_by,

View File

@@ -697,8 +697,8 @@
<string name="links">Links</string>
<string name="briar_website">\u2022 <a href="">Briar website</a></string>
<string name="briar_source_code">\u2022 <a href="">Briar source code</a></string>
<string name="translated_by">Translated by: %s</string>
<string name="translator_name">Your name</string> <!-- Here translators can add their names or Transifex usernames -->
<string name="translated_by"></string><!--Just translate this: "Translated by: %s" -->
<string name="translator_name"></string> <!-- Here translators can add their names or Transifex usernames -->
<string name="translator_thanks">Thanks to all the unlisted contributors in the Localisation Lab</string>
<!-- Conversation Settings -->