feat: Journal list, category pages, pagination, tokens and pl/en strings
- index and category pages paginate with ?page=N and 404 out of range - category content renders above the list through the html gate - related posts fall back to the latest posts - --journal-* tokens and neutral base styles - pl/en strings registered only for locales the app enables
This commit is contained in:
39
i18n/locales/en.json
Normal file
39
i18n/locales/en.json
Normal file
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"journal": {
|
||||
"index": {
|
||||
"title": "Latest posts",
|
||||
"empty": "There are no posts yet."
|
||||
},
|
||||
"pagination": {
|
||||
"label": "Pagination",
|
||||
"previous": "Previous page",
|
||||
"next": "Next page",
|
||||
"pageTitle": "Page {page}"
|
||||
},
|
||||
"post": {
|
||||
"publishedOn": "Published on {date}",
|
||||
"readingTime": "{minutes} min read",
|
||||
"by": "By",
|
||||
"related": "Related posts",
|
||||
"previous": "Previous post",
|
||||
"next": "Next post",
|
||||
"contentUnavailable": "This content cannot be displayed."
|
||||
},
|
||||
"category": {
|
||||
"empty": "There are no posts in this category yet."
|
||||
},
|
||||
"tag": {
|
||||
"title": "Posts tagged {name}",
|
||||
"empty": "There are no posts with this tag yet."
|
||||
},
|
||||
"author": {
|
||||
"title": "Posts by {name}",
|
||||
"posts": "Posts",
|
||||
"empty": "This author has not published any posts yet."
|
||||
},
|
||||
"readMore": "Read more",
|
||||
"rss": {
|
||||
"title": "RSS feed"
|
||||
}
|
||||
}
|
||||
}
|
||||
39
i18n/locales/pl.json
Normal file
39
i18n/locales/pl.json
Normal file
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"journal": {
|
||||
"index": {
|
||||
"title": "Najnowsze wpisy",
|
||||
"empty": "Nie ma jeszcze żadnych wpisów."
|
||||
},
|
||||
"pagination": {
|
||||
"label": "Stronicowanie",
|
||||
"previous": "Poprzednia strona",
|
||||
"next": "Następna strona",
|
||||
"pageTitle": "Strona {page}"
|
||||
},
|
||||
"post": {
|
||||
"publishedOn": "Opublikowano {date}",
|
||||
"readingTime": "{minutes} min czytania",
|
||||
"by": "Autor:",
|
||||
"related": "Powiązane wpisy",
|
||||
"previous": "Poprzedni wpis",
|
||||
"next": "Następny wpis",
|
||||
"contentUnavailable": "Nie można wyświetlić tej treści."
|
||||
},
|
||||
"category": {
|
||||
"empty": "W tej kategorii nie ma jeszcze wpisów."
|
||||
},
|
||||
"tag": {
|
||||
"title": "Wpisy z tagiem {name}",
|
||||
"empty": "Nie ma jeszcze wpisów z tym tagiem."
|
||||
},
|
||||
"author": {
|
||||
"title": "Wpisy autora {name}",
|
||||
"posts": "Wpisy",
|
||||
"empty": "Ten autor nie opublikował jeszcze żadnych wpisów."
|
||||
},
|
||||
"readMore": "Czytaj dalej",
|
||||
"rss": {
|
||||
"title": "Kanał RSS"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user