diff options
author | Michael Bestas <mikeioannina@cyanogenmod.org> | 2016-04-08 00:05:59 +0300 |
---|---|---|
committer | Michael Bestas <mikeioannina@cyanogenmod.org> | 2016-04-15 01:26:18 +0300 |
commit | b025fbb9b46a19e8622867317ce7ae482f0dde1b (patch) | |
tree | 3b2989d659c0ffc29b257cded2f4441f470d4f39 | |
parent | dcc7560f6d8ff5ec1bb36a8fd9f11735fb548c60 (diff) | |
download | android_packages_apps_Dialer-b025fbb9b46a19e8622867317ce7ae482f0dde1b.tar.gz android_packages_apps_Dialer-b025fbb9b46a19e8622867317ce7ae482f0dde1b.tar.bz2 android_packages_apps_Dialer-b025fbb9b46a19e8622867317ce7ae482f0dde1b.zip |
Workaround for AOSP strings missing translations
Change-Id: Icd028f6ff7328fe8b96842eeaea22bac50607303
-rw-r--r-- | res/layout/show_call_history_list_item.xml | 2 | ||||
-rw-r--r-- | res/values/cm_strings.xml | 3 | ||||
-rw-r--r-- | res/values/strings.xml | 2 | ||||
-rw-r--r-- | src/com/android/dialer/calllog/CallLogFragment.java | 2 |
4 files changed, 6 insertions, 3 deletions
diff --git a/res/layout/show_call_history_list_item.xml b/res/layout/show_call_history_list_item.xml index 1264894a9..8a071d00a 100644 --- a/res/layout/show_call_history_list_item.xml +++ b/res/layout/show_call_history_list_item.xml @@ -24,7 +24,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" - android:text="@string/show_call_history" /> + android:text="@string/recents_footer_text" /> </android.support.v7.widget.CardView> diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml index 072993204..26e6d1cb9 100644 --- a/res/values/cm_strings.xml +++ b/res/values/cm_strings.xml @@ -172,4 +172,7 @@ <!-- Shown as a prompt to turn on the phone permission to allow a call to be placed --> <string name="cm_permission_place_call">To place a call, turn on Phone permissions.</string> + + <!-- Label of the button displayed when the call log is empty. Allows the user to make a call. --> + <string name="recentCalls_empty_action_cm">Make a call</string> </resources> diff --git a/res/values/strings.xml b/res/values/strings.xml index c45ea3776..463f73eb5 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -530,7 +530,7 @@ <string name="search_shortcut_make_video_call">Make video call</string> <!-- Title for the call log list item that brings users to the full call history when clicked --> - <string name="show_call_history">View full call history</string> + <string name="recents_footer_text">View full call history</string> <!-- Number of missed calls shown on call card [CHAR LIMIT=40] --> <string name="num_missed_calls"><xliff:g id="number">%s</xliff:g> new missed calls</string> diff --git a/src/com/android/dialer/calllog/CallLogFragment.java b/src/com/android/dialer/calllog/CallLogFragment.java index f4888c0d8..b01d503f9 100644 --- a/src/com/android/dialer/calllog/CallLogFragment.java +++ b/src/com/android/dialer/calllog/CallLogFragment.java @@ -440,7 +440,7 @@ public class CallLogFragment extends Fragment implements CallLogQueryHandler.Lis } mEmptyListView.setDescription(messageId); if (mIsRecentsFragment) { - mEmptyListView.setActionLabel(R.string.recentCalls_empty_action); + mEmptyListView.setActionLabel(R.string.recentCalls_empty_action_cm); } else { mEmptyListView.setActionLabel(EmptyContentView.NO_LABEL); } |