OSDN Git Service

Fixes for typographic clock string.
authorRobert Snoeberger <snoeberger@google.com>
Tue, 5 Feb 2019 16:09:48 +0000 (11:09 -0500)
committerRobert Snoeberger <snoeberger@google.com>
Tue, 5 Feb 2019 16:37:23 +0000 (11:37 -0500)
commit326d0c13b2f51a08ddd678bdd259e0be10837d99
tree91c68db1e2e754c39377494cb9bd07b0fd6c979e
parentb495b6b42102d5364735412a88a61c744d775a82
Fixes for typographic clock string.

Need plural forms for some languages based on the number of hours.

Need template where "hours" and "minute" is filled into the sentence.
This enables a conjunction to be added between "hours" and "minutes".
And enables, for languages like Basque, the verb "It's" to moved from
the beginning. "It's" can be moved either between "hours" and "minutes"
or after "minutes".

Bug: 123638383
Bug: 123638464
Bug: 123643485
Test: mp sysuig and manually tested
Change-Id: I69865d004ed346a21a13e86d96a4bdad379f08df
packages/SystemUI/res-keyguard/layout/type_clock.xml
packages/SystemUI/res-keyguard/values/strings.xml
packages/SystemUI/src/com/android/keyguard/clock/TypographicClock.java