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

Commit 98cd691d authored by Rohan Shah's avatar Rohan Shah
Browse files

[QS] Update string name in prep for freeze

Renaming the night light's "until <time>" string in case the translation
pipeline would re-register it after the freeze.

This is prepping for a change for the DnD secondary label.

Test: Visually/compiles
Bug: 70799372
Change-Id: I83608ce4dbf96c558b05191fc79f69325281e5b9
parent 74d9b14f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -819,8 +819,8 @@
    <string name="quick_settings_night_secondary_label_until_sunrise">Until sunrise</string>
    <!-- QuickSettings: Secondary text for when the Night Light will be enabled at some user-selected time. [CHAR LIMIT=20] -->
    <string name="quick_settings_night_secondary_label_on_at">On at <xliff:g id="time" example="10 pm">%s</xliff:g></string>
    <!-- QuickSettings: Secondary text for when the Night Light will be on until some user-selected time. [CHAR LIMIT=20] -->
    <string name="quick_settings_night_secondary_label_until">Until <xliff:g id="time" example="7 am">%s</xliff:g></string>
    <!-- QuickSettings: Secondary text for when the Night Light or some other tile will be on until some user-selected time. [CHAR LIMIT=20] -->
    <string name="quick_settings_secondary_label_until">Until <xliff:g id="time" example="7 am">%s</xliff:g></string>

    <!-- QuickSettings: NFC tile [CHAR LIMIT=NONE] -->
    <string name="quick_settings_nfc_label">NFC</string>
+1 −1
Original line number Diff line number Diff line
@@ -133,7 +133,7 @@ public class NightDisplayTile extends QSTileImpl<BooleanState>

                if (isNightLightActivated) {
                    toggleTime = mController.getCustomEndTime();
                    toggleTimeStringRes = R.string.quick_settings_night_secondary_label_until;
                    toggleTimeStringRes = R.string.quick_settings_secondary_label_until;
                } else {
                    toggleTime = mController.getCustomStartTime();
                    toggleTimeStringRes = R.string.quick_settings_night_secondary_label_on_at;