diff --git a/TutorLizard.Web/Controllers/HomeController.cs b/TutorLizard.Web/Controllers/HomeController.cs index b8260eec..538122b5 100644 --- a/TutorLizard.Web/Controllers/HomeController.cs +++ b/TutorLizard.Web/Controllers/HomeController.cs @@ -1,5 +1,6 @@ using Microsoft.AspNetCore.Mvc; using System.Diagnostics; +using System.Globalization; using TutorLizard.Web.Models; namespace TutorLizard.Web.Controllers; @@ -36,4 +37,24 @@ public IActionResult Error() { return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier }); } + public IActionResult ChangeLanguage(string language, string returnUrl) + { + if (!string.IsNullOrEmpty(language)) + { + Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture(language); + Thread.CurrentThread.CurrentUICulture = new CultureInfo(language); + } + else + { + Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture("en"); + Thread.CurrentThread.CurrentUICulture = new CultureInfo("en"); + } + + Response.Cookies.Append("Language", language); + + if (returnUrl is null) + return RedirectToAction("Index", "Home"); + + return Redirect(returnUrl); + } } diff --git a/TutorLizard.Web/Program.cs b/TutorLizard.Web/Program.cs index 9a5837e1..05d0c2d7 100644 --- a/TutorLizard.Web/Program.cs +++ b/TutorLizard.Web/Program.cs @@ -97,6 +97,22 @@ }); app.UseRouting(); +app.Use(async (context, next) => +{ + string cookie = string.Empty; + if (context.Request.Cookies.TryGetValue("Language", out cookie)) + { + System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo(cookie); + System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo(cookie); + } + else + { + System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("pl"); + System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("pl"); + } + + await next.Invoke(); +}); app.UseAuthentication(); app.UseAuthorization(); diff --git a/TutorLizard.Web/Resources/Account.Designer.cs b/TutorLizard.Web/Resources/Account.Designer.cs new file mode 100644 index 00000000..07121fa8 --- /dev/null +++ b/TutorLizard.Web/Resources/Account.Designer.cs @@ -0,0 +1,153 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace TutorLizard.Web.Resources { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + public class Account { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Account() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TutorLizard.Web.Resources.Account", typeof(Account).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to Brak dostępu. + /// + public static string AccessDenied { + get { + return ResourceManager.GetString("AccessDenied", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Twoje konto zostało aktywowane.. + /// + public static string AccountActivated { + get { + return ResourceManager.GetString("AccountActivated", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Aktywacja konta. + /// + public static string AccountActivation { + get { + return ResourceManager.GetString("AccountActivation", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Użyj konta Google. + /// + public static string GoogleSignUp { + get { + return ResourceManager.GetString("GoogleSignUp", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Zaloguj się. + /// + public static string Login { + get { + return ResourceManager.GetString("Login", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Zaloguj się z Google. + /// + public static string LoginWithGoogle { + get { + return ResourceManager.GetString("LoginWithGoogle", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Hasło. + /// + public static string Password { + get { + return ResourceManager.GetString("Password", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Rejestracja. + /// + public static string Register { + get { + return ResourceManager.GetString("Register", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Zarejestruj się z Google. + /// + public static string RegisterWithGoogle { + get { + return ResourceManager.GetString("RegisterWithGoogle", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Nazwa użytkownia. + /// + public static string Username { + get { + return ResourceManager.GetString("Username", resourceCulture); + } + } + } +} diff --git a/TutorLizard.Web/Resources/Account.en.resx b/TutorLizard.Web/Resources/Account.en.resx new file mode 100644 index 00000000..3639355e --- /dev/null +++ b/TutorLizard.Web/Resources/Account.en.resx @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Access denied + + + Your account has been activated. + + + Account activation + + + Sign up with Google + + + Log in + + + Login with Google + + + Password + + + Register + + + Register with Google + + + Username + + \ No newline at end of file diff --git a/TutorLizard.Web/Resources/Account.resx b/TutorLizard.Web/Resources/Account.resx new file mode 100644 index 00000000..53cee96b --- /dev/null +++ b/TutorLizard.Web/Resources/Account.resx @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Brak dostępu + + + Twoje konto zostało aktywowane. + + + Aktywacja konta + + + Użyj konta Google + + + Zaloguj się + + + Zaloguj się z Google + + + Hasło + + + Rejestracja + + + Zarejestruj się z Google + + + Nazwa użytkownia + + \ No newline at end of file diff --git a/TutorLizard.Web/Resources/Ad.Designer.cs b/TutorLizard.Web/Resources/Ad.Designer.cs new file mode 100644 index 00000000..5e3457a8 --- /dev/null +++ b/TutorLizard.Web/Resources/Ad.Designer.cs @@ -0,0 +1,225 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace TutorLizard.Web.Resources { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + public class Ad { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Ad() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TutorLizard.Web.Resources.Ad", typeof(Ad).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to Ogłoszenia. + /// + public static string Ads { + get { + return ResourceManager.GetString("Ads", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Ogłoszenie. + /// + public static string Advertisement { + get { + return ResourceManager.GetString("Advertisement", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Czy jesteś pewien, że chcesz to usunąć?. + /// + public static string AreYouSureToDelete { + get { + return ResourceManager.GetString("AreYouSureToDelete", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Wróć do listy. + /// + public static string BackToList { + get { + return ResourceManager.GetString("BackToList", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Id Kategorii. + /// + public static string CategoryId { + get { + return ResourceManager.GetString("CategoryId", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Stwórz. + /// + public static string Create { + get { + return ResourceManager.GetString("Create", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Stwórz nowe. + /// + public static string CreateNew { + get { + return ResourceManager.GetString("CreateNew", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Usuń. + /// + public static string Delete { + get { + return ResourceManager.GetString("Delete", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Opis. + /// + public static string Description { + get { + return ResourceManager.GetString("Description", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Szczegóły. + /// + public static string Details { + get { + return ResourceManager.GetString("Details", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Edycja. + /// + public static string Edit { + get { + return ResourceManager.GetString("Edit", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Nauczanie zdalne. + /// + public static string IsRemote { + get { + return ResourceManager.GetString("IsRemote", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Lokalizacja. + /// + public static string Location { + get { + return ResourceManager.GetString("Location", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cena. + /// + public static string Price { + get { + return ResourceManager.GetString("Price", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Zapisz. + /// + public static string Save { + get { + return ResourceManager.GetString("Save", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Przedmiot. + /// + public static string Subject { + get { + return ResourceManager.GetString("Subject", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Tytuł. + /// + public static string Title { + get { + return ResourceManager.GetString("Title", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Id Nauczyciela. + /// + public static string TutorId { + get { + return ResourceManager.GetString("TutorId", resourceCulture); + } + } + } +} diff --git a/TutorLizard.Web/Resources/Ad.en.resx b/TutorLizard.Web/Resources/Ad.en.resx new file mode 100644 index 00000000..b9fc216c --- /dev/null +++ b/TutorLizard.Web/Resources/Ad.en.resx @@ -0,0 +1,174 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Ads + + + Ad + + + Are you sure you want to delete this? + + + Back to list + + + Category Id + + + Create + + + Create new + + + Delete + + + Description + + + Details + + + Edit + + + Remote + + + Location + + + Price + + + Save + + + Subject + + + Title + + + Tutor's Id + + \ No newline at end of file diff --git a/TutorLizard.Web/Resources/Ad.resx b/TutorLizard.Web/Resources/Ad.resx new file mode 100644 index 00000000..7b2252fa --- /dev/null +++ b/TutorLizard.Web/Resources/Ad.resx @@ -0,0 +1,174 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Ogłoszenia + + + Ogłoszenie + + + Czy jesteś pewien, że chcesz to usunąć? + + + Wróć do listy + + + Id Kategorii + + + Stwórz + + + Stwórz nowe + + + Usuń + + + Opis + + + Szczegóły + + + Edycja + + + Nauczanie zdalne + + + Lokalizacja + + + Cena + + + Zapisz + + + Przedmiot + + + Tytuł + + + Id Nauczyciela + + \ No newline at end of file diff --git a/TutorLizard.Web/Resources/AdRequest.Designer.cs b/TutorLizard.Web/Resources/AdRequest.Designer.cs new file mode 100644 index 00000000..99ad96ac --- /dev/null +++ b/TutorLizard.Web/Resources/AdRequest.Designer.cs @@ -0,0 +1,198 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace TutorLizard.Web.Resources { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + public class AdRequest { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal AdRequest() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TutorLizard.Web.Resources.AdRequest", typeof(AdRequest).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to Id ogłoszenia. + /// + public static string AdId { + get { + return ResourceManager.GetString("AdId", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Zgłoszenie do ogłoszenia. + /// + public static string AdRequests { + get { + return ResourceManager.GetString("AdRequests", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Wróc do listy. + /// + public static string BackToList { + get { + return ResourceManager.GetString("BackToList", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Stwórz. + /// + public static string Create { + get { + return ResourceManager.GetString("Create", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Stwórz nowy. + /// + public static string CreateNew { + get { + return ResourceManager.GetString("CreateNew", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Usuń. + /// + public static string Delete { + get { + return ResourceManager.GetString("Delete", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Szczegóły. + /// + public static string Details { + get { + return ResourceManager.GetString("Details", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Edytuj. + /// + public static string Edit { + get { + return ResourceManager.GetString("Edit", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Nauczanie zdalne. + /// + public static string IsRemote { + get { + return ResourceManager.GetString("IsRemote", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Wiadomość. + /// + public static string Message { + get { + return ResourceManager.GetString("Message", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Odpowiedź zwrotna. + /// + public static string ReplyMessage { + get { + return ResourceManager.GetString("ReplyMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Data przeglądu. + /// + public static string ReviewDate { + get { + return ResourceManager.GetString("ReviewDate", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Zapisz. + /// + public static string Save { + get { + return ResourceManager.GetString("Save", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Status. + /// + public static string Status { + get { + return ResourceManager.GetString("Status", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Id studenta. + /// + public static string StudentId { + get { + return ResourceManager.GetString("StudentId", resourceCulture); + } + } + } +} diff --git a/TutorLizard.Web/Resources/AdRequest.en.resx b/TutorLizard.Web/Resources/AdRequest.en.resx new file mode 100644 index 00000000..956b1a91 --- /dev/null +++ b/TutorLizard.Web/Resources/AdRequest.en.resx @@ -0,0 +1,165 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Ad Id + + + Application + + + Back to list + + + Create + + + Create new + + + Delete + + + Szczegóły + + + Edytuj + + + Remotely + + + Message + + + Reply message + + + Review date + + + Save + + + Status + + + Student Id + + \ No newline at end of file diff --git a/TutorLizard.Web/Resources/AdRequest.resx b/TutorLizard.Web/Resources/AdRequest.resx new file mode 100644 index 00000000..cf9fd443 --- /dev/null +++ b/TutorLizard.Web/Resources/AdRequest.resx @@ -0,0 +1,165 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Id ogłoszenia + + + Zgłoszenie do ogłoszenia + + + Wróc do listy + + + Stwórz + + + Stwórz nowy + + + Usuń + + + Szczegóły + + + Edytuj + + + Nauczanie zdalne + + + Wiadomość + + + Odpowiedź zwrotna + + + Data przeglądu + + + Zapisz + + + Status + + + Id studenta + + \ No newline at end of file diff --git a/TutorLizard.Web/Resources/Browse.Designer.cs b/TutorLizard.Web/Resources/Browse.Designer.cs new file mode 100644 index 00000000..03834ba4 --- /dev/null +++ b/TutorLizard.Web/Resources/Browse.Designer.cs @@ -0,0 +1,315 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace TutorLizard.Web.Resources { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + public class Browse { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Browse() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TutorLizard.Web.Resources.Browse", typeof(Browse).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to Zaakceptowany. + /// + public static string Accepted { + get { + return ResourceManager.GetString("Accepted", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Zapisany uczeń. + /// + public static string AcceptedStudentName { + get { + return ResourceManager.GetString("AcceptedStudentName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Szczegóły ogłoszenia. + /// + public static string AdDetails { + get { + return ResourceManager.GetString("AdDetails", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Ogłoszenia. + /// + public static string Ads { + get { + return ResourceManager.GetString("Ads", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Jako uczeń. + /// + public static string AsStudent { + get { + return ResourceManager.GetString("AsStudent", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Jako nauczyciel. + /// + public static string AsTutor { + get { + return ResourceManager.GetString("AsTutor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Wyszukiwanie ogłoszeń. + /// + public static string BrowsingAds { + get { + return ResourceManager.GetString("BrowsingAds", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Nazwa kategorii. + /// + public static string CategoryName { + get { + return ResourceManager.GetString("CategoryName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Nauczanie zdalne. + /// + public static string IsRemote { + get { + return ResourceManager.GetString("IsRemote", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Lokalizacja. + /// + public static string Localization { + get { + return ResourceManager.GetString("Localization", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Następna strona. + /// + public static string NextPage { + get { + return ResourceManager.GetString("NextPage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Nie. + /// + public static string No { + get { + return ResourceManager.GetString("No", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Brak terminów. + /// + public static string NoClassDates { + get { + return ResourceManager.GetString("NoClassDates", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Brak. + /// + public static string None { + get { + return ResourceManager.GetString("None", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Liczba wyników wyszukiwania. + /// + public static string NumberOfResults { + get { + return ResourceManager.GetString("NumberOfResults", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Strona. + /// + public static string Page { + get { + return ResourceManager.GetString("Page", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Oczekuje na akceptacje. + /// + public static string Pending { + get { + return ResourceManager.GetString("Pending", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Wystawione przez. + /// + public static string PostedBy { + get { + return ResourceManager.GetString("PostedBy", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Poprzednia strona. + /// + public static string PreviousPage { + get { + return ResourceManager.GetString("PreviousPage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cena za godzinę. + /// + public static string Price { + get { + return ResourceManager.GetString("Price", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Odrzucone. + /// + public static string Rejected { + get { + return ResourceManager.GetString("Rejected", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Liczba zgłoszeń. + /// + public static string RequestCount { + get { + return ResourceManager.GetString("RequestCount", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Status zgłoszenia. + /// + public static string ScheduleItemStatus { + get { + return ResourceManager.GetString("ScheduleItemStatus", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Szukaj. + /// + public static string Search { + get { + return ResourceManager.GetString("Search", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Tematyka. + /// + public static string Subject { + get { + return ResourceManager.GetString("Subject", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Nauczyciel. + /// + public static string Tutor { + get { + return ResourceManager.GetString("Tutor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Tak. + /// + public static string Yes { + get { + return ResourceManager.GetString("Yes", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Twoje terminy. + /// + public static string YourSchedule { + get { + return ResourceManager.GetString("YourSchedule", resourceCulture); + } + } + } +} diff --git a/TutorLizard.Web/Resources/Browse.en.resx b/TutorLizard.Web/Resources/Browse.en.resx new file mode 100644 index 00000000..de4e6655 --- /dev/null +++ b/TutorLizard.Web/Resources/Browse.en.resx @@ -0,0 +1,204 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Accepted + + + Accepted student name + + + Ad Details + + + Advertisements + + + As student + + + As Tutor + + + Search for ads + + + Category name + + + Is remote + + + Localization + + + Next page + + + No + + + No class dates + + + None + + + Number of results + + + Page + + + Pending + + + Posted by + + + Previous page + + + Hourly price + + + Rejected + + + Request count + + + Status + + + Search + + + Subject + + + Tutor + + + Yes + + + Your schedule + + \ No newline at end of file diff --git a/TutorLizard.Web/Resources/Browse.resx b/TutorLizard.Web/Resources/Browse.resx new file mode 100644 index 00000000..cf1062f7 --- /dev/null +++ b/TutorLizard.Web/Resources/Browse.resx @@ -0,0 +1,204 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Zaakceptowany + + + Zapisany uczeń + + + Szczegóły ogłoszenia + + + Ogłoszenia + + + Jako uczeń + + + Jako nauczyciel + + + Wyszukiwanie ogłoszeń + + + Nazwa kategorii + + + Nauczanie zdalne + + + Lokalizacja + + + Następna strona + + + Nie + + + Brak terminów + + + Brak + + + Liczba wyników wyszukiwania + + + Strona + + + Oczekuje na akceptacje + + + Wystawione przez + + + Poprzednia strona + + + Cena za godzinę + + + Odrzucone + + + Liczba zgłoszeń + + + Status zgłoszenia + + + Szukaj + + + Tematyka + + + Nauczyciel + + + Tak + + + Twoje terminy + + \ No newline at end of file diff --git a/TutorLizard.Web/Resources/Category.Designer.cs b/TutorLizard.Web/Resources/Category.Designer.cs new file mode 100644 index 00000000..51d0a340 --- /dev/null +++ b/TutorLizard.Web/Resources/Category.Designer.cs @@ -0,0 +1,171 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace TutorLizard.Web.Resources { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + public class Category { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Category() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TutorLizard.Web.Resources.Category", typeof(Category).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to Jesteś pewny, że chcesz to usunąć?. + /// + public static string AreYouSureToDelete { + get { + return ResourceManager.GetString("AreYouSureToDelete", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Wróć do listy. + /// + public static string BackToList { + get { + return ResourceManager.GetString("BackToList", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Kategorie. + /// + public static string Categories { + get { + return ResourceManager.GetString("Categories", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Kategoria. + /// + public static string Categoryy { + get { + return ResourceManager.GetString("Categoryy", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Stwórz. + /// + public static string Create { + get { + return ResourceManager.GetString("Create", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Stwórz nową. + /// + public static string CreateNew { + get { + return ResourceManager.GetString("CreateNew", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Usuń. + /// + public static string Delete { + get { + return ResourceManager.GetString("Delete", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Opis. + /// + public static string Description { + get { + return ResourceManager.GetString("Description", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Szczegóły. + /// + public static string Details { + get { + return ResourceManager.GetString("Details", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Edytuj. + /// + public static string Edit { + get { + return ResourceManager.GetString("Edit", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Nazwa. + /// + public static string Name { + get { + return ResourceManager.GetString("Name", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Zapisz. + /// + public static string Save { + get { + return ResourceManager.GetString("Save", resourceCulture); + } + } + } +} diff --git a/TutorLizard.Web/Resources/Category.en.resx b/TutorLizard.Web/Resources/Category.en.resx new file mode 100644 index 00000000..452ae87a --- /dev/null +++ b/TutorLizard.Web/Resources/Category.en.resx @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Are you sure you want to delete this? + + + Back to list + + + Categories + + + Category + + + Create + + + Create new + + + Delete + + + Description + + + Details + + + Edit + + + Name + + + Save + + \ No newline at end of file diff --git a/TutorLizard.Web/Resources/Category.resx b/TutorLizard.Web/Resources/Category.resx new file mode 100644 index 00000000..099c7816 --- /dev/null +++ b/TutorLizard.Web/Resources/Category.resx @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Jesteś pewny, że chcesz to usunąć? + + + Wróć do listy + + + Kategorie + + + Kategoria + + + Stwórz + + + Stwórz nową + + + Usuń + + + Opis + + + Szczegóły + + + Edytuj + + + Nazwa + + + Zapisz + + \ No newline at end of file diff --git a/TutorLizard.Web/Resources/Home.Designer.cs b/TutorLizard.Web/Resources/Home.Designer.cs new file mode 100644 index 00000000..a822d038 --- /dev/null +++ b/TutorLizard.Web/Resources/Home.Designer.cs @@ -0,0 +1,180 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace TutorLizard.Web.Resources { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + public class Home { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Home() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TutorLizard.Web.Resources.Home", typeof(Home).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to Panel administracyjny. + /// + public static string AdminPanel { + get { + return ResourceManager.GetString("AdminPanel", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Zgłoszenia do ogłoszeń. + /// + public static string AdRequests { + get { + return ResourceManager.GetString("AdRequests", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Ogłoszenia. + /// + public static string Ads { + get { + return ResourceManager.GetString("Ads", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Kategories. + /// + public static string Categories { + get { + return ResourceManager.GetString("Categories", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Dane. + /// + public static string Data { + get { + return ResourceManager.GetString("Data", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Strona startowa. + /// + public static string HomePage { + get { + return ResourceManager.GetString("HomePage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Skorzystaj z tej strony, aby wyszczególnić politykę prywatności swojej witryny.. + /// + public static string Privacy { + get { + return ResourceManager.GetString("Privacy", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Zgłoszenia na terminy. + /// + public static string ScheduleItemRequests { + get { + return ResourceManager.GetString("ScheduleItemRequests", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Terminy. + /// + public static string ScheduleItems { + get { + return ResourceManager.GetString("ScheduleItems", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Funkcjonalność ucznia. + /// + public static string StudentFunction { + get { + return ResourceManager.GetString("StudentFunction", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Funkcjonalność nauczyciela. + /// + public static string TutorFunction { + get { + return ResourceManager.GetString("TutorFunction", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Użytkownicy. + /// + public static string Users { + get { + return ResourceManager.GetString("Users", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Twoje terminy. + /// + public static string YourSchedule { + get { + return ResourceManager.GetString("YourSchedule", resourceCulture); + } + } + } +} diff --git a/TutorLizard.Web/Resources/Home.en.resx b/TutorLizard.Web/Resources/Home.en.resx new file mode 100644 index 00000000..50e3bbcf --- /dev/null +++ b/TutorLizard.Web/Resources/Home.en.resx @@ -0,0 +1,159 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Admin Panel + + + Ad Requests + + + Ads + + + Categories + + + Data + + + Home + + + Use this page to detail your site's privacy policy. + + + Schedule Item Requests + + + Schedule Items + + + Student functionality + + + Tutor functionality + + + Users + + + Your schedule + + \ No newline at end of file diff --git a/TutorLizard.Web/Resources/Home.resx b/TutorLizard.Web/Resources/Home.resx new file mode 100644 index 00000000..d4c34d01 --- /dev/null +++ b/TutorLizard.Web/Resources/Home.resx @@ -0,0 +1,159 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Panel administracyjny + + + Zgłoszenia do ogłoszeń + + + Ogłoszenia + + + Kategories + + + Dane + + + Strona startowa + + + Skorzystaj z tej strony, aby wyszczególnić politykę prywatności swojej witryny. + + + Zgłoszenia na terminy + + + Terminy + + + Funkcjonalność ucznia + + + Funkcjonalność nauczyciela + + + Użytkownicy + + + Twoje terminy + + \ No newline at end of file diff --git a/TutorLizard.Web/Resources/ScheduleItem.Designer.cs b/TutorLizard.Web/Resources/ScheduleItem.Designer.cs new file mode 100644 index 00000000..c83cb062 --- /dev/null +++ b/TutorLizard.Web/Resources/ScheduleItem.Designer.cs @@ -0,0 +1,189 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace TutorLizard.Web.Resources { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + public class ScheduleItem { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal ScheduleItem() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TutorLizard.Web.Resources.ScheduleItem", typeof(ScheduleItem).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to Dodaj termin. + /// + public static string AddScheduleItem { + get { + return ResourceManager.GetString("AddScheduleItem", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Id ogłoszenia. + /// + public static string AdId { + get { + return ResourceManager.GetString("AdId", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Wróć do listy. + /// + public static string BackToList { + get { + return ResourceManager.GetString("BackToList", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Stwórz. + /// + public static string Create { + get { + return ResourceManager.GetString("Create", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Stwórz nowy. + /// + public static string CreateNew { + get { + return ResourceManager.GetString("CreateNew", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Termin. + /// + public static string DateTime { + get { + return ResourceManager.GetString("DateTime", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Usuń. + /// + public static string Delete { + get { + return ResourceManager.GetString("Delete", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Szczegóły. + /// + public static string Details { + get { + return ResourceManager.GetString("Details", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Edytuj. + /// + public static string Edit { + get { + return ResourceManager.GetString("Edit", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Nowy termin. + /// + public static string NewScheduleItem { + get { + return ResourceManager.GetString("NewScheduleItem", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Zapisz. + /// + public static string Save { + get { + return ResourceManager.GetString("Save", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Terminy. + /// + public static string ScheduleItems { + get { + return ResourceManager.GetString("ScheduleItems", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Termin. + /// + public static string ScheduleItemy { + get { + return ResourceManager.GetString("ScheduleItemy", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Czy na pewno chcesz to usunąć?. + /// + public static string YouSureToDelete { + get { + return ResourceManager.GetString("YouSureToDelete", resourceCulture); + } + } + } +} diff --git a/TutorLizard.Web/Resources/ScheduleItem.en.resx b/TutorLizard.Web/Resources/ScheduleItem.en.resx new file mode 100644 index 00000000..2be3f552 --- /dev/null +++ b/TutorLizard.Web/Resources/ScheduleItem.en.resx @@ -0,0 +1,159 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Add class date + + + Ad Id + + + Back to list + + + Create + + + Create new + + + Date + + + Delete + + + Edit + + + New class date + + + Zapisz + + + Class dates + + + Class date + + + Are you sure you want to delete this? + + \ No newline at end of file diff --git a/TutorLizard.Web/Resources/ScheduleItem.resx b/TutorLizard.Web/Resources/ScheduleItem.resx new file mode 100644 index 00000000..be747e91 --- /dev/null +++ b/TutorLizard.Web/Resources/ScheduleItem.resx @@ -0,0 +1,162 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Dodaj termin + + + Id ogłoszenia + + + Wróć do listy + + + Stwórz + + + Stwórz nowy + + + Termin + + + Usuń + + + Szczegóły + + + Edytuj + + + Nowy termin + + + Zapisz + + + Terminy + + + Termin + + + Czy na pewno chcesz to usunąć? + + \ No newline at end of file diff --git a/TutorLizard.Web/Resources/ScheduleItemRequest.Designer.cs b/TutorLizard.Web/Resources/ScheduleItemRequest.Designer.cs new file mode 100644 index 00000000..fbc7924f --- /dev/null +++ b/TutorLizard.Web/Resources/ScheduleItemRequest.Designer.cs @@ -0,0 +1,180 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace TutorLizard.Web.Resources { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + public class ScheduleItemRequest { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal ScheduleItemRequest() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TutorLizard.Web.Resources.ScheduleItemRequest", typeof(ScheduleItemRequest).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to Wróć do listy. + /// + public static string BackToList { + get { + return ResourceManager.GetString("BackToList", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Stwórz. + /// + public static string Create { + get { + return ResourceManager.GetString("Create", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Stwórz nowy. + /// + public static string CreateNew { + get { + return ResourceManager.GetString("CreateNew", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Usuń. + /// + public static string Delete { + get { + return ResourceManager.GetString("Delete", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Szczegóły. + /// + public static string Details { + get { + return ResourceManager.GetString("Details", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Edytuj. + /// + public static string Edit { + get { + return ResourceManager.GetString("Edit", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Status. + /// + public static string IsAccepted { + get { + return ResourceManager.GetString("IsAccepted", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Nauczanie zdalne. + /// + public static string IsRemote { + get { + return ResourceManager.GetString("IsRemote", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Zapisz. + /// + public static string Save { + get { + return ResourceManager.GetString("Save", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Id terminu. + /// + public static string ScheduleItemId { + get { + return ResourceManager.GetString("ScheduleItemId", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Terminy. + /// + public static string ScheduleItemRequests { + get { + return ResourceManager.GetString("ScheduleItemRequests", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Id studenta. + /// + public static string StudentId { + get { + return ResourceManager.GetString("StudentId", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Czy na pewno chcesz to usunąć?. + /// + public static string SureToDelete { + get { + return ResourceManager.GetString("SureToDelete", resourceCulture); + } + } + } +} diff --git a/TutorLizard.Web/Resources/ScheduleItemRequest.en.resx b/TutorLizard.Web/Resources/ScheduleItemRequest.en.resx new file mode 100644 index 00000000..9574c7fd --- /dev/null +++ b/TutorLizard.Web/Resources/ScheduleItemRequest.en.resx @@ -0,0 +1,159 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Back to list + + + Create + + + Create new + + + Delete + + + Details + + + Edit + + + Status + + + Remotely + + + Save + + + Class date Id + + + Class dates + + + Student Id + + + Are you sure you want to delete this? + + \ No newline at end of file diff --git a/TutorLizard.Web/Resources/ScheduleItemRequest.resx b/TutorLizard.Web/Resources/ScheduleItemRequest.resx new file mode 100644 index 00000000..1b0ab2f9 --- /dev/null +++ b/TutorLizard.Web/Resources/ScheduleItemRequest.resx @@ -0,0 +1,159 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Wróć do listy + + + Stwórz + + + Stwórz nowy + + + Usuń + + + Szczegóły + + + Edytuj + + + Status + + + Nauczanie zdalne + + + Zapisz + + + Id terminu + + + Terminy + + + Id studenta + + + Czy na pewno chcesz to usunąć? + + \ No newline at end of file diff --git a/TutorLizard.Web/Resources/Shared.Designer.cs b/TutorLizard.Web/Resources/Shared.Designer.cs new file mode 100644 index 00000000..9fa7a547 --- /dev/null +++ b/TutorLizard.Web/Resources/Shared.Designer.cs @@ -0,0 +1,522 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace TutorLizard.Web.Resources { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + public class Shared { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Shared() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TutorLizard.Web.Resources.Shared", typeof(Shared).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to Akceptuj. + /// + public static string Accept { + get { + return ResourceManager.GetString("Accept", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Akceptacja:. + /// + public static string Acceptance { + get { + return ResourceManager.GetString("Acceptance", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Szczegóły ogłoszenia. + /// + public static string AdDetails { + get { + return ResourceManager.GetString("AdDetails", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Dodaj termin. + /// + public static string AddScheduleItem { + get { + return ResourceManager.GetString("AddScheduleItem", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Panel Administracyjny. + /// + public static string AdminPanelMenu { + get { + return ResourceManager.GetString("AdminPanelMenu", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Ogłoszenie. + /// + public static string Advert { + get { + return ResourceManager.GetString("Advert", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Przedmiot ogłoszenia. + /// + public static string AdvertSubject { + get { + return ResourceManager.GetString("AdvertSubject", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Tytuł ogłoszenia. + /// + public static string AdvertTitle { + get { + return ResourceManager.GetString("AdvertTitle", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Dostępne Terminy. + /// + public static string AvailableDates { + get { + return ResourceManager.GetString("AvailableDates", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Przeglądaj. + /// + public static string Browse { + get { + return ResourceManager.GetString("Browse", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Anuluj akceptację. + /// + public static string CancelAcceptation { + get { + return ResourceManager.GetString("CancelAcceptation", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Kategoria. + /// + public static string Category { + get { + return ResourceManager.GetString("Category", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Nazwa kategorii. + /// + public static string CategoryName { + get { + return ResourceManager.GetString("CategoryName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Strona startowa. + /// + public static string HomeMenu { + get { + return ResourceManager.GetString("HomeMenu", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Nauczanie zdalne. + /// + public static string IsRemote { + get { + return ResourceManager.GetString("IsRemote", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Lokalizacja. + /// + public static string Localization { + get { + return ResourceManager.GetString("Localization", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Zaloguj się. + /// + public static string LoginMenu { + get { + return ResourceManager.GetString("LoginMenu", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Wyloguj się. + /// + public static string LogoutMenu { + get { + return ResourceManager.GetString("LogoutMenu", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Wiadomość. + /// + public static string Message { + get { + return ResourceManager.GetString("Message", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Nowy. + /// + public static string New { + get { + return ResourceManager.GetString("New", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Nie. + /// + public static string No { + get { + return ResourceManager.GetString("No", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Brak zgłoszeń. + /// + public static string NoRequests { + get { + return ResourceManager.GetString("NoRequests", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Wystawione przez. + /// + public static string PostedBy { + get { + return ResourceManager.GetString("PostedBy", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cena. + /// + public static string Price { + get { + return ResourceManager.GetString("Price", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Zarejestruj się. + /// + public static string RegisterMenu { + get { + return ResourceManager.GetString("RegisterMenu", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Odrzuć. + /// + public static string Reject { + get { + return ResourceManager.GetString("Reject", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Remote. + /// + public static string Remote { + get { + return ResourceManager.GetString("Remote", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Odpowiedź. + /// + public static string Reply { + get { + return ResourceManager.GetString("Reply", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Wiadomość zwrotna. + /// + public static string ReplyMessage { + get { + return ResourceManager.GetString("ReplyMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Zaakceptowane. + /// + public static string RequestAccepted { + get { + return ResourceManager.GetString("RequestAccepted", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Zgłoszenie nie może zostać zaakceptowane. + /// + public static string RequestCannotBeAccepted { + get { + return ResourceManager.GetString("RequestCannotBeAccepted", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Data wysłania. + /// + public static string RequestCreationDate { + get { + return ResourceManager.GetString("RequestCreationDate", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Zgłoszenie wysłane. + /// + public static string RequestDate { + get { + return ResourceManager.GetString("RequestDate", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Zgłoszenie zaakceptowane. + /// + public static string RequestIsAccepted { + get { + return ResourceManager.GetString("RequestIsAccepted", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Zgłoszenie niezaakceptowane. + /// + public static string RequestIsRejected { + get { + return ResourceManager.GetString("RequestIsRejected", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Twoja wiadomość. + /// + public static string RequestMessage { + get { + return ResourceManager.GetString("RequestMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Nie wysłano. + /// + public static string RequestNotSent { + get { + return ResourceManager.GetString("RequestNotSent", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Oczekuje na akceptacje. + /// + public static string RequestPending { + get { + return ResourceManager.GetString("RequestPending", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Odrzucone. + /// + public static string RequestRejected { + get { + return ResourceManager.GetString("RequestRejected", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Status zgłoszenia. + /// + public static string RequestStatus { + get { + return ResourceManager.GetString("RequestStatus", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Odpowiedź nauczyciela. + /// + public static string RequestTutorResponse { + get { + return ResourceManager.GetString("RequestTutorResponse", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Data przeglądu. + /// + public static string ReviewDate { + get { + return ResourceManager.GetString("ReviewDate", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Wyślij zgłoszenie. + /// + public static string SendRequest { + get { + return ResourceManager.GetString("SendRequest", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Zapisz się. + /// + public static string SignUp { + get { + return ResourceManager.GetString("SignUp", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Status. + /// + public static string Status { + get { + return ResourceManager.GetString("Status", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Wiadomość od ucznia. + /// + public static string StudentMessage { + get { + return ResourceManager.GetString("StudentMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Tematyka. + /// + public static string Subject { + get { + return ResourceManager.GetString("Subject", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Nauczyciel zaakceptował Twoje zgłoszenie. + /// + public static string TutorHasAcceptedRequest { + get { + return ResourceManager.GetString("TutorHasAcceptedRequest", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Nauczyciel nie zaakceptował Twojego zgłoszenia. + /// + public static string TutorHasRejectedRequest { + get { + return ResourceManager.GetString("TutorHasRejectedRequest", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Tak. + /// + public static string Yes { + get { + return ResourceManager.GetString("Yes", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Twoje zgłoszenie. + /// + public static string YourRequest { + get { + return ResourceManager.GetString("YourRequest", resourceCulture); + } + } + } +} diff --git a/TutorLizard.Web/Resources/Shared.en.Designer.cs b/TutorLizard.Web/Resources/Shared.en.Designer.cs new file mode 100644 index 00000000..fcfa6937 --- /dev/null +++ b/TutorLizard.Web/Resources/Shared.en.Designer.cs @@ -0,0 +1,63 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace TutorLizard.Web.Resources { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + public class Shared___Copy { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Shared___Copy() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TutorLizard.Web.Resources.Shared - Copy", typeof(Shared___Copy).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + } +} diff --git a/TutorLizard.Web/Resources/Shared.en.resx b/TutorLizard.Web/Resources/Shared.en.resx new file mode 100644 index 00000000..567c1d9e --- /dev/null +++ b/TutorLizard.Web/Resources/Shared.en.resx @@ -0,0 +1,273 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Accept + + + Acceptance + + + Details + + + Add class dates + + + Admin Panel + + + Advertisement + + + Advertisement Subject + + + Advertisement Title + + + Available dates + + + Browse + + + Cancel + + + Category + + + Category Name + + + Home + + + Remotely: + + + Localization + + + Log In + + + Log Out + + + Message + + + New + + + No + + + No requests + + + Posted by + + + Price + + + Register + + + Reject + + + Remote + + + Reply + + + Reply message + + + Accepted + + + Request cannot be accepted + + + Post date + + + Request sent on + + + Request accepted + + + Request rejected + + + Your message + + + Not sent + + + Pending + + + Rejected + + + Request status + + + Tutors response + + + Review date + + + Send request + + + Sign up + + + Status + + + Student messageg + + + Subject + + + Tutor has accepted your request + + + Tutor has rejected your request + + + Yes + + + Request + + \ No newline at end of file diff --git a/TutorLizard.Web/Resources/Shared.resx b/TutorLizard.Web/Resources/Shared.resx new file mode 100644 index 00000000..19669de6 --- /dev/null +++ b/TutorLizard.Web/Resources/Shared.resx @@ -0,0 +1,273 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Akceptuj + + + Akceptacja: + + + Szczegóły ogłoszenia + + + Dodaj termin + + + Panel Administracyjny + + + Ogłoszenie + + + Przedmiot ogłoszenia + + + Tytuł ogłoszenia + + + Dostępne Terminy + + + Przeglądaj + + + Anuluj akceptację + + + Kategoria + + + Nazwa kategorii + + + Strona startowa + + + Nauczanie zdalne + + + Lokalizacja + + + Zaloguj się + + + Wyloguj się + + + Wiadomość + + + Nowy + + + Nie + + + Brak zgłoszeń + + + Wystawione przez + + + Cena + + + Zarejestruj się + + + Odrzuć + + + Remote + + + Odpowiedź + + + Wiadomość zwrotna + + + Zaakceptowane + + + Zgłoszenie nie może zostać zaakceptowane + + + Data wysłania + + + Zgłoszenie wysłane + + + Zgłoszenie zaakceptowane + + + Zgłoszenie niezaakceptowane + + + Twoja wiadomość + + + Nie wysłano + + + Oczekuje na akceptacje + + + Odrzucone + + + Status zgłoszenia + + + Odpowiedź nauczyciela + + + Data przeglądu + + + Wyślij zgłoszenie + + + Zapisz się + + + Status + + + Wiadomość od ucznia + + + Tematyka + + + Nauczyciel zaakceptował Twoje zgłoszenie + + + Nauczyciel nie zaakceptował Twojego zgłoszenia + + + Tak + + + Twoje zgłoszenie + + \ No newline at end of file diff --git a/TutorLizard.Web/Resources/Student.Designer.cs b/TutorLizard.Web/Resources/Student.Designer.cs new file mode 100644 index 00000000..c4ab56b6 --- /dev/null +++ b/TutorLizard.Web/Resources/Student.Designer.cs @@ -0,0 +1,108 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace TutorLizard.Web.Resources { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + public class Student { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Student() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TutorLizard.Web.Resources.Student", typeof(Student).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to Zaakceptowane ogłoszenia. + /// + public static string AcceptedAds { + get { + return ResourceManager.GetString("AcceptedAds", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Przeglądaj ogłoszenia do których jesteś zaakceptowany. + /// + public static string BrowseAcceptedAdRequests { + get { + return ResourceManager.GetString("BrowseAcceptedAdRequests", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Przeglądaj swoje zapytania do ogłoszeń. + /// + public static string BrowseYourAdRequests { + get { + return ResourceManager.GetString("BrowseYourAdRequests", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Funkcjonalość studenta. + /// + public static string StudentFunction { + get { + return ResourceManager.GetString("StudentFunction", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Zgłoszenia do ogłoszeń. + /// + public static string YourAdRequests { + get { + return ResourceManager.GetString("YourAdRequests", resourceCulture); + } + } + } +} diff --git a/TutorLizard.Web/Resources/Student.en.resx b/TutorLizard.Web/Resources/Student.en.resx new file mode 100644 index 00000000..d8c32e06 --- /dev/null +++ b/TutorLizard.Web/Resources/Student.en.resx @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Accepted ads + + + Browse accepted ad requests + + + Browse your ad requests + + + Student functionality + + + Ad requests + + \ No newline at end of file diff --git a/TutorLizard.Web/Resources/Student.resx b/TutorLizard.Web/Resources/Student.resx new file mode 100644 index 00000000..f2fa3ba1 --- /dev/null +++ b/TutorLizard.Web/Resources/Student.resx @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Zaakceptowane ogłoszenia + + + Przeglądaj ogłoszenia do których jesteś zaakceptowany + + + Przeglądaj swoje zapytania do ogłoszeń + + + Funkcjonalość studenta + + + Zgłoszenia do ogłoszeń + + \ No newline at end of file diff --git a/TutorLizard.Web/Resources/Tutor.Designer.cs b/TutorLizard.Web/Resources/Tutor.Designer.cs new file mode 100644 index 00000000..27cc83ad --- /dev/null +++ b/TutorLizard.Web/Resources/Tutor.Designer.cs @@ -0,0 +1,261 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace TutorLizard.Web.Resources { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + public class Tutor { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Tutor() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TutorLizard.Web.Resources.Tutor", typeof(Tutor).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to Dodaj ogłoszenie. + /// + public static string AddAd { + get { + return ResourceManager.GetString("AddAd", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Dodaj ogłoszenie. + /// + public static string AddAdvertisement { + get { + return ResourceManager.GetString("AddAdvertisement", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Dodaj termin. + /// + public static string AddScheduleItem { + get { + return ResourceManager.GetString("AddScheduleItem", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Id ogłoszenia. + /// + public static string AdId { + get { + return ResourceManager.GetString("AdId", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Wszystkie zgłoszenia. + /// + public static string AllAdRequests { + get { + return ResourceManager.GetString("AllAdRequests", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Twoje ogłoszenia. + /// + public static string AllAds { + get { + return ResourceManager.GetString("AllAds", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Oczekujące zgłoszenia. + /// + public static string AllPendingRequests { + get { + return ResourceManager.GetString("AllPendingRequests", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Przeglądaj wszystkie zgłoszenia. + /// + public static string BrowsAllAdRequests { + get { + return ResourceManager.GetString("BrowsAllAdRequests", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Przeglądaj niezaakceptowane zgłoszenia. + /// + public static string BrowsePendingAdRequests { + get { + return ResourceManager.GetString("BrowsePendingAdRequests", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Id kategorii. + /// + public static string CategoryId { + get { + return ResourceManager.GetString("CategoryId", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Zatwierdź. + /// + public static string Confirm { + get { + return ResourceManager.GetString("Confirm", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Data. + /// + public static string DateTime { + get { + return ResourceManager.GetString("DateTime", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Opis. + /// + public static string Description { + get { + return ResourceManager.GetString("Description", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Nauczanie zdalne. + /// + public static string IsRemote { + get { + return ResourceManager.GetString("IsRemote", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Lokalizacja. + /// + public static string Location { + get { + return ResourceManager.GetString("Location", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Nowe ogłoszenie. + /// + public static string NewAd { + get { + return ResourceManager.GetString("NewAd", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Nowy termin. + /// + public static string NewScheduleItem { + get { + return ResourceManager.GetString("NewScheduleItem", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cena. + /// + public static string Price { + get { + return ResourceManager.GetString("Price", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Przedmiot. + /// + public static string Subject { + get { + return ResourceManager.GetString("Subject", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Tytuł. + /// + public static string Title { + get { + return ResourceManager.GetString("Title", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Funkcjonalność nauczyciela. + /// + public static string TutorFunc { + get { + return ResourceManager.GetString("TutorFunc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Przeglądaj swoje ogłoszenia. + /// + public static string TutorsAdsLists { + get { + return ResourceManager.GetString("TutorsAdsLists", resourceCulture); + } + } + } +} diff --git a/TutorLizard.Web/Resources/Tutor.en.resx b/TutorLizard.Web/Resources/Tutor.en.resx new file mode 100644 index 00000000..14be321c --- /dev/null +++ b/TutorLizard.Web/Resources/Tutor.en.resx @@ -0,0 +1,186 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Create ad + + + Create advertisement + + + Add class date + + + Ad Id + + + All ad requests + + + Your ads + + + Pending ad requests + + + View all ad requests + + + View pending ad requests + + + Category Id + + + Confirm + + + Date + + + Description + + + Remotely + + + Location + + + New ad + + + New class date + + + Price + + + Subject + + + Title + + + Tutor's functionality + + + View your ads + + \ No newline at end of file diff --git a/TutorLizard.Web/Resources/Tutor.resx b/TutorLizard.Web/Resources/Tutor.resx new file mode 100644 index 00000000..038e9f53 --- /dev/null +++ b/TutorLizard.Web/Resources/Tutor.resx @@ -0,0 +1,186 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Dodaj ogłoszenie + + + Dodaj ogłoszenie + + + Dodaj termin + + + Id ogłoszenia + + + Wszystkie zgłoszenia + + + Twoje ogłoszenia + + + Oczekujące zgłoszenia + + + Przeglądaj wszystkie zgłoszenia + + + Przeglądaj niezaakceptowane zgłoszenia + + + Id kategorii + + + Zatwierdź + + + Data + + + Opis + + + Nauczanie zdalne + + + Lokalizacja + + + Nowe ogłoszenie + + + Nowy termin + + + Cena + + + Przedmiot + + + Tytuł + + + Funkcjonalność nauczyciela + + + Przeglądaj swoje ogłoszenia + + \ No newline at end of file diff --git a/TutorLizard.Web/Resources/User.Designer.cs b/TutorLizard.Web/Resources/User.Designer.cs new file mode 100644 index 00000000..fa381df0 --- /dev/null +++ b/TutorLizard.Web/Resources/User.Designer.cs @@ -0,0 +1,198 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace TutorLizard.Web.Resources { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + public class User { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal User() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TutorLizard.Web.Resources.User", typeof(User).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to Wróć do listy. + /// + public static string BackToList { + get { + return ResourceManager.GetString("BackToList", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Stwórz. + /// + public static string Create { + get { + return ResourceManager.GetString("Create", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Stwórz nowego. + /// + public static string CreateNew { + get { + return ResourceManager.GetString("CreateNew", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Data stworzenia. + /// + public static string DateCreated { + get { + return ResourceManager.GetString("DateCreated", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Usuń. + /// + public static string Delete { + get { + return ResourceManager.GetString("Delete", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Szczegóły. + /// + public static string Details { + get { + return ResourceManager.GetString("Details", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Edytuj. + /// + public static string Edit { + get { + return ResourceManager.GetString("Edit", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Email. + /// + public static string Email { + get { + return ResourceManager.GetString("Email", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Imie. + /// + public static string Name { + get { + return ResourceManager.GetString("Name", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Hasło. + /// + public static string Password { + get { + return ResourceManager.GetString("Password", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Zapisz. + /// + public static string Save { + get { + return ResourceManager.GetString("Save", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Czy na pewno chcesz to usunąć?. + /// + public static string SureToDelete { + get { + return ResourceManager.GetString("SureToDelete", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Użytkownik. + /// + public static string Userr { + get { + return ResourceManager.GetString("Userr", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Użytkownicy. + /// + public static string Users { + get { + return ResourceManager.GetString("Users", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Typ użytkownika. + /// + public static string UserType { + get { + return ResourceManager.GetString("UserType", resourceCulture); + } + } + } +} diff --git a/TutorLizard.Web/Resources/User.en.resx b/TutorLizard.Web/Resources/User.en.resx new file mode 100644 index 00000000..e9cef9b4 --- /dev/null +++ b/TutorLizard.Web/Resources/User.en.resx @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Back to list + + + Create + + + Date created + + + Delete + + + Details + + + Edit + + + Email + + + Name + + + Password + + + Save + + + Are you sure you want to delete this? + + + User type + + \ No newline at end of file diff --git a/TutorLizard.Web/Resources/User.resx b/TutorLizard.Web/Resources/User.resx new file mode 100644 index 00000000..dd178916 --- /dev/null +++ b/TutorLizard.Web/Resources/User.resx @@ -0,0 +1,165 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Wróć do listy + + + Stwórz + + + Stwórz nowego + + + Data stworzenia + + + Usuń + + + Szczegóły + + + Edytuj + + + Email + + + Imie + + + Hasło + + + Zapisz + + + Czy na pewno chcesz to usunąć? + + + Użytkownik + + + Użytkownicy + + + Typ użytkownika + + \ No newline at end of file diff --git a/TutorLizard.Web/TutorLizard.Web.csproj b/TutorLizard.Web/TutorLizard.Web.csproj index 33e87095..d91116a1 100644 --- a/TutorLizard.Web/TutorLizard.Web.csproj +++ b/TutorLizard.Web/TutorLizard.Web.csproj @@ -37,4 +37,139 @@ + + + True + True + Account.resx + + + True + True + Ad.resx + + + True + True + AdRequest.resx + + + True + True + Browse.resx + + + True + True + Category.resx + + + True + True + Home.resx + + + True + True + ScheduleItem.resx + + + True + True + ScheduleItemRequest.resx + + + Shared.en.resx + True + True + + + True + True + Shared.resx + + + True + True + Student.resx + + + True + True + Tutor.resx + + + True + True + User.resx + + + + + + PublicResXFileCodeGenerator + + + PublicResXFileCodeGenerator + Account.Designer.cs + + + PublicResXFileCodeGenerator + Ad.Designer.cs + + + PublicResXFileCodeGenerator + + + PublicResXFileCodeGenerator + AdRequest.Designer.cs + + + PublicResXFileCodeGenerator + + + PublicResXFileCodeGenerator + Browse.Designer.cs + + + PublicResXFileCodeGenerator + Category.Designer.cs + + + PublicResXFileCodeGenerator + + + PublicResXFileCodeGenerator + Home.Designer.cs + + + PublicResXFileCodeGenerator + ScheduleItem.Designer.cs + + + PublicResXFileCodeGenerator + ScheduleItemRequest.Designer.cs + + + Shared.en.Designer.cs + PublicResXFileCodeGenerator + + + PublicResXFileCodeGenerator + Shared.Designer.cs + + + PublicResXFileCodeGenerator + Student.Designer.cs + + + PublicResXFileCodeGenerator + Tutor.Designer.cs + + + PublicResXFileCodeGenerator + User.Designer.cs + + + diff --git a/TutorLizard.Web/Views/Account/AccessDenied.cshtml b/TutorLizard.Web/Views/Account/AccessDenied.cshtml index 803704de..3e4a1c9a 100644 --- a/TutorLizard.Web/Views/Account/AccessDenied.cshtml +++ b/TutorLizard.Web/Views/Account/AccessDenied.cshtml @@ -1 +1,3 @@ -

Access denied

\ No newline at end of file +@using TutorLizard.Web.Resources + +

@TutorLizard.Web.Resources.Account.AccessDenied

\ No newline at end of file diff --git a/TutorLizard.Web/Views/Account/ActivateAccount.cshtml b/TutorLizard.Web/Views/Account/ActivateAccount.cshtml index c11389f5..b1773218 100644 --- a/TutorLizard.Web/Views/Account/ActivateAccount.cshtml +++ b/TutorLizard.Web/Views/Account/ActivateAccount.cshtml @@ -1,6 +1,7 @@ -@{ - ViewData["Title"] = "Aktywacja konta"; +@using TutorLizard.Web.Resources +@{ + ViewData["Title"] = @TutorLizard.Web.Resources.Account.AccountActivation; }

@ViewData["Title"]

-

Twoje konto zostało aktywowane.

\ No newline at end of file +

@TutorLizard.Web.Resources.Account.AccountActivated

\ No newline at end of file diff --git a/TutorLizard.Web/Views/Account/Login.cshtml b/TutorLizard.Web/Views/Account/Login.cshtml index 8d831391..9838515e 100644 --- a/TutorLizard.Web/Views/Account/Login.cshtml +++ b/TutorLizard.Web/Views/Account/Login.cshtml @@ -1,38 +1,40 @@ -@model TutorLizard.Web.Models.LoginModel +@using TutorLizard.Web.Resources +@model TutorLizard.Web.Models.LoginModel @{ ViewData["Title"] = "Login"; } -

Login

+

@TutorLizard.Web.Resources.Account.Login

-

LoginModel


- - + +
- - + +
+ +
-

Login using Google

+

@TutorLizard.Web.Resources.Account.LoginWithGoogle

- Sign In with Google + @TutorLizard.Web.Resources.Account.GoogleSignUp
diff --git a/TutorLizard.Web/Views/Account/Register.cshtml b/TutorLizard.Web/Views/Account/Register.cshtml index 16a771bb..4cc35f7e 100644 --- a/TutorLizard.Web/Views/Account/Register.cshtml +++ b/TutorLizard.Web/Views/Account/Register.cshtml @@ -4,40 +4,39 @@ ViewData["Title"] = "Register"; } -

Register

+

@TutorLizard.Web.Resources.Account.Register

-

RegisterUserModel


- - + +
- +
- - + +
- +
-

Register using Google

+

@TutorLizard.Web.Resources.Account.RegisterWithGoogle

- Sign In with Google + @TutorLizard.Web.Resources.Account.GoogleSignUp
diff --git a/TutorLizard.Web/Views/Ad/Create.cshtml b/TutorLizard.Web/Views/Ad/Create.cshtml index 850d6681..4205845d 100644 --- a/TutorLizard.Web/Views/Ad/Create.cshtml +++ b/TutorLizard.Web/Views/Ad/Create.cshtml @@ -1,4 +1,5 @@ -@model TutorLizard.BusinessLogic.Models.Ad +@using TutorLizard.Web.Resources +@model TutorLizard.BusinessLogic.Models.Ad @{ ViewData["Title"] = "Create"; @@ -13,23 +14,23 @@
- - + +
- - + +
- - + +
- - + +
@@ -41,29 +42,29 @@
- - + +
- - + +
- +
- Back to List + @TutorLizard.Web.Resources.Ad.BackToList
@section Scripts { diff --git a/TutorLizard.Web/Views/Ad/Delete.cshtml b/TutorLizard.Web/Views/Ad/Delete.cshtml index e07535ca..b94e1488 100644 --- a/TutorLizard.Web/Views/Ad/Delete.cshtml +++ b/TutorLizard.Web/Views/Ad/Delete.cshtml @@ -1,14 +1,15 @@ -@model TutorLizard.BusinessLogic.Models.Ad +@using TutorLizard.Web.Resources +@model TutorLizard.BusinessLogic.Models.Ad @{ ViewData["Title"] = "Delete"; } -

Delete

+

@TutorLizard.Web.Resources.Ad.Delete

-

Are you sure you want to delete this?

+

@TutorLizard.Web.Resources.Ad.AreYouSureToDelete

-

Ad

+

@TutorLizard.Web.Resources.Ad.Advertisement


@@ -18,31 +19,31 @@ @Html.DisplayFor(model => model.Id)
- @Html.DisplayNameFor(model => model.TutorId) + @TutorLizard.Web.Resources.Ad.TutorId
@Html.DisplayFor(model => model.TutorId)
- @Html.DisplayNameFor(model => model.Subject) + @TutorLizard.Web.Resources.Ad.Subject
@Html.DisplayFor(model => model.Subject)
- @Html.DisplayNameFor(model => model.Title) + @TutorLizard.Web.Resources.Ad.Title
@Html.DisplayFor(model => model.Title)
- @Html.DisplayNameFor(model => model.Description) + @TutorLizard.Web.Resources.Ad.Description
@Html.DisplayFor(model => model.Description)
- @Html.DisplayNameFor(model => model.CategoryId) + @TutorLizard.Web.Resources.Ad.CategoryId
@Html.DisplayFor(model => model.CategoryId) @@ -52,19 +53,19 @@ }
- @Html.DisplayNameFor(model => model.Price) + @TutorLizard.Web.Resources.Ad.Price
@Html.DisplayFor(model => model.Price)
- @Html.DisplayNameFor(model => model.Location) + @TutorLizard.Web.Resources.Ad.Location
@Html.DisplayFor(model => model.Location)
- @Html.DisplayNameFor(model => model.IsRemote) + @TutorLizard.Web.Resources.Ad.IsRemote
@Html.DisplayFor(model => model.IsRemote) @@ -72,7 +73,7 @@
- | - Back to List + | + @TutorLizard.Web.Resources.Ad.BackToList
diff --git a/TutorLizard.Web/Views/Ad/Details.cshtml b/TutorLizard.Web/Views/Ad/Details.cshtml index 3e318e7a..06bf6505 100644 --- a/TutorLizard.Web/Views/Ad/Details.cshtml +++ b/TutorLizard.Web/Views/Ad/Details.cshtml @@ -1,13 +1,14 @@ -@model TutorLizard.BusinessLogic.Models.Ad +@using TutorLizard.Web.Resources +@model TutorLizard.BusinessLogic.Models.Ad @{ ViewData["Title"] = "Details"; } -

Details

+

@TutorLizard.Web.Resources.Ad.Details

-

Ad

+

@TutorLizard.Web.Resources.Ad.Advertisement


@@ -72,5 +73,5 @@
@Html.ActionLink("Edit", "Edit", new { id = Model.Id }) | - Back to List + @TutorLizard.Web.Resources.Ad.BackToList
diff --git a/TutorLizard.Web/Views/Ad/Edit.cshtml b/TutorLizard.Web/Views/Ad/Edit.cshtml index 8f302cb0..fc85fdc3 100644 --- a/TutorLizard.Web/Views/Ad/Edit.cshtml +++ b/TutorLizard.Web/Views/Ad/Edit.cshtml @@ -1,39 +1,40 @@ -@model TutorLizard.BusinessLogic.Models.Ad +@using TutorLizard.Web.Resources +@model TutorLizard.BusinessLogic.Models.Ad @{ ViewData["Title"] = "Edit"; } -

Edit

+

@TutorLizard.Web.Resources.Ad.Edit

-

Ad

+

@TutorLizard.Web.Resources.Ad.Advertisement


- - + +
- - + +
- - + +
- - + +
- + @if (ViewBag.Categories is not null) { @@ -41,22 +42,22 @@
- - + +
- - + +
- +
diff --git a/TutorLizard.Web/Views/Ad/Index.cshtml b/TutorLizard.Web/Views/Ad/Index.cshtml index bcab4dea..dd09c485 100644 --- a/TutorLizard.Web/Views/Ad/Index.cshtml +++ b/TutorLizard.Web/Views/Ad/Index.cshtml @@ -1,13 +1,14 @@ -@model IEnumerable +@using TutorLizard.Web.Resources +@model IEnumerable @{ ViewData["Title"] = "Ads - List"; } -

Ads

+

@TutorLizard.Web.Resources.Ad.Ads

- Create New + @TutorLizard.Web.Resources.Ad.CreateNew

@@ -16,28 +17,28 @@ @Html.DisplayNameFor(model => model.Id) @@ -77,9 +78,9 @@ @Html.DisplayFor(modelItem => item.IsRemote) } diff --git a/TutorLizard.Web/Views/AdRequest/Create.cshtml b/TutorLizard.Web/Views/AdRequest/Create.cshtml index 8d43dc48..d3600213 100644 --- a/TutorLizard.Web/Views/AdRequest/Create.cshtml +++ b/TutorLizard.Web/Views/AdRequest/Create.cshtml @@ -1,46 +1,47 @@ -@model TutorLizard.BusinessLogic.Models.AdRequest +@using TutorLizard.Web.Resources +@model TutorLizard.BusinessLogic.Models.AdRequest @{ ViewData["Title"] = "Create"; } -

Create

+

@TutorLizard.Web.Resources.AdRequest.Create

-

AdRequest

+

@TutorLizard.Web.Resources.AdRequest.AdRequests


- - + +
- - + +
- - + +
- +
- Back to List + @TutorLizard.Web.Resources.AdRequest.BackToList
@section Scripts { diff --git a/TutorLizard.Web/Views/AdRequest/Delete.cshtml b/TutorLizard.Web/Views/AdRequest/Delete.cshtml index f2a373ee..5b28085c 100644 --- a/TutorLizard.Web/Views/AdRequest/Delete.cshtml +++ b/TutorLizard.Web/Views/AdRequest/Delete.cshtml @@ -1,10 +1,11 @@ -@model TutorLizard.BusinessLogic.Models.AdRequest +@using TutorLizard.Web.Resources +@model TutorLizard.BusinessLogic.Models.AdRequest @{ ViewData["Title"] = "Delete"; } -

Delete

+

@TutorLizard.Web.Resources.AdRequest.Delete

Are you sure you want to delete this?

@@ -18,37 +19,37 @@ @Html.DisplayFor(model => model.Id)
- @Html.DisplayNameFor(model => model.AdId) + @TutorLizard.Web.Resources.AdRequest.AdId
@Html.DisplayFor(model => model.AdId)
- @Html.DisplayNameFor(model => model.StudentId) + @TutorLizard.Web.Resources.AdRequest.StudentId
@Html.DisplayFor(model => model.StudentId)
- @Html.DisplayNameFor(model => model.IsAccepted) + @TutorLizard.Web.Resources.AdRequest.Status
@Html.DisplayFor(model => model.IsAccepted)
- @Html.DisplayNameFor(model => model.Message) + @TutorLizard.Web.Resources.AdRequest.Message
@Html.DisplayFor(model => model.Message)
- @Html.DisplayNameFor(model => model.ReplyMessage) + @TutorLizard.Web.Resources.AdRequest.ReplyMessage
@Html.DisplayFor(model => model.ReplyMessage)
- @Html.DisplayNameFor(model => model.IsRemote) + @TutorLizard.Web.Resources.AdRequest.IsRemote
@Html.DisplayFor(model => model.IsRemote) @@ -56,7 +57,7 @@
- | - Back to List + | + @TutorLizard.Web.Resources.AdRequest.BackToList
diff --git a/TutorLizard.Web/Views/AdRequest/Details.cshtml b/TutorLizard.Web/Views/AdRequest/Details.cshtml index d59089ca..6050d719 100644 --- a/TutorLizard.Web/Views/AdRequest/Details.cshtml +++ b/TutorLizard.Web/Views/AdRequest/Details.cshtml @@ -4,10 +4,10 @@ ViewData["Title"] = "Details"; } -

Details

+

@TutorLizard.Web.Resources.AdRequest.Details

-

AdRequest

+

@TutorLizard.Web.Resources.AdRequest.AdRequests


@@ -17,43 +17,43 @@ @Html.DisplayFor(model => model.Id)
- @Html.DisplayNameFor(model => model.AdId) + @TutorLizard.Web.Resources.AdRequest.AdId
@Html.DisplayFor(model => model.AdId)
- @Html.DisplayNameFor(model => model.StudentId) + @TutorLizard.Web.Resources.AdRequest.StudentId
@Html.DisplayFor(model => model.StudentId)
- @Html.DisplayNameFor(model => model.IsAccepted) + @TutorLizard.Web.Resources.AdRequest.Status
@Html.DisplayFor(model => model.IsAccepted)
- @Html.DisplayNameFor(model => model.Message) + @TutorLizard.Web.Resources.AdRequest.Message
@Html.DisplayFor(model => model.Message)
- @Html.DisplayNameFor(model => model.ReplyMessage) + @TutorLizard.Web.Resources.AdRequest.ReplyMessage
@Html.DisplayFor(model => model.ReplyMessage)
- @Html.DisplayNameFor(model => model.IsRemote) + @TutorLizard.Web.Resources.AdRequest.IsRemote
@Html.DisplayFor(model => model.IsRemote)
- @Html.DisplayNameFor(model => model.ReviewDate) + @TutorLizard.Web.Resources.AdRequest.ReviewDate
@Html.DisplayFor(model => model.ReviewDate) @@ -61,6 +61,6 @@
- @Html.ActionLink("Edit", "Edit", new { id = Model.Id }) | - Back to List + @Html.ActionLink(@TutorLizard.Web.Resources.AdRequest.Edit, "Edit", new { id = Model.Id }) | + @TutorLizard.Web.Resources.AdRequest.BackToList
diff --git a/TutorLizard.Web/Views/AdRequest/Edit.cshtml b/TutorLizard.Web/Views/AdRequest/Edit.cshtml index 5384126d..9666b866 100644 --- a/TutorLizard.Web/Views/AdRequest/Edit.cshtml +++ b/TutorLizard.Web/Views/AdRequest/Edit.cshtml @@ -1,56 +1,57 @@ -@model TutorLizard.BusinessLogic.Models.AdRequest +@using TutorLizard.Web.Resources +@model TutorLizard.BusinessLogic.Models.AdRequest @{ ViewData["Title"] = "Edit"; } -

Edit

+

@TutorLizard.Web.Resources.AdRequest.Edit

-

AdRequest

+

@TutorLizard.Web.Resources.AdRequest.AdRequests


- - + +
- - + +
- - + +
- - + +
- +
- Back to List + @TutorLizard.Web.Resources.AdRequest.BackToList
@section Scripts { diff --git a/TutorLizard.Web/Views/AdRequest/Index.cshtml b/TutorLizard.Web/Views/AdRequest/Index.cshtml index 89d84b3a..142153ec 100644 --- a/TutorLizard.Web/Views/AdRequest/Index.cshtml +++ b/TutorLizard.Web/Views/AdRequest/Index.cshtml @@ -4,10 +4,10 @@ ViewData["Title"] = "Ad Requests"; } -

Ad Requests

+

@TutorLizard.Web.Resources.AdRequest.AdRequests

- Create New + @TutorLizard.Web.Resources.AdRequest.CreateNew

- @Html.DisplayNameFor(model => model.TutorId) + @TutorLizard.Web.Resources.Ad.TutorId - @Html.DisplayNameFor(model => model.Subject) + @TutorLizard.Web.Resources.Ad.Subject - @Html.DisplayNameFor(model => model.Title) + @TutorLizard.Web.Resources.Ad.Title - @Html.DisplayNameFor(model => model.Description) + @TutorLizard.Web.Resources.Ad.Description - @Html.DisplayNameFor(model => model.CategoryId) + @TutorLizard.Web.Resources.Ad.CategoryId - @Html.DisplayNameFor(model => model.Price) + @TutorLizard.Web.Resources.Ad.Price - @Html.DisplayNameFor(model => model.Location) + @TutorLizard.Web.Resources.Ad.Location - @Html.DisplayNameFor(model => model.IsRemote) + @TutorLizard.Web.Resources.Ad.IsRemote
- @Html.ActionLink("Edit", "Edit", new { id=item.Id }) | - @Html.ActionLink("Details", "Details", new { id=item.Id }) | - @Html.ActionLink("Delete", "Delete", new { id=item.Id }) + @Html.ActionLink(@TutorLizard.Web.Resources.Ad.Edit, "Edit", new { id = item.Id }) | + @Html.ActionLink(@TutorLizard.Web.Resources.Ad.Details, "Details", new { id = item.Id }) | + @Html.ActionLink(@TutorLizard.Web.Resources.Ad.Delete, "Delete", new { id = item.Id })
@@ -16,19 +16,19 @@ @Html.DisplayNameFor(model => model.Id) @@ -55,9 +55,9 @@ @Html.DisplayNameFor(model => model.ReviewDate) } diff --git a/TutorLizard.Web/Views/Browse/AdDetails.cshtml b/TutorLizard.Web/Views/Browse/AdDetails.cshtml index ab15f9bd..bd673349 100644 --- a/TutorLizard.Web/Views/Browse/AdDetails.cshtml +++ b/TutorLizard.Web/Views/Browse/AdDetails.cshtml @@ -1,40 +1,41 @@ @using TutorLizard.Web.ViewComponents +@using TutorLizard.Web.Resources @model GetAdDetailsResponse -

Szczegóły ogłoszenia

+

@TutorLizard.Web.Resources.Browse.AdDetails

@Model.Title

-
Kategoria przez:
+
@TutorLizard.Web.Resources.Browse.CategoryName :
@Model.CategoryName
-
Tematyka:
+
@TutorLizard.Web.Resources.Browse.Subject :
@Model.Subject
-
Lokalizacja:
+
@TutorLizard.Web.Resources.Browse.Localization :
@Model.Location
-
Wystawione przez:
+
@TutorLizard.Web.Resources.Browse.PostedBy :
@Model.TutorName
-
Cena:
+
@TutorLizard.Web.Resources.Browse.PostedBy :
@Model.Price zł/h
-
Nauczanie zdalne:
+
@TutorLizard.Web.Resources.Browse.IsRemote :
@if (Model.IsRemote) { - Tak + @TutorLizard.Web.Resources.Browse.Yes } else { - Nie + @TutorLizard.Web.Resources.Browse.No }
diff --git a/TutorLizard.Web/Views/Browse/Ads.cshtml b/TutorLizard.Web/Views/Browse/Ads.cshtml index 130de338..73a86b12 100644 --- a/TutorLizard.Web/Views/Browse/Ads.cshtml +++ b/TutorLizard.Web/Views/Browse/Ads.cshtml @@ -11,22 +11,22 @@ } } -

