Skip to content

Commit

Permalink
Added AchievementType english localization. (#934)
Browse files Browse the repository at this point in the history
  • Loading branch information
andriitsylia authored Jan 13, 2023
1 parent 12f2a9c commit e75c826
Show file tree
Hide file tree
Showing 9 changed files with 2,517 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,37 +107,43 @@ public static void Seed(this ModelBuilder builder)
{
Id = 1L,
Title = "Переможці міжнародних та всеукраїнських спортивних змагань (індивідуальних та командних)",
TitleEn = "Winners of international and all-Ukrainian sports competitions (individual and team)",
},
new AchievementType
{
Id = 2L,
Title =
"Призери та учасники міжнародних, всеукраїнських та призери регіональних конкурсів і виставок наукових, технічних, дослідницьких, інноваційних, ІТ проектів",
Title = "Призери та учасники міжнародних, всеукраїнських та призери регіональних конкурсів і виставок наукових, технічних, дослідницьких, інноваційних, ІТ проектів",
TitleEn = "Winners and participants of international, all-Ukrainian and regional contests and exhibitions of scientific, technical, research, innovation, IT projects",
},
new AchievementType
{
Id = 3L,
Title = "Реципієнти міжнародних грантів",
TitleEn = "Recipients of international grants",
},
new AchievementType
{
Id = 4L,
Title = "Призери міжнародних культурних конкурсів та фестивалів",
TitleEn = "Winners of international cultural competitions and festivals",
},
new AchievementType
{
Id = 5L,
Title = "Соціально активні категорії учнів",
TitleEn = "Socially active categories of students",
},
new AchievementType
{
Id = 6L,
Title = "Цифрові інструменти Google для закладів вищої та фахової передвищої освіти",
TitleEn = "Google digital tools for institutions of higher and professional pre-higher education",
},
new AchievementType
{
Id = 7L,
Title = "Переможці та учасники олімпіад міжнародного та всеукраїнського рівнів",
TitleEn = "Winners and participants of olympiads at the international and all-Ukrainian levels",
});

builder.Entity<ProviderType>().HasData(
Expand Down
5 changes: 5 additions & 0 deletions OutOfSchool/OutOfSchool.DataAccess/Models/AchievementType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,9 @@ public class AchievementType : IKeyedEntity<long>
[MaxLength(200)]
[MinLength(1)]
public string Title { get; set; }

[DataType(DataType.Text)]
[MaxLength(200)]
[MinLength(1)]
public string TitleEn { get; set; }
}
Loading

0 comments on commit e75c826

Please sign in to comment.