Skip to content

Commit

Permalink
Fix Language authoring policheck issues (Azure#19223)
Browse files Browse the repository at this point in the history
* Fix Language authoring policheck issues

* Replace the API response with the latest value

* Rename `Persina (Farsi) to `Persian`

* Revert "Rename `Persina (Farsi) to `Persian`"

This reverts commit 5a1feff.

* Rename `Persian (Farsi)` to `Persian`

* Remove the Bengali example
  • Loading branch information
moabba authored May 25, 2022
1 parent f07a806 commit 725f4ca
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 110 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,6 @@
"languageName": "Bulgarian",
"languageCode": "bg"
},
{
"languageName": "Bengali",
"languageCode": "bn"
},
{
"languageName": "Breton",
"languageCode": "br"
Expand Down Expand Up @@ -163,7 +159,7 @@
"languageCode": "eu"
},
{
"languageName": "Persian (Farsi)",
"languageName": "Persian",
"languageCode": "fa"
},
{
Expand Down Expand Up @@ -287,7 +283,7 @@
"languageCode": "nb"
},
{
"languageName": "Oriya",
"languageName": "Odia",
"languageCode": "or"
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,51 +10,11 @@
"headers": {},
"body": {
"value": [
{
"category": "Media.Artist",
"description": "Artist name",
"examples": "Phil Collins"
},
{
"category": "Media.Title",
"description": "Drama name, Song title",
"examples": "Hey Jude"
},
{
"category": "Person.Name",
"description": "Name of an individual",
"examples": "john, Sam, Lisa"
},
{
"category": "Geography.Location",
"description": "Parent of all location subtypes",
"examples": "Tokyo, Asia, Taj Mahal"
},
{
"category": "Geography.Location.POI",
"description": "Place of interest",
"examples": "National park, Eifel tower"
},
{
"category": "Geography.Location.City",
"description": "City names",
"examples": "Cairo, London"
},
{
"category": "Geography.Location.State",
"description": "US State names",
"examples": "Texas, California"
},
{
"category": "Geography.Location.Continent",
"description": "Continent names",
"examples": "Asia, Europe"
},
{
"category": "Geography.Location.CountryRegion",
"description": "Country names",
"examples": "Japan, France"
},
{
"category": "General.Event",
"description": "Important events",
Expand All @@ -66,15 +26,20 @@
"examples": "Microsoft, Amazon"
},
{
"category": "Geography.Address",
"description": "Full US addresses",
"examples": "123 main street, TX 75080"
"category": "Choice.Boolean",
"description": "boolean choice",
"examples": "yes, no, agreed"
},
{
"category": "Quantity.Age",
"description": "Age of a person or thing",
"examples": "10-month-old, 19 years old, 58 year-old"
},
{
"category": "Quantity.NumberRange",
"description": "a numeric interval",
"examples": "between 25 and 35, 25-35"
},
{
"category": "Quantity.Number",
"description": "A cardinal number in numeric or text form",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,6 @@
"languageName": "Bulgarian",
"languageCode": "bg"
},
{
"languageName": "Bengali",
"languageCode": "bn"
},
{
"languageName": "Breton",
"languageCode": "br"
Expand Down Expand Up @@ -114,7 +110,7 @@
"languageCode": "eu"
},
{
"languageName": "Persian (Farsi)",
"languageName": "Persian",
"languageCode": "fa"
},
{
Expand Down Expand Up @@ -262,7 +258,7 @@
"languageCode": "nb"
},
{
"languageName": "Oriya",
"languageName": "Odia",
"languageCode": "or"
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,6 @@
"languageName": "Bulgarian",
"languageCode": "bg"
},
{
"languageName": "Bengali",
"languageCode": "bn"
},
{
"languageName": "Breton",
"languageCode": "br"
Expand Down Expand Up @@ -163,7 +159,7 @@
"languageCode": "eu"
},
{
"languageName": "Persian (Farsi)",
"languageName": "Persian",
"languageCode": "fa"
},
{
Expand Down Expand Up @@ -287,7 +283,7 @@
"languageCode": "nb"
},
{
"languageName": "Oriya",
"languageName": "Odia",
"languageCode": "or"
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,51 +10,11 @@
"headers": {},
"body": {
"value": [
{
"category": "Media.Artist",
"description": "Artist name",
"examples": "Phil Collins"
},
{
"category": "Media.Title",
"description": "Drama name, Song title",
"examples": "Hey Jude"
},
{
"category": "Person.Name",
"description": "Name of an individual",
"examples": "john, Sam, Lisa"
},
{
"category": "Geography.Location",
"description": "Parent of all location subtypes",
"examples": "Tokyo, Asia, Taj Mahal"
},
{
"category": "Geography.Location.POI",
"description": "Place of interest",
"examples": "National park, Eifel tower"
},
{
"category": "Geography.Location.City",
"description": "City names",
"examples": "Cairo, London"
},
{
"category": "Geography.Location.State",
"description": "US State names",
"examples": "Texas, California"
},
{
"category": "Geography.Location.Continent",
"description": "Continent names",
"examples": "Asia, Europe"
},
{
"category": "Geography.Location.CountryRegion",
"description": "Country names",
"examples": "Japan, France"
},
{
"category": "General.Event",
"description": "Important events",
Expand All @@ -66,15 +26,20 @@
"examples": "Microsoft, Amazon"
},
{
"category": "Geography.Address",
"description": "Full US addresses",
"examples": "123 main street, TX 75080"
"category": "Choice.Boolean",
"description": "boolean choice",
"examples": "yes, no, agreed"
},
{
"category": "Quantity.Age",
"description": "Age of a person or thing",
"examples": "10-month-old, 19 years old, 58 year-old"
},
{
"category": "Quantity.NumberRange",
"description": "a numeric interval",
"examples": "between 25 and 35, 25-35"
},
{
"category": "Quantity.Number",
"description": "A cardinal number in numeric or text form",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,6 @@
"languageName": "Bulgarian",
"languageCode": "bg"
},
{
"languageName": "Bengali",
"languageCode": "bn"
},
{
"languageName": "Breton",
"languageCode": "br"
Expand Down Expand Up @@ -114,7 +110,7 @@
"languageCode": "eu"
},
{
"languageName": "Persian (Farsi)",
"languageName": "Persian",
"languageCode": "fa"
},
{
Expand Down Expand Up @@ -262,7 +258,7 @@
"languageCode": "nb"
},
{
"languageName": "Oriya",
"languageName": "Odia",
"languageCode": "or"
},
{
Expand Down

0 comments on commit 725f4ca

Please sign in to comment.