Ogłoszenia

+

@TutorLizard.Web.Resources.Browse.Ads

-

Wyszukiwanie ogłoszeń

+

@TutorLizard.Web.Resources.Browse.BrowsingAds

- + @if (Model.SearchCriteria.AnySearch) { -
Liczba wyników wyszukiwania: @Model.TotalAds
+
@TutorLizard.Web.Resources.Browse.NumberOfResults : @Model.TotalAds
} @foreach (var ad in Model.Ads) @@ -42,17 +42,17 @@ { @if (Model.SearchCriteria.AnySearch) { - Poprzednia strona + @TutorLizard.Web.Resources.Browse.PreviousPage } else { - Poprzednia strona + @TutorLizard.Web.Resources.Browse.PreviousPage } }
- Strona @Model.PageNumber z @Model.TotalPages + @TutorLizard.Web.Resources.Browse.Page @Model.PageNumber z @Model.TotalPages
@@ -60,11 +60,11 @@ { @if(Model.SearchCriteria.AnySearch) { - Następna strona + @TutorLizard.Web.Resources.Browse.NextPage } else { - Następna strona + @TutorLizard.Web.Resources.Browse.NextPage } }
diff --git a/TutorLizard.Web/Views/Browse/Schedule.cshtml b/TutorLizard.Web/Views/Browse/Schedule.cshtml index b959e001..07e4e718 100644 --- a/TutorLizard.Web/Views/Browse/Schedule.cshtml +++ b/TutorLizard.Web/Views/Browse/Schedule.cshtml @@ -1,7 +1,7 @@ @using TutorLizard.Web.Extensions @model GetUsersScheduleResponse -

