diff options
author | qqzhou <qqzhou@codeaurora.org> | 2014-09-23 17:59:12 +0800 |
---|---|---|
committer | Matt Garnes <matt@cyngn.com> | 2014-11-13 17:48:06 -0800 |
commit | 8ca6530da4d0e70d07f867619983e7265391b24f (patch) | |
tree | 1cd96b10578913c5f2d8971ffe31a02ebc186e7d /res | |
parent | f4b468af012e2e8968b86739ea2194be8bc75027 (diff) | |
download | android_packages_apps_Dialer-8ca6530da4d0e70d07f867619983e7265391b24f.tar.gz android_packages_apps_Dialer-8ca6530da4d0e70d07f867619983e7265391b24f.tar.bz2 android_packages_apps_Dialer-8ca6530da4d0e70d07f867619983e7265391b24f.zip |
Dialer: add support for duration type in call detail
We use one config to control whether show duration type
"active duration" or "call out duration" in call detail.
Change-Id: I0b07404995b5ed0cf0ff9c5cb12914461ce28424
Diffstat (limited to 'res')
-rwxr-xr-x[-rw-r--r--] | res/values-zh-rCN/strings.xml | 2 | ||||
-rw-r--r-- | res/values/donottranslate_config.xml | 3 | ||||
-rwxr-xr-x[-rw-r--r--] | res/values/strings.xml | 3 |
3 files changed, 8 insertions, 0 deletions
diff --git a/res/values-zh-rCN/strings.xml b/res/values-zh-rCN/strings.xml index 6aa370762..713b67186 100644..100755 --- a/res/values-zh-rCN/strings.xml +++ b/res/values-zh-rCN/strings.xml @@ -130,6 +130,8 @@ <string name="dialerKeyboardHintText" msgid="5401660096579787344">"使用键盘拨号"</string> <string name="dialerDialpadHintText" msgid="5824490365898349041">"拨号以添加通话"</string> <string name="callDetailsDurationFormat" msgid="8157706382818184268">"<xliff:g id="MINUTES">%s</xliff:g>分<xliff:g id="SECONDS">%s</xliff:g>秒"</string> + <string name="call_duration_active">"通话时长:"</string> + <string name="call_duration_call_out">"呼叫时长:"</string> <string name="dialog_phone_call_prohibited_message" msgid="6554711866586660441">"电话未拨出"</string> <string name="dialog_voicemail_not_ready_message" msgid="4384716252789515378">"要设置语音信箱,请转到“菜单”>“设置”。"</string> <string name="dialog_voicemail_airplane_mode_message" msgid="530922773669546093">"要呼叫语音信箱,请先关闭飞行模式。"</string> diff --git a/res/values/donottranslate_config.xml b/res/values/donottranslate_config.xml index 468e41586..1d351c1e3 100644 --- a/res/values/donottranslate_config.xml +++ b/res/values/donottranslate_config.xml @@ -34,4 +34,7 @@ Ignored if empty. --> <string name="config_prohibited_phone_number_regexp"></string> + <bool name="call_duration_enabled">true</bool> + + <bool name="call_durationtype_enabled">false</bool> </resources> diff --git a/res/values/strings.xml b/res/values/strings.xml index 012b5b1df..f44d841f8 100644..100755 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -514,6 +514,9 @@ <!-- A nicely formatted call duration displayed when viewing call details. For example "42 mins 28 secs" --> <string name="callDetailsDurationFormat"><xliff:g id="minutes" example="42">%s</xliff:g> mins <xliff:g id="seconds" example="28">%s</xliff:g> secs</string> + <string name="call_duration_active">Active duration:</string> + <string name="call_duration_call_out">Call duration:</string> + <!-- Dialog message which is shown when the user tries to make a phone call to prohibited phone numbers [CHAR LIMIT=NONE] --> <string name="dialog_phone_call_prohibited_message" msgid="4313552620858880999">Call not sent</string> |