Commit 0d17addf authored by Cyrille Chopelet's avatar Cyrille Chopelet
Browse files

[#120] Reorganize the i18n keys for easier maintenance

Fixes #120
parent e77e8e7b
......@@ -15,7 +15,7 @@ challenge:
period: #end date for challenge
tweet: #Link to tweet on commudustylo profile
rules:
- type: general/theme/start/stylisticDevice/songfic/personal
- type: general/theme/start/device/songfic/personal
constraint: Describe the rule
draft: true
---
......
......@@ -23,7 +23,7 @@
//* Page sections (header, footer, main)
@import 'section/site-header';
@import 'section/site-footer';
@import 'section/page-metadata';
@import 'section/page-info';
@import 'section/page-footnotes';
@import 'section/comments';
......
//* Styling for metadata and taxonomies of a page
// Taxonomies are styled like metadata, with different color highlights
.metadata,
.info,
.taxonomies {
margin-top: 0.25em;
color: $muted-text-color;
font-size: smaller;
}
.metadata-item,
.info-item,
.link-term {
display: inline-block;
margin: 0.25em 1em 0 0;
......
......@@ -36,7 +36,7 @@
//* Customizing section pages
.section-page-title { font-size: 3.6em; }
.section-page-heading { font-size: larger; }
.section-page-metadata { margin: 1em 0; }
.section-page-info { margin: 1em 0; }
//* Limit width of text publications so that it's easier to read
.kind-page {
......
......@@ -15,7 +15,7 @@ keywords: [ micronouvelle, architecture logicielle, maison, dating, dialogue ]
challenge:
period: 2019-11-29
rules:
- type: stylisticDevice
- type: device
constraint: métaphore filée (raté, j'ai utilisé une comparaison)
---
......
......@@ -15,7 +15,7 @@ keywords: [ flash fiction, software architecture, house, dating, dialogue ]
challenge:
period: 2019-11-29
rules:
- type: stylisticDevice
- type: device
constraint: an extended metaphor (we declared this attempt off topic)
---
......
......@@ -14,7 +14,7 @@ keywords: [ micronouvelle, bible, jardin d'éden, serpent, figure de style ]
challenge:
period: 2020-01-17
rules:
- type: stylisticDevice
- type: device
constraint: allitération
---
......
......@@ -15,7 +15,7 @@ challenge:
period: 2021-02-12
tweet: https://twitter.com/commudustylo/status/1360138103122505732
rules:
- type: general/theme/start/stylisticDevice/songfic/personal
- type: general
constraint: 'Utiliser tous les mots suivants : carcajou, panda, méphitique, pamplemousse, nitescence, strudel, empathie, caca, sérendipité, anticonstitutionnellement'
---
......
......@@ -3,179 +3,190 @@
translation: ":"
# Nav
- id: nav-menu-goto
- id: menu.title
translation: Menu
# Taxonomies
- id: music
translation: Musique
- id: entries
translation:
one: "One post"
other: "{{ .Count }} posts"
- id: viewAllPubs
# Miniatures
## Variants for pages
- id: miniature.link.read
translation: Read
- id: miniature.link.more
translation: Read more
- id: miniature.link.go
translation: Go
## Variants for sections
- id: miniature.link.all
translation:
one: View post
other: View posts
# Collapsible
- id: hide
translation: Hide
- id: show
translation: Show
# Publications
- id: rssFeed
# Section info
- id: section.stats.entries
translation:
one: "One post"
other: "{{ .Count }} posts"
- id: section.link.rss
translation: Feed
- id: read
translation: Read
- id: readMore
translation: Read more
- id: readingTime
# Page
## Stats
- id: page.stats.time
translation:
one: One min. to read
other: "{{ .Count }} min. to read"
- id: readingTimeShort
- id: page.stats.time.lite
translation:
one: One min.
other: "{{ .Count }} min."
- id: wordCount
- id: page.stats.comments
translation:
one: "{{ .Count }} comment"
other: "{{ .Count }} comments"
- id: page.stats.comments.none
translation: No comment yet
- id: page.stats.words
translation: "{{ . }} words"
- id: runeCount
- id: page.stats.runes
translation: "{{ . }} runes"
- id: runeWSpacesCount
- id: page.stats.runes.w.spaces
translation: "{{ . }} runes (incl. spaces)"
- id: partOfASeries
## Git info
- id: page.git.lastmod.date
translation: "last mod.: {{ . }}"
- id: page.git.lastmod.summary
translation: Last change by {{ .AuthorName }} on {{ .AuthorDate.UTC.Format "2006-01-02" }}.
## In-page elements
- id: page.info.series
translation: This post is part of a series
- id: toc
- id: page.toc.title
translation: Contents
- id: previousInSection
## General links
- id: page.link.fork
translation: Fork the repo and propose a pull request.
- id: page.link.share
translation: "Share:"
- id: page.link.issue
translation: Register an issue
## Page navigation
- id: page.nav.previous
translation: "Previous: {{ . }}"
- id: nextInSection
- id: page.nav.next
translation: "Next: {{ . }}"
- id: relatedContent
- id: page.nav.related
translation: This may also interest you
- id: storyChallenge
# Cover image
- id: cover.author
translation: <a href="{{ .link }}">Cover image</a> by {{ .author }}
- id: cover.ack
translation: thanking
# Comments
## Links
- id: comments.link.reply.comment
translation: Reply to comment (start a thread)
- id: comments.link.reply.thread
translation: Reply to thread
## Form
- id: comments.form.none
translation: Be the first to leave a comment
- id: comments.form.title
translation: Write your comment
- id: comments.form.replying
translation: Replying to
- id: comments.form.comment
translation: Your comment
- id: comments.form.author.name
translation: Your name or pseudo
- id: comments.form.author.email
translation: Your email
- id: comments.form.author.website
translation: Your website
- id: comments.form.submit
translation: Submit your comment
- id: comments.form.submission.inprogress
translation: Your comment is being submitted. Please wait for a few seconds.
- id: comments.form.submission.success
translation: Your comment was successfully submitted. It will appear after review by a moderator.
- id: comments.form.submission.failure
translation: Your comment could not be submitted. Please try again later.
- id: comments.form.submission.spam
translation: Our engine thinks this is spam. Nothing interesting to say?
# Stories and challenges
- id: story.challenge
translation: This story was written as a challenge.
- id: storyChallengeRule.theme
- id: story.challenge.rule.theme
translation: "Theme:"
- id: storyChallengeRule.start
- id: story.challenge.rule.start
translation: "Imposed beginning:"
- id: storyChallengeRule.stylisticDevice
- id: story.challenge.rule.device
translation: "Stylistic device:"
- id: storyChallengeRule.songfic
- id: story.challenge.rule.songfic
translation: "Songfic (text inspired from a song):"
- id: storyChallengeRule.personal
- id: story.challenge.rule.personal
translation: "Personal constraint:"
- id: storyChallengeRule.bonus
- id: story.challenge.rule.bonus
translation: "Optional constraint:"
## Interaction
- id: share
translation: "Share:"
- id: newIssue
translation: Register an issue
# Git history
- id: forkPage
translation: Fork the repo and propose a pull request.
- id: updated
translation: "last mod.: {{ . }}"
- id: pageHistory
translation: Last change by {{ .AuthorName }} on {{ .AuthorDate.UTC.Format "2006-01-02" }}.
# Tip
- id: tipCurrency
# Tipping/support
- id: tip.currency
translation: USD
- id: tipOrSupport
- id: tip.incentive.generic
translation: <a href="{{ .Tip }}">Tip</a> or <a href="{{ .Support }}">support</a>.
- id: tipIncentive-blog
- id: tip.incentive.blog
translation: Did this help? 🥤 Buy me a tea!
- id: tipIncentive-stories
- id: tip.incentive.stories
translation: Liked it? 🥤 Buy me tea!
- id: supportIncentive
- id: tip.incentive.alternative
translation: or support us another way.
# Comments
- id: nbComments
translation:
one: "{{ .Count }} comment"
other: "{{ .Count }} comments"
- id: noComment
translation: No comment yet
- id: noCommentYet
translation: Be the first to leave a comment
- id: writeYourComment
translation: Write your comment
- id: replyingTo
translation: Replying to
- id: yourComment
translation: Your comment
- id: yourName
translation: Your name or pseudo
- id: yourEmail
translation: Your email
- id: wontBeDisplayed
translation: It won't be displayed.
- id: yourWebsite
translation: Your website
- id: yourData
# Forms
- id: forms.help.gdpr
translation:
All the data you provide here, except your email, will be displayed publicly on the website.
Please see our {{ . }}.
- id: submitComment
translation: Submit your comment
- id: optional
- id: forms.not.displayed
translation: It won't be displayed.
- id: forms.help.optional
translation: optional
- id: markdownHelp
- id: forms.help.markdown
translation: "You can use Markdown: **\\*\\*bold\\*\\***, *\\*italic\\**, \\[my super link\\]\\(https://the-url-of-my-super.link\\)"
- id: commentLoading
translation: Your comment is being submitted. Please wait for a few seconds.
- id: commentSuccess
translation: Your comment was successfully submitted. It will appear after review by a moderator.
- id: commentError
translation: Your comment could not be submitted. Please try again later.
- id: commentErrorSpam
translation: Our engine thinks this is spam. Nothing interesting to say?
- id: replyToComment
translation: Reply to comment (start a thread)
- id: replyToThread
translation: Reply to thread
- id: forms.action.reset
translation: Reset
# Download proxy
- id: dlpDoDownload
- id: dlp.form.url
translation: URL to the file to download
- id: dlp.form.submit
translation: Download
- id: dlpDoDownloadActive
- id: dlp.form.submitted
translation: Downloading…
# Generic
- id: go
translation: Go
- id: resetForm
translation: Reset
# Icons
- id: icon.alt.music
translation: Musique
# Download proxy
- id: dlp.form.url
translation: URL to the file to download
# Collapses
- id: collapse.hide
translation: Hide
- id: collapse.show
translation: Show
# Licensing and authoring
- id: by
# RSS
- id: rss.item.author
translation: By {{ . }}
- id: coverBy
translation: <a href="{{ .link }}">Cover image</a> by {{ .author }}
- id: coverThanks
translation: thanking
# 404 page
- id: pageNotFound
- id: 404.title
translation: This page does not exist.
- id: curse1
- id: 404.curse.1
translation: Good heavens!
- id: curse2
- id: 404.curse.2
translation: Gosh!
- id: curse3
- id: 404.curse.3
translation: Holy moley!
- id: curse4
- id: 404.curse.4
translation: By crikey!
- id: goBackHome
- id: 404.link.home
translation: Go back home
......@@ -2,176 +2,188 @@
- id: ":"
translation: ":"
# Nav
- id: nav-menu-goto
# Menu
- id: menu.title
translation: Menuo
# Taxonomies
- id: music
translation: Muziko
- id: entries
translation:
one: Unu blogaĵo
other: "{{ .Count }} blogaĵoj"
- id: viewAllPubs
# Miniatures
## Variants for pages
- id: miniature.link.read
translation: Legi
- id: miniature.link.more
translation: Legi pli
- id: miniature.link.go
translation: Iri
## Variant for sections
- id: miniature.link.all
translation:
one: Vidi blogaĵo
other: Vidi blogaĵoj
# Collapsible
- id: hide
translation: Kaŝi
- id: show
translation: Malkaŝi
# Publications
- id: rssFeed
# Section info
- id: section.stats.entries
translation:
one: Unu blogaĵo
other: "{{ .Count }} blogaĵoj"
- id: section.link.rss
translation: Abonfluo
- id: read
translation: Legi
- id: readMore
translation: Legi pli
- id: readingTime
# Pages
## Stats
- id: page.stats.time
translation:
one: Unu min. legi
other: "{{ .Count }} min. legi"
- id: readingTimeShort
- id: page.stats.time.lite
translation:
one: Unu min.
other: "{{ .Count }} min."
- id: wordCount
- id: page.stats.comments
translation:
one: "{{ .Count }} komento"
other: "{{ .Count }} komentoj"
- id: page.stats.comments.none
translation: Ankoraŭ neniu komento
- id: page.stats.words
translation: "{{ . }} vortoj"
- id: runeCount
- id: page.stats.runes
translation: "{{ . }} signoj"
- id: runeWSpacesCount
- id: page.stats.runes.w.spaces
translation: "{{ . }} signoj (inkl. spacetoj)"
- id: toc
## Git info
- id: page.git.lastmod.date
translation: "laste mod.: {{ . }}"
- id: page.git.lastmod.summary
translation: Lasta ŝanĝo de {{ .AuthorName }} la {{ .AuthorDate.UTC.Format "2006-01-02" }}.
## In-page elements
- id: page.toc.title
translation: Enhavotabelo
- id: previousInSection
## General links
- id: page.link.fork
translation: Forki la deponejo kaj proponi tirpeton.
- id: page.link.share
translation: "Konigi:"
- id: page.link.issue
translation: Signali problemo
## Page navigation
- id: page.nav.previous
translation: "Antaŭa: {{ . }}"
- id: nextInSection
- id: page.nav.next
translation: "Sekva: {{ . }}"
- id: relatedContent
- id: page.nav.related
translation: Tio eble ankaŭ interesos vin
- id: storyChallenge
# Cover image
- id: cover.author
translation: <a href="{{ .link }}">Kovrilobildo</a> de {{ .author }}
- id: cover.ack
translation: kun dankojn al
# Comments
## Links
- id: comments.link.reply.comment
translation: Respondi al komento (komenvi konversacio)
- id: comments.link.reply.thread
translation: Respondi al konversacio
## Form
- id: comments.form.none
translation: Estu la unua, kiu lasas komenton
- id: comments.form.title
translation: Skribu via komento
- id: comments.form.replying
translation: Respondi al
- id: comments.form.comment
translation: Via komento
- id: comments.form.author.name
translation: Via nomo aŭ pseŭdonimo
- id: comments.form.author.email
translation: Via retpoŝtadreso
- id: comments.form.author.website
translation: Via retejo
- id: comments.form.submit
translation: Sendi
- id: comments.form.submission.inprogress
translation: Via komento estas sendita. Bonvolu atendi kelkajn sekundojn.
- id: comments.form.submission.success
translation: Via komento estis sukcese sendita. Ĝi aperos post revizio de moderanto.
- id: comments.form.submission.failure
translation: Via komento ne povis esti sendita. Bonvolu reprovi poste.
- id: comments.form.submission.spam
translation: Nia kontraŭspamilo opinias, ke via komento estas spamo.
# Stories and challenges
- id: story.challenge
translation: Ĉi tiu rakonto estis verkita kiel defio.
- id: storyChallengeRule.theme
- id: story.challenge.rule.theme
translation: "Temo:"
- id: storyChallengeRule.start
- id: story.challenge.rule.start
translation: "Trudita komenco:"
- id: storyChallengeRule.stylisticDevice
- id: story.challenge.rule.device
translation: "Stila aparato:"
- id: storyChallengeRule.songfic
- id: story.challenge.rule.songfic
translation: "Songfic (teksto inspirita de kanto):"
- id: storyChallengeRule.personal
- id: story.challenge.rule.personal
translation: "persona limo"
## Interaction
- id: share
translation: "Konigi:"
- id: newIssue
translation: Signali problemo
# Git history
- id: forkPage
translation: Forki la deponejo kaj proponi tirpeton.
- id: updated
translation: "laste mod.: {{ . }}"
- id: pageHistory
translation: Lasta ŝanĝo de {{ .AuthorName }} la {{ .AuthorDate.UTC.Format "2006-01-02" }}.
# Tip
- id: tipCurrency
# Tipping/support
- id: tip.currency
translation: USD
- id: tipOrSupport
- id: tip.incentive.generic
translation: <a href="{{ .Tip }}">Financia</a> aŭ <a href="{{ .Support }}">alia subteno</a>.
- id: tipIncentive-blog
- id: tip.incentive.blog
translation: Ĉu ĉi tio helpis? 🥤 Aĉetu teon por mi!
- id: tipIncentive-stories
- id: tip.incentive.stories
translation: Ĉu vi ŝatis ĉi tio? 🥤 Aĉetu teon por mi!
- id: supportIncentive
- id: tip.incentive.alternative
translation: aŭ subtenu nin alimaniere.
# Comments
- id: nbComments
translation:
one: "{{ .Count }} komento"
other: "{{ .Count }} komentoj"
- id: noComment
translation: Ankoraŭ neniu komento
- id: noCommentYet
translation: Estu la unua, kiu lasas komenton
- id: writeYourComment
translation: Skribu via komento
- id: replyingTo
translation: Respondi al
- id: yourComment
translation: Via komento