Twoje terminy

+

@TutorLizard.Web.Resources.Browse.YourSchedule

Create +

@TutorLizard.Web.Resources.Category.Create

-

Category

+

@TutorLizard.Web.Resources.Category.Categoryy


- - + +
- - + +
- +
@section Scripts { diff --git a/TutorLizard.Web/Views/Category/Delete.cshtml b/TutorLizard.Web/Views/Category/Delete.cshtml index e5e0ca11..191b6639 100644 --- a/TutorLizard.Web/Views/Category/Delete.cshtml +++ b/TutorLizard.Web/Views/Category/Delete.cshtml @@ -1,14 +1,15 @@ -@model TutorLizard.BusinessLogic.Models.Category +@using TutorLizard.Web.Resources +@model TutorLizard.BusinessLogic.Models.Category @{ ViewData["Title"] = "Delete"; } -

Delete

+

@TutorLizard.Web.Resources.Category.Delete

-

Are you sure you want to delete this?

+

@TutorLizard.Web.Resources.Category.AreYouSureToDelete

-

Category

+

@TutorLizard.Web.Resources.Category.Categoryy


@@ -18,13 +19,13 @@ @Html.DisplayFor(model => model.Id)
- @Html.DisplayNameFor(model => model.Name) + @TutorLizard.Web.Resources.Category.Name
@Html.DisplayFor(model => model.Name)
- @Html.DisplayNameFor(model => model.Description) + @TutorLizard.Web.Resources.Category.Description
@Html.DisplayFor(model => model.Description) @@ -32,7 +33,7 @@
- | - Back to List + | + @TutorLizard.Web.Resources.Category.BackToList
diff --git a/TutorLizard.Web/Views/Category/Details.cshtml b/TutorLizard.Web/Views/Category/Details.cshtml index 1e136ddb..60be9ebd 100644 --- a/TutorLizard.Web/Views/Category/Details.cshtml +++ b/TutorLizard.Web/Views/Category/Details.cshtml @@ -1,13 +1,14 @@ -@model TutorLizard.BusinessLogic.Models.Category +@using TutorLizard.Web.Resources +@model TutorLizard.BusinessLogic.Models.Category @{ ViewData["Title"] = "Details"; } -

Details

+

@TutorLizard.Web.Resources.Category.Details

-

Category

+

@TutorLizard.Web.Resources.Category.Categoryy


@@ -17,13 +18,13 @@ @Html.DisplayFor(model => model.Id)
- @Html.DisplayNameFor(model => model.Name) + @TutorLizard.Web.Resources.Category.Name
@Html.DisplayFor(model => model.Name)
- @Html.DisplayNameFor(model => model.Description) + @TutorLizard.Web.Resources.Category.Description
@Html.DisplayFor(model => model.Description) @@ -31,6 +32,6 @@
- @Html.ActionLink("Edit", "Edit", new { id = Model.Id }) | + @Html.ActionLink(@TutorLizard.Web.Resources.Category.Edit, "Edit", new { id = Model.Id }) | Back to List
diff --git a/TutorLizard.Web/Views/Category/Edit.cshtml b/TutorLizard.Web/Views/Category/Edit.cshtml index 762590c4..862cefc9 100644 --- a/TutorLizard.Web/Views/Category/Edit.cshtml +++ b/TutorLizard.Web/Views/Category/Edit.cshtml @@ -1,36 +1,37 @@ -@model TutorLizard.BusinessLogic.Models.Category +@using TutorLizard.Web.Resources +@model TutorLizard.BusinessLogic.Models.Category @{ ViewData["Title"] = "Edit"; } -

Edit

+

@TutorLizard.Web.Resources.Category.Edit

-

Category

+

@TutorLizard.Web.Resources.Category.Categoryy


- - + +
- - + +
- +
@section Scripts { diff --git a/TutorLizard.Web/Views/Category/Index.cshtml b/TutorLizard.Web/Views/Category/Index.cshtml index 941121ef..ebbdacdf 100644 --- a/TutorLizard.Web/Views/Category/Index.cshtml +++ b/TutorLizard.Web/Views/Category/Index.cshtml @@ -4,10 +4,10 @@ ViewData["Title"] = "Categories"; } -

Categories

+

@TutorLizard.Web.Resources.Category.Categories

- Create New + @TutorLizard.Web.Resources.Category.CreateNew

- @Html.DisplayNameFor(model => model.AdId) + @TutorLizard.Web.Resources.AdRequest.AdId - @Html.DisplayNameFor(model => model.StudentId) + @TutorLizard.Web.Resources.AdRequest.StudentId - @Html.DisplayNameFor(model => model.IsAccepted) + @TutorLizard.Web.Resources.AdRequest.Status - @Html.DisplayNameFor(model => model.IsRemote) + @TutorLizard.Web.Resources.AdRequest.IsRemote - @Html.DisplayNameFor(model => model.ReviewDate) + @TutorLizard.Web.Resources.AdRequest.ReviewDate
- @Html.ActionLink("Edit", "Edit", new { id=item.Id }) | - @Html.ActionLink("Details", "Details", new { id=item.Id }) | - @Html.ActionLink("Delete", "Delete", new { id=item.Id }) + @Html.ActionLink(@TutorLizard.Web.Resources.AdRequest.Edit, "Edit", new { id = item.Id }) | + @Html.ActionLink(@TutorLizard.Web.Resources.AdRequest.Details, "Details", new { id = item.Id }) | + @Html.ActionLink(@TutorLizard.Web.Resources.AdRequest.Delete, "Delete", new { id = item.Id })
@@ -16,10 +16,10 @@ @Html.DisplayNameFor(model => model.Id) @@ -37,9 +37,9 @@ @Html.DisplayFor(modelItem => item.Description) } diff --git a/TutorLizard.Web/Views/Home/AdminPanel.cshtml b/TutorLizard.Web/Views/Home/AdminPanel.cshtml index 97bd056b..567ddff1 100644 --- a/TutorLizard.Web/Views/Home/AdminPanel.cshtml +++ b/TutorLizard.Web/Views/Home/AdminPanel.cshtml @@ -1 +1,3 @@ -

