mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
Update AdGuard Spanish/Portuguese filter descriptions and add missing PT language tag
Co-authored-by: collinbarrett <6483057+collinbarrett@users.noreply.github.com>
This commit is contained in:
parent
9e225140df
commit
7133f26352
5 changed files with 88119 additions and 4 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,56 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class UpdateAdGuardPortugueseFilters : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 158,
|
||||
column: "Description",
|
||||
value: "Blocks ads on websites in Spanish and Portuguese.");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2202,
|
||||
column: "Description",
|
||||
value: "Blocks ads on websites in Spanish and Portuguese.");
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterListLanguage",
|
||||
columns: new[] { "FilterListId", "LanguageId" },
|
||||
values: new object[] { 2202, (short)127 });
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListLanguage",
|
||||
keyColumns: new[] { "FilterListId", "LanguageId" },
|
||||
keyValues: new object[] { 2202, (short)127 });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 158,
|
||||
column: "Description",
|
||||
value: "Filter that enables removing of the ads from websites in Spanish.");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2202,
|
||||
column: "Description",
|
||||
value: "Filter that enables removing of the ads from websites in Spanish.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1139,7 +1139,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
new
|
||||
{
|
||||
Id = 158,
|
||||
Description = "Filter that enables removing of the ads from websites in Spanish.",
|
||||
Description = "Blocks ads on websites in Spanish and Portuguese.",
|
||||
ForumUrl = "https://forum.adguard.com/index.php?categories/filter-rules.66/",
|
||||
HomeUrl = "https://github.com/AdguardTeam/AdguardFilters",
|
||||
IssuesUrl = "https://github.com/AdguardTeam/AdguardFilters/issues",
|
||||
|
|
@ -15783,7 +15783,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
new
|
||||
{
|
||||
Id = 2202,
|
||||
Description = "Filter that enables removing of the ads from websites in Spanish.",
|
||||
Description = "Blocks ads on websites in Spanish and Portuguese.",
|
||||
ForumUrl = "https://forum.adguard.com/index.php?categories/filter-rules.66/",
|
||||
HomeUrl = "https://github.com/AdguardTeam/AdguardFilters",
|
||||
IssuesUrl = "https://github.com/AdguardTeam/AdguardFilters/issues",
|
||||
|
|
@ -23908,6 +23908,11 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
LanguageId = (short)39
|
||||
},
|
||||
new
|
||||
{
|
||||
FilterListId = 2202,
|
||||
LanguageId = (short)127
|
||||
},
|
||||
new
|
||||
{
|
||||
FilterListId = 2204,
|
||||
LanguageId = (short)14
|
||||
|
|
|
|||
|
|
@ -874,7 +874,7 @@
|
|||
"policyUrl": "https://kb.adguard.com/en/general/adguard-filter-policy"
|
||||
},
|
||||
{
|
||||
"description": "Filter that enables removing of the ads from websites in Spanish.",
|
||||
"description": "Blocks ads on websites in Spanish and Portuguese.",
|
||||
"forumUrl": "https://forum.adguard.com/index.php?categories/filter-rules.66/",
|
||||
"homeUrl": "https://github.com/AdguardTeam/AdguardFilters",
|
||||
"id": 158,
|
||||
|
|
@ -13908,7 +13908,7 @@
|
|||
"policyUrl": "https://kb.adguard.com/en/general/adguard-filter-policy"
|
||||
},
|
||||
{
|
||||
"description": "Filter that enables removing of the ads from websites in Spanish.",
|
||||
"description": "Blocks ads on websites in Spanish and Portuguese.",
|
||||
"forumUrl": "https://forum.adguard.com/index.php?categories/filter-rules.66/",
|
||||
"homeUrl": "https://github.com/AdguardTeam/AdguardFilters",
|
||||
"id": 2202,
|
||||
|
|
|
|||
|
|
@ -2867,6 +2867,10 @@
|
|||
"filterListId": 2202,
|
||||
"languageId": 39
|
||||
},
|
||||
{
|
||||
"filterListId": 2202,
|
||||
"languageId": 127
|
||||
},
|
||||
{
|
||||
"filterListId": 2204,
|
||||
"languageId": 14
|
||||
|
|
|
|||
Loading…
Reference in a new issue