Merge "Localize date and time formats on complications." into tm-qpr-dev am: a8454ad2f2 am: e3800b2a95

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19051632

Change-Id: I956e3ebfa762749f4220d5741e605c43d52614de
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Bryce Lee
2022-06-24 15:30:27 +00:00
committed by Automerger Merge Worker
3 changed files with 12 additions and 4 deletions

View File

@@ -20,5 +20,5 @@
style="@style/clock_subtitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:format12Hour="EEE, MMM d"
android:format24Hour="EEE, MMM d"/>
android:format12Hour="@string/dream_date_complication_date_format"
android:format24Hour="@string/dream_date_complication_date_format"/>

View File

@@ -22,8 +22,8 @@
android:fontFamily="@*android:string/config_clockFontFamily"
android:includeFontPadding="false"
android:textColor="@android:color/white"
android:format12Hour="h:mm"
android:format24Hour="kk:mm"
android:format12Hour="@string/dream_time_complication_12_hr_time_format"
android:format24Hour="@string/dream_time_complication_24_hr_time_format"
android:shadowColor="@color/keyguard_shadow_color"
android:shadowRadius="?attr/shadowRadius"
android:textSize="@dimen/dream_overlay_complication_clock_time_text_size"/>

View File

@@ -2581,4 +2581,12 @@
<!-- [CHAR LIMIT=NONE] Le audio broadcast dialog, media app is unknown -->
<string name="bt_le_audio_broadcast_dialog_unknown_name">Unknown</string>
<!-- Date format for the Dream Date Complication [CHAR LIMIT=NONE] -->
<string name="dream_date_complication_date_format">EEE, MMM d</string>
<!-- Time format for the Dream Time Complication for 12-hour time format [CHAR LIMIT=NONE] -->
<string name="dream_time_complication_12_hr_time_format">h:mm</string>
<!-- Time format for the Dream Time Complication for 24-hour time format [CHAR LIMIT=NONE] -->
<string name="dream_time_complication_24_hr_time_format">kk:mm</string>
</resources>