Admin Panel

\ No newline at end of file +@using TutorLizard.Web.Resources + +

@TutorLizard.Web.Resources.Home.AdminPanel

\ No newline at end of file diff --git a/TutorLizard.Web/Views/Home/Data.cshtml b/TutorLizard.Web/Views/Home/Data.cshtml index 5d796906..bbac5c6f 100644 --- a/TutorLizard.Web/Views/Home/Data.cshtml +++ b/TutorLizard.Web/Views/Home/Data.cshtml @@ -1,13 +1,14 @@ -@{ +@using TutorLizard.Web.Resources +@{ ViewData["Title"] = "Data"; } -

Data

+

@TutorLizard.Web.Resources.Home.Data

\ No newline at end of file diff --git a/TutorLizard.Web/Views/Home/Index.cshtml b/TutorLizard.Web/Views/Home/Index.cshtml index f28dcefd..52d381f6 100644 --- a/TutorLizard.Web/Views/Home/Index.cshtml +++ b/TutorLizard.Web/Views/Home/Index.cshtml @@ -1,14 +1,14 @@ @{ ViewData["Title"] = "Home Page"; } -

Home

+

@TutorLizard.Web.Resources.Home.HomePage

diff --git a/TutorLizard.Web/Views/Home/Privacy.cshtml b/TutorLizard.Web/Views/Home/Privacy.cshtml index af4fb195..a8bd0cf9 100644 --- a/TutorLizard.Web/Views/Home/Privacy.cshtml +++ b/TutorLizard.Web/Views/Home/Privacy.cshtml @@ -3,4 +3,4 @@ }

