Adapt names to naming convention
This commit is contained in:
parent
35aaca78ea
commit
d422a05e8d
4 changed files with 12 additions and 12 deletions
|
|
@ -20,8 +20,8 @@ public final class LastAddedShortcutType extends BaseShortcutType {
|
||||||
|
|
||||||
public ShortcutInfo getShortcutInfo() {
|
public ShortcutInfo getShortcutInfo() {
|
||||||
return new ShortcutInfo.Builder(mContext, ID_PREFIX + "last_added")
|
return new ShortcutInfo.Builder(mContext, ID_PREFIX + "last_added")
|
||||||
.setShortLabel(mContext.getString(R.string.appshortcut_lastadded_short))
|
.setShortLabel(mContext.getString(R.string.app_shortcut_last_added_short))
|
||||||
.setLongLabel(mContext.getString(R.string.appshortcut_lastadded_long))
|
.setLongLabel(mContext.getString(R.string.app_shortcut_last_added_long))
|
||||||
.setIcon(Icon.createWithResource(mContext, R.drawable.ic_app_shortcut_last_added))
|
.setIcon(Icon.createWithResource(mContext, R.drawable.ic_app_shortcut_last_added))
|
||||||
.setIntent(getPlaySongsIntent(AppShortcutLauncherActivity.ShortcutType.LAST_ADDED))
|
.setIntent(getPlaySongsIntent(AppShortcutLauncherActivity.ShortcutType.LAST_ADDED))
|
||||||
.build();
|
.build();
|
||||||
|
|
|
||||||
|
|
@ -20,8 +20,8 @@ public final class ShuffleAllShortcutType extends BaseShortcutType {
|
||||||
|
|
||||||
public ShortcutInfo getShortcutInfo() {
|
public ShortcutInfo getShortcutInfo() {
|
||||||
return new ShortcutInfo.Builder(mContext, ID_PREFIX + "shuffle_all")
|
return new ShortcutInfo.Builder(mContext, ID_PREFIX + "shuffle_all")
|
||||||
.setShortLabel(mContext.getString(R.string.appshortcut_shuffleall_short))
|
.setShortLabel(mContext.getString(R.string.app_shortcut_shuffle_all_short))
|
||||||
.setLongLabel(mContext.getString(R.string.appshortcut_shuffleall_long))
|
.setLongLabel(mContext.getString(R.string.app_shortcut_shuffle_all_long))
|
||||||
.setIcon(Icon.createWithResource(mContext, R.drawable.ic_app_shortcut_shuffle_all))
|
.setIcon(Icon.createWithResource(mContext, R.drawable.ic_app_shortcut_shuffle_all))
|
||||||
.setIntent(getPlaySongsIntent(AppShortcutLauncherActivity.ShortcutType.SHUFFLE_ALL))
|
.setIntent(getPlaySongsIntent(AppShortcutLauncherActivity.ShortcutType.SHUFFLE_ALL))
|
||||||
.build();
|
.build();
|
||||||
|
|
|
||||||
|
|
@ -20,8 +20,8 @@ public final class TopTracksShortcutType extends BaseShortcutType {
|
||||||
|
|
||||||
public ShortcutInfo getShortcutInfo() {
|
public ShortcutInfo getShortcutInfo() {
|
||||||
return new ShortcutInfo.Builder(mContext, ID_PREFIX + "top_tracks")
|
return new ShortcutInfo.Builder(mContext, ID_PREFIX + "top_tracks")
|
||||||
.setShortLabel(mContext.getString(R.string.appshortcut_toptracks_short))
|
.setShortLabel(mContext.getString(R.string.app_shortcut_top_tracks_short))
|
||||||
.setLongLabel(mContext.getString(R.string.appshortcut_toptracks_long))
|
.setLongLabel(mContext.getString(R.string.app_shortcut_top_tracks_long))
|
||||||
.setIcon(Icon.createWithResource(mContext, R.drawable.ic_app_shortcut_top_tracks))
|
.setIcon(Icon.createWithResource(mContext, R.drawable.ic_app_shortcut_top_tracks))
|
||||||
.setIntent(getPlaySongsIntent(AppShortcutLauncherActivity.ShortcutType.TOP_TRACKS))
|
.setIntent(getPlaySongsIntent(AppShortcutLauncherActivity.ShortcutType.TOP_TRACKS))
|
||||||
.build();
|
.build();
|
||||||
|
|
|
||||||
|
|
@ -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>
|
<string name="you_will_be_forwarded_to_the_issue_tracker_website">You will be forwarded to the issue tracker website.</string>
|
||||||
|
|
||||||
<!-- App Shortcuts -->
|
<!-- App Shortcuts -->
|
||||||
<string name="appshortcut_shuffleall_long">@string/action_shuffle_all</string>
|
<string name="app_shortcut_shuffle_all_long">@string/action_shuffle_all</string>
|
||||||
<string name="appshortcut_shuffleall_short">Shuffle</string>
|
<string name="app_shortcut_shuffle_all_short">Shuffle</string>
|
||||||
|
|
||||||
<string name="appshortcut_toptracks_long">@string/my_top_tracks</string>
|
<string name="app_shortcut_top_tracks_long">@string/my_top_tracks</string>
|
||||||
<string name="appshortcut_toptracks_short">Top Tracks</string>
|
<string name="app_shortcut_top_tracks_short">Top Tracks</string>
|
||||||
|
|
||||||
<string name="appshortcut_lastadded_long">@string/last_added</string>
|
<string name="app_shortcut_last_added_long">@string/last_added</string>
|
||||||
<string name="appshortcut_lastadded_short">@string/last_added</string>
|
<string name="app_shortcut_last_added_short">@string/last_added</string>
|
||||||
|
|
||||||
<string name="error_launching_shortcut">Error launching shortcut.</string>
|
<string name="error_launching_shortcut">Error launching shortcut.</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue