Some updates for better localization
Test: manual Fixes: 190021494 Fixes: 185203196 Fixes: 190088372 Change-Id: Ia2871814870a1f0e5c5f2deed06dcbef7b2bd967
This commit is contained in:
@@ -9073,6 +9073,10 @@
|
|||||||
<!-- Configure notifications: Title for determining which notifications appear on the lock screen [CHAR LIMIT=60] -->
|
<!-- Configure notifications: Title for determining which notifications appear on the lock screen [CHAR LIMIT=60] -->
|
||||||
<string name="lock_screen_notifs_title">Notifications on lock screen</string>
|
<string name="lock_screen_notifs_title">Notifications on lock screen</string>
|
||||||
|
|
||||||
|
<!-- Configure notifications: summary for lockscreen notifications: all notifications shown
|
||||||
|
regardless of noisiness [CHAR LIMIT=60] -->
|
||||||
|
<string name="lock_screen_notifs_show_all_summary">Show conversations, default, and silent</string>
|
||||||
|
|
||||||
<!-- Configure notifications: Value for lockscreen notifications: all notifications shown
|
<!-- Configure notifications: Value for lockscreen notifications: all notifications shown
|
||||||
regardless of noisiness [CHAR LIMIT=60] -->
|
regardless of noisiness [CHAR LIMIT=60] -->
|
||||||
<string name="lock_screen_notifs_show_all">Show conversations, default, and silent</string>
|
<string name="lock_screen_notifs_show_all">Show conversations, default, and silent</string>
|
||||||
@@ -9324,11 +9328,11 @@
|
|||||||
<!-- app summary of notification app list screen [CHAR LIMIT=100] -->
|
<!-- app summary of notification app list screen [CHAR LIMIT=100] -->
|
||||||
<plurals name="notifications_sent_daily">
|
<plurals name="notifications_sent_daily">
|
||||||
<item quantity="one">~<xliff:g id="number">%d</xliff:g> notification per day</item>
|
<item quantity="one">~<xliff:g id="number">%d</xliff:g> notification per day</item>
|
||||||
<item quantity="other">~<xliff:g id="number">%d</xliff:g> notifications per day</item>
|
<item quantity="other">~<xliff:g id="number">%,d</xliff:g> notifications per day</item>
|
||||||
</plurals>
|
</plurals>
|
||||||
<plurals name="notifications_sent_weekly">
|
<plurals name="notifications_sent_weekly">
|
||||||
<item quantity="one">~<xliff:g id="number">%d</xliff:g> notification per week</item>
|
<item quantity="one">~<xliff:g id="number">%d</xliff:g> notification per week</item>
|
||||||
<item quantity="other">~<xliff:g id="number">%d</xliff:g> notifications per week</item>
|
<item quantity="other">~<xliff:g id="number">%,d</xliff:g> notifications per week</item>
|
||||||
</plurals>
|
</plurals>
|
||||||
<!-- app summary of notification app list screen [CHAR LIMIT=100] -->
|
<!-- app summary of notification app list screen [CHAR LIMIT=100] -->
|
||||||
<string name="notifications_sent_never">Never</string>
|
<string name="notifications_sent_never">Never</string>
|
||||||
|
@@ -116,7 +116,7 @@ public class ShowOnLockScreenNotificationPreferenceController extends AbstractPr
|
|||||||
} else if (!getLockscreenSilentNotificationsEnabled()) {
|
} else if (!getLockscreenSilentNotificationsEnabled()) {
|
||||||
return mContext.getString(R.string.lock_screen_notifs_show_alerting);
|
return mContext.getString(R.string.lock_screen_notifs_show_alerting);
|
||||||
} else {
|
} else {
|
||||||
return mContext.getString(R.string.lock_screen_notifs_show_all);
|
return mContext.getString(R.string.lock_screen_notifs_show_all_summary);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user