@ViewData["Title"]

-

Use this page to detail your site's privacy policy.

+

@TutorLizard.Web.Resources.Home.Privacy

diff --git a/TutorLizard.Web/Views/ScheduleItem/Create.cshtml b/TutorLizard.Web/Views/ScheduleItem/Create.cshtml index 077dca84..5ae40bf2 100644 --- a/TutorLizard.Web/Views/ScheduleItem/Create.cshtml +++ b/TutorLizard.Web/Views/ScheduleItem/Create.cshtml @@ -1,36 +1,37 @@ -@model TutorLizard.BusinessLogic.Models.ScheduleItem +@using TutorLizard.Web.Resources +@model TutorLizard.BusinessLogic.Models.ScheduleItem @{ ViewData["Title"] = "Create"; } -

Dodaj termin

+

@TutorLizard.Web.Resources.ScheduleItem.AddScheduleItem

-

Nowy termin

+

@TutorLizard.Web.Resources.ScheduleItem.NewScheduleItem


- - + +
- - + +
- +
- Back to List + @TutorLizard.Web.Resources.ScheduleItem.BackToList
@section Scripts { diff --git a/TutorLizard.Web/Views/ScheduleItem/Delete.cshtml b/TutorLizard.Web/Views/ScheduleItem/Delete.cshtml index 0af62a7e..0f5e3675 100644 --- a/TutorLizard.Web/Views/ScheduleItem/Delete.cshtml +++ b/TutorLizard.Web/Views/ScheduleItem/Delete.cshtml @@ -4,9 +4,9 @@ ViewData["Title"] = "Delete"; } -

