Skip to content

Commit

Permalink
Fix translation of 'contacts' tab title and main menu.
Browse files Browse the repository at this point in the history
AOSP migrated those items to new strings, but those strings don't have
any translations. Just use the previous string instances instead, which
still exist and have valid translations.

Change-Id: I55d7e5a5bf630e5813d2a2c22888b906b704e3f5
  • Loading branch information
maniac103 authored and alanndz committed Jun 11, 2022
1 parent 139c984 commit 57d3d33
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ protected void onFinishInflate() {

speedDial.setup(R.string.tab_title_speed_dial, R.drawable.quantum_ic_star_vd_theme_24);
callLog.setup(R.string.tab_title_call_history, R.drawable.quantum_ic_access_time_vd_theme_24);
contacts.setup(R.string.tab_title_contacts, R.drawable.quantum_ic_people_vd_theme_24);
contacts.setup(R.string.tab_all_contacts, R.drawable.quantum_ic_people_vd_theme_24);
voicemail.setup(R.string.tab_title_voicemail, R.drawable.quantum_ic_voicemail_vd_theme_24);

speedDial.setOnClickListener(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@

<item
android:id="@+id/menu_call_history"
android:title="@string/main_menu_call_history"
android:title="@string/action_menu_call_history_description"
app:showAsAction="collapseActionView"/>

<item
android:id="@+id/clear_frequents"
android:title="@string/main_menu_clear_frequents"
android:title="@string/menu_clear_frequents"
app:showAsAction="collapseActionView"
android:visible="false"/>

Expand All @@ -38,4 +38,4 @@
android:title="@string/nui_simulator_submenu_label"
app:showAsAction="collapseActionView"
android:visible="false"/>
</menu>
</menu>

0 comments on commit 57d3d33

Please sign in to comment.