Adapt names to naming convention

This commit is contained in:
Xorok 2017-03-09 23:29:00 +01:00 committed by Karim Abou Zeid
commit d422a05e8d
4 changed files with 12 additions and 12 deletions

View file

@ -20,8 +20,8 @@ public final class LastAddedShortcutType extends BaseShortcutType {
public ShortcutInfo getShortcutInfo() {
return new ShortcutInfo.Builder(mContext, ID_PREFIX + "last_added")
.setShortLabel(mContext.getString(R.string.appshortcut_lastadded_short))
.setLongLabel(mContext.getString(R.string.appshortcut_lastadded_long))
.setShortLabel(mContext.getString(R.string.app_shortcut_last_added_short))
.setLongLabel(mContext.getString(R.string.app_shortcut_last_added_long))
.setIcon(Icon.createWithResource(mContext, R.drawable.ic_app_shortcut_last_added))
.setIntent(getPlaySongsIntent(AppShortcutLauncherActivity.ShortcutType.LAST_ADDED))
.build();

View file

@ -20,8 +20,8 @@ public final class ShuffleAllShortcutType extends BaseShortcutType {
public ShortcutInfo getShortcutInfo() {
return new ShortcutInfo.Builder(mContext, ID_PREFIX + "shuffle_all")
.setShortLabel(mContext.getString(R.string.appshortcut_shuffleall_short))
.setLongLabel(mContext.getString(R.string.appshortcut_shuffleall_long))
.setShortLabel(mContext.getString(R.string.app_shortcut_shuffle_all_short))
.setLongLabel(mContext.getString(R.string.app_shortcut_shuffle_all_long))
.setIcon(Icon.createWithResource(mContext, R.drawable.ic_app_shortcut_shuffle_all))
.setIntent(getPlaySongsIntent(AppShortcutLauncherActivity.ShortcutType.SHUFFLE_ALL))
.build();

View file

@ -20,8 +20,8 @@ public final class TopTracksShortcutType extends BaseShortcutType {
public ShortcutInfo getShortcutInfo() {
return new ShortcutInfo.Builder(mContext, ID_PREFIX + "top_tracks")
.setShortLabel(mContext.getString(R.string.appshortcut_toptracks_short))
.setLongLabel(mContext.getString(R.string.appshortcut_toptracks_long))
.setShortLabel(mContext.getString(R.string.app_shortcut_top_tracks_short))
.setLongLabel(mContext.getString(R.string.app_shortcut_top_tracks_long))
.setIcon(Icon.createWithResource(mContext, R.drawable.ic_app_shortcut_top_tracks))
.setIntent(getPlaySongsIntent(AppShortcutLauncherActivity.ShortcutType.TOP_TRACKS))
.build();

View file

@ -277,14 +277,14 @@
<string name="you_will_be_forwarded_to_the_issue_tracker_website">You will be forwarded to the issue tracker website.</string>
<!-- App Shortcuts -->
<string name="appshortcut_shuffleall_long">@string/action_shuffle_all</string>
<string name="appshortcut_shuffleall_short">Shuffle</string>
<string name="app_shortcut_shuffle_all_long">@string/action_shuffle_all</string>
<string name="app_shortcut_shuffle_all_short">Shuffle</string>
<string name="appshortcut_toptracks_long">@string/my_top_tracks</string>
<string name="appshortcut_toptracks_short">Top Tracks</string>
<string name="app_shortcut_top_tracks_long">@string/my_top_tracks</string>
<string name="app_shortcut_top_tracks_short">Top Tracks</string>
<string name="appshortcut_lastadded_long">@string/last_added</string>
<string name="appshortcut_lastadded_short">@string/last_added</string>
<string name="app_shortcut_last_added_long">@string/last_added</string>
<string name="app_shortcut_last_added_short">@string/last_added</string>
<string name="error_launching_shortcut">Error launching shortcut.</string>
</resources>