Delete

+

@TutorLizard.Web.Resources.ScheduleItem.Delete

-

Are you sure you want to delete this?

+

@TutorLizard.Web.Resources.ScheduleItem.YouSureToDelete

ScheduleItem


@@ -18,13 +18,13 @@ @Html.DisplayFor(model => model.Id)
- @Html.DisplayNameFor(model => model.AdId) + @TutorLizard.Web.Resources.ScheduleItem.AdId
@Html.DisplayFor(model => model.AdId)
- @Html.DisplayNameFor(model => model.DateTime) + @TutorLizard.Web.Resources.ScheduleItem.DateTime
@Html.DisplayFor(model => model.DateTime) @@ -32,7 +32,7 @@
- | - Back to List + | + @TutorLizard.Web.Resources.ScheduleItem.BackToList
diff --git a/TutorLizard.Web/Views/ScheduleItem/Details.cshtml b/TutorLizard.Web/Views/ScheduleItem/Details.cshtml index d716b579..6e81e91b 100644 --- a/TutorLizard.Web/Views/ScheduleItem/Details.cshtml +++ b/TutorLizard.Web/Views/ScheduleItem/Details.cshtml @@ -1,10 +1,11 @@ -@model TutorLizard.BusinessLogic.Models.ScheduleItem +@using TutorLizard.Web.Resources +@model TutorLizard.BusinessLogic.Models.ScheduleItem @{ ViewData["Title"] = "Details"; } -

Details

+

