Expose content language in HTML

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-11-13 15:58:54 +01:00
parent cf7744ab51
commit 0a37719029
16 changed files with 60 additions and 11 deletions

View File

@@ -18,6 +18,7 @@ export const COMMENT_FIELDS_FRAGMENT = gql`
updatedAt
deletedAt
isAnnouncement
language
}
${ACTOR_FRAGMENT}
`;

View File

@@ -22,6 +22,7 @@ const FULL_EVENT_FRAGMENT = gql`
visibility
joinOptions
draft
language
picture {
id
url
@@ -60,6 +61,7 @@ const FULL_EVENT_FRAGMENT = gql`
uuid
title
beginsOn
language
picture {
id
url
@@ -153,6 +155,7 @@ export const FETCH_EVENTS = gql`
status
visibility
insertedAt
language
picture {
id
url

View File

@@ -105,6 +105,7 @@ export const GROUP_FIELDS_FRAGMENTS = gql`
title
beginsOn
draft
language
options {
maximumAttendeeCapacity
}

View File

@@ -37,6 +37,7 @@ export const HOME_USER_QUERIES = gql`
}
beginsOn
visibility
language
organizerActor {
...ActorFragment
}
@@ -79,6 +80,7 @@ export const HOME_USER_QUERIES = gql`
picture {
url
}
language
attributedTo {
...ActorFragment
}
@@ -129,6 +131,7 @@ export const CLOSE_CONTENT = gql`
id
url
}
language
tags {
...TagFragment
}

View File

@@ -21,6 +21,7 @@ export const POST_FRAGMENT = gql`
publishAt
draft
visibility
language
tags {
...TagFragment
}
@@ -56,6 +57,7 @@ export const POST_BASIC_FIELDS = gql`
publishAt
draft
visibility
language
picture {
id
url