Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c8ff1a91 authored by Abhisek Devkota's avatar Abhisek Devkota
Browse files

Lazy Fix: "More Settings" localization

In some languages (Russian), the "More Settings" localized string is
long enough to cause undesired line wrapping for the "Done" button
aligned besides it. This can be seen in the WiFi and BT Quick Settings
details view.

As this is an AOSP string, altering it may be undesireable.

Lazy fix, switch this to use existing AOSP strings for the much shorter
"Settings" text. This has the added benefit of inheriting AOSP translations
already in place for the status_bar_settings_settings_button string.

Functionaly, this provides the same level of information, without too
much user confusion (eg. It is logical that the "Settings" button in the
BT details takes you to BT Settings, and likewise for WiFI).

CYNGNOS-341

Change-Id: I77ad0389a88944cb49d36f37e0262cf2bc4e096a
parent d012b00c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -149,7 +149,7 @@ public class QSPanel extends ViewGroup {

    private void updateDetailText() {
        mDetailDoneButton.setText(R.string.quick_settings_done);
        mDetailSettingsButton.setText(R.string.quick_settings_more_settings);
        mDetailSettingsButton.setText(R.string.status_bar_settings_settings_button);
        mDetailRemoveButton.setText(R.string.quick_settings_remove);
    }