@TutorLizard.Web.Resources.ScheduleItem.Details

ScheduleItem

@@ -17,13 +18,13 @@ @Html.DisplayFor(model => model.Id)
- @Html.DisplayNameFor(model => model.AdId) + @TutorLizard.Web.Resources.ScheduleItem.AdId
@Html.DisplayFor(model => model.AdId)
- @Html.DisplayNameFor(model => model.DateTime) + @TutorLizard.Web.Resources.ScheduleItem.DateTime
@Html.DisplayFor(model => model.DateTime) @@ -31,6 +32,6 @@
- @Html.ActionLink("Edit", "Edit", new { id = Model.Id }) | - Back to List + @Html.ActionLink(@TutorLizard.Web.Resources.ScheduleItem.Edit, "Edit", new { id = Model.Id }) | + @TutorLizard.Web.Resources.ScheduleItem.BackToList
diff --git a/TutorLizard.Web/Views/ScheduleItem/Edit.cshtml b/TutorLizard.Web/Views/ScheduleItem/Edit.cshtml index 98aa2ae2..9636428a 100644 --- a/TutorLizard.Web/Views/ScheduleItem/Edit.cshtml +++ b/TutorLizard.Web/Views/ScheduleItem/Edit.cshtml @@ -1,36 +1,37 @@ -@model TutorLizard.BusinessLogic.Models.ScheduleItem +@using TutorLizard.Web.Resources +@model TutorLizard.BusinessLogic.Models.ScheduleItem @{ ViewData["Title"] = "Edit"; } -

Edit

+

@TutorLizard.Web.Resources.ScheduleItem.Edit

-

ScheduleItem

+

@TutorLizard.Web.Resources.ScheduleItem.ScheduleItemy


- - + +
- - + +
- +
- Back to List + @TutorLizard.Web.Resources.ScheduleItem.BackToList
@section Scripts { diff --git a/TutorLizard.Web/Views/ScheduleItem/Index.cshtml b/TutorLizard.Web/Views/ScheduleItem/Index.cshtml index 180f38ef..8e2debab 100644 --- a/TutorLizard.Web/Views/ScheduleItem/Index.cshtml +++ b/TutorLizard.Web/Views/ScheduleItem/Index.cshtml @@ -4,10 +4,10 @@ ViewData["Title"] = "Schedule Items"; } -

Schedule Items

+

@TutorLizard.Web.Resources.ScheduleItem.ScheduleItems

- Create New + @TutorLizard.Web.Resources.ScheduleItem.CreateNew

- @Html.DisplayNameFor(model => model.Name) + @TutorLizard.Web.Resources.Category.Name - @Html.DisplayNameFor(model => model.Description) + @TutorLizard.Web.Resources.Category.Description
- @Html.ActionLink("Edit", "Edit", new { id=item.Id }) | - @Html.ActionLink("Details", "Details", new { id=item.Id }) | - @Html.ActionLink("Delete", "Delete", new { id=item.Id }) + @Html.ActionLink(@TutorLizard.Web.Resources.Category.Edit, "Edit", new { id = item.Id }) | + @Html.ActionLink(@TutorLizard.Web.Resources.Category.Details, "Details", new { id = item.Id }) | + @Html.ActionLink(@TutorLizard.Web.Resources.Category.Delete, "Delete", new { id = item.Id })
@@ -16,10 +16,10 @@ @Html.DisplayNameFor(model => model.Id) @@ -37,9 +37,9 @@ @Html.DisplayFor(modelItem => item.DateTime) } diff --git a/TutorLizard.Web/Views/ScheduleItemRequest/Create.cshtml b/TutorLizard.Web/Views/ScheduleItemRequest/Create.cshtml index 9c5208d2..ae8e7a7e 100644 --- a/TutorLizard.Web/Views/ScheduleItemRequest/Create.cshtml +++ b/TutorLizard.Web/Views/ScheduleItemRequest/Create.cshtml @@ -1,46 +1,47 @@ -@model TutorLizard.BusinessLogic.Models.ScheduleItemRequest +@using TutorLizard.Web.Resources +@model TutorLizard.BusinessLogic.Models.ScheduleItemRequest @{ ViewData["Title"] = "Create"; } -

Create

+

@TutorLizard.Web.Resources.ScheduleItemRequest.Create

-

ScheduleItemRequest

+

@TutorLizard.Web.Resources.ScheduleItemRequest.ScheduleItemRequests


- - + +
- - + +
- +
- Back to List + @TutorLizard.Web.Resources.ScheduleItemRequest.BackToList
@section Scripts { diff --git a/TutorLizard.Web/Views/ScheduleItemRequest/Delete.cshtml b/TutorLizard.Web/Views/ScheduleItemRequest/Delete.cshtml index d69afd7d..8a62adb7 100644 --- a/TutorLizard.Web/Views/ScheduleItemRequest/Delete.cshtml +++ b/TutorLizard.Web/Views/ScheduleItemRequest/Delete.cshtml @@ -1,12 +1,13 @@ -@model TutorLizard.BusinessLogic.Models.ScheduleItemRequest +@using TutorLizard.Web.Resources +@model TutorLizard.BusinessLogic.Models.ScheduleItemRequest @{ ViewData["Title"] = "Delete"; } -

Delete

+

@TutorLizard.Web.Resources.ScheduleItemRequest.Delete

-

Are you sure you want to delete this?

+

@TutorLizard.Web.Resources.ScheduleItemRequest.SureToDelete

ScheduleItemRequest


@@ -18,19 +19,19 @@ @Html.DisplayFor(model => model.Id)
- @Html.DisplayNameFor(model => model.ScheduleItemId) + @TutorLizard.Web.Resources.ScheduleItemRequest.ScheduleItemId
@Html.DisplayFor(model => model.ScheduleItemId)
- @Html.DisplayNameFor(model => model.StudentId) + @TutorLizard.Web.Resources.ScheduleItemRequest.StudentId
@Html.DisplayFor(model => model.StudentId)
- @Html.DisplayNameFor(model => model.IsAccepted) + @TutorLizard.Web.Resources.ScheduleItemRequest.IsAccepted
@Html.DisplayFor(model => model.IsAccepted) @@ -38,7 +39,7 @@
- | - Back to List + | + @TutorLizard.Web.Resources.ScheduleItemRequest.BackToList
diff --git a/TutorLizard.Web/Views/ScheduleItemRequest/Details.cshtml b/TutorLizard.Web/Views/ScheduleItemRequest/Details.cshtml index b216e793..78e358bc 100644 --- a/TutorLizard.Web/Views/ScheduleItemRequest/Details.cshtml +++ b/TutorLizard.Web/Views/ScheduleItemRequest/Details.cshtml @@ -1,13 +1,14 @@ -@model TutorLizard.BusinessLogic.Models.ScheduleItemRequest +@using TutorLizard.Web.Resources +@model TutorLizard.BusinessLogic.Models.ScheduleItemRequest @{ ViewData["Title"] = "Details"; } -

Details

+

@TutorLizard.Web.Resources.ScheduleItemRequest.Details

-

ScheduleItemRequest

+

@TutorLizard.Web.Resources.ScheduleItemRequest.ScheduleItemRequests


@@ -17,25 +18,25 @@ @Html.DisplayFor(model => model.Id)
- @Html.DisplayNameFor(model => model.ScheduleItemId) + @TutorLizard.Web.Resources.ScheduleItemRequest.ScheduleItemId
@Html.DisplayFor(model => model.ScheduleItemId)
- @Html.DisplayNameFor(model => model.StudentId) + @TutorLizard.Web.Resources.ScheduleItemRequest.StudentId
@Html.DisplayFor(model => model.StudentId)
- @Html.DisplayNameFor(model => model.IsAccepted) + @TutorLizard.Web.Resources.ScheduleItemRequest.IsAccepted
@Html.DisplayFor(model => model.IsAccepted)
- @Html.DisplayNameFor(model => model.IsRemote) + @TutorLizard.Web.Resources.ScheduleItemRequest.IsRemote
@Html.DisplayFor(model => model.IsRemote) @@ -43,6 +44,6 @@
- @Html.ActionLink("Edit", "Edit", new { id = Model.Id }) | - Back to List + @Html.ActionLink(@TutorLizard.Web.Resources.ScheduleItemRequest.Edit, "Edit", new { id = Model.Id }) | + @TutorLizard.Web.Resources.ScheduleItemRequest.BackToList
diff --git a/TutorLizard.Web/Views/ScheduleItemRequest/Edit.cshtml b/TutorLizard.Web/Views/ScheduleItemRequest/Edit.cshtml index c72539d8..1b6ae36a 100644 --- a/TutorLizard.Web/Views/ScheduleItemRequest/Edit.cshtml +++ b/TutorLizard.Web/Views/ScheduleItemRequest/Edit.cshtml @@ -4,43 +4,43 @@ ViewData["Title"] = "Edit"; } -

Edit

+

@TutorLizard.Web.Resources.ScheduleItemRequest.Edit

-

ScheduleItemRequest

+

@TutorLizard.Web.Resources.ScheduleItemRequest.ScheduleItemRequests


- - + +
- - + +
- +
- Back to List + @TutorLizard.Web.Resources.ScheduleItemRequest.BackToList
@section Scripts { diff --git a/TutorLizard.Web/Views/ScheduleItemRequest/Index.cshtml b/TutorLizard.Web/Views/ScheduleItemRequest/Index.cshtml index 9f2f0aad..0bb0ba50 100644 --- a/TutorLizard.Web/Views/ScheduleItemRequest/Index.cshtml +++ b/TutorLizard.Web/Views/ScheduleItemRequest/Index.cshtml @@ -4,10 +4,10 @@ ViewData["Title"] = "Schedule Item Requests"; } -

Schedule Item Requests

+

@TutorLizard.Web.Resources.ScheduleItemRequest.ScheduleItemRequests

- Create New + @TutorLizard.Web.Resources.ScheduleItemRequest.CreateNew

