Skip to content

Commit

Permalink
Fix translations (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibaudDauce authored Dec 18, 2024
1 parent 737d3c9 commit 9e28cc3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lang/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -763,5 +763,7 @@
"No results for \"{q}\"": "No results for \"{q}\"",
"No users": "No users",
"No organizations": "No organizations",
"{n} posts": "{n} posts | {n} post | {n} posts",
"Published the {date}": "Published the {date}",
"": ""
}
2 changes: 2 additions & 0 deletions lang/es-ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -756,5 +756,7 @@
"No results for \"{q}\"": "No results for \"{q}\"",
"No users": "No users",
"No organizations": "No organizations",
"{n} posts": "{n} posts | {n} post | {n} posts",
"Published the {date}": "Published the {date}",
"": ""
}
2 changes: 2 additions & 0 deletions lang/fr-FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -784,5 +784,7 @@
"No results for \"{q}\"": "Pas de résultats pour « {q} »",
"No users": "Pas d'utilisateurs",
"No organizations": "Pas d'organizations",
"{n} posts": "{n} articles | {n} article | {n} articles",
"Published the {date}": "Publié le {date}",
"": ""
}
2 changes: 1 addition & 1 deletion pages/beta/admin/site/posts.vue
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ const { data: pageData, status } = await useAPI<PaginatedArray<Post>>('/api/1/po
function getStatus(post: Post): { label: string, type: AdminBadgeType } {
if (post.published) {
return {
label: t('Published {date}', { date: formatDate(post.published) }),
label: t('Published the {date}', { date: formatDate(post.published) }),
type: 'success',
}
}
Expand Down

0 comments on commit 9e28cc3

Please sign in to comment.