mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-11 18:29:05 +01:00
About menu contribution fixes.
This commit is contained in:
@@ -15,7 +15,6 @@ import org.briarproject.bramble.api.nullsafety.ParametersNotNullByDefault;
|
||||
import org.briarproject.briar.BuildConfig;
|
||||
import org.briarproject.briar.R;
|
||||
|
||||
import java.util.Locale;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
@@ -26,6 +25,7 @@ import static android.widget.Toast.LENGTH_LONG;
|
||||
import static java.util.logging.Level.WARNING;
|
||||
import static java.util.logging.Logger.getLogger;
|
||||
import static org.briarproject.bramble.util.LogUtils.logException;
|
||||
import static java.util.Locale.*;
|
||||
|
||||
@MethodsNotNullByDefault
|
||||
@ParametersNotNullByDefault
|
||||
@@ -82,8 +82,8 @@ public class AboutFragment extends Fragment {
|
||||
R.string.error_start_activity, LENGTH_LONG).show();
|
||||
}
|
||||
});
|
||||
if (!Locale.getDefault().getLanguage()
|
||||
.equals(Locale.ENGLISH.toString())) {
|
||||
if (!getDefault().getLanguage()
|
||||
.equals(ENGLISH.toString())) {
|
||||
translatedBy.setVisibility(View.VISIBLE);
|
||||
translatedBy.setText(getString(
|
||||
R.string.translated_by,
|
||||
|
||||
@@ -18,9 +18,9 @@
|
||||
android:id="@+id/LinksTitle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
android:text="@string/links"
|
||||
android:textAppearance="@style/TextAppearance.MaterialComponents.Body1"
|
||||
android:layout_marginTop="16dp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/BriarVersion" />
|
||||
|
||||
@@ -49,8 +49,18 @@
|
||||
android:layout_marginTop="16dp"
|
||||
android:text="@string/translated_by"
|
||||
android:textAppearance="@style/TextAppearance.MaterialComponents.Body1"
|
||||
android:visibility="invisible"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/BriarSourceCode" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/TranslatorThanks"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
android:text="@string/translator_thanks"
|
||||
android:textAppearance="@style/TextAppearance.MaterialComponents.Body1"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/TranslatedBy" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -698,7 +698,8 @@
|
||||
<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>
|
||||
<string name="translator_name">Your 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 -->
|
||||
<string name="disappearing_messages_title">Disappearing messages</string>
|
||||
|
||||
Reference in New Issue
Block a user