- @Html.DisplayNameFor(model => model.AdId) + @TutorLizard.Web.Resources.ScheduleItem.AdId - @Html.DisplayNameFor(model => model.DateTime) + @TutorLizard.Web.Resources.ScheduleItem.DateTime
- @Html.ActionLink("Edit", "Edit", new { id=item.Id }) | - @Html.ActionLink("Details", "Details", new { id=item.Id }) | - @Html.ActionLink("Delete", "Delete", new { id=item.Id }) + @Html.ActionLink(@TutorLizard.Web.Resources.ScheduleItem.Edit, "Edit", new { id = item.Id }) | + @Html.ActionLink(@TutorLizard.Web.Resources.ScheduleItem.Details, "Details", new { id = item.Id }) | + @Html.ActionLink(@TutorLizard.Web.Resources.ScheduleItem.Delete, "Delete", new { id = item.Id })
@@ -16,16 +16,16 @@ @Html.DisplayNameFor(model => model.Id) @@ -49,9 +49,9 @@ @Html.DisplayFor(modelItem => item.IsRemote) } diff --git a/TutorLizard.Web/Views/Shared/Components/AdRequestStatusForAd/Default.cshtml b/TutorLizard.Web/Views/Shared/Components/AdRequestStatusForAd/Default.cshtml index 4fbdf119..61c31468 100644 --- a/TutorLizard.Web/Views/Shared/Components/AdRequestStatusForAd/Default.cshtml +++ b/TutorLizard.Web/Views/Shared/Components/AdRequestStatusForAd/Default.cshtml @@ -1,33 +1,34 @@ -@model GetAdRequestStatusResponse? +@using TutorLizard.Web.Resources +@model GetAdRequestStatusResponse? @if(Model is not null) {
-

Twoje zgłoszenie

+

@TutorLizard.Web.Resources.Shared.YourRequest

- Status zgłoszenia: + @TutorLizard.Web.Resources.Shared.RequestStatus @if(Model.Status == GetAdRequestStatusResponse.RequestStatus.Accepted) { - Zaakceptowane + @TutorLizard.Web.Resources.Shared.RequestAccepted } else if(Model.Status == GetAdRequestStatusResponse.RequestStatus.Pending) { - Oczekuje na akceptację + @TutorLizard.Web.Resources.Shared.RequestPending } else if (Model.Status == GetAdRequestStatusResponse.RequestStatus.Rejected) { - Odrzucone + @TutorLizard.Web.Resources.Shared.RequestRejected }
Data wysłania: @Model.DateCreated
-
Twoja wiadomość:
+
@TutorLizard.Web.Resources.Shared.RequestMessage
@Model.Message
@if(Model.ReplyMessage is not null) {
-
Odpowiedź nauczyciela:
+
@TutorLizard.Web.Resources.Shared.RequestTutorResponse
@Model.ReplyMessage
} diff --git a/TutorLizard.Web/Views/Shared/Components/AvailableScheduleForAd/Default.cshtml b/TutorLizard.Web/Views/Shared/Components/AvailableScheduleForAd/Default.cshtml index 78510ae8..38ef0c59 100644 --- a/TutorLizard.Web/Views/Shared/Components/AvailableScheduleForAd/Default.cshtml +++ b/TutorLizard.Web/Views/Shared/Components/AvailableScheduleForAd/Default.cshtml @@ -1,9 +1,10 @@ @using static TutorLizard.Shared.Models.DTOs.ScheduleItemDto +@using TutorLizard.Web.Resources @model GetAvailableScheduleForAdResponse? @if (Model is not null) { -

Dostępne terminy

+

@TutorLizard.Web.Resources.Shared.AvailableDates

@if (Model.IsAccepted == true) { @@ -12,22 +13,22 @@ {
@item.DateTime
- Status zgłosznenia + @TutorLizard.Web.Resources.Shared.RequestStatus @if (item.Status == ScheduleItemRequestStatus.Accepted) { - Zaakceptowane + @TutorLizard.Web.Resources.Shared.RequestAccepted } else if (item.Status == ScheduleItemRequestStatus.Pending) { - Oczekujące + @TutorLizard.Web.Resources.Shared.RequestPending } else if (item.Status == ScheduleItemRequestStatus.Rejected) { - Odrzucone + @TutorLizard.Web.Resources.Shared.RequestRejected } else if (item.Status == ScheduleItemRequestStatus.RequestNotSent) { - Nie wysłano + @TutorLizard.Web.Resources.Shared.RequestNotSent
@@ -37,12 +38,12 @@ {
} - +
} diff --git a/TutorLizard.Web/Views/Shared/Components/CreateRequestForAd/Default.cshtml b/TutorLizard.Web/Views/Shared/Components/CreateRequestForAd/Default.cshtml index 4bf81633..a31b9103 100644 --- a/TutorLizard.Web/Views/Shared/Components/CreateRequestForAd/Default.cshtml +++ b/TutorLizard.Web/Views/Shared/Components/CreateRequestForAd/Default.cshtml @@ -7,19 +7,19 @@
-

Zapisz siÄ™

+

@TutorLizard.Web.Resources.Shared.SignUp

- - + +
- +
diff --git a/TutorLizard.Web/Views/Shared/Components/TutorsScheduleForAd/Default.cshtml b/TutorLizard.Web/Views/Shared/Components/TutorsScheduleForAd/Default.cshtml index 40452629..b01b0502 100644 --- a/TutorLizard.Web/Views/Shared/Components/TutorsScheduleForAd/Default.cshtml +++ b/TutorLizard.Web/Views/Shared/Components/TutorsScheduleForAd/Default.cshtml @@ -6,7 +6,7 @@

Terminy

@foreach(var scheduleItem in Model.ScheduleItems) @@ -16,7 +16,7 @@
@if(scheduleItem.Requests.Count == 0) { -
Brak zgłoszeń
+
@TutorLizard.Web.Resources.Shared.NoRequests
} else { @@ -25,40 +25,40 @@ {
@request.StudentName
-
Zgłoszenie wysłane: @request.DateCreated
+
@TutorLizard.Web.Resources.Shared.RequestDate : @request.DateCreated
- Nauczanie zdalne: + @TutorLizard.Web.Resources.Shared.IsRemote : @if (request.IsRemote) { - Tak + @TutorLizard.Web.Resources.Shared.Yes } else { - Nie + @TutorLizard.Web.Resources.Shared.No }
@if (request.IsAccepted) { - Zgłoszenie zaakceptowane + @TutorLizard.Web.Resources.Shared.RequestIsAccepted
- + } else if (request.CanBeAccepted) { - Zgłoszenie niezaakceptowane + @TutorLizard.Web.Resources.Shared.RequestIsRejected
- + } else { - Zgłoszenie nie może zostać zaakceptowane + @TutorLizard.Web.Resources.Shared.RequestCannotBeAccepted }
diff --git a/TutorLizard.Web/Views/Shared/_AdListItem.cshtml b/TutorLizard.Web/Views/Shared/_AdListItem.cshtml index 43ab0d7d..8b399dd7 100644 --- a/TutorLizard.Web/Views/Shared/_AdListItem.cshtml +++ b/TutorLizard.Web/Views/Shared/_AdListItem.cshtml @@ -4,40 +4,40 @@
@Model.Title
-
Kategoria:
+
@TutorLizard.Web.Resources.Shared.Category :
@Model.CategoryName
-
Tematyka:
+
@TutorLizard.Web.Resources.Shared.Subject :
@Model.Subject
-
Lokalizacja:
+
@TutorLizard.Web.Resources.Shared.Localization:
@Model.Location
-
Wystawione przez:
+
@TutorLizard.Web.Resources.Shared.PostedBy :
@Model.TutorName
-
Cena:
+
@TutorLizard.Web.Resources.Shared.Price :
@Html.DisplayFor(model => model.Price) zł/h
-
Nauczanie zdalne:
+
@TutorLizard.Web.Resources.Shared.IsRemote
@if(Model.IsRemote) { - Tak + @TutorLizard.Web.Resources.Shared.Yes } else { - Nie + @TutorLizard.Web.Resources.Shared.No }
@@ -50,7 +50,7 @@
diff --git a/TutorLizard.Web/Views/Shared/_AdRequests.cshtml b/TutorLizard.Web/Views/Shared/_AdRequests.cshtml index 9e1d6e51..b078b68e 100644 --- a/TutorLizard.Web/Views/Shared/_AdRequests.cshtml +++ b/TutorLizard.Web/Views/Shared/_AdRequests.cshtml @@ -4,44 +4,44 @@
@Model.AdId
-
Ogłoszenie:
+
@TutorLizard.Web.Resources.Shared.Advert :
@Model.AdId
-
Twoja wiadomość
+
@TutorLizard.Web.Resources.Shared.RequestMessage :
@Model.Message
-
Odpowiedź:
+
@TutorLizard.Web.Resources.Shared.Reply :
@Model.ReplyMessage
-
Nauczanie zdalne:
+
@TutorLizard.Web.Resources.Shared.IsRemote :
@if (Model.IsRemote) { - Tak + @TutorLizard.Web.Resources.Shared.Yes } else { - Nie + @TutorLizard.Web.Resources.Shared.No }
-
Akceptacja:
+
@TutorLizard.Web.Resources.Shared.Acceptance :
@if (Model.IsAccepted) { - Nauczyciel zaakceptował Twoje zgłoszenie + @TutorLizard.Web.Resources.Shared.TutorHasAcceptedRequest } else { - Nauczyciel nie zaakceptował Twojego zgłoszenia + @TutorLizard.Web.Resources.Shared.TutorHasRejectedRequest }
diff --git a/TutorLizard.Web/Views/Shared/_Layout.cshtml b/TutorLizard.Web/Views/Shared/_Layout.cshtml index 9700f7a8..1d71398b 100644 --- a/TutorLizard.Web/Views/Shared/_Layout.cshtml +++ b/TutorLizard.Web/Views/Shared/_Layout.cshtml @@ -1,4 +1,5 @@ -@using System.Security.Claims +@using TutorLizard.Web +@using System.Security.Claims @{ var claims = (User.Identity as ClaimsIdentity)?.Claims; @@ -30,27 +31,43 @@
@section Scripts { diff --git a/TutorLizard.Web/Views/User/Delete.cshtml b/TutorLizard.Web/Views/User/Delete.cshtml index 65cc34f9..001a8c2a 100644 --- a/TutorLizard.Web/Views/User/Delete.cshtml +++ b/TutorLizard.Web/Views/User/Delete.cshtml @@ -1,12 +1,13 @@ -@model TutorLizard.BusinessLogic.Models.User +@using TutorLizard.Web.Resources +@model TutorLizard.BusinessLogic.Models.User @{ ViewData["Title"] = "Delete"; } -

Delete

+

@TutorLizard.Web.Resources.User.Delete

-

Are you sure you want to delete this?

+

@TutorLizard.Web.Resources.User.SureToDelete

User


@@ -18,31 +19,31 @@ @Html.DisplayFor(model => model.Id)
- @Html.DisplayNameFor(model => model.Name) + @TutorLizard.Web.Resources.User.Name
@Html.DisplayFor(model => model.Name)
- @Html.DisplayNameFor(model => model.UserType) + @TutorLizard.Web.Resources.User.UserType
@Html.DisplayFor(model => model.UserType)
- @Html.DisplayNameFor(model => model.Email) + @TutorLizard.Web.Resources.User.Email
@Html.DisplayFor(model => model.Email)
- @Html.DisplayNameFor(model => model.PasswordHash) + @TutorLizard.Web.Resources.User.Password
@Html.DisplayFor(model => model.PasswordHash)
- @Html.DisplayNameFor(model => model.DateCreated) + @TutorLizard.Web.Resources.User.DateCreated
@Html.DisplayFor(model => model.DateCreated) @@ -50,7 +51,7 @@
- | - Back to List + | + @TutorLizard.Web.Resources.User.BackToList
diff --git a/TutorLizard.Web/Views/User/Details.cshtml b/TutorLizard.Web/Views/User/Details.cshtml index 592436d1..44b0cfa6 100644 --- a/TutorLizard.Web/Views/User/Details.cshtml +++ b/TutorLizard.Web/Views/User/Details.cshtml @@ -1,4 +1,5 @@ -@model TutorLizard.BusinessLogic.Models.User +@using TutorLizard.Web.Resources +@model TutorLizard.BusinessLogic.Models.User @{ ViewData["Title"] = "Details"; @@ -17,31 +18,31 @@ @Html.DisplayFor(model => model.Id)
- @Html.DisplayNameFor(model => model.Name) + @TutorLizard.Web.Resources.User.Name
@Html.DisplayFor(model => model.Name)
- @Html.DisplayNameFor(model => model.UserType) + @TutorLizard.Web.Resources.User.UserType
@Html.DisplayFor(model => model.UserType)
- @Html.DisplayNameFor(model => model.Email) + @TutorLizard.Web.Resources.User.Email
@Html.DisplayFor(model => model.Email)
- @Html.DisplayNameFor(model => model.PasswordHash) + @TutorLizard.Web.Resources.User.Password
@Html.DisplayFor(model => model.PasswordHash)
- @Html.DisplayNameFor(model => model.DateCreated) + @TutorLizard.Web.Resources.User.DateCreated
@Html.DisplayFor(model => model.DateCreated) @@ -49,6 +50,6 @@
- @Html.ActionLink("Edit", "Edit", new { id = Model.Id }) | - Back to List + @Html.ActionLink(@TutorLizard.Web.Resources.User.Edit, "Edit", new { id = Model.Id }) | + @TutorLizard.Web.Resources.User.BackToList
diff --git a/TutorLizard.Web/Views/User/Edit.cshtml b/TutorLizard.Web/Views/User/Edit.cshtml index 4f26918b..929e0c8b 100644 --- a/TutorLizard.Web/Views/User/Edit.cshtml +++ b/TutorLizard.Web/Views/User/Edit.cshtml @@ -1,47 +1,48 @@ -@using TutorLizard.BusinessLogic.Models +@using TutorLizard.Web.Resources +@using TutorLizard.BusinessLogic.Models @model TutorLizard.BusinessLogic.Models.User @{ ViewData["Title"] = "Edit"; } -

Edit

+

@TutorLizard.Web.Resources.User.Edit

-

User

+

@TutorLizard.Web.Resources.User.Userr


- - + +
- - + +
- - + +
- - + +
- +
@section Scripts { diff --git a/TutorLizard.Web/Views/User/Index.cshtml b/TutorLizard.Web/Views/User/Index.cshtml index 96e98d52..34305333 100644 --- a/TutorLizard.Web/Views/User/Index.cshtml +++ b/TutorLizard.Web/Views/User/Index.cshtml @@ -1,10 +1,11 @@ -@model IEnumerable +@using TutorLizard.Web.Resources +@model IEnumerable @{ ViewData["Title"] = "Users"; } -

Users

+

@TutorLizard.Web.Resources.User.Users

Create New @@ -16,19 +17,19 @@ @Html.DisplayNameFor(model => model.Id)

@@ -55,9 +56,9 @@ @Html.DisplayFor(modelItem => item.DateCreated) }
- @Html.DisplayNameFor(model => model.ScheduleItemId) + @TutorLizard.Web.Resources.ScheduleItemRequest.ScheduleItemId - @Html.DisplayNameFor(model => model.StudentId) + @TutorLizard.Web.Resources.ScheduleItemRequest.StudentId - @Html.DisplayNameFor(model => model.IsAccepted) + @TutorLizard.Web.Resources.ScheduleItemRequest.IsAccepted - @Html.DisplayNameFor(model => model.IsRemote) + @TutorLizard.Web.Resources.ScheduleItemRequest.IsRemote
- @Html.ActionLink("Edit", "Edit", new { id=item.Id }) | - @Html.ActionLink("Details", "Details", new { id=item.Id }) | - @Html.ActionLink("Delete", "Delete", new { id=item.Id }) + @Html.ActionLink(@TutorLizard.Web.Resources.ScheduleItemRequest.Edit, "Edit", new { id = item.Id }) | + @Html.ActionLink(@TutorLizard.Web.Resources.ScheduleItemRequest.Details, "Details", new { id = item.Id }) | + @Html.ActionLink(@TutorLizard.Web.Resources.ScheduleItemRequest.Delete, "Delete", new { id = item.Id })
- @Html.DisplayNameFor(model => model.Name) + @TutorLizard.Web.Resources.User.Name - @Html.DisplayNameFor(model => model.UserType) + @TutorLizard.Web.Resources.User.UserType - @Html.DisplayNameFor(model => model.Email) + @TutorLizard.Web.Resources.User.Email - @Html.DisplayNameFor(model => model.PasswordHash) + @TutorLizard.Web.Resources.User.Password - @Html.DisplayNameFor(model => model.DateCreated) + @TutorLizard.Web.Resources.User.DateCreated
- @Html.ActionLink("Edit", "Edit", new { id=item.Id }) | - @Html.ActionLink("Details", "Details", new { id=item.Id }) | - @Html.ActionLink("Delete", "Delete", new { id=item.Id }) + @Html.ActionLink(@TutorLizard.Web.Resources.User.Edit, "Edit", new { id = item.Id }) | + @Html.ActionLink(@TutorLizard.Web.Resources.User.Details, "Details", new { id = item.Id }) | + @Html.ActionLink(@TutorLizard.Web.Resources.User.Delete, "Delete", new { id = item.Id })