mirror of
https://github.com/GenZmeY/casper-i18n.git
synced 2025-04-03 13:23:30 +00:00
Compare commits
71 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
44bead81ac | ||
![]() |
13fbe85077 | ||
e8ab3521af | |||
83d34c87f5 | |||
![]() |
a53d658b05 | ||
![]() |
3ca67aafe8 | ||
![]() |
7331fade3c | ||
![]() |
ca89c358bf | ||
![]() |
0c8725217b | ||
![]() |
219fee2d84 | ||
![]() |
ee360b80af | ||
![]() |
d54f249306 | ||
![]() |
3ce7861a0a | ||
![]() |
8c677a4d57 | ||
![]() |
04d38dc829 | ||
![]() |
cf2cc8b725 | ||
67be55c9d8 | |||
263b6eedec | |||
![]() |
b6e5a17393 | ||
![]() |
3b485c14a1 | ||
![]() |
abc3799b82 | ||
![]() |
8af6945386 | ||
![]() |
6ee46686bc | ||
![]() |
fa7f9e57fc | ||
![]() |
aca62bd2ff | ||
![]() |
15fcd98965 | ||
0c770e598e | |||
![]() |
0b3fdc5d19 | ||
![]() |
90a7c1a1e2 | ||
![]() |
51eec34da9 | ||
![]() |
62af05d95b | ||
![]() |
bd75010b26 | ||
![]() |
8e326a6870 | ||
![]() |
542f519619 | ||
![]() |
c7857a263f | ||
![]() |
b1b8b2212a | ||
![]() |
c305cc5342 | ||
![]() |
95b55ac4cf | ||
![]() |
155c048bc1 | ||
![]() |
206decaf50 | ||
![]() |
613f44b604 | ||
4f215f485d | |||
bba2a33711 | |||
f85ad79103 | |||
21adc1d09e | |||
686a1505e9 | |||
e02cd1edbf | |||
6408f4e428 | |||
920fb0a5c5 | |||
7d503a7491 | |||
e33dbab15e | |||
3ecb99326f | |||
fac92b46e2 | |||
ea1becaed1 | |||
![]() |
a701293a4e | ||
cb29e6583c | |||
b5d0fa0a9e | |||
d4cca6d6c1 | |||
e351f54392 | |||
9c8babbd17 | |||
e6f27f307c | |||
46373ac725 | |||
fdce6d76ce | |||
5ea8cd312b | |||
f1e7821d7b | |||
5c79215e4a | |||
7e040f69b2 | |||
e58d74c1d5 | |||
3c002dfddc | |||
72ea6524ce | |||
cacbd0b01b |
31
.github/workflows/autoupdate.yml
vendored
Normal file
31
.github/workflows/autoupdate.yml
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
name: autoupdate
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
merge-upstream:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Setup bot
|
||||
run: |
|
||||
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git config --local user.name "github-actions"
|
||||
git config --local pull.rebase false
|
||||
- name: Add upstream repo
|
||||
run: git remote add upstream https://github.com/TryGhost/Casper.git
|
||||
- name: Checkout master
|
||||
run: git checkout master
|
||||
- name: Merge upstream
|
||||
run: git pull upstream main --tags
|
||||
- name: Push changes
|
||||
uses: ad-m/github-push-action@master
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
branch: ${{ github.ref }}
|
||||
tags: true
|
2
LICENSE
2
LICENSE
@ -1,4 +1,4 @@
|
||||
Copyright (c) 2013-2023 Ghost Foundation
|
||||
Copyright (c) 2013-2025 Ghost Foundation
|
||||
|
||||
Permission is hereby granted, free of charge, to any person
|
||||
obtaining a copy of this software and associated documentation
|
||||
|
92
README.md
92
README.md
@ -1,69 +1,39 @@
|
||||
# Casper
|
||||
# Casper-i18n
|
||||
|
||||
The default theme for [Ghost](http://github.com/tryghost/ghost/). This is the latest development version of Casper! If you're just looking to download the latest release, head over to the [releases](https://github.com/TryGhost/Casper/releases) page.
|
||||
[](https://github.com/GenZmeY/Casper-i18n/actions/workflows/autoupdate.yml)
|
||||
[](https://github.com/GenZmeY/Casper-i18n/tags)
|
||||
[](LICENSE)
|
||||
|
||||
|
||||
The same [casper](https://github.com/TryGhost/Casper), but with localization support.
|
||||
For more detailed information about theme, see the [casper page](https://github.com/TryGhost/Casper).
|
||||
|
||||

|
||||
# Available languages
|
||||
- Chinese (zh)
|
||||
- Croatian (hr)
|
||||
- Dutch (nl)
|
||||
- English (en)
|
||||
- Finnish (fi)
|
||||
- French (fr)
|
||||
- German (de)
|
||||
- Hungarian (hu)
|
||||
- Indonesian (id)
|
||||
- Italian (it)
|
||||
- Latvian (lv)
|
||||
- Lithuanian (lt)
|
||||
- Norwegian Bokmål (nb)
|
||||
- Polish (pl)
|
||||
- Romanian (ro)
|
||||
- Russian (ru)
|
||||
- Spanish (es)
|
||||
- Swedish (sv)
|
||||
- Turkish (tr)
|
||||
|
||||
|
||||
|
||||
# First time using a Ghost theme?
|
||||
|
||||
Ghost uses a simple templating language called [Handlebars](http://handlebarsjs.com/) for its themes.
|
||||
|
||||
This theme has lots of code comments to help explain what's going on just by reading the code. Once you feel comfortable with how everything works, we also have full [theme API documentation](https://ghost.org/docs/themes/) which explains every possible Handlebars helper and template.
|
||||
|
||||
**The main files are:**
|
||||
|
||||
- `default.hbs` - The parent template file, which includes your global header/footer
|
||||
- `index.hbs` - The main template to generate a list of posts, usually the home page
|
||||
- `post.hbs` - The template used to render individual posts
|
||||
- `page.hbs` - Used for individual pages
|
||||
- `tag.hbs` - Used for tag archives, eg. "all posts tagged with `news`"
|
||||
- `author.hbs` - Used for author archives, eg. "all posts written by Jamie"
|
||||
|
||||
One neat trick is that you can also create custom one-off templates by adding the slug of a page to a template file. For example:
|
||||
|
||||
- `page-about.hbs` - Custom template for an `/about/` page
|
||||
- `tag-news.hbs` - Custom template for `/tag/news/` archive
|
||||
- `author-ali.hbs` - Custom template for `/author/ali/` archive
|
||||
|
||||
|
||||
# Development
|
||||
|
||||
Casper styles are compiled using Gulp/PostCSS to polyfill future CSS spec. You'll need [Node](https://nodejs.org/), [Yarn](https://yarnpkg.com/) and [Gulp](https://gulpjs.com) installed globally. After that, from the theme's root directory:
|
||||
|
||||
```bash
|
||||
# install dependencies
|
||||
yarn install
|
||||
|
||||
# run development server
|
||||
yarn dev
|
||||
```
|
||||
|
||||
Now you can edit `/assets/css/` files, which will be compiled to `/assets/built/` automatically.
|
||||
|
||||
The `zip` Gulp task packages the theme files into `dist/<theme-name>.zip`, which you can then upload to your site.
|
||||
|
||||
```bash
|
||||
# create .zip file
|
||||
yarn zip
|
||||
```
|
||||
|
||||
# PostCSS Features Used
|
||||
|
||||
- Autoprefixer - Don't worry about writing browser prefixes of any kind, it's all done automatically with support for the latest 2 major versions of every browser.
|
||||
- [Color Mod](https://github.com/jonathantneal/postcss-color-mod-function)
|
||||
|
||||
|
||||
# SVG Icons
|
||||
|
||||
Casper uses inline SVG icons, included via Handlebars partials. You can find all icons inside `/partials/icons`. To use an icon just include the name of the relevant file, eg. To include the SVG icon in `/partials/icons/rss.hbs` - use `{{> "icons/rss"}}`.
|
||||
|
||||
You can add your own SVG icons in the same manner.
|
||||
# Contribution
|
||||
|
||||
I had to use google translate in some places, so translation corrections are welcome.
|
||||
And you can also add a new translation.
|
||||
If your contribution is not related to translation - contribute it to the original [casper](https://github.com/TryGhost/Casper).
|
||||
|
||||
# Copyright & License
|
||||
|
||||
Copyright (c) 2013-2023 Ghost Foundation - Released under the [MIT license](LICENSE).
|
||||
Copyright (c) 2013-2025 Ghost Foundation - Released under the [MIT license](LICENSE).
|
||||
|
10
default.hbs
10
default.hbs
@ -58,13 +58,13 @@
|
||||
<div class="gh-head-members">
|
||||
{{#unless @member}}
|
||||
{{#unless @site.members_invite_only}}
|
||||
<a class="gh-head-link" href="#/portal/signin" data-portal="signin">Sign in</a>
|
||||
<a class="gh-head-button" href="#/portal/signup" data-portal="signup">Subscribe</a>
|
||||
<a class="gh-head-link" href="#/portal/signin" data-portal="signin">{{t "Sign in"}}</a>
|
||||
<a class="gh-head-button" href="#/portal/signup" data-portal="signup">{{t "Subscribe"}}</a>
|
||||
{{else}}
|
||||
<a class="gh-head-button" href="#/portal/signin" data-portal="signin">Sign in</a>
|
||||
<a class="gh-head-button" href="#/portal/signin" data-portal="signin">{{t "Sign in"}}</a>
|
||||
{{/unless}}
|
||||
{{else}}
|
||||
<a class="gh-head-button" href="#/portal/account" data-portal="account">Account</a>
|
||||
<a class="gh-head-button" href="#/portal/account" data-portal="account">{{t "Account"}}</a>
|
||||
{{/unless}}
|
||||
</div>
|
||||
{{/unless}}
|
||||
@ -84,7 +84,7 @@
|
||||
<nav class="site-footer-nav">
|
||||
{{navigation type="secondary"}}
|
||||
</nav>
|
||||
<div class="gh-powered-by"><a href="https://ghost.org/" target="_blank" rel="noopener">Powered by Ghost</a></div>
|
||||
<div><a href="{{@site.url}}" target="_blank" rel="noopener">{{t "Latest Posts"}}</a></div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
|
@ -17,7 +17,7 @@ Keep this template as lightweight as you can!
|
||||
<section class="error-message">
|
||||
<h1 class="error-code">{{statusCode}}</h1>
|
||||
<p class="error-description">{{message}}</p>
|
||||
<a class="error-link" href="{{@site.url}}">Go to the front page →</a>
|
||||
<a class="error-link" href="{{@site.url}}">{{t "Go to the front page"}} →</a>
|
||||
</section>
|
||||
</div>
|
||||
</section>
|
||||
|
@ -46,7 +46,7 @@ Keep this template as lightweight as you can!
|
||||
<section class="error-message">
|
||||
<h1 class="error-code">{{statusCode}}</h1>
|
||||
<p class="error-description">{{message}}</p>
|
||||
<a class="error-link" href="{{@site.url}}">Go to the front page →</a>
|
||||
<a class="error-link" href="{{@site.url}}">{{t "Go to the front page"}} →</a>
|
||||
</section>
|
||||
|
||||
{{#if errorDetails}}
|
||||
@ -58,8 +58,8 @@ Keep this template as lightweight as you can!
|
||||
<em class="error-stack-function">{{{rule}}}</em>
|
||||
|
||||
{{#foreach failures}}
|
||||
<p><span class="error-stack-file">Ref: {{ref}}</span></p>
|
||||
<p><span class="error-stack-file">Message: {{message}}</span></p>
|
||||
<p><span class="error-stack-file">{{t "Ref"}} {{ref}}</span></p>
|
||||
<p><span class="error-stack-file">{{t "Message"}} {{message}}</span></p>
|
||||
{{/foreach}}
|
||||
</li>
|
||||
{{/foreach}}
|
||||
|
21
locales/de.json
Normal file
21
locales/de.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"Enter your email": "Geben sie ihre E-Mail Adresse ein",
|
||||
"Account": "Konto",
|
||||
"Subscribe": "Abonnieren",
|
||||
"Subscribe to {blogtitle}": "Abonniere {blogtitle}",
|
||||
"A collection of posts": "Eine Sammlung von Artikeln",
|
||||
"A collection of 1 post": "Eine Sammlung von einem Artikel",
|
||||
"A collection of % posts": "Eine Sammlung von % Artikeln",
|
||||
"Get the latest posts delivered right to your inbox": "Erhalte die neusten Artikel direkt in dein Postfach",
|
||||
"Go to the front page": "Gehe zur Startseite",
|
||||
"Latest Posts": "Neuste Artikel",
|
||||
"Message": "Fehlermeldung",
|
||||
"No posts": "Keine Artikel",
|
||||
"Ref": "Ref",
|
||||
"1 post": "1 Artikel",
|
||||
"% posts": "% Artikel",
|
||||
"1 min read": "Lesezeit: 1 Min.",
|
||||
"% min read": "Lesezeit: % Min.",
|
||||
"<strong>Great!</strong> Check your inbox and click the link to confirm your subscription.": "<strong>Großartig!</strong> Überprüfen Sie Ihren Posteingang und klicken Sie auf den Link, um Ihr Abonnement zu bestätigen.",
|
||||
"Please enter a valid email address!": "Bitte geben Sie eine gültige E-Mail-Adresse ein!"
|
||||
}
|
21
locales/en.json
Normal file
21
locales/en.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"Enter your email": "Enter your email",
|
||||
"Account": "Account",
|
||||
"Subscribe": "Subscribe",
|
||||
"Subscribe to {blogtitle}": "Subscribe to {blogtitle}",
|
||||
"A collection of posts": "A collection of posts",
|
||||
"A collection of 1 post": "A collection of 1 post",
|
||||
"A collection of % posts": "A collection of % posts",
|
||||
"Get the latest posts delivered right to your inbox": "Get the latest posts delivered right to your inbox",
|
||||
"Go to the front page": "Go to the front page",
|
||||
"Latest Posts": "Latest Posts",
|
||||
"Message": "Message",
|
||||
"No posts": "No posts",
|
||||
"Ref": "Ref",
|
||||
"1 post": "1 post",
|
||||
"% posts": "% posts",
|
||||
"1 min read": "1 min read",
|
||||
"% min read": "% min read",
|
||||
"<strong>Great!</strong> Check your inbox and click the link to confirm your subscription.": "<strong>Great!</strong> Check your inbox and click the link to confirm your subscription.",
|
||||
"Please enter a valid email address!": "Please enter a valid email address!"
|
||||
}
|
21
locales/es.json
Normal file
21
locales/es.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"Enter your email": "Introduce tu correo electrónico",
|
||||
"Account": "Cuenta ",
|
||||
"Subscribe": "Suscríbete",
|
||||
"Subscribe to {blogtitle}": "Suscríbete a {blogtitle}",
|
||||
"A collection of posts": "Una colección de artículos",
|
||||
"A collection of 1 post": "Una colección de 1 artículo",
|
||||
"A collection of % posts": "Una colección de % artículos",
|
||||
"Get the latest posts delivered right to your inbox": "Recibe los últimos artículos directamente en tu buzón",
|
||||
"Go to the front page": "Ir a la página de inicio",
|
||||
"Latest Posts": "Últimos Artículos",
|
||||
"Message": "Mensaje",
|
||||
"No posts": "No hay artículos",
|
||||
"Ref": "Ref",
|
||||
"1 post": "1 artículo",
|
||||
"% posts": "% artículos",
|
||||
"1 min read": "1 min de lectura",
|
||||
"% min read": "% min de lectura",
|
||||
"<strong>Great!</strong> Check your inbox and click the link to confirm your subscription.": "<strong>¡Excelente!</strong> Revise su bandeja de entrada y haga clic en el enlace para confirmar su suscripción.",
|
||||
"Please enter a valid email address!": "¡Por favor, introduce una dirección de correo electrónico válida!"
|
||||
}
|
21
locales/fi.json
Normal file
21
locales/fi.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"Enter your email": "Syötä sähköpostiosoitteesi",
|
||||
"Account": "Tili",
|
||||
"Subscribe": "Tilaa",
|
||||
"Subscribe to {blogtitle}": "Tilaa blogi {blogtitle}",
|
||||
"A collection of posts": "Artikkelien kokoelma",
|
||||
"A collection of 1 post": "Kokoelmassa 1 artikkeli",
|
||||
"A collection of % posts": "Kokoelmassa % artikkelia",
|
||||
"Get the latest posts delivered right to your inbox": "Tilaa uusimmat artikkelit suoraan sähköpostiisi",
|
||||
"Go to the front page": "Go to the front page",
|
||||
"Latest Posts": "Uusimmat artikkelit",
|
||||
"Message": "Viesti",
|
||||
"No posts": "Ei artikkeleita",
|
||||
"Ref": "Ref",
|
||||
"1 post": "Yksi artikkeli",
|
||||
"% posts": "% artikkelia",
|
||||
"1 min read": "Lukuaika 1 minuutti",
|
||||
"% min read": "Lukuaika % minuuttia",
|
||||
"<strong>Great!</strong> Check your inbox and click the link to confirm your subscription.": "<strong>Loistava!</strong> Tarkista postilaatikkosi ja vahvista tilauksesi napsauttamalla linkkiä.",
|
||||
"Please enter a valid email address!": "Ole hyvä ja syötä toimiva sähköpostiosoite!"
|
||||
}
|
21
locales/fr.json
Normal file
21
locales/fr.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"Enter your email": "Entrer votre Email",
|
||||
"Account": "Compte",
|
||||
"Subscribe": "S’abonner",
|
||||
"Subscribe to {blogtitle}": "S’abonner à {blogtitle}",
|
||||
"A collection of posts": "Une catégorie d’articles",
|
||||
"A collection of 1 post": "Une catégorie avec un article",
|
||||
"A collection of % posts": "Une catégorie avec % articles",
|
||||
"Get the latest posts delivered right to your inbox": "Recevez les derniers articles directement dans votre boîte aux lettres.",
|
||||
"Go to the front page": "Aller sur la page d’accueil",
|
||||
"Latest Posts": "Derniers articles",
|
||||
"Message": "Message",
|
||||
"No posts": "Aucun article",
|
||||
"Ref": "Réf",
|
||||
"1 post": "Un article",
|
||||
"% posts": "% articles",
|
||||
"1 min read": "1 min de lecture",
|
||||
"% min read": "% min de lecture",
|
||||
"<strong>Great!</strong> Check your inbox and click the link to confirm your subscription.": "<strong>Génial!</strong> Vérifiez votre boîte de réception et cliquez sur le lien pour confirmer votre abonnement.",
|
||||
"Please enter a valid email address!": "S'il vous plaît, mettez une adresse email valide!"
|
||||
}
|
21
locales/hr.json
Normal file
21
locales/hr.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"Enter your email": "Upiši svoj email",
|
||||
"Account": "Račun",
|
||||
"Subscribe": "Pretplati se",
|
||||
"Subscribe to {blogtitle}": "Pretplati se na {blogtitle}",
|
||||
"A collection of posts": "Kolekcija postova",
|
||||
"A collection of 1 post": "Kolekcija s jednim postom",
|
||||
"A collection of % posts": "Kolekcija sa % postova",
|
||||
"Get the latest posts delivered right to your inbox": "Najnoviji postovi će biti dostavljeni u tvoj inbox",
|
||||
"Go to the front page": "Go to the front page",
|
||||
"Latest Posts": "Noviji Postovi",
|
||||
"Message": "Poruka",
|
||||
"No posts": "Nema postova",
|
||||
"Ref": "Ref",
|
||||
"1 post": "1 post",
|
||||
"% posts": "% postova",
|
||||
"1 min read": "1 min čitanja",
|
||||
"% min read": "% min čitanja",
|
||||
"<strong>Great!</strong> Check your inbox and click the link to confirm your subscription.": "<strong>Sjajno!</strong> Provjerite pristiglu poštu i kliknite vezu da biste potvrdili pretplatu.",
|
||||
"Please enter a valid email address!": "Unesite valjanu adresu e-pošte!"
|
||||
}
|
21
locales/hu.json
Normal file
21
locales/hu.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"Enter your email": "Írd be az email címed",
|
||||
"Account": "fiók",
|
||||
"Subscribe": "Feliratkozás",
|
||||
"Subscribe to {blogtitle}": "Iratkozz fel a {blogtitle}re",
|
||||
"A collection of posts": "Cikkek gyűjteménye",
|
||||
"A collection of 1 post": "Itt csupán egy cikk van",
|
||||
"A collection of % posts": "% cikk gyűjteménye",
|
||||
"Get the latest posts delivered right to your inbox": "Olvasd a legfrissebb cikkeket egyenesen a virtuális postaládádból",
|
||||
"Go to the front page": "Vissza a kezdőlapra",
|
||||
"Latest Posts": "Legfrissebb cikkek",
|
||||
"Message": "Üzenet:",
|
||||
"No posts": "Nincsenek cikkek",
|
||||
"Ref": "Ref",
|
||||
"1 post": "1 cikk",
|
||||
"% posts": "% cikk",
|
||||
"1 min read": "1 perces",
|
||||
"% min read": "% perces",
|
||||
"<strong>Great!</strong> Check your inbox and click the link to confirm your subscription.": "<strong>Nagy!</strong> Ellenőrizze a beérkező leveleket, és kattintson a linkre az előfizetés megerősítéséhez.",
|
||||
"Please enter a valid email address!": "Kérjük valós e-mail címet adjon meg!"
|
||||
}
|
21
locales/id.json
Normal file
21
locales/id.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"Enter your email": "Masukkan email Anda",
|
||||
"Account": "Akun",
|
||||
"Subscribe": "Langganan",
|
||||
"Subscribe to {blogtitle}": "Langganan ke {blogtitle}",
|
||||
"A collection of posts": "Koleksi artikel-artikel",
|
||||
"A collection of 1 post": "Koleksi berisi 1 artikel",
|
||||
"A collection of % posts": "Koleksi berisi % artikel",
|
||||
"Get the latest posts delivered right to your inbox": "Langganan via email",
|
||||
"Go to the front page": "Ke halaman depan",
|
||||
"Latest Posts": "Artikel terbaru",
|
||||
"Message": "Pesan",
|
||||
"No posts": "Tidak ada artikel",
|
||||
"Ref": "Ref",
|
||||
"1 post": "1 artikel",
|
||||
"% posts": "% artikel",
|
||||
"1 min read": "Bacaan 1 menit",
|
||||
"% min read": "Bacaan % menit",
|
||||
"<strong>Great!</strong> Check your inbox and click the link to confirm your subscription.": "<strong>Bagus!</strong> Periksa kotak masuk Anda dan klik tautan untuk mengonfirmasi langganan Anda.",
|
||||
"Please enter a valid email address!": "Silakan isi alamat email!"
|
||||
}
|
21
locales/it.json
Normal file
21
locales/it.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"Enter your email": "Inserisci la tua email",
|
||||
"Account": "Account",
|
||||
"Subscribe": "Iscriviti",
|
||||
"Subscribe to {blogtitle}": "Iscriviti a {blogtitle}",
|
||||
"A collection of posts": "Una collezione di articoli",
|
||||
"A collection of 1 post": "Una collezione di 1 articolo",
|
||||
"A collection of % posts": "Una collezione di % articoli",
|
||||
"Get the latest posts delivered right to your inbox": "Ricevi gli articoli più recenti direttamente nella tua casella di posta",
|
||||
"Go to the front page": "Go to the front page",
|
||||
"Latest Posts": "Ultimi articoli",
|
||||
"Message": "Messaggio",
|
||||
"No posts": "Nessun articolo",
|
||||
"Ref": "Rif",
|
||||
"1 post": "1 articolo",
|
||||
"% posts": "% articoli",
|
||||
"1 min read": "1 minuto di lettura",
|
||||
"% min read": "% minuti di lettura",
|
||||
"<strong>Great!</strong> Check your inbox and click the link to confirm your subscription.": "<strong>Ottimo!</strong> Controlla la posta in arrivo e fai clic sul link per confermare l'iscrizione.",
|
||||
"Please enter a valid email address!": "Si prega di inserire un indirizzo email valido!"
|
||||
}
|
21
locales/lt.json
Normal file
21
locales/lt.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"Enter your email": "Įrašykite savo el. paštą",
|
||||
"Account": "Sąskaita",
|
||||
"Subscribe": "Prenumeruoti",
|
||||
"Subscribe to {blogtitle}": "Prenumeruoti {blogtitle}",
|
||||
"A collection of posts": "A collection of posts",
|
||||
"A collection of 1 post": "A collection of 1 post",
|
||||
"A collection of % posts": "A collection of % posts",
|
||||
"Get the latest posts delivered right to your inbox": "Gaukite naujienas į savo pašto dėžutę",
|
||||
"Go to the front page": "Go to the front page",
|
||||
"Latest Posts": "Paskutiniai įrašai",
|
||||
"Message": "Pranešimas",
|
||||
"No posts": "Nėra įrašų",
|
||||
"Ref": "Nuoroda",
|
||||
"1 post": "1 įrašas",
|
||||
"% posts": "% įrašų",
|
||||
"1 min read": "1 min skaitymo",
|
||||
"% min read": "% min skaitymo",
|
||||
"<strong>Great!</strong> Check your inbox and click the link to confirm your subscription.": "<strong>Puiku!</strong> Patikrinkite gautuosius ir spustelėkite nuorodą, kad patvirtintumėte prenumeratą.",
|
||||
"Please enter a valid email address!": "Prašome įvesti galiojantį elektroninio pašto adresą!"
|
||||
}
|
21
locales/lv.json
Normal file
21
locales/lv.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"Enter your email": "Ievadiet savu e-pastu",
|
||||
"Account": "Konts",
|
||||
"Subscribe": "Abonēt",
|
||||
"Subscribe to {blogtitle}": "Abonēt {blogtitle}",
|
||||
"A collection of posts": "Ziņu kolekcija",
|
||||
"A collection of 1 post": "1 ziņa kolekcija",
|
||||
"A collection of % posts": "% ziņu kolekcija",
|
||||
"Get the latest posts delivered right to your inbox": "Saņemiet jaunākās ziņas tieši jūsu iesūtnē",
|
||||
"Go to the front page": "Dodieties uz sākumlapu",
|
||||
"Latest Posts": "Dodieties uz sākumlapu",
|
||||
"Message": "Ziņojums",
|
||||
"No posts": "Nav ziņu",
|
||||
"Ref": "Atsauce",
|
||||
"1 post": "1 ziņa",
|
||||
"% posts": "% ziņas",
|
||||
"1 min read": "1 minūte lasīt",
|
||||
"% min read": "% minūtes lasīts",
|
||||
"<strong>Great!</strong> Check your inbox and click the link to confirm your subscription.": "<strong>Lieliski!</strong> Pārbaudiet savu iesūtni un noklikšķiniet uz saites, lai apstiprinātu abonementu.",
|
||||
"Please enter a valid email address!": "Lūdzu, ievadiet derīgu e-pasta adresi!"
|
||||
}
|
21
locales/nb.json
Normal file
21
locales/nb.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"Enter your email": "Skriv inn din email",
|
||||
"Account": "Regnskap",
|
||||
"Subscribe": "Abbonér",
|
||||
"Subscribe to {blogtitle}": "Abbonér på {blogtitle}",
|
||||
"A collection of posts": "En samling innlegg",
|
||||
"A collection of 1 post": "En samling av 1 innlegg",
|
||||
"A collection of % posts": "En samling % innlegg",
|
||||
"Get the latest posts delivered right to your inbox": "Få siste innlegg levert rett til din innboks",
|
||||
"Go to the front page": "Go to the front page",
|
||||
"Latest Posts": "Siste innlegg",
|
||||
"Message": "Beskjed",
|
||||
"No posts": "Ingen innlegg",
|
||||
"Ref": "Ref",
|
||||
"1 post": "1 innlegg",
|
||||
"% posts": "% innlegg",
|
||||
"1 min read": "1 min lesetid",
|
||||
"% min read": "% min lesetid",
|
||||
"<strong>Great!</strong> Check your inbox and click the link to confirm your subscription.": "<strong>Flott!</strong> Sjekk innboksen din, og klikk på lenken for å bekrefte abonnementet.",
|
||||
"Please enter a valid email address!": "Vennligst skriv inn en gyldig e-post adresse!"
|
||||
}
|
22
locales/nl.json
Normal file
22
locales/nl.json
Normal file
@ -0,0 +1,22 @@
|
||||
{
|
||||
"Enter your email": "Voer je mailadres in ",
|
||||
"Account": "Account",
|
||||
"Subscribe": "Abonneren",
|
||||
"Sign in": "Inloggen",
|
||||
"Subscribe to {blogtitle}": "Abonneer je op {blogtitle}",
|
||||
"A collection of posts": "Een collectie van berichten",
|
||||
"A collection of 1 post": "Een collectie van 1 bericht",
|
||||
"A collection of % posts": "Een collectie van % berichten",
|
||||
"Get the latest posts delivered right to your inbox": "Krijg nieuwe berichten direct in je inbox",
|
||||
"Go to the front page": "Ga naar de voorpagina",
|
||||
"Latest Posts": "Laatste berichten",
|
||||
"Message": "Melding",
|
||||
"No posts": "Geen berichten",
|
||||
"Ref": "Ref",
|
||||
"1 post": "1 bericht",
|
||||
"% posts": "% bericht",
|
||||
"1 min read": "1 minuut leestijd",
|
||||
"% min read": "% minuten leestijd",
|
||||
"<strong>Great!</strong> Check your inbox and click the link to confirm your subscription.": "<strong>Geweldig!</strong> Controleer je inbox en klik op de link om je abonnement te bevestigen.",
|
||||
"Please enter a valid email address!": "Voer alsjeblieft geen geldig e-mailadres in!"
|
||||
}
|
21
locales/pl.json
Normal file
21
locales/pl.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"Enter your email": "Wprowadź swój email",
|
||||
"Account": "Rachunek",
|
||||
"Subscribe": "Subskrybuj",
|
||||
"Subscribe to {blogtitle}": "Subskrybuj {blogtitle}",
|
||||
"A collection of posts": "Kolekcja wpisów",
|
||||
"A collection of 1 post": "Kolekcja 1 wpisu",
|
||||
"A collection of % posts": "Kolekcja % wpisów",
|
||||
"Get the latest posts delivered right to your inbox": "Otrzymuj najnowsze wpisy na skrzynkę pocztową",
|
||||
"Go to the front page": "Przejdź do strony głównej",
|
||||
"Latest Posts": "Najnowsze wpisy",
|
||||
"Message": "Wiadomość",
|
||||
"No posts": "Brak wpisów",
|
||||
"Ref": "Ref",
|
||||
"1 post": "1 wpis",
|
||||
"% posts": "% wpisów",
|
||||
"1 min read": "lektura na 1 min",
|
||||
"% min read": "lektura na % min",
|
||||
"<strong>Great!</strong> Check your inbox and click the link to confirm your subscription.": "<strong>Świetnie!</strong> Sprawdź swoją skrzynkę odbiorczą i kliknij link, aby potwierdzić subskrypcję.",
|
||||
"Please enter a valid email address!": "Proszę wpisać aktualny adres e-mail!"
|
||||
}
|
21
locales/ro.json
Normal file
21
locales/ro.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"Enter your email": "Introduceți adresa dvs. de email",
|
||||
"Account": "Cont",
|
||||
"Subscribe": "Înscrie-te",
|
||||
"Subscribe to {blogtitle}": "Înscrie-te la {blogtitle}",
|
||||
"A collection of posts": "O colecție de articole",
|
||||
"A collection of 1 post": "O colecție de un articol",
|
||||
"A collection of % posts": "O colecție de % articole",
|
||||
"Get the latest posts delivered right to your inbox": "Citește ultimele articole livrate direct în inbox-ul tău",
|
||||
"Go to the front page": "Go to the front page",
|
||||
"Latest Posts": "Ultimele Articole",
|
||||
"Message": "Mesaj",
|
||||
"No posts": "Nu există articole",
|
||||
"Ref": "Ref",
|
||||
"1 post": "1 articol",
|
||||
"% posts": "% articole",
|
||||
"1 min read": "lectură de 1 min",
|
||||
"% min read": "lectură de % min",
|
||||
"<strong>Great!</strong> Check your inbox and click the link to confirm your subscription.": "<strong>Minunat!</strong> Verificați căsuța de e-mail și dați clic pe link pentru a vă confirma abonamentul.",
|
||||
"Please enter a valid email address!": "Te rog introdu o adresa de email valida!"
|
||||
}
|
21
locales/ru.json
Normal file
21
locales/ru.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"Enter your email": "Введите адрес электронной почты",
|
||||
"Account": "Аккаунт",
|
||||
"Subscribe": "Подписаться",
|
||||
"Subscribe to": "Подписаться на",
|
||||
"A collection of posts": "Коллекция статей",
|
||||
"A collection of 1 post": "Коллекция из 1 статьи",
|
||||
"A collection of % posts": "Коллекция из % статей",
|
||||
"Get the latest posts delivered right to your inbox": "Получайте свежие статьи прямо на свою почту",
|
||||
"Go to the front page": "На главную",
|
||||
"Latest Posts": "Последние статьи",
|
||||
"Message": "Сообщение",
|
||||
"No posts": "Статьи отсутствуют",
|
||||
"Ref": "Ссылка",
|
||||
"1 post": "1 статья",
|
||||
"% posts": "% статьи(-ей)",
|
||||
"1 min read": "1 мин на чтение",
|
||||
"% min read": "% мин на чтение",
|
||||
"<strong>Great!</strong> Check your inbox and click the link to confirm your subscription.": "<strong>Отлично!</strong> Проверьте свой почтовый ящик и нажмите ссылку, чтобы подтвердить подписку",
|
||||
"Please enter a valid email address!": "Пожалуйста, введите действительный адрес электронной почты!"
|
||||
}
|
21
locales/sv.json
Normal file
21
locales/sv.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"Enter your email": "Skriv in din e-postadress",
|
||||
"Account": "Konto",
|
||||
"Subscribe": "Prenumerera",
|
||||
"Subscribe to {blogtitle}": "Prenumerera på {blogtitle}",
|
||||
"A collection of posts": "En samling artiklar",
|
||||
"A collection of 1 post": "En samling av 1 artikel",
|
||||
"A collection of % posts": "En samling av % artiklar",
|
||||
"Get the latest posts delivered right to your inbox": "Få de senaste artiklarna levererade direkt till din inkorg",
|
||||
"Go to the front page": "Go to the front page",
|
||||
"Latest Posts": "Senaste artiklarna",
|
||||
"Message": "Meddelande",
|
||||
"No posts": "Inga artiklar",
|
||||
"Ref": "Ref",
|
||||
"1 post": "1 artikel",
|
||||
"% posts": "% artiklar",
|
||||
"1 min read": "1 minuts läsning",
|
||||
"% min read": "% minuters läsning",
|
||||
"<strong>Great!</strong> Check your inbox and click the link to confirm your subscription.": "<strong>Bra!</strong> Kontrollera din inkorg och klicka på länken för att bekräfta din prenumeration.",
|
||||
"Please enter a valid email address!": "Ange en giltig e-postadress!"
|
||||
}
|
21
locales/tr.json
Normal file
21
locales/tr.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"Enter your email": "E-postanızı giriniz",
|
||||
"Account": "Hesap",
|
||||
"Subscribe": "Abone Ol",
|
||||
"Subscribe to {blogtitle}": "{blogtitle} abone ol",
|
||||
"A collection of posts": "Yazılar",
|
||||
"A collection of 1 post": "1 yazı",
|
||||
"A collection of % posts": "% yazı",
|
||||
"Get the latest posts delivered right to your inbox": "Son paylaşılan içerikler gelen kutuna gelsin",
|
||||
"Go to the front page": "Anasayfaya git",
|
||||
"Latest Posts": "Son Yazılar",
|
||||
"Message": "İleti",
|
||||
"No posts": "İçerik Yok",
|
||||
"Ref": "Ref",
|
||||
"1 post": "1 yazı",
|
||||
"% posts": "% yazı",
|
||||
"1 min read": "1 dakikalık okuma",
|
||||
"% min read": "% dakikalık okuma",
|
||||
"<strong>Great!</strong> Check your inbox and click the link to confirm your subscription.": "<strong>Harika!</strong> Gelen kutunuzu kontrol edin ve aboneliğinizi onaylamak için bağlantıyı tıklayın.",
|
||||
"Please enter a valid email address!": "Geçerli bir e!"
|
||||
}
|
21
locales/zh.json
Normal file
21
locales/zh.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"Enter your email": "输入你的电子邮箱",
|
||||
"Account": "帐户",
|
||||
"Subscribe": "订阅",
|
||||
"Subscribe to {blogtitle}": "订阅{blogtitle}",
|
||||
"A collection of posts": "文章集合",
|
||||
"A collection of 1 post": "共1篇文章",
|
||||
"A collection of % posts": "共%篇文章",
|
||||
"Get the latest posts delivered right to your inbox": "最新文章直达邮箱",
|
||||
"Go to the front page": "Go to the front page",
|
||||
"Latest Posts": "最新文章",
|
||||
"Message": "信息",
|
||||
"No posts": "没有文章",
|
||||
"Ref": "参考",
|
||||
"1 post": "1 篇文章",
|
||||
"% posts": "% 篇文章",
|
||||
"1 min read": "1 min read",
|
||||
"% min read": "% min read",
|
||||
"<strong>Great!</strong> Check your inbox and click the link to confirm your subscription.": "<strong>好极了!</strong> 检查您的收件箱,然后单击链接以确认您的订阅。",
|
||||
"Please enter a valid email address!": "请输入有效的电子邮件地址!"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "casper",
|
||||
"description": "A clean, minimal default theme for the Ghost publishing platform",
|
||||
"name": "casper-i18n",
|
||||
"description": "The same casper theme, but with localization support",
|
||||
"demo": "https://demo.ghost.io",
|
||||
"version": "5.8.1",
|
||||
"engines": {
|
||||
|
@ -66,7 +66,7 @@ which templates loop over to generate a list of posts. --}}
|
||||
<footer class="post-card-meta">
|
||||
<time class="post-card-meta-date" datetime="{{date format="YYYY-MM-DD"}}">{{date format="DD MMM YYYY"}}</time>
|
||||
{{#if reading_time}}
|
||||
<span class="post-card-meta-length">{{reading_time}}</span>
|
||||
<span class="post-card-meta-length">{{reading_time minute=(t "1 min read") minutes=(t "% min read")}}</span>
|
||||
{{/if}}
|
||||
{{#if @site.comments_enabled}}
|
||||
{{comment_count}}
|
||||
|
40
partials/site-nav.hbs
Normal file
40
partials/site-nav.hbs
Normal file
@ -0,0 +1,40 @@
|
||||
<nav class="site-nav">
|
||||
<div class="site-nav-left-wrapper">
|
||||
<div class="site-nav-left">
|
||||
{{#if @site.logo}}
|
||||
<a class="site-nav-logo" href="{{@site.url}}"><img src="{{@site.logo}}" alt="{{@site.title}}" /></a>
|
||||
{{else}}
|
||||
<a class="site-nav-logo" href="{{@site.url}}">{{@site.title}}</a>
|
||||
{{/if}}
|
||||
<div class="site-nav-content">
|
||||
{{#if @site.navigation}}
|
||||
{{navigation}}
|
||||
{{/if}}
|
||||
{{#is "post"}}
|
||||
<span class="nav-post-title {{#unless @site.logo}}dash{{/unless}}">{{post.title}}</span>
|
||||
{{/is}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="site-nav-right">
|
||||
{{#if @site.secondary_navigation}}
|
||||
{{navigation type="secondary"}}
|
||||
{{else}}
|
||||
<div class="social-links">
|
||||
{{#if @site.facebook}}
|
||||
<a class="social-link social-link-fb" href="{{facebook_url @site.facebook}}" title="Facebook" target="_blank" rel="noopener">{{> "icons/facebook"}}</a>
|
||||
{{/if}}
|
||||
{{#if @site.twitter}}
|
||||
<a class="social-link social-link-tw" href="{{twitter_url @site.twitter}}" title="Twitter" target="_blank" rel="noopener">{{> "icons/twitter"}}</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{#unless @site.members_enabled}}
|
||||
<a class="rss-button" href="https://feedly.com/i/subscription/feed/{{@site.url}}/rss/" title="RSS" target="_blank" rel="noopener">{{> "icons/rss"}}</a>
|
||||
{{/unless}}
|
||||
{{/if}}
|
||||
|
||||
{{#if @site.members_enabled}}
|
||||
<a class="subscribe-button" href="#subscribe">{{t "Subscribe"}}</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
</nav>
|
19
partials/subscribe-form.hbs
Normal file
19
partials/subscribe-form.hbs
Normal file
@ -0,0 +1,19 @@
|
||||
<section class="subscribe-form">
|
||||
<h3 class="subscribe-form-title">{{t "Subscribe to"}} {{@site.title}}</h3>
|
||||
<p class="subscribe-form-description">{{t "Get the latest posts delivered right to your inbox"}}</p>
|
||||
<form data-members-form="subscribe">
|
||||
<div class="form-group">
|
||||
<input class="subscribe-email" data-members-email placeholder="youremail@example.com" autocomplete="false" />
|
||||
<button class="button primary" type="submit">
|
||||
<span class="button-content">{{t "Subscribe"}}</span>
|
||||
<span class="button-loader">{{> "icons/loader"}}</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="message-success">
|
||||
{{t "<strong>Great!</strong> Check your inbox and click the link to confirm your subscription."}}
|
||||
</div>
|
||||
<div class="message-error">
|
||||
{{t "Please enter a valid email address!"}}
|
||||
</div>
|
||||
</form>
|
||||
</section>
|
8
post.hbs
8
post.hbs
@ -51,7 +51,7 @@ into the {body} tag of the default.hbs template --}}
|
||||
<div class="byline-meta-content">
|
||||
<time class="byline-meta-date" datetime="{{date format="YYYY-MM-DD"}}">{{date format="DD MMM YYYY"}}</time>
|
||||
{{#if reading_time}}
|
||||
<span class="byline-reading-time"><span class="bull">•</span> {{reading_time}}</span>
|
||||
<span class="byline-reading-time"><span class="bull">•</span> {{reading_time minute=(t "1 min read") minutes=(t "% min read")}}</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
@ -104,8 +104,8 @@ into the {body} tag of the default.hbs template --}}
|
||||
<div class="inner">
|
||||
{{#if @custom.email_signup_text}}<h2 class="footer-cta-title">{{@custom.email_signup_text}}</h2>{{/if}}
|
||||
<a class="footer-cta-button" href="#/portal" data-portal>
|
||||
<div class="footer-cta-input">Enter your email</div>
|
||||
<span>Subscribe</span>
|
||||
<div class="footer-cta-input">{{t "Enter your email"}}</div>
|
||||
<span>{{t "Subscribe"}}</span>
|
||||
</a>
|
||||
</div>
|
||||
</section>
|
||||
@ -114,7 +114,6 @@ into the {body} tag of the default.hbs template --}}
|
||||
{{/unless}}
|
||||
{{/if}}
|
||||
|
||||
|
||||
{{!-- Read more links, just above the footer --}}
|
||||
{{#if @custom.show_recent_posts_footer}}
|
||||
{{!-- The {#get} helper below fetches some of the latest posts here
|
||||
@ -133,7 +132,6 @@ into the {body} tag of the default.hbs template --}}
|
||||
</div>
|
||||
</aside>
|
||||
{{/if}}
|
||||
|
||||
{{/get}}
|
||||
{{/if}}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user