mirror of
https://github.com/zoriya/Opus.git
synced 2025-12-06 06:26:15 +00:00
Making TRANSLATIONS.
This commit is contained in:
@@ -709,7 +709,8 @@ namespace MusicApp
|
||||
else
|
||||
{
|
||||
PermissionGot = false;
|
||||
Snackbar snackBar = Snackbar.Make(FindViewById<CoordinatorLayout>(Resource.Id.snackBar), "Permission denied, can't complete this action.", Snackbar.LengthLong); snackBar.View.FindViewById<TextView>(Resource.Id.snackbar_text).SetTextColor(Color.White);
|
||||
Snackbar snackBar = Snackbar.Make(FindViewById<CoordinatorLayout>(Resource.Id.snackBar), Resource.String.no_permission, Snackbar.LengthLong);
|
||||
snackBar.View.FindViewById<TextView>(Resource.Id.snackbar_text).SetTextColor(Color.White);
|
||||
snackBar.Show();
|
||||
}
|
||||
}
|
||||
@@ -721,7 +722,8 @@ namespace MusicApp
|
||||
else
|
||||
{
|
||||
PermissionGot = false;
|
||||
Snackbar snackBar = Snackbar.Make(FindViewById<CoordinatorLayout>(Resource.Id.snackBar), "Permission denied, can't complete this action.", Snackbar.LengthLong); snackBar.View.FindViewById<TextView>(Resource.Id.snackbar_text).SetTextColor(Color.White);
|
||||
Snackbar snackBar = Snackbar.Make(FindViewById<CoordinatorLayout>(Resource.Id.snackBar), Resource.String.no_permission, Snackbar.LengthLong);
|
||||
snackBar.View.FindViewById<TextView>(Resource.Id.snackbar_text).SetTextColor(Color.White);
|
||||
snackBar.Show();
|
||||
}
|
||||
}
|
||||
@@ -786,7 +788,7 @@ namespace MusicApp
|
||||
|
||||
if (songs.Count == 0)
|
||||
{
|
||||
Snackbar snackBar = Snackbar.Make(FindViewById<CoordinatorLayout>(Resource.Id.snackBar), "No music file found on this device. Can't create a mix.", Snackbar.LengthLong);
|
||||
Snackbar snackBar = Snackbar.Make(FindViewById<CoordinatorLayout>(Resource.Id.snackBar), Resource.String.no_song_mix, Snackbar.LengthLong);
|
||||
snackBar.View.FindViewById<TextView>(Resource.Id.snackbar_text).SetTextColor(Color.White);
|
||||
snackBar.Show();
|
||||
return;
|
||||
@@ -807,7 +809,7 @@ namespace MusicApp
|
||||
public void YoutubeEndPointChanged()
|
||||
{
|
||||
FindViewById<ProgressBar>(Resource.Id.ytProgress).Visibility = ViewStates.Gone;
|
||||
Snackbar snackBar = Snackbar.Make(FindViewById(Resource.Id.snackBar), "The way youtube play video has changed, the app can't play this video now. Wait for the next update.", Snackbar.LengthLong);
|
||||
Snackbar snackBar = Snackbar.Make(FindViewById(Resource.Id.snackBar), Resource.String.youtube_endpoint, Snackbar.LengthLong);
|
||||
snackBar.View.FindViewById<TextView>(Resource.Id.snackbar_text).SetTextColor(Color.White);
|
||||
snackBar.Show();
|
||||
|
||||
@@ -816,14 +818,14 @@ namespace MusicApp
|
||||
|
||||
public void Timout()
|
||||
{
|
||||
Snackbar snackBar = Snackbar.Make(FindViewById(Resource.Id.snackBar), "Timout exception, check if you're still connected to internet.", Snackbar.LengthLong);
|
||||
Snackbar snackBar = Snackbar.Make(FindViewById(Resource.Id.snackBar), Resource.String.timout, Snackbar.LengthLong);
|
||||
snackBar.View.FindViewById<TextView>(Resource.Id.snackbar_text).SetTextColor(Color.White);
|
||||
snackBar.Show();
|
||||
}
|
||||
|
||||
public void Unknow()
|
||||
{
|
||||
Snackbar snackBar = Snackbar.Make(FindViewById(Resource.Id.snackBar), "An unknown error has occured.", Snackbar.LengthIndefinite);
|
||||
Snackbar snackBar = Snackbar.Make(FindViewById(Resource.Id.snackBar), Resource.String.unknow, Snackbar.LengthIndefinite);
|
||||
snackBar.SetAction("Dismiss", (sender) => { snackBar.Dismiss(); });
|
||||
snackBar.View.FindViewById<TextView>(Resource.Id.snackbar_text).SetTextColor(Color.White);
|
||||
snackBar.Show();
|
||||
@@ -831,7 +833,7 @@ namespace MusicApp
|
||||
|
||||
public void NotStreamable(string title)
|
||||
{
|
||||
Snackbar snackBar = Snackbar.Make(FindViewById(Resource.Id.snackBar), title + " can't be played. No audio streams are availables.", Snackbar.LengthLong);
|
||||
Snackbar snackBar = Snackbar.Make(FindViewById(Resource.Id.snackBar), title + Resource.String.not_streamable, Snackbar.LengthLong);
|
||||
snackBar.View.FindViewById<TextView>(Resource.Id.snackbar_text).SetTextColor(Color.White);
|
||||
snackBar.Show();
|
||||
}
|
||||
@@ -917,18 +919,18 @@ namespace MusicApp
|
||||
{
|
||||
if (instance != null && !instance.Paused)
|
||||
{
|
||||
Snackbar snackBar = Snackbar.Make(instance.FindViewById(Resource.Id.snackBar), "You are not connected to internet, can't check for updates.", Snackbar.LengthLong);
|
||||
Snackbar snackBar = Snackbar.Make(instance.FindViewById(Resource.Id.snackBar), activity.GetString(Resource.String.update_no_internet), Snackbar.LengthLong);
|
||||
snackBar.View.FindViewById<TextView>(Resource.Id.snackbar_text).SetTextColor(Color.White);
|
||||
snackBar.Show();
|
||||
}
|
||||
if(Preferences.instance != null)
|
||||
{
|
||||
Snackbar snackBar = Snackbar.Make(Preferences.instance.FindViewById(Android.Resource.Id.Content), "You are not connected to internet, can't check for updates.", Snackbar.LengthLong);
|
||||
Snackbar snackBar = Snackbar.Make(Preferences.instance.FindViewById(Android.Resource.Id.Content), activity.GetString(Resource.String.update_no_internet), Snackbar.LengthLong);
|
||||
snackBar.View.FindViewById<TextView>(Resource.Id.snackbar_text).SetTextColor(Color.White);
|
||||
snackBar.Show();
|
||||
}
|
||||
else
|
||||
Toast.MakeText(Application.Context, "You are not connected to internet, can't check for updates.", ToastLength.Short).Show();
|
||||
Toast.MakeText(Application.Context, activity.GetString(Resource.String.update_no_internet), ToastLength.Short).Show();
|
||||
}
|
||||
return;
|
||||
}
|
||||
@@ -962,10 +964,10 @@ namespace MusicApp
|
||||
if (gitVersion > version && !beta)
|
||||
{
|
||||
Android.Support.V7.App.AlertDialog.Builder builder = new Android.Support.V7.App.AlertDialog.Builder(activity, dialogTheme);
|
||||
builder.SetTitle(string.Format("The version {0} is available", gitVersionID));
|
||||
builder.SetMessage("An update is available, do you want to download it now ?");
|
||||
builder.SetPositiveButton("Ok", (sender, e) => { InstallUpdate(gitVersionID, false, downloadPath); });
|
||||
builder.SetNegativeButton("Later", (sender, e) => { });
|
||||
builder.SetTitle(string.Format(activity.GetString(Resource.String.update), gitVersionID));
|
||||
builder.SetMessage(activity.GetString(Resource.String.update_message));
|
||||
builder.SetPositiveButton(activity.GetString(Resource.String.ok), (sender, e) => { InstallUpdate(gitVersionID, false, downloadPath); });
|
||||
builder.SetNegativeButton(activity.GetString(Resource.String.later), (sender, e) => { });
|
||||
builder.Show();
|
||||
}
|
||||
else if (displayToast)
|
||||
@@ -976,14 +978,14 @@ namespace MusicApp
|
||||
{
|
||||
Snackbar snackBar;
|
||||
if (Preferences.instance != null)
|
||||
snackBar = Snackbar.Make(Preferences.instance.FindViewById(Android.Resource.Id.Content), "Your app is up to date.", Snackbar.LengthLong);
|
||||
snackBar = Snackbar.Make(Preferences.instance.FindViewById(Android.Resource.Id.Content), activity.GetString(Resource.String.up_to_date), Snackbar.LengthLong);
|
||||
else
|
||||
snackBar = Snackbar.Make(instance.FindViewById(Resource.Id.snackBar), "Your app is up to date.", Snackbar.LengthLong);
|
||||
snackBar = Snackbar.Make(instance.FindViewById(Resource.Id.snackBar), activity.GetString(Resource.String.up_to_date), Snackbar.LengthLong);
|
||||
snackBar.View.FindViewById<TextView>(Resource.Id.snackbar_text).SetTextColor(Color.White);
|
||||
snackBar.Show();
|
||||
}
|
||||
else
|
||||
Toast.MakeText(Application.Context, "Your app is up to date.", ToastLength.Short).Show();
|
||||
Toast.MakeText(Application.Context, activity.GetString(Resource.String.up_to_date), ToastLength.Short).Show();
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -991,10 +993,10 @@ namespace MusicApp
|
||||
{
|
||||
Snackbar snackBar;
|
||||
if (Preferences.instance != null)
|
||||
snackBar = Snackbar.Make(Preferences.instance.FindViewById(Android.Resource.Id.Content), "A beta version is available.", Snackbar.LengthLong);
|
||||
snackBar = Snackbar.Make(Preferences.instance.FindViewById(Android.Resource.Id.Content), activity.GetString(Resource.String.beta_available), Snackbar.LengthLong);
|
||||
else
|
||||
snackBar = Snackbar.Make(instance.FindViewById(Resource.Id.snackBar), "A beta version is available.", Snackbar.LengthLong);
|
||||
snackBar.SetAction("Download", (sender) =>
|
||||
snackBar = Snackbar.Make(instance.FindViewById(Resource.Id.snackBar), activity.GetString(Resource.String.beta_available), Snackbar.LengthLong);
|
||||
snackBar.SetAction(activity.GetString(Resource.String.download), (sender) =>
|
||||
{
|
||||
InstallUpdate(gitVersionID, true, downloadPath);
|
||||
});
|
||||
@@ -1002,19 +1004,19 @@ namespace MusicApp
|
||||
snackBar.Show();
|
||||
}
|
||||
else
|
||||
Toast.MakeText(Application.Context, "A beta version is available.", ToastLength.Short).Show();
|
||||
Toast.MakeText(Application.Context, activity.GetString(Resource.String.beta_available), ToastLength.Short).Show();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public async static void InstallUpdate(string version, bool beta, string downloadPath)
|
||||
{
|
||||
Toast.MakeText(Application.Context, "Downloading update, you will be prompt for the installation soon.", ToastLength.Short).Show();
|
||||
Toast.MakeText(Application.Context, Application.Context.GetString(Resource.String.downloading_update), ToastLength.Short).Show();
|
||||
|
||||
NotificationCompat.Builder notification = new NotificationCompat.Builder(Application.Context, "MusicApp.Channel")
|
||||
.SetVisibility(NotificationCompat.VisibilityPublic)
|
||||
.SetSmallIcon(Resource.Drawable.MusicIcon)
|
||||
.SetContentTitle("Updating app...")
|
||||
.SetContentTitle(Application.Context.GetString(Resource.String.updating))
|
||||
.SetOngoing(true);
|
||||
|
||||
NotificationManager notificationManager = (NotificationManager)Application.Context.GetSystemService(NotificationService);
|
||||
|
||||
@@ -200,7 +200,7 @@ namespace MusicApp.Resources.Portable_Class
|
||||
public override void OnStop()
|
||||
{
|
||||
base.OnStop();
|
||||
Preferences.instance.toolbar.Title = "Settings";
|
||||
Preferences.instance.toolbar.Title = Preferences.instance.GetString(Resource.String.settings);
|
||||
}
|
||||
|
||||
public override void OnViewCreated(View view, Bundle savedInstanceState)
|
||||
|
||||
@@ -35,7 +35,6 @@ namespace MusicApp.Resources.Portable_Class
|
||||
private bool hasPermission = false;
|
||||
private const int RequestCode = 8539;
|
||||
private const int PickerRequestCode = 9852;
|
||||
private readonly string[] actions = new string[] { "Pick an album art from storage", "Download album art on youtube" };
|
||||
|
||||
protected override void OnCreate(Bundle savedInstanceState)
|
||||
{
|
||||
@@ -99,8 +98,8 @@ namespace MusicApp.Resources.Portable_Class
|
||||
private void AlbumArt_Click(object sender, System.EventArgs e)
|
||||
{
|
||||
new Android.Support.V7.App.AlertDialog.Builder(this, MainActivity.dialogTheme)
|
||||
.SetTitle("Change Album Art")
|
||||
.SetItems(actions, (senderAlert, args) =>
|
||||
.SetTitle(Resource.String.change_albumart)
|
||||
.SetItems(new string[] { GetString(Resource.String.pick_album_local), GetString(Resource.String.download_albumart) }, (senderAlert, args) =>
|
||||
{
|
||||
switch(args.Which)
|
||||
{
|
||||
@@ -256,7 +255,7 @@ namespace MusicApp.Resources.Portable_Class
|
||||
if (grantResults[0] == Permission.Granted)
|
||||
hasPermission = true;
|
||||
else
|
||||
Snackbar.Make(FindViewById<View>(Resource.Id.contentView), "Permission denied, can't edit metadata.", Snackbar.LengthShort).Show();
|
||||
Snackbar.Make(FindViewById<View>(Resource.Id.contentView), Resource.String.no_permission, Snackbar.LengthShort).Show();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@ namespace MusicApp.Resources.Portable_Class
|
||||
|
||||
if (MusicPlayer.UseCastPlayer || (MusicPlayer.queue != null && MusicPlayer.queue?.Count > 0))
|
||||
{
|
||||
HomeSection queue = new HomeSection(Resources.GetString(Resource.String.queue), SectionType.SinglePlaylist, MusicPlayer.queue);
|
||||
HomeSection queue = new HomeSection("Queue", SectionType.SinglePlaylist, MusicPlayer.queue);
|
||||
adapterItems.Add(queue);
|
||||
}
|
||||
|
||||
@@ -413,9 +413,9 @@ namespace MusicApp.Resources.Portable_Class
|
||||
|
||||
public void AddQueue()
|
||||
{
|
||||
if (adapterItems[0].SectionTitle != Resources.GetString(Resource.String.queue))
|
||||
if (adapterItems[0].SectionTitle != "Queue")
|
||||
{
|
||||
HomeSection queue = new HomeSection(Resources.GetString(Resource.String.queue), SectionType.SinglePlaylist, MusicPlayer.queue);
|
||||
HomeSection queue = new HomeSection("Queue", SectionType.SinglePlaylist, MusicPlayer.queue);
|
||||
adapterItems.Insert(0, queue);
|
||||
adapter.Insert(0, queue);
|
||||
}
|
||||
|
||||
@@ -80,10 +80,10 @@ namespace MusicApp.Resources.Portable_Class
|
||||
LineSongHolder holder = (LineSongHolder)viewHolder;
|
||||
items[position].recycler = holder.recycler;
|
||||
|
||||
holder.title.Text = items[position].SectionTitle;
|
||||
holder.recycler.SetLayoutManager(new LinearLayoutManager(MainActivity.instance, LinearLayoutManager.Horizontal, false));
|
||||
if (items[position].SectionTitle == "Queue")
|
||||
{
|
||||
holder.title.Text = MainActivity.instance.GetString(Resource.String.queue);
|
||||
LineAdapter adapter = new LineAdapter(holder.recycler);
|
||||
Home.instance.QueueAdapter = adapter;
|
||||
holder.recycler.SetAdapter(adapter);
|
||||
@@ -97,6 +97,7 @@ namespace MusicApp.Resources.Portable_Class
|
||||
}
|
||||
else
|
||||
{
|
||||
holder.title.Text = items[position].SectionTitle;
|
||||
holder.recycler.SetAdapter(new LineAdapter(items[position].contentValue.GetRange(0, items[position].contentValue.Count > 20 ? 20 : items[position].contentValue.Count), holder.recycler));
|
||||
holder.more.Click += (sender, e) =>
|
||||
{
|
||||
|
||||
@@ -417,7 +417,7 @@ namespace MusicApp.Resources.Portable_Class
|
||||
}
|
||||
catch (Google.GoogleApiException)
|
||||
{
|
||||
Snackbar snackBar = Snackbar.Make(MainActivity.instance.FindViewById(Resource.Id.snackBar), "No playlist exist with this id or link.", Snackbar.LengthLong);
|
||||
Snackbar snackBar = Snackbar.Make(MainActivity.instance.FindViewById(Resource.Id.snackBar), Resource.String.playlist_not_found, Snackbar.LengthLong);
|
||||
snackBar.View.FindViewById<TextView>(Resource.Id.snackbar_text).SetTextColor(Color.White);
|
||||
snackBar.Show();
|
||||
}
|
||||
|
||||
@@ -92,7 +92,7 @@ namespace MusicApp.Resources.Portable_Class
|
||||
{
|
||||
TwoLineHolder holder = (TwoLineHolder) viewHolder;
|
||||
holder.Line1.Text = LocalPlaylists[position].Name;
|
||||
holder.Line2.Text = LocalPlaylists[position].Count.ToString() + ((LocalPlaylists[position].Count > 1) ? " elements" : " element");
|
||||
holder.Line2.Text = LocalPlaylists[position].Count.ToString() + " " + (LocalPlaylists[position].Count < 2 ? MainActivity.instance.GetString(Resource.String.element) : MainActivity.instance.GetString(Resource.String.elements));
|
||||
|
||||
if (!holder.more.HasOnClickListeners)
|
||||
{
|
||||
|
||||
@@ -65,10 +65,7 @@ namespace MusicApp.Resources.Portable_Class
|
||||
{
|
||||
if(empty && position + 1 == ItemCount)
|
||||
{
|
||||
if(PlaylistTracks.instance.tracks.Count == 0)
|
||||
((TextView)viewHolder.ItemView).Text = "This playlist is empty.";
|
||||
else
|
||||
((TextView)viewHolder.ItemView).Text = "No track found.";
|
||||
((TextView)viewHolder.ItemView).Text = MainActivity.instance.GetString(Resource.String.playlist_empty);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -78,7 +75,7 @@ namespace MusicApp.Resources.Portable_Class
|
||||
if(position == -1 && !PlaylistTracks.instance.useHeader)
|
||||
{
|
||||
View header = viewHolder.ItemView;
|
||||
header.FindViewById<TextView>(Resource.Id.headerNumber).Text = PlaylistTracks.instance.tracks.Count + " " + MainActivity.instance.GetString(Resource.String.playlists_song_count);
|
||||
header.FindViewById<TextView>(Resource.Id.headerNumber).Text = songList.Count + " " + (songList.Count < 2 ? MainActivity.instance.GetString(Resource.String.element) : MainActivity.instance.GetString(Resource.String.elements));
|
||||
if (!header.FindViewById<ImageButton>(Resource.Id.headerPlay).HasOnClickListeners)
|
||||
{
|
||||
header.FindViewById<ImageButton>(Resource.Id.headerPlay).Click += (sender, e0) => { PlaylistTracks.instance.PlayInOrder(0, false); };
|
||||
|
||||
@@ -865,8 +865,8 @@ namespace MusicApp.Resources.Portable_Class
|
||||
}
|
||||
SnackbarCallback callback = new SnackbarCallback(song, LocalID);
|
||||
|
||||
Snackbar snackBar = Snackbar.Make(MainActivity.instance.FindViewById(Resource.Id.snackBar), (song.Title.Length > 20 ? song.Title.Substring(0, 17) + "..." : song.Title) + " has been removed from the playlist.", Snackbar.LengthLong)
|
||||
.SetAction("Undo", (v) =>
|
||||
Snackbar snackBar = Snackbar.Make(MainActivity.instance.FindViewById(Resource.Id.snackBar), (song.Title.Length > 20 ? song.Title.Substring(0, 17) + "..." : song.Title) + GetString(Resource.String.removed_from_playlist), Snackbar.LengthLong)
|
||||
.SetAction(GetString(Resource.String.undo), (v) =>
|
||||
{
|
||||
callback.canceled = true;
|
||||
if (YoutubeID != null)
|
||||
|
||||
@@ -42,7 +42,6 @@ namespace MusicApp.Resources.Portable_Class
|
||||
|
||||
instance = this;
|
||||
Window.SetStatusBarColor(Android.Graphics.Color.Argb(255, 33, 33, 33));
|
||||
toolbar.Title = Resources.GetString(Resource.String.settings);
|
||||
toolbar.NavigationClick += (sender, e) =>
|
||||
{
|
||||
if (DownloadFragment.instance == null && TopicSelector.instance == null)
|
||||
@@ -132,9 +131,6 @@ namespace MusicApp.Resources.Portable_Class
|
||||
public string path;
|
||||
private View view;
|
||||
|
||||
//Local Shortcut
|
||||
private int LSposition;
|
||||
|
||||
public override void OnCreatePreferences(Bundle savedInstanceState, string rootKey)
|
||||
{
|
||||
instance = this;
|
||||
|
||||
@@ -92,7 +92,7 @@ namespace MusicApp.Resources.Portable_Class
|
||||
RecyclerHolder holder = (RecyclerHolder)ListView.GetChildViewHolder(((LinearLayoutManager)ListView.GetLayoutManager()).FindViewByPosition(i));
|
||||
if (MusicPlayer.queue[MusicPlayer.CurrentID()] == song)
|
||||
{
|
||||
holder.status.Text = MusicPlayer.isRunning ? "Playing" : "Paused";
|
||||
holder.status.Text = MusicPlayer.isRunning ? GetString(Resource.String.playing) : GetString(Resource.String.paused);
|
||||
holder.status.SetTextColor(MusicPlayer.isRunning ? Color.Argb(255, 244, 81, 30) : Color.Argb(255, 66, 165, 245));
|
||||
holder.status.Visibility = ViewStates.Visible;
|
||||
}
|
||||
|
||||
@@ -143,7 +143,7 @@ namespace MusicApp.Resources.Portable_Class
|
||||
if (position == MusicPlayer.CurrentID())
|
||||
{
|
||||
holder.status.Visibility = ViewStates.Visible;
|
||||
holder.status.Text = MusicPlayer.isRunning ? "Playing" : "Paused";
|
||||
holder.status.Text = MusicPlayer.isRunning ? Queue.instance.GetString(Resource.String.playing) : Queue.instance.GetString(Resource.String.paused);
|
||||
holder.status.SetTextColor(MusicPlayer.isRunning ? Color.Argb(255, 244, 81, 30) : Color.Argb(255, 66, 165, 245));
|
||||
}
|
||||
else
|
||||
@@ -415,8 +415,8 @@ namespace MusicApp.Resources.Portable_Class
|
||||
{
|
||||
Song song = songList[position];
|
||||
Queue.RemoveFromQueue(position);
|
||||
Snackbar snackbar = Snackbar.Make(Queue.instance.FindViewById(Resource.Id.recycler), (song.Title.Length > 20 ? song.Title.Substring(0, 17) + "..." : song.Title) + " has been removed from the queue.", Snackbar.LengthShort)
|
||||
.SetAction("Undo", (view) =>
|
||||
Snackbar snackbar = Snackbar.Make(Queue.instance.FindViewById(Resource.Id.recycler), (song.Title.Length > 20 ? song.Title.Substring(0, 17) + "..." : song.Title) + Queue.instance.GetString(Resource.String.removed_from_queue), Snackbar.LengthShort)
|
||||
.SetAction(Queue.instance.GetString(Resource.String.undo), (view) =>
|
||||
{
|
||||
Queue.InsertToQueue(position, song);
|
||||
NotifyItemInserted(position);
|
||||
|
||||
@@ -155,7 +155,7 @@ namespace MusicApp.Resources.Portable_Class
|
||||
rootView.RemoveView(emptyView);
|
||||
}
|
||||
base.OnStop();
|
||||
Preferences.instance.toolbar.Title = "Settings";
|
||||
Preferences.instance.toolbar.Title = Preferences.instance.GetString(Resource.String.settings);
|
||||
}
|
||||
|
||||
public override void OnViewCreated(View view, Bundle savedInstanceState)
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace MusicApp.Resources.Portable_Class
|
||||
{
|
||||
TwoLineHolder holder = (TwoLineHolder)viewHolder;
|
||||
holder.Line1.Text = Title[position];
|
||||
holder.Line2.Text = Count[position].ToString() + ((Count[position] > 1) ? " elements" : " element");
|
||||
holder.Line2.Text = Count[position].ToString() + " " + (Title.Count < 2 ? MainActivity.instance.GetString(Resource.String.element) : MainActivity.instance.GetString(Resource.String.elements));
|
||||
|
||||
if (!holder.more.HasOnClickListeners)
|
||||
{
|
||||
|
||||
@@ -634,8 +634,8 @@ namespace MusicApp.Resources.Portable_Class
|
||||
ISharedPreferences prefManager = PreferenceManager.GetDefaultSharedPreferences(Android.App.Application.Context);
|
||||
if (prefManager.GetString("downloadPath", null) == null)
|
||||
{
|
||||
Snackbar snackBar = Snackbar.Make(MainActivity.instance.FindViewById(Resource.Id.snackBar), "Download Path Not Set, using default one.", Snackbar.LengthIndefinite);
|
||||
snackBar.SetAction("Set Path", (v) =>
|
||||
Snackbar snackBar = Snackbar.Make(MainActivity.instance.FindViewById(Resource.Id.snackBar), Resource.String.download_path_not_set, Snackbar.LengthIndefinite);
|
||||
snackBar.SetAction(Resource.String.set_path, (v) =>
|
||||
{
|
||||
snackBar.Dismiss();
|
||||
Intent prefIntent = new Intent(Android.App.Application.Context, typeof(Preferences));
|
||||
@@ -664,7 +664,7 @@ namespace MusicApp.Resources.Portable_Class
|
||||
ISharedPreferences prefManager = PreferenceManager.GetDefaultSharedPreferences(Android.App.Application.Context);
|
||||
if (prefManager.GetString("downloadPath", null) == null)
|
||||
{
|
||||
Snackbar snackBar = Snackbar.Make(MainActivity.instance.FindViewById(Resource.Id.snackBar), "Download Path Not Set, using default one.", Snackbar.LengthLong).SetAction("Set Path", (v) =>
|
||||
Snackbar snackBar = Snackbar.Make(MainActivity.instance.FindViewById(Resource.Id.snackBar), Resource.String.download_path_not_set, Snackbar.LengthLong).SetAction(Resource.String.set_path, (v) =>
|
||||
{
|
||||
Intent pref = new Intent(Android.App.Application.Context, typeof(Preferences));
|
||||
MainActivity.instance.StartActivity(pref);
|
||||
@@ -864,8 +864,8 @@ namespace MusicApp.Resources.Portable_Class
|
||||
//AddToSection
|
||||
if (section.ContentDetails.Playlists.Contains(playlistID))
|
||||
{
|
||||
Snackbar snackBar = Snackbar.Make(MainActivity.instance.FindViewById<CoordinatorLayout>(Resource.Id.snackBar), "You've already added this playlist.", Snackbar.LengthLong);
|
||||
snackBar.View.FindViewById<TextView>(Resource.Id.snackbar_text).SetTextColor(Android.Graphics.Color.White);
|
||||
Snackbar snackBar = Snackbar.Make(MainActivity.instance.FindViewById<CoordinatorLayout>(Resource.Id.snackBar), Resource.String.playlist_already_saved, Snackbar.LengthLong);
|
||||
snackBar.View.FindViewById<TextView>(Resource.Id.snackbar_text).SetTextColor(Color.White);
|
||||
snackBar.Show();
|
||||
return;
|
||||
}
|
||||
@@ -989,7 +989,7 @@ namespace MusicApp.Resources.Portable_Class
|
||||
|
||||
if (!await MainActivity.instance.WaitForYoutube())
|
||||
{
|
||||
Snackbar snackBar = Snackbar.Make(MainActivity.instance.FindViewById(Resource.Id.snackBar), "Error while loading. Check your internet connection and check if your logged in.", Snackbar.LengthLong);
|
||||
Snackbar snackBar = Snackbar.Make(MainActivity.instance.FindViewById(Resource.Id.snackBar), Resource.String.youtube_loading_error, Snackbar.LengthLong);
|
||||
snackBar.View.FindViewById<TextView>(Resource.Id.snackbar_text).SetTextColor(Color.White);
|
||||
snackBar.Show();
|
||||
return;
|
||||
|
||||
385
MusicApp/Resources/Resource.Designer.cs
generated
385
MusicApp/Resources/Resource.Designer.cs
generated
@@ -7174,44 +7174,53 @@ namespace MusicApp
|
||||
// aapt resource value: 0x7f0c0072
|
||||
public const int abc_toolbar_collapse_description = 2131492978;
|
||||
|
||||
// aapt resource value: 0x7f0c00e5
|
||||
public const int add_playlist = 2131493093;
|
||||
// aapt resource value: 0x7f0c00ea
|
||||
public const int add_playlist = 2131493098;
|
||||
|
||||
// aapt resource value: 0x7f0c00d3
|
||||
public const int add_to_library = 2131493075;
|
||||
// aapt resource value: 0x7f0c00d6
|
||||
public const int add_to_library = 2131493078;
|
||||
|
||||
// aapt resource value: 0x7f0c00c5
|
||||
public const int add_to_playlist = 2131493061;
|
||||
// aapt resource value: 0x7f0c00c8
|
||||
public const int add_to_playlist = 2131493064;
|
||||
|
||||
// aapt resource value: 0x7f0c00cd
|
||||
public const int add_to_queue = 2131493069;
|
||||
// aapt resource value: 0x7f0c00d0
|
||||
public const int add_to_queue = 2131493072;
|
||||
|
||||
// aapt resource value: 0x7f0c00df
|
||||
public const int all = 2131493087;
|
||||
// aapt resource value: 0x7f0c011e
|
||||
public const int album = 2131493150;
|
||||
|
||||
// aapt resource value: 0x7f0c00ef
|
||||
public const int and = 2131493103;
|
||||
// aapt resource value: 0x7f0c00e2
|
||||
public const int all = 2131493090;
|
||||
|
||||
// aapt resource value: 0x7f0c00f0
|
||||
public const int and_more = 2131493104;
|
||||
// aapt resource value: 0x7f0c00fb
|
||||
public const int and = 2131493115;
|
||||
|
||||
// aapt resource value: 0x7f0c00fc
|
||||
public const int and_more = 2131493116;
|
||||
|
||||
// aapt resource value: 0x7f0c0080
|
||||
public const int appbar_scrolling_view_behavior = 2131492992;
|
||||
|
||||
// aapt resource value: 0x7f0c00f6
|
||||
public const int appearances = 2131493110;
|
||||
// aapt resource value: 0x7f0c0102
|
||||
public const int appearances = 2131493122;
|
||||
|
||||
// aapt resource value: 0x7f0c00ea
|
||||
public const int apply = 2131493098;
|
||||
// aapt resource value: 0x7f0c00f4
|
||||
public const int apply = 2131493108;
|
||||
|
||||
// aapt resource value: 0x7f0c00be
|
||||
public const int autoplay = 2131493054;
|
||||
// aapt resource value: 0x7f0c011d
|
||||
public const int artist = 2131493149;
|
||||
|
||||
// aapt resource value: 0x7f0c00bf
|
||||
public const int autoplay_desc = 2131493055;
|
||||
// aapt resource value: 0x7f0c00c1
|
||||
public const int autoplay = 2131493057;
|
||||
|
||||
// aapt resource value: 0x7f0c00ec
|
||||
public const int behavior = 2131493100;
|
||||
// aapt resource value: 0x7f0c00c2
|
||||
public const int autoplay_desc = 2131493058;
|
||||
|
||||
// aapt resource value: 0x7f0c00f8
|
||||
public const int behavior = 2131493112;
|
||||
|
||||
// aapt resource value: 0x7f0c0119
|
||||
public const int beta_available = 2131493145;
|
||||
|
||||
// aapt resource value: 0x7f0c0081
|
||||
public const int bottom_sheet_behavior = 2131492993;
|
||||
@@ -7219,8 +7228,8 @@ namespace MusicApp
|
||||
// aapt resource value: 0x7f0c00b3
|
||||
public const int browse = 2131493043;
|
||||
|
||||
// aapt resource value: 0x7f0c00eb
|
||||
public const int cancel = 2131493099;
|
||||
// aapt resource value: 0x7f0c00f5
|
||||
public const int cancel = 2131493109;
|
||||
|
||||
// aapt resource value: 0x7f0c00b8
|
||||
public const int cast = 2131493048;
|
||||
@@ -7351,8 +7360,11 @@ namespace MusicApp
|
||||
// aapt resource value: 0x7f0c0025
|
||||
public const int cast_unmute = 2131492901;
|
||||
|
||||
// aapt resource value: 0x7f0c00e2
|
||||
public const int channels = 2131493090;
|
||||
// aapt resource value: 0x7f0c0120
|
||||
public const int change_albumart = 2131493152;
|
||||
|
||||
// aapt resource value: 0x7f0c00e5
|
||||
public const int channels = 2131493093;
|
||||
|
||||
// aapt resource value: 0x7f0c0082
|
||||
public const int character_counter_content_description = 2131492994;
|
||||
@@ -7360,8 +7372,8 @@ namespace MusicApp
|
||||
// aapt resource value: 0x7f0c0083
|
||||
public const int character_counter_pattern = 2131492995;
|
||||
|
||||
// aapt resource value: 0x7f0c00fc
|
||||
public const int check_updates = 2131493116;
|
||||
// aapt resource value: 0x7f0c0108
|
||||
public const int check_updates = 2131493128;
|
||||
|
||||
// aapt resource value: 0x7f0c00b0
|
||||
public const int clientID = 2131493040;
|
||||
@@ -7423,26 +7435,44 @@ namespace MusicApp
|
||||
// aapt resource value: 0x7f0c003b
|
||||
public const int common_signin_button_text_long = 2131492923;
|
||||
|
||||
// aapt resource value: 0x7f0c00c0
|
||||
public const int create_mix = 2131493056;
|
||||
|
||||
// aapt resource value: 0x7f0c00c4
|
||||
public const int create_mix_from_song = 2131493060;
|
||||
|
||||
// aapt resource value: 0x7f0c00fa
|
||||
public const int dark_theme = 2131493114;
|
||||
|
||||
// aapt resource value: 0x7f0c00cf
|
||||
public const int delete = 2131493071;
|
||||
// aapt resource value: 0x7f0c00c3
|
||||
public const int create_mix = 2131493059;
|
||||
|
||||
// aapt resource value: 0x7f0c00c7
|
||||
public const int download = 2131493063;
|
||||
public const int create_mix_from_song = 2131493063;
|
||||
|
||||
// aapt resource value: 0x7f0c00f2
|
||||
public const int download_directory = 2131493106;
|
||||
// aapt resource value: 0x7f0c0106
|
||||
public const int dark_theme = 2131493126;
|
||||
|
||||
// aapt resource value: 0x7f0c00c6
|
||||
public const int edit_metadata = 2131493062;
|
||||
// aapt resource value: 0x7f0c00d2
|
||||
public const int delete = 2131493074;
|
||||
|
||||
// aapt resource value: 0x7f0c00ca
|
||||
public const int download = 2131493066;
|
||||
|
||||
// aapt resource value: 0x7f0c0122
|
||||
public const int download_albumart = 2131493154;
|
||||
|
||||
// aapt resource value: 0x7f0c00fe
|
||||
public const int download_directory = 2131493118;
|
||||
|
||||
// aapt resource value: 0x7f0c0123
|
||||
public const int download_meta = 2131493155;
|
||||
|
||||
// aapt resource value: 0x7f0c00e6
|
||||
public const int download_path_not_set = 2131493094;
|
||||
|
||||
// aapt resource value: 0x7f0c011a
|
||||
public const int downloading_update = 2131493146;
|
||||
|
||||
// aapt resource value: 0x7f0c00c9
|
||||
public const int edit_metadata = 2131493065;
|
||||
|
||||
// aapt resource value: 0x7f0c00ee
|
||||
public const int element = 2131493102;
|
||||
|
||||
// aapt resource value: 0x7f0c00ef
|
||||
public const int elements = 2131493103;
|
||||
|
||||
// aapt resource value: 0x7f0c0090
|
||||
public const int exo_controls_fastforward_description = 2131493008;
|
||||
@@ -7549,17 +7579,17 @@ namespace MusicApp
|
||||
// aapt resource value: 0x7f0c0085
|
||||
public const int fab_transformation_sheet_behavior = 2131492997;
|
||||
|
||||
// aapt resource value: 0x7f0c00d9
|
||||
public const int featured = 2131493081;
|
||||
// aapt resource value: 0x7f0c00dc
|
||||
public const int featured = 2131493084;
|
||||
|
||||
// aapt resource value: 0x7f0c00b7
|
||||
public const int filter = 2131493047;
|
||||
|
||||
// aapt resource value: 0x7f0c00dd
|
||||
public const int folders = 2131493085;
|
||||
// aapt resource value: 0x7f0c00e0
|
||||
public const int folders = 2131493088;
|
||||
|
||||
// aapt resource value: 0x7f0c00ee
|
||||
public const int genre_nothing = 2131493102;
|
||||
// aapt resource value: 0x7f0c00fa
|
||||
public const int genre_nothing = 2131493114;
|
||||
|
||||
// aapt resource value: 0x7f0c0086
|
||||
public const int hide_bottom_view_on_scroll_behavior = 2131492998;
|
||||
@@ -7567,35 +7597,38 @@ namespace MusicApp
|
||||
// aapt resource value: 0x7f0c00b2
|
||||
public const int home = 2131493042;
|
||||
|
||||
// aapt resource value: 0x7f0c00ca
|
||||
public const int list_songs = 2131493066;
|
||||
// aapt resource value: 0x7f0c00f7
|
||||
public const int later = 2131493111;
|
||||
|
||||
// aapt resource value: 0x7f0c00e1
|
||||
public const int lives = 2131493089;
|
||||
// aapt resource value: 0x7f0c00cd
|
||||
public const int list_songs = 2131493069;
|
||||
|
||||
// aapt resource value: 0x7f0c00e7
|
||||
public const int local_playlist_empty = 2131493095;
|
||||
// aapt resource value: 0x7f0c00e4
|
||||
public const int lives = 2131493092;
|
||||
|
||||
// aapt resource value: 0x7f0c00e3
|
||||
public const int local_playlists = 2131493091;
|
||||
// aapt resource value: 0x7f0c00ec
|
||||
public const int local_playlist_empty = 2131493100;
|
||||
|
||||
// aapt resource value: 0x7f0c0100
|
||||
public const int log_in = 2131493120;
|
||||
// aapt resource value: 0x7f0c00e8
|
||||
public const int local_playlists = 2131493096;
|
||||
|
||||
// aapt resource value: 0x7f0c0101
|
||||
public const int log_out = 2131493121;
|
||||
// aapt resource value: 0x7f0c010c
|
||||
public const int log_in = 2131493132;
|
||||
|
||||
// aapt resource value: 0x7f0c010d
|
||||
public const int log_out = 2131493133;
|
||||
|
||||
// aapt resource value: 0x7f0c010b
|
||||
public const int logged_in = 2131493131;
|
||||
|
||||
// aapt resource value: 0x7f0c00ff
|
||||
public const int logged_in = 2131493119;
|
||||
public const int max_download = 2131493119;
|
||||
|
||||
// aapt resource value: 0x7f0c00f3
|
||||
public const int max_download = 2131493107;
|
||||
// aapt resource value: 0x7f0c0100
|
||||
public const int max_download_dialog = 2131493120;
|
||||
|
||||
// aapt resource value: 0x7f0c00f4
|
||||
public const int max_download_dialog = 2131493108;
|
||||
|
||||
// aapt resource value: 0x7f0c00d7
|
||||
public const int more = 2131493079;
|
||||
// aapt resource value: 0x7f0c00da
|
||||
public const int more = 2131493082;
|
||||
|
||||
// aapt resource value: 0x7f0c0040
|
||||
public const int mr_button_content_description = 2131492928;
|
||||
@@ -7672,26 +7705,38 @@ namespace MusicApp
|
||||
// aapt resource value: 0x7f0c0087
|
||||
public const int mtrl_chip_close_icon_content_description = 2131492999;
|
||||
|
||||
// aapt resource value: 0x7f0c00ed
|
||||
public const int music_genre = 2131493101;
|
||||
// aapt resource value: 0x7f0c00f9
|
||||
public const int music_genre = 2131493113;
|
||||
|
||||
// aapt resource value: 0x7f0c00da
|
||||
public const int music_genres = 2131493082;
|
||||
// aapt resource value: 0x7f0c00dd
|
||||
public const int music_genres = 2131493085;
|
||||
|
||||
// aapt resource value: 0x7f0c00bd
|
||||
public const int next_loading = 2131493053;
|
||||
|
||||
// aapt resource value: 0x7f0c00de
|
||||
public const int no_song = 2131493086;
|
||||
// aapt resource value: 0x7f0c010f
|
||||
public const int no_permission = 2131493135;
|
||||
|
||||
// aapt resource value: 0x7f0c00fe
|
||||
public const int not_log = 2131493118;
|
||||
// aapt resource value: 0x7f0c00e1
|
||||
public const int no_song = 2131493089;
|
||||
|
||||
// aapt resource value: 0x7f0c0110
|
||||
public const int no_song_mix = 2131493136;
|
||||
|
||||
// aapt resource value: 0x7f0c010a
|
||||
public const int not_log = 2131493130;
|
||||
|
||||
// aapt resource value: 0x7f0c0114
|
||||
public const int not_streamable = 2131493140;
|
||||
|
||||
// aapt resource value: 0x7f0c00bc
|
||||
public const int nothing = 2131493052;
|
||||
|
||||
// aapt resource value: 0x7f0c00fb
|
||||
public const int others = 2131493115;
|
||||
// aapt resource value: 0x7f0c00f6
|
||||
public const int ok = 2131493110;
|
||||
|
||||
// aapt resource value: 0x7f0c0107
|
||||
public const int others = 2131493127;
|
||||
|
||||
// aapt resource value: 0x7f0c0088
|
||||
public const int password_toggle_content_description = 2131493000;
|
||||
@@ -7708,41 +7753,62 @@ namespace MusicApp
|
||||
// aapt resource value: 0x7f0c008c
|
||||
public const int path_password_strike_through = 2131493004;
|
||||
|
||||
// aapt resource value: 0x7f0c00c1
|
||||
public const int play = 2131493057;
|
||||
// aapt resource value: 0x7f0c00bf
|
||||
public const int paused = 2131493055;
|
||||
|
||||
// aapt resource value: 0x7f0c00cb
|
||||
public const int play_in_order = 2131493067;
|
||||
// aapt resource value: 0x7f0c0121
|
||||
public const int pick_album_local = 2131493153;
|
||||
|
||||
// aapt resource value: 0x7f0c00c3
|
||||
public const int play_last = 2131493059;
|
||||
// aapt resource value: 0x7f0c00c4
|
||||
public const int play = 2131493060;
|
||||
|
||||
// aapt resource value: 0x7f0c00c2
|
||||
public const int play_next = 2131493058;
|
||||
// aapt resource value: 0x7f0c00ce
|
||||
public const int play_in_order = 2131493070;
|
||||
|
||||
// aapt resource value: 0x7f0c00c6
|
||||
public const int play_last = 2131493062;
|
||||
|
||||
// aapt resource value: 0x7f0c00c5
|
||||
public const int play_next = 2131493061;
|
||||
|
||||
// aapt resource value: 0x7f0c00be
|
||||
public const int playing = 2131493054;
|
||||
|
||||
// aapt resource value: 0x7f0c00f2
|
||||
public const int playlist_already_saved = 2131493106;
|
||||
|
||||
// aapt resource value: 0x7f0c00f0
|
||||
public const int playlist_empty = 2131493104;
|
||||
|
||||
// aapt resource value: 0x7f0c00f3
|
||||
public const int playlist_not_found = 2131493107;
|
||||
|
||||
// aapt resource value: 0x7f0c00b4
|
||||
public const int playlists = 2131493044;
|
||||
|
||||
// aapt resource value: 0x7f0c00e9
|
||||
public const int playlists_song_count = 2131493097;
|
||||
// aapt resource value: 0x7f0c00db
|
||||
public const int queue = 2131493083;
|
||||
|
||||
// aapt resource value: 0x7f0c00d8
|
||||
public const int queue = 2131493080;
|
||||
// aapt resource value: 0x7f0c00cf
|
||||
public const int random_play = 2131493071;
|
||||
|
||||
// aapt resource value: 0x7f0c00de
|
||||
public const int recommendation_explanation = 2131493086;
|
||||
|
||||
// aapt resource value: 0x7f0c00cc
|
||||
public const int random_play = 2131493068;
|
||||
public const int remove_from_playlist = 2131493068;
|
||||
|
||||
// aapt resource value: 0x7f0c00db
|
||||
public const int recommendation_explanation = 2131493083;
|
||||
// aapt resource value: 0x7f0c00cb
|
||||
public const int remove_from_queue = 2131493067;
|
||||
|
||||
// aapt resource value: 0x7f0c00c9
|
||||
public const int remove_from_playlist = 2131493065;
|
||||
// aapt resource value: 0x7f0c00f1
|
||||
public const int removed_from_playlist = 2131493105;
|
||||
|
||||
// aapt resource value: 0x7f0c00c8
|
||||
public const int remove_from_queue = 2131493064;
|
||||
// aapt resource value: 0x7f0c00c0
|
||||
public const int removed_from_queue = 2131493056;
|
||||
|
||||
// aapt resource value: 0x7f0c00ce
|
||||
public const int rename = 2131493070;
|
||||
// aapt resource value: 0x7f0c00d1
|
||||
public const int rename = 2131493073;
|
||||
|
||||
// aapt resource value: 0x7f0c00b5
|
||||
public const int repeat = 2131493045;
|
||||
@@ -7750,81 +7816,120 @@ namespace MusicApp
|
||||
// aapt resource value: 0x7f0c0073
|
||||
public const int search_menu_title = 2131492979;
|
||||
|
||||
// aapt resource value: 0x7f0c00e7
|
||||
public const int set_path = 2131493095;
|
||||
|
||||
// aapt resource value: 0x7f0c00b9
|
||||
public const int settings = 2131493049;
|
||||
|
||||
// aapt resource value: 0x7f0c00ba
|
||||
public const int show_queue = 2131493050;
|
||||
|
||||
// aapt resource value: 0x7f0c00d6
|
||||
public const int shuffle = 2131493078;
|
||||
// aapt resource value: 0x7f0c00d9
|
||||
public const int shuffle = 2131493081;
|
||||
|
||||
// aapt resource value: 0x7f0c00d5
|
||||
public const int shuffle_all = 2131493077;
|
||||
// aapt resource value: 0x7f0c00d8
|
||||
public const int shuffle_all = 2131493080;
|
||||
|
||||
// aapt resource value: 0x7f0c00dc
|
||||
public const int songs = 2131493084;
|
||||
// aapt resource value: 0x7f0c00df
|
||||
public const int songs = 2131493087;
|
||||
|
||||
// aapt resource value: 0x7f0c008d
|
||||
public const int status_bar_notification_info_overflow = 2131493005;
|
||||
|
||||
// aapt resource value: 0x7f0c00d2
|
||||
public const int stop_sync = 2131493074;
|
||||
// aapt resource value: 0x7f0c00d5
|
||||
public const int stop_sync = 2131493077;
|
||||
|
||||
// aapt resource value: 0x7f0c003d
|
||||
public const int summary_collapsed_preference_list = 2131492925;
|
||||
|
||||
// aapt resource value: 0x7f0c00d0
|
||||
public const int sync = 2131493072;
|
||||
|
||||
// aapt resource value: 0x7f0c00d1
|
||||
public const int sync_now = 2131493073;
|
||||
|
||||
// aapt resource value: 0x7f0c00f5
|
||||
public const int sync_remove = 2131493109;
|
||||
|
||||
// aapt resource value: 0x7f0c00f7
|
||||
public const int theme = 2131493111;
|
||||
|
||||
// aapt resource value: 0x7f0c00f8
|
||||
public const int theme_dialog = 2131493112;
|
||||
|
||||
// aapt resource value: 0x7f0c00e0
|
||||
public const int tracks = 2131493088;
|
||||
// aapt resource value: 0x7f0c00d3
|
||||
public const int sync = 2131493075;
|
||||
|
||||
// aapt resource value: 0x7f0c00d4
|
||||
public const int unfork = 2131493076;
|
||||
public const int sync_now = 2131493076;
|
||||
|
||||
// aapt resource value: 0x7f0c0101
|
||||
public const int sync_remove = 2131493121;
|
||||
|
||||
// aapt resource value: 0x7f0c0103
|
||||
public const int theme = 2131493123;
|
||||
|
||||
// aapt resource value: 0x7f0c0104
|
||||
public const int theme_dialog = 2131493124;
|
||||
|
||||
// aapt resource value: 0x7f0c0112
|
||||
public const int timout = 2131493138;
|
||||
|
||||
// aapt resource value: 0x7f0c011c
|
||||
public const int title = 2131493148;
|
||||
|
||||
// aapt resource value: 0x7f0c00e3
|
||||
public const int tracks = 2131493091;
|
||||
|
||||
// aapt resource value: 0x7f0c010e
|
||||
public const int undo = 2131493134;
|
||||
|
||||
// aapt resource value: 0x7f0c0124
|
||||
public const int undo_change = 2131493156;
|
||||
|
||||
// aapt resource value: 0x7f0c00d7
|
||||
public const int unfork = 2131493079;
|
||||
|
||||
// aapt resource value: 0x7f0c0113
|
||||
public const int unknow = 2131493139;
|
||||
|
||||
// aapt resource value: 0x7f0c00bb
|
||||
public const int up_next = 2131493051;
|
||||
|
||||
// aapt resource value: 0x7f0c0118
|
||||
public const int up_to_date = 2131493144;
|
||||
|
||||
// aapt resource value: 0x7f0c0116
|
||||
public const int update = 2131493142;
|
||||
|
||||
// aapt resource value: 0x7f0c0117
|
||||
public const int update_message = 2131493143;
|
||||
|
||||
// aapt resource value: 0x7f0c0115
|
||||
public const int update_no_internet = 2131493141;
|
||||
|
||||
// aapt resource value: 0x7f0c011b
|
||||
public const int updating = 2131493147;
|
||||
|
||||
// aapt resource value: 0x7f0c003e
|
||||
public const int v7_preference_off = 2131492926;
|
||||
|
||||
// aapt resource value: 0x7f0c003f
|
||||
public const int v7_preference_on = 2131492927;
|
||||
|
||||
// aapt resource value: 0x7f0c0109
|
||||
public const int version = 2131493129;
|
||||
|
||||
// aapt resource value: 0x7f0c00fd
|
||||
public const int version = 2131493117;
|
||||
public const int volume = 2131493117;
|
||||
|
||||
// aapt resource value: 0x7f0c00f1
|
||||
public const int volume = 2131493105;
|
||||
// aapt resource value: 0x7f0c0105
|
||||
public const int white_theme = 2131493125;
|
||||
|
||||
// aapt resource value: 0x7f0c00f9
|
||||
public const int white_theme = 2131493113;
|
||||
// aapt resource value: 0x7f0c0111
|
||||
public const int youtube_endpoint = 2131493137;
|
||||
|
||||
// aapt resource value: 0x7f0c00e6
|
||||
public const int youtube_loading_error = 2131493094;
|
||||
// aapt resource value: 0x7f0c00eb
|
||||
public const int youtube_loading_error = 2131493099;
|
||||
|
||||
// aapt resource value: 0x7f0c00e8
|
||||
public const int youtube_playlist_empty = 2131493096;
|
||||
// aapt resource value: 0x7f0c00ed
|
||||
public const int youtube_playlist_empty = 2131493101;
|
||||
|
||||
// aapt resource value: 0x7f0c00e4
|
||||
public const int youtube_playlists = 2131493092;
|
||||
// aapt resource value: 0x7f0c00e9
|
||||
public const int youtube_playlists = 2131493097;
|
||||
|
||||
// aapt resource value: 0x7f0c00b6
|
||||
public const int youtube_search = 2131493046;
|
||||
|
||||
// aapt resource value: 0x7f0c011f
|
||||
public const int youtubeid = 2131493151;
|
||||
|
||||
static String()
|
||||
{
|
||||
global::Android.Runtime.ResourceIdManager.UpdateIdValues();
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:inputType="text"
|
||||
android:hint="Title"
|
||||
android:hint="@string/title"
|
||||
android:id="@+id/metadataTitle" />
|
||||
</android.support.design.widget.TextInputLayout>
|
||||
<android.support.design.widget.TextInputLayout
|
||||
@@ -66,7 +66,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:inputType="text"
|
||||
android:hint="Artist"
|
||||
android:hint="@string/album"
|
||||
android:id="@+id/metadataArtist" />
|
||||
</android.support.design.widget.TextInputLayout>
|
||||
<android.support.design.widget.TextInputLayout
|
||||
@@ -77,7 +77,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:inputType="text"
|
||||
android:hint="Album"
|
||||
android:hint="@string/album"
|
||||
android:id="@+id/metadataAlbum" />
|
||||
</android.support.design.widget.TextInputLayout>
|
||||
<android.support.design.widget.TextInputLayout
|
||||
@@ -88,7 +88,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:inputType="text"
|
||||
android:hint="Youtube ID"
|
||||
android:hint="@string/youtubeid"
|
||||
android:id="@+id/metadataYID" />
|
||||
</android.support.design.widget.TextInputLayout>
|
||||
</LinearLayout>
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?attr/actionBarSize"
|
||||
android:elevation="8dp"
|
||||
app:title="@string/settings"
|
||||
android:background="?attr/colorPrimary"
|
||||
app:navigationIcon="?attr/homeAsUpIndicator"
|
||||
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
xmlns:app="http://schemas.android.com/apk-res/auto">
|
||||
<item
|
||||
android:id="@+id/downloadMDfromYT"
|
||||
android:title="Download MetaData from Youtube"
|
||||
android:title="@string/download_meta"
|
||||
app:showAsAction="never"/>
|
||||
<item
|
||||
android:id="@+id/undoChange"
|
||||
android:title="Undo change"
|
||||
android:title="@string/undo_change"
|
||||
app:showAsAction="never"/>
|
||||
</menu>
|
||||
@@ -16,8 +16,13 @@
|
||||
<string name="show_queue">AFFICHER LA LISTE DE LECTURE</string>
|
||||
<string name="up_next">À suivre:</string>
|
||||
<string name="nothing">Rien.</string>
|
||||
<string name="next_loading">Chargement en cour, veuillez patienter.</string>
|
||||
|
||||
<string name="next_loading">Chargement en cours, veuillez patienter.</string>
|
||||
|
||||
<!--Queue-->
|
||||
<string name="playing">Lecture en cours</string>
|
||||
<string name="paused">En pause</string>
|
||||
<string name="removed_from_queue"> a été enlevé de la liste de lecture.</string>
|
||||
|
||||
<!--Autoplay-->
|
||||
<string name="autoplay">Lecture automatique</string>
|
||||
<string name="autoplay_desc">Ajoute automatiquement des musiques similaire depuis youtube.</string>
|
||||
@@ -60,13 +65,14 @@
|
||||
<string name="folders">Dossiers</string>
|
||||
<string name="no_song">Vous n\'avez aucune musique sur cet appareil.</string>
|
||||
|
||||
|
||||
<!--Youtube Search-->
|
||||
<string name="all">Tous</string>
|
||||
<string name="tracks">Titre</string>
|
||||
<string name="playlists">Playlists</string>
|
||||
<string name="lives">Lives</string>
|
||||
<string name="channels">Chaines</string>
|
||||
<string name="download_path_not_set">Le dossier de téléchargement n\'a pas été définie, celui par défault va être utilisé.</string>
|
||||
<string name="set_path">Definir le dossier</string>
|
||||
|
||||
<!--Playlists Screen-->
|
||||
<string name="local_playlists">Playlists locales</string>
|
||||
@@ -75,18 +81,25 @@
|
||||
<string name="youtube_loading_error">Erreur de chargement. \nVerifiez avoir séléction un compte et votre connection internet.</string>
|
||||
<string name="local_playlist_empty">Vous n\'avez aucune playlist sur cet appareil.</string>
|
||||
<string name="youtube_playlist_empty">Vous n\'avez aucune playlist sur ce compte youtube \nAttention : Seulement les playlists présentes sur votre compte google sont affichées.</string>
|
||||
<string name="playlists_song_count">titres</string>
|
||||
<string name="element">titre</string>
|
||||
<string name="elements">titres</string>
|
||||
<string name="playlist_empty">Cette playlist est vide.</string>
|
||||
<string name="removed_from_playlist"> a été enlevé de la playlist.</string>
|
||||
<string name="playlist_already_saved">Cette playlist a déja été ajouté a votre bibliothèque.</string>
|
||||
<string name="playlist_not_found">Aucune playlist n\'existe avec cet id ou cet url.</string>
|
||||
|
||||
<!--Settings-->
|
||||
<string name="apply">Appliquer</string>
|
||||
<string name="cancel">Annuler</string>
|
||||
<string name="ok">Ok</string>
|
||||
<string name="later">Plus tard</string>
|
||||
|
||||
<string name="behavior">Fonctionnement</string>
|
||||
<string name="volume">Volume</string>
|
||||
<string name="download">Téléchargement</string>
|
||||
<string name="download_directory">Dossier de téléchargement</string>
|
||||
<string name="max_download">Nomnbre maximum de téléchargement simultané</string>
|
||||
<string name="max_download_dialog">Choissisez combient de musiques peuvent être téléchargées en même temps</string>
|
||||
<string name="max_download">Nombre maximum de téléchargement simultané</string>
|
||||
<string name="max_download_dialog">Combient de musiques peuvent-elle être téléchargées en même temps ?</string>
|
||||
<string name="sync_remove">Supprimer les musiques enlevée d\'une playlist synchronisée.</string>
|
||||
<string name="appearances">Apparence</string>
|
||||
<string name="theme">Thème</string>
|
||||
@@ -100,4 +113,32 @@
|
||||
<string name="logged_in">Connecté en temps que</string>
|
||||
<string name="log_in">CONNECTION</string>
|
||||
<string name="log_out">DECONNECTION</string>
|
||||
|
||||
<!--Snackbars-->
|
||||
<string name="undo">Annuler</string>
|
||||
|
||||
<string name="no_permission">Permission refusée, impossible de completer cette action.</string>
|
||||
<string name="no_song_mix">Aucune musique trouvée, impossible de créer un mix.</string>
|
||||
<string name="youtube_endpoint">L\'algorithme youtube a changé, l\'application ne peut plus lire cette vidéo. Attendez la prochaine mise a jour.</string>
|
||||
<string name="timout">Timout, vérifier votre connection internet.</string>
|
||||
<string name="unknow">Une erreur inconue est survenue.</string>
|
||||
<string name="not_streamable"> ne peut pas être lu, L\'audio n\'est pas disponible.</string> <!--//A song title will be placed before this sentence-->
|
||||
<string name="update_no_internet">Vous n\'êtes pas connecté a internet, impossible de verifier si des mises a jours existent.</string>
|
||||
<string name="update">La version %1$s est disponible</string> <!--//%1$s will be replaced with the version number-->
|
||||
<string name="update_message">Une mise a jour est disponible, voulez vous l\'installer maintenant ?</string>
|
||||
<string name="up_to_date">Aucune mise a jour disponible.</string>
|
||||
<string name="beta_available">Une version beta est disponible.</string>
|
||||
<string name="downloading_update">Téléchargement en cours, vous serez informer lorsque l\'installation sera prète.</string>
|
||||
<string name="updating">Mise a jour en cours...</string>
|
||||
|
||||
<!--Edit metadata-->
|
||||
<string name="title">Titre</string>
|
||||
<string name="artist">Artiste</string>
|
||||
<string name="album">Album</string>
|
||||
<string name="youtubeid">Youtube ID</string>
|
||||
<string name="change_albumart">Changer d\'image d\'album</string>
|
||||
<string name="pick_album_local">Choisir une image depuis le stockage interne</string>
|
||||
<string name="download_albumart">Télécharger la couverture depuis youtube</string>
|
||||
<string name="download_meta">Télécharger les metadata depuis youtube</string>
|
||||
<string name="undo_change">Annuler les modifications</string>
|
||||
</resources>
|
||||
@@ -18,6 +18,11 @@
|
||||
<string name="nothing">Nothing.</string>
|
||||
<string name="next_loading">Loading, please wait.</string>
|
||||
|
||||
<!--Queue-->
|
||||
<string name="playing">Playing</string>
|
||||
<string name="paused">Paused</string>
|
||||
<string name="removed_from_queue"> has been removed from the queue.</string>
|
||||
|
||||
<!--Autoplay-->
|
||||
<string name="autoplay">Autoplay</string>
|
||||
<string name="autoplay_desc">Automatically add similars songs from youtube</string>
|
||||
@@ -60,13 +65,14 @@
|
||||
<string name="folders">Folders</string>
|
||||
<string name="no_song">You don\'t have any song in your device.</string>
|
||||
|
||||
|
||||
<!--Youtube Search-->
|
||||
<string name="all">All</string>
|
||||
<string name="tracks">Tracks</string>
|
||||
<string name="playlists">Playlists</string>
|
||||
<string name="lives">Lives</string>
|
||||
<string name="channels">Channels</string>
|
||||
<string name="download_path_not_set">Download path not set, using default one.</string>
|
||||
<string name="set_path">Set path</string>
|
||||
|
||||
<!--Playlists Screen-->
|
||||
<string name="local_playlists">Local playlists</string>
|
||||
@@ -75,11 +81,18 @@
|
||||
<string name="youtube_loading_error">Error while loading.\nCheck your internet connection and check if your logged in.</string>
|
||||
<string name="local_playlist_empty">You don\'t have any playlist on your device.</string>
|
||||
<string name="youtube_playlist_empty">You don\'t have any youtube playlist on your account. \nWarning: Only playlist from your google account are displayed.</string>
|
||||
<string name="playlists_song_count">songs</string>
|
||||
<string name="element">element</string>
|
||||
<string name="elements">elements</string>
|
||||
<string name="playlist_empty">This playlist is empty.</string>
|
||||
<string name="removed_from_playlist"> has been removed from the playlist.</string>
|
||||
<string name="playlist_already_saved">Playlist already added to your library.</string>
|
||||
<string name="playlist_not_found">No playlist exist with this id or link.</string>
|
||||
|
||||
<!--Settings-->
|
||||
<string name="apply">Apply</string>
|
||||
<string name="cancel">Cancel</string>
|
||||
<string name="ok">Ok</string>
|
||||
<string name="later">Later</string>
|
||||
|
||||
<string name="behavior">Behavior</string>
|
||||
<string name="music_genre">Music genres your interesed in</string>
|
||||
@@ -104,4 +117,32 @@
|
||||
<string name="logged_in">Logged in as</string>
|
||||
<string name="log_in">LOG IN</string>
|
||||
<string name="log_out">LOG OUT</string>
|
||||
|
||||
<!--Snackbars-->
|
||||
<string name="undo">Undo</string>
|
||||
|
||||
<string name="no_permission">Permission denied, can\'t complete this action.</string>
|
||||
<string name="no_song_mix">No songs found, can\'t create a mix.</string>
|
||||
<string name="youtube_endpoint">The way youtube play video has changed, the app can\'t play this video now. Wait for the next update.</string>
|
||||
<string name="timout">Timout, check if you\'re still connected to internet.</string>
|
||||
<string name="unknow">An unknown error has occured.</string>
|
||||
<string name="not_streamable"> can\'t be played. No audio streams are availables.</string> <!--A song title will be placed before this sentence-->
|
||||
<string name="update_no_internet">You are not connected to internet, can\'t check for updates.</string>
|
||||
<string name="update">The version %1$s is available</string> <!--//%1$s will be replaced with the version number-->
|
||||
<string name="update_message">An update is available, do you want to download it now?</string>
|
||||
<string name="up_to_date">Your app is up to date.</string>
|
||||
<string name="beta_available">A beta version is available.</string>
|
||||
<string name="downloading_update">Downloading update, you will be prompt for the installation soon.</string>
|
||||
<string name="updating">Updating app...</string>
|
||||
|
||||
<!--Edit metadata-->
|
||||
<string name="title">Title</string>
|
||||
<string name="artist">Artist</string>
|
||||
<string name="album">Album</string>
|
||||
<string name="youtubeid">Youtube ID</string>
|
||||
<string name="change_albumart">Change Album Art</string>
|
||||
<string name="pick_album_local">Pick an album art from storage</string>
|
||||
<string name="download_albumart">Download album art on youtube</string>
|
||||
<string name="download_meta">Download metadata from youtube</string>
|
||||
<string name="undo_change">Undo